mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user