diff options
author | Alexis211 <alexis211@gmail.com> | 2010-02-09 12:44:06 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-02-09 12:44:06 +0100 |
commit | 4886faa3dce410543eda2139221e03959e73a747 (patch) | |
tree | e74cedd7b8a89005c802ddd3ce38f7ab5b8c4fb4 /src/kernel/task/idt_.asm | |
parent | 6a52d123672b7a00af6e22b4c138205be2042a94 (diff) | |
download | TCE-4886faa3dce410543eda2139221e03959e73a747.tar.gz TCE-4886faa3dce410543eda2139221e03959e73a747.zip |
Added user mode support and monitor_writeDec
Diffstat (limited to 'src/kernel/task/idt_.asm')
-rw-r--r-- | src/kernel/task/idt_.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/task/idt_.asm b/src/kernel/task/idt_.asm index 63d1570..1a594ca 100644 --- a/src/kernel/task/idt_.asm +++ b/src/kernel/task/idt_.asm @@ -1,6 +1,7 @@ ; UNRELATED [GLOBAL gdt_flush] +[GLOBAL tss_flush] gdt_flush: mov eax, [esp+4] @@ -17,6 +18,11 @@ gdt_flush: .flush: ret +tss_flush: + mov ax, 0x2B + ltr ax + ret + ; RELATED [GLOBAL idt_flush] |