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