diff options
author | Marvin Borner | 2019-10-31 17:47:40 +0100 |
---|---|---|
committer | GitHub | 2019-10-31 17:47:40 +0100 |
commit | c7e755cb843593db1eedb26c5c24932bbe743745 (patch) | |
tree | ad14da17e6d0d883e68cc6eacc99ae522036dda8 /src/kernel/gdt/gdt.asm | |
parent | fd4f0a11126a20e75d72f8f2e6d418598fd5f37d (diff) | |
parent | 40a214f3c69a3d7da8c2f9bed5038dfa0ab72d4b (diff) |
Merged pull request usermode
Added usermode
Diffstat (limited to 'src/kernel/gdt/gdt.asm')
-rw-r--r-- | src/kernel/gdt/gdt.asm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/kernel/gdt/gdt.asm b/src/kernel/gdt/gdt.asm index c2128e4..6cb2b7d 100644 --- a/src/kernel/gdt/gdt.asm +++ b/src/kernel/gdt/gdt.asm @@ -11,4 +11,10 @@ gdt_flush: mov ss, ax jmp 0x08:flush2 ; Code segment offset flush2: - ret ; Returns to C code
\ No newline at end of file + ret ; Returns to C code + +global tss_flush +tss_flush: + mov ax, 0x2B + ltr ax + ret
\ No newline at end of file |