]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/arch/x86/descriptors.cc
GCC 4.2.1 fixes, plus a couple library functions.
[polintos/scott/priv.git] / kernel / arch / x86 / descriptors.cc
index 65b146e00c715567f9d6ef6466dec0474ce0c9b5..35e11f974e14dc8e8f21fe3b9091e83b4764f78d 100644 (file)
@@ -37,7 +37,7 @@ Descriptor x86_gdt[1024] = {
                user: 1,
                dpl: 0,
                present: 1,
-               limit_high: 0xff,
+               limit_high: 0xf,
                sw: 0,
                reserved: 0,
                opsize: 1,
@@ -52,7 +52,7 @@ Descriptor x86_gdt[1024] = {
                user: 1,
                dpl: 0,
                present: 1,
-               limit_high: 0xff,
+               limit_high: 0xf,
                sw: 0,
                reserved: 0,
                opsize: 1,
@@ -82,7 +82,7 @@ Descriptor x86_gdt[1024] = {
                user: 1,
                dpl: 3,
                present: 1,
-               limit_high: 0x7f,
+               limit_high: 0x7,
                sw: 0,
                reserved: 0,
                opsize: 1,
@@ -97,7 +97,7 @@ Descriptor x86_gdt[1024] = {
                user: 1,
                dpl: 3,
                present: 1,
-               limit_high: 0x7f,
+               limit_high: 0x7,
                sw: 0,
                reserved: 0,
                opsize: 1,