Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include New definitions for LDT system call a...
details: https://anonhg.NetBSD.org/src/rev/349794582af8
branches: trunk
changeset: 580916:349794582af8
user: fvdl <fvdl%NetBSD.org@localhost>
date: Sun May 15 21:39:56 2005 +0000
description:
New definitions for LDT system call arguments, amd64 version. Compatible
with the Linux interface. As yet unused.
diffstat:
sys/arch/amd64/include/sysarch.h | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
diffs (47 lines):
diff -r d3cd457e53a3 -r 349794582af8 sys/arch/amd64/include/sysarch.h
--- a/sys/arch/amd64/include/sysarch.h Sun May 15 21:37:46 2005 +0000
+++ b/sys/arch/amd64/include/sysarch.h Sun May 15 21:39:56 2005 +0000
@@ -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 @@
#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 *));
Home |
Main Index |
Thread Index |
Old Index