New definitions for LDT system call arguments, amd64 version. Compatible
with the Linux interface. As yet unused.
This commit is contained in:
parent
69aa2aa9e8
commit
eeb59b85ad
|
@ -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_
|
#ifndef _AMD64_SYSARCH_H_
|
||||||
#define _AMD64_SYSARCH_H_
|
#define _AMD64_SYSARCH_H_
|
||||||
|
@ -22,22 +22,16 @@
|
||||||
* XXXfvdl todo.
|
* XXXfvdl todo.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if 0
|
|
||||||
|
|
||||||
struct x86_64_get_ldt_args {
|
struct x86_64_get_ldt_args {
|
||||||
int start;
|
void *desc;
|
||||||
union descriptor *desc;
|
unsigned len;
|
||||||
int num;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct x86_64_set_ldt_args {
|
struct x86_64_set_ldt_args {
|
||||||
int start;
|
void *desc;
|
||||||
union descriptor *desc;
|
unsigned len;
|
||||||
int num;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct x86_64_iopl_args {
|
struct x86_64_iopl_args {
|
||||||
int iopl;
|
int iopl;
|
||||||
};
|
};
|
||||||
|
@ -106,8 +100,8 @@ int x86_64_set_mtrr __P((struct lwp *, void *, register_t *));
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
int x86_64_get_ldt __P((int, union descriptor *, int));
|
int x86_64_get_ldt __P((void *, int));
|
||||||
int x86_64_set_ldt __P((int, union descriptor *, int));
|
int x86_64_set_ldt __P((void *, int));
|
||||||
int x86_64_iopl __P((int));
|
int x86_64_iopl __P((int));
|
||||||
int x86_64_get_ioperm __P((u_long *));
|
int x86_64_get_ioperm __P((u_long *));
|
||||||
int x86_64_set_ioperm __P((u_long *));
|
int x86_64_set_ioperm __P((u_long *));
|
||||||
|
|
Loading…
Reference in New Issue