diff options
Diffstat (limited to 'kc')
| -rw-r--r-- | kc/core/cpu/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kc/core/cpu/cpu.c b/kc/core/cpu/cpu.c index f61ed00..da55d38 100644 --- a/kc/core/cpu/cpu.c +++ b/kc/core/cpu/cpu.c @@ -81,6 +81,7 @@ static void set_gdt(int index, case CODE32_USER_SEG: gdt[index].access = 0xfa; gdt[index].flags_limit16 |= 0xc0; + break; case DATA_SUPER_SEG: gdt[index].access = 0x92; gdt[index].flags_limit16 |= 0xc0; @@ -88,6 +89,7 @@ static void set_gdt(int index, case DATA_USER_SEG: gdt[index].access = 0xf2; gdt[index].flags_limit16 |= 0xc0; + break; case TASK64_SEG: gdt[index].access = 0x89; //TODO: make this cleaner i don't like it |
