1995-06-05 23:36:23 +04:00
|
|
|
/* $NetBSD: sysarch.h,v 1.6 1995/06/05 19:36:23 pk Exp $ */
|
1994-10-27 07:14:23 +03:00
|
|
|
|
1993-12-20 08:25:02 +03:00
|
|
|
#ifndef _I386_SYSARCH_H_
|
|
|
|
#define _I386_SYSARCH_H_
|
|
|
|
|
1993-09-19 22:58:14 +04:00
|
|
|
/*
|
|
|
|
* Architecture specific syscalls (i386)
|
|
|
|
*/
|
|
|
|
#define I386_GET_LDT 0
|
|
|
|
#define I386_SET_LDT 1
|
|
|
|
|
1995-05-06 23:19:57 +04:00
|
|
|
struct i386_get_ldt_args {
|
|
|
|
int start;
|
|
|
|
union descriptor *desc;
|
|
|
|
int num;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct i386_set_ldt_args {
|
|
|
|
int start;
|
|
|
|
union descriptor *desc;
|
|
|
|
int num;
|
|
|
|
};
|
|
|
|
|
1995-03-28 22:13:48 +04:00
|
|
|
#ifndef _KERNEL
|
1993-09-19 22:58:14 +04:00
|
|
|
int i386_get_ldt __P((int, union descriptor *, int));
|
|
|
|
int i386_set_ldt __P((int, union descriptor *, int));
|
1995-06-05 23:36:23 +04:00
|
|
|
int sysarch __P((int, char *));
|
1993-09-19 22:58:14 +04:00
|
|
|
#endif
|
1993-12-20 08:25:02 +03:00
|
|
|
|
|
|
|
#endif /* !_I386_SYSARCH_H_ */
|