arch/x86/ia32: Add option to reserve GDT entries
Some functions such as the ISH power management function needs to reserve GDT entry place holders which are filled during runtime. Add config option to define the number of GDT entry place holders reserved and change the ia32 linker script accordingly. Signed-off-by: Leifu Zhao <leifu.zhao@intel.com>
This commit is contained in:
parent
e01586a03a
commit
1cb259a43b
2 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,14 @@ config GDT_DYNAMIC
|
|||
This option stores the GDT in RAM instead of ROM, so that it may
|
||||
be modified at runtime at the expense of some memory.
|
||||
|
||||
config GDT_RESERVED_NUM_ENTRIES
|
||||
int "Number of reserved GDT entry place holders"
|
||||
depends on GDT_DYNAMIC
|
||||
default 0
|
||||
help
|
||||
This option defines the number of GDT entry place holders revserved
|
||||
that can be filled at runtime.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Processor Capabilities"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue