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

x86: gen_gdt: add address translation if needed



When the kernel is mapped into virtual address space
that is different than the physical address space,
the dynamic GDT generation uses the virtual addresses.
However, the GDT table is required at boot before
page table is loaded where the virtual addresses are
invalid. So make sure GDT generation is using
physical addresses.

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