Skip to content
Commit ea8c2e11 authored by Catalin Marinas's avatar Catalin Marinas
Browse files

arm64: Extend the idmap to the whole kernel image



This patch changes the idmap page table creation during boot to cover
the whole kernel image, allowing functions like cpu_reset() to be safely
called with the physical address.

This patch also simplifies the create_block_map asm macro to no longer
take an idmap argument and always use the phys/virt/end parameters. For
the idmap case, phys == virt.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 020c1427
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment