Changed constatns in ruby gdt example (#876)
I think those two numbers are wrong, see http://wiki.osdev.org/Global_Descriptor_Table
This commit is contained in:
@ -16,8 +16,8 @@ A_PRIV_2 = 0x40
|
|||||||
A_PRIV_1 = 0x20
|
A_PRIV_1 = 0x20
|
||||||
A_PRIV_0 = 0x0
|
A_PRIV_0 = 0x0
|
||||||
|
|
||||||
A_CODE = 0x10
|
A_CODE = 0x8
|
||||||
A_DATA = 0x10
|
A_DATA = 0x0
|
||||||
A_TSS = 0x0
|
A_TSS = 0x0
|
||||||
A_GATE = 0x0
|
A_GATE = 0x0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user