diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-09-18 21:08:20 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-09-18 21:08:20 +0000 |
commit | 4947fa6be7004932bd9029501aafeaad1492ea4a (patch) | |
tree | 81bc9abb869dea417470973267ceb4d7c330789b /sys/arch/amd64/include | |
parent | 61f0ff8a7eda80754ecd5ba77d421a27333148f7 (diff) |
ldt removal missed some. amd64_{get,set}_ldt gone. also remove
ldt_{alloc,free} to shave a few. ok jasper@, oga@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/sysarch.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/arch/amd64/include/sysarch.h b/sys/arch/amd64/include/sysarch.h index 4a2ed77b4c5..1be21cd9bd1 100644 --- a/sys/arch/amd64/include/sysarch.h +++ b/sys/arch/amd64/include/sysarch.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysarch.h,v 1.3 2004/02/27 23:45:55 deraadt Exp $ */ +/* $OpenBSD: sysarch.h,v 1.4 2009/09/18 21:08:19 martynas Exp $ */ /* $NetBSD: sysarch.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */ #ifndef _AMD64_SYSARCH_H_ @@ -19,21 +19,6 @@ #define AMD64_GET_MTRR 11 #define AMD64_SET_MTRR 12 -/* - * XXX todo. - */ -struct amd64_get_ldt_args { - int start; - union descriptor *desc; - int num; -}; - -struct amd64_set_ldt_args { - int start; - union descriptor *desc; - int num; -}; - struct amd64_iopl_args { int iopl; }; @@ -95,8 +80,6 @@ int amd64_iopl(struct proc *, void *, register_t *); int amd64_get_mtrr(struct proc *, void *, register_t *); int amd64_set_mtrr(struct proc *, void *, register_t *); #else -int amd64_get_ldt(int, union descriptor *, int); -int amd64_set_ldt(int, union descriptor *, int); int amd64_iopl(int); int amd64_get_ioperm(u_long *); int amd64_set_ioperm(u_long *); |