Skip to content
Commit c5fa35da authored by James Morse's avatar James Morse
Browse files

arm64: kexec: Pass the phy_to_virt offset to the relocation code



The kexec list of source/destination pages is physically addressed.
Once we leave the MMU enabled, only the linear-map will be accesible.

Re-purpose one of the zeros passed to the relocation code as the
phys_to_virt offset. The relocation code can add this to any
physical address to map it into the linear region.

Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 4ca7a5df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment