mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
target-i386: use memory API to implement SMRAM
Remove cpu_smm_register and cpu_smm_update. Instead, each CPU address space gets an extra region which is an alias of /machine/smram. This extra region is enabled or disabled as the CPU enters/exits SMM. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
fe6567d5fd
commit
f809c60512
14 changed files with 68 additions and 93 deletions
|
@ -55,7 +55,6 @@ typedef struct MCHPCIState {
|
|||
MemoryRegion smram_region;
|
||||
MemoryRegion smram, low_smram;
|
||||
PcPciInfo pci_info;
|
||||
uint8_t smm_enabled;
|
||||
ram_addr_t below_4g_mem_size;
|
||||
ram_addr_t above_4g_mem_size;
|
||||
uint64_t pci_hole64_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue