diff --git a/sys/arch/amd64/include/sysarch.h b/sys/arch/amd64/include/sysarch.h index 6152204011f2..47f70eb39be6 100644 --- a/sys/arch/amd64/include/sysarch.h +++ b/sys/arch/amd64/include/sysarch.h @@ -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 __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 *));