arch/x64: fix revoke_low_memory

the virtual address of the page table (PT) is saved into the page directory (PD) entry, but the PD entry should store the physical address instead

Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com>
This commit is contained in:
liwenxiang1
2025-01-22 10:19:04 +08:00
committed by Xiang Xiao
parent 8309aadd69
commit bd2cce7f1a
-1
View File
@@ -456,7 +456,6 @@ __revoke_low_memory:
lea g_pd_low, %edi
add %rcx, %rdi
lea g_pt_low, %esi
add %rcx, %rsi
/* for ecx = 0...64 : Loop and setup 64x 2MB page directories */
mov $64, %ecx