diff options
Diffstat (limited to 'i386/i386/user_ldt.h')
-rw-r--r-- | i386/i386/user_ldt.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/i386/i386/user_ldt.h b/i386/i386/user_ldt.h index 6c6c858e..26caa274 100644 --- a/i386/i386/user_ldt.h +++ b/i386/i386/user_ldt.h @@ -44,15 +44,7 @@ struct user_ldt { }; typedef struct user_ldt * user_ldt_t; -/* - * Check code/stack/data selector values against LDT if present. - */ -#define S_CODE 0 /* code segment */ -#define S_STACK 1 /* stack segment */ -#define S_DATA 2 /* data segment */ - -extern boolean_t selector_check(thread_t thread, - int sel, - int type); +extern void +user_ldt_free(user_ldt_t user_ldt); #endif /* _I386_USER_LDT_H_ */ |