diff --git a/[refs] b/[refs] index 0ee1b8acf82b..0c432fd40653 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 77e1dd654bc24182a7ad34f415abd488ae7af6eb +refs/heads/master: 8afd2af88921c2cb1c9540cecd0714da7ae4fcd0 diff --git a/trunk/include/asm-x86_64/segment.h b/trunk/include/asm-x86_64/segment.h index adf2bf1e187c..04b8ab21328f 100644 --- a/trunk/include/asm-x86_64/segment.h +++ b/trunk/include/asm-x86_64/segment.h @@ -3,6 +3,14 @@ #include +/* Simple and small GDT entries for booting only */ + +#define GDT_ENTRY_BOOT_CS 2 +#define __BOOT_CS (GDT_ENTRY_BOOT_CS * 8) + +#define GDT_ENTRY_BOOT_DS (GDT_ENTRY_BOOT_CS + 1) +#define __BOOT_DS (GDT_ENTRY_BOOT_DS * 8) + #define __KERNEL_CS 0x10 #define __KERNEL_DS 0x18