1 1.5 mycroft /* $NetBSD: sysarch.h,v 1.5 1995/05/06 19:19:57 mycroft Exp $ */ 2 1.3 cgd 3 1.2 mycroft #ifndef _I386_SYSARCH_H_ 4 1.2 mycroft #define _I386_SYSARCH_H_ 5 1.2 mycroft 6 1.1 brezak /* 7 1.1 brezak * Architecture specific syscalls (i386) 8 1.1 brezak */ 9 1.1 brezak #define I386_GET_LDT 0 10 1.1 brezak #define I386_SET_LDT 1 11 1.5 mycroft 12 1.5 mycroft struct i386_get_ldt_args { 13 1.5 mycroft int start; 14 1.5 mycroft union descriptor *desc; 15 1.5 mycroft int num; 16 1.5 mycroft }; 17 1.5 mycroft 18 1.5 mycroft struct i386_set_ldt_args { 19 1.5 mycroft int start; 20 1.5 mycroft union descriptor *desc; 21 1.5 mycroft int num; 22 1.5 mycroft }; 23 1.1 brezak 24 1.4 jtc #ifndef _KERNEL 25 1.1 brezak int i386_get_ldt __P((int, union descriptor *, int)); 26 1.1 brezak int i386_set_ldt __P((int, union descriptor *, int)); 27 1.1 brezak #endif 28 1.2 mycroft 29 1.2 mycroft #endif /* !_I386_SYSARCH_H_ */ 30