Skip to content
Commit 991300e1 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

x86: gen_mmu: also map SRAM if linking in virtual address space



When linking in virtual address space, we still need physical
addressed in SRAM to be mapped so platform can boot from physical
memory and to access structure necessary for boot (e.g. GDT and
IDT). So identity maps the kernel in SRAM.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent d40e8ede
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment