In the following expression, we add the value of phys_base to the
rax register, not the address of phys_base. addq phys_base(%rip), %rax BTW, the value of phys_base = the actual loaded physical address of kernel after relocation - the likned physical address of kernel. Signed-off-by: Firo Yang <firogh@gmail.com>pull/551/head
parent
abf4f684a5
commit
723b07605c
Loading…
Reference in New Issue