We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38333af commit 98bcc51Copy full SHA for 98bcc51
arch/x86/gen_gdt.py
@@ -16,6 +16,15 @@
16
these data structures will not disturb the memory addresses of
17
other symbols.
18
19
+The input kernel ELF binary is used to obtain the following
20
+information:
21
+
22
+- Memory addresses of the Main and Double Fault TSS structures
23
+ so GDT descriptors can be created for them
24
+- Memory addresses of where the GDT lives in memory, so that this
25
+ address can be populated in the GDT pseudo descriptor
26
+- whether userspace or HW stack protection are enabled in Kconfig
27
28
The output is a GDT whose contents depend on the kernel
29
configuration. With no memory protection features enabled,
30
we generate flat 32-bit code and data segments. If hardware-
0 commit comments