diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2008-05-23 15:39:44 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2008-05-23 15:39:44 +0000 |
commit | b9a20684fa94a5082c8e1df0b6f92099a2f7cb63 (patch) | |
tree | 2c294e86cb25040534874fcc47bbe586834444e4 /sys/arch/amd64/include/segments.h | |
parent | ec06591daee36ad84ce8648b1a9ef8ed3b785995 (diff) |
- remove USER_LDT, it was never in a state where it would copile, nor will
we support i386-compat mode on amd64.
agreed by beck@, dlg@, kettenis@
ok deraadt@, tom@
Diffstat (limited to 'sys/arch/amd64/include/segments.h')
-rw-r--r-- | sys/arch/amd64/include/segments.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/segments.h b/sys/arch/amd64/include/segments.h index e8cdc1fa785..5e9fbd6b2bc 100644 --- a/sys/arch/amd64/include/segments.h +++ b/sys/arch/amd64/include/segments.h @@ -1,4 +1,4 @@ -/* $OpenBSD: segments.h,v 1.4 2005/12/13 00:18:19 jsg Exp $ */ +/* $OpenBSD: segments.h,v 1.5 2008/05/23 15:39:43 jasper Exp $ */ /* $NetBSD: segments.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */ /*- @@ -299,9 +299,7 @@ void cpu_init_idt(void); #define LSYSRETBASE_SEL LUCODE32_SEL /* - * Checks for valid user selectors. If USER_LDT ever gets implemented - * for amd64, these must check the ldt length and SEL_UPL if a user - * ldt is active. + * Checks for valid user selectors. */ #define VALID_USER_DSEL32(s) \ ((s) == GSEL(GUDATA32_SEL, SEL_UPL) || (s) == LSEL(LUDATA32_SEL, SEL_UPL)) |