Skip to content
Commit 031755db authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

arm: enable vmalloc



Unlike x86, ARM always enables virtual memory so it always switches
early from phys_alloc to vmalloc.  The changes mostly involve using
alloc_page directly whenever physical addresses are needed, and of course
implementing the architecture-dependent callbacks that vmalloc needs.

The 32-bit root page table doesn't need a full page, but it is simpler
to just allocate one.  With split files for 32-bit and 64-bit, we could
just place mmu_idmap in .bss.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 16444ac8
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