Kernel/armv7 - Threading work
[tpg/acess2.git] / Kernel / arch / x86_64 / desctab.asm
index 2d96180..c9c217c 100644 (file)
@@ -118,7 +118,7 @@ Desctab_Init:
        ; Set IA32_FMASK (flags mask)
        mov ecx, 0xC0000084
        rdmsr
-       mov eax, 0x202
+       mov eax, ~0x202
        wrmsr
        ; Set IA32_STAR (Kernel/User CS)
        mov ecx, 0xC0000081
@@ -255,7 +255,7 @@ ErrorCommon:
        ;PUSH_XMM
        
        mov rdi, rsp
-       xchg bx, bx
+;      xchg bx, bx
        call Error_Handler
        
        ;POP_XMM
@@ -440,3 +440,5 @@ gaIRQ_Handlers:
        times   16*NUM_IRQ_CALLBACKS    dq      0
 gaIRQ_DataPtrs:
        times   16*NUM_IRQ_CALLBACKS    dq      0
+
+; vim: ft=nasm

UCC git Repository :: git.ucc.asn.au