Home | History | Annotate | Line # | Download | only in include
sysarch.h revision 1.6
      1 /*	$NetBSD: sysarch.h,v 1.6 1995/06/05 19:36:23 pk 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 int sysarch __P((int, char *));
     28 #endif
     29 
     30 #endif /* !_I386_SYSARCH_H_ */
     31