x86: Let each CPU have its own GDT

This commit is contained in:
Pawel Dziepak
2013-12-17 03:57:20 +01:00
parent 7b9668170c
commit 611376fef7
19 changed files with 522 additions and 469 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ struct iframe {
uint32 user_ss;
};
#define IFRAME_IS_USER(f) ((f)->cs == USER_CODE_SEG \
#define IFRAME_IS_USER(f) ((f)->cs == USER_CODE_SELECTOR \
|| ((f)->flags & 0x20000) != 0)