New definitions for LDT system call arguments, amd64 version. Compatible

with the Linux interface. As yet unused.
This commit is contained in:
fvdl 2005-05-15 21:39:56 +00:00
parent 69aa2aa9e8
commit eeb59b85ad
1 changed files with 7 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysarch.h,v 1.2 2003/09/11 09:40:11 kleink Exp $ */
/* $NetBSD: sysarch.h,v 1.3 2005/05/15 21:39:56 fvdl Exp $ */
#ifndef _AMD64_SYSARCH_H_
#define _AMD64_SYSARCH_H_
@ -22,22 +22,16 @@
* XXXfvdl todo.
*/
#if 0
struct x86_64_get_ldt_args {
int start;
union descriptor *desc;
int num;
void *desc;
unsigned len;
};
struct x86_64_set_ldt_args {
int start;
union descriptor *desc;
int num;
void *desc;
unsigned len;
};
#endif
struct x86_64_iopl_args {
int iopl;
};
@ -106,8 +100,8 @@ int x86_64_set_mtrr __P((struct lwp *, void *, register_t *));
#include <sys/cdefs.h>
__BEGIN_DECLS
int x86_64_get_ldt __P((int, union descriptor *, int));
int x86_64_set_ldt __P((int, union descriptor *, int));
int x86_64_get_ldt __P((void *, int));
int x86_64_set_ldt __P((void *, int));
int x86_64_iopl __P((int));
int x86_64_get_ioperm __P((u_long *));
int x86_64_set_ioperm __P((u_long *));