On 23.08.2023 01:03, Shawn Anastasio wrote:
> Introduce a small assembly loop in `start` to copy the kernel to
> physical address 0 before continuing. This ensures that the physical
> address lines up with XEN_VIRT_START (0xc000000000000000) and allows us
> to identity map the kernel when the MMU is set up in the next patch.
> 
> We are also able to start execution at XEN_VIRT_START after the copy
> since hardware will ignore the top 4 address bits when operating in Real
> Mode (MMU off).
> 
> Signed-off-by: Shawn Anastasio <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>



Reply via email to