summaryrefslogtreecommitdiffstats
path: root/src/cpu/x86/32bit/entry32.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/32bit/entry32.inc')
-rw-r--r--src/cpu/x86/32bit/entry32.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/32bit/entry32.inc b/src/cpu/x86/32bit/entry32.inc
index 724aed3..1c18a50 100644
--- a/src/cpu/x86/32bit/entry32.inc
+++ b/src/cpu/x86/32bit/entry32.inc
@@ -19,11 +19,11 @@ gdtptr:
/* selgdt 0x08, flat code segment */
.word 0xffff, 0x0000
- .byte 0x00, 0x9b, 0xcf, 0x00
+ .byte 0x00, 0x9b, 0xcf, 0x00 /* G=1 and 0x0f, So we get 4Gbytes for limit */
/* selgdt 0x10,flat data segment */
.word 0xffff, 0x0000
- .byte 0x00, 0x93, 0xcf, 0x00
+ .byte 0x00, 0x93, 0xcf, 0x00
gdt_end:
OpenPOWER on IntegriCloud