1993-10-08 11:31:40 +00:00
|
|
|
/*
|
|
|
|
* Architecture specific syscalls (i386)
|
1993-10-16 14:40:57 +00:00
|
|
|
*
|
1993-11-07 17:43:17 +00:00
|
|
|
* $Id: sysarch.h,v 1.2 1993/10/16 14:39:35 rgrimes Exp $
|
1993-10-08 11:31:40 +00:00
|
|
|
*/
|
1993-11-07 17:43:17 +00:00
|
|
|
#ifndef _MACHINE_SYSARCH_H_
|
|
|
|
#define _MACHINE_SYSARCH_H_ 1
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
1993-10-08 11:31:40 +00:00
|
|
|
#define I386_GET_LDT 0
|
|
|
|
#define I386_SET_LDT 1
|
|
|
|
|
1993-11-07 17:43:17 +00:00
|
|
|
#ifdef KERNEL
|
|
|
|
/* nothing here yet... */
|
|
|
|
#else /* not KERNEL */
|
|
|
|
__BEGIN_DECLS
|
|
|
|
|
1993-10-08 11:31:40 +00:00
|
|
|
int i386_get_ldt __P((int, union descriptor *, int));
|
|
|
|
int i386_set_ldt __P((int, union descriptor *, int));
|
1993-11-07 17:43:17 +00:00
|
|
|
|
|
|
|
__END_DECLS
|
|
|
|
#endif /* not KERNEL */
|
|
|
|
#endif /* _MACHINE_SYSARCH_H_ */
|