diff options
Diffstat (limited to 'sys/arch')
| -rw-r--r-- | sys/arch/amd64/cpu/gdt.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/arch/amd64/cpu/gdt.S b/sys/arch/amd64/cpu/gdt.S index 9c508ee..1ffe53c 100644 --- a/sys/arch/amd64/cpu/gdt.S +++ b/sys/arch/amd64/cpu/gdt.S @@ -85,6 +85,20 @@ GDT: .byte 0b10010010 .byte 0b00000000 .byte 0x00 +.UCODE: + .word 0x0000 + .word 0x0000 + .byte 0x00 + .byte 0b11111010 + .byte 0b10101111 + .byte 0x00 +.UDATA: + .word 0x0000 + .word 0x0000 + .byte 0x00 + .byte 0b11110010 + .byte 0b00000000 + .byte 0x00 .globl GDTR GDTR: |
