diff options
author | Marvin Borner | 2019-11-30 21:07:22 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-30 21:07:22 +0100 |
commit | 50f949d994c33ab23d63bdb9e8a438560ab0b4c4 (patch) | |
tree | 35089087979bd8cee4693c71264b1c537336e4dd /src/kernel/gdt/gdt.asm | |
parent | ac947d45c288f62e927895afe7cd6a722ffdd8f8 (diff) |
Working userspace!
Diffstat (limited to 'src/kernel/gdt/gdt.asm')
-rw-r--r-- | src/kernel/gdt/gdt.asm | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/kernel/gdt/gdt.asm b/src/kernel/gdt/gdt.asm index 6cb2b7d..51ce444 100644 --- a/src/kernel/gdt/gdt.asm +++ b/src/kernel/gdt/gdt.asm @@ -9,12 +9,6 @@ gdt_flush: mov fs, ax mov gs, ax mov ss, ax - jmp 0x08:flush2 ; Code segment offset -flush2: - ret ; Returns to C code - -global tss_flush -tss_flush: - mov ax, 0x2B - ltr ax - ret
\ No newline at end of file + jmp 0x08:flush ; Code segment offset +flush: + ret ; Returns to C code
\ No newline at end of file |