exported spinlocks
[tpg/acess2.git] / Kernel / arch / x86_64 / start64.asm
index 33c77d6..d0cc503 100644 (file)
@@ -2,7 +2,8 @@
 ; Acess2 x86_64 Port
 ;
 [bits 64]
-KERNEL_BASE    equ     0xFFFF800000000000
+;KERNEL_BASE   equ     0xFFFF800000000000
+KERNEL_BASE    equ     0xFFFFFFFF80000000
 
 [extern kmain]
 
@@ -24,6 +25,9 @@ start64:
        jmp rax
 .himem:
        
+       xor rax, rax
+       mov dr0, rax    ; Set CPU0
+       
        ; Clear the screen
        mov rax, 0x1F201F201F201F20     ; Set the screen to White on blue, space (4 characters)
        mov edi, 0xB8000

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