smp: Make RDI pointer higher half aware

This commit is contained in:
mintsuki 2022-03-30 22:18:55 +02:00
parent e6c9607f38
commit 4af966d76f

View File

@ -141,6 +141,7 @@ bits 64
parking64: parking64:
mov ebx, ebx mov ebx, ebx
mov edi, dword [rbx + passed_info.smp_info_struct] mov edi, dword [rbx + passed_info.smp_info_struct]
add rdi, qword [rbx + passed_info.hhdm]
mov eax, 1 mov eax, 1
lock xchg dword [rbx + passed_info.booted_flag], eax lock xchg dword [rbx + passed_info.booted_flag], eax