x86: gen_gdt: improve docstring
Describe what info we're snarfing out of the prebuilt kernel. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
38333afe0e
commit
98bcc51b09
|
@ -16,6 +16,15 @@ This kernel image has been properly padded such that inserting
|
|||
these data structures will not disturb the memory addresses of
|
||||
other symbols.
|
||||
|
||||
The input kernel ELF binary is used to obtain the following
|
||||
information:
|
||||
|
||||
- Memory addresses of the Main and Double Fault TSS structures
|
||||
so GDT descriptors can be created for them
|
||||
- Memory addresses of where the GDT lives in memory, so that this
|
||||
address can be populated in the GDT pseudo descriptor
|
||||
- whether userspace or HW stack protection are enabled in Kconfig
|
||||
|
||||
The output is a GDT whose contents depend on the kernel
|
||||
configuration. With no memory protection features enabled,
|
||||
we generate flat 32-bit code and data segments. If hardware-
|
||||
|
|
Loading…
Reference in a new issue