qemu-e2k/hw/pci-host
Paolo Bonzini fe6567d5fd hw/i386: add a separate region that tracks the SMRAME bit
This region is exported at /machine/smram.  It is "empty" if
SMRAME=0 and points to SMRAM if SMRAME=1.  The CPU will
enable/disable it as it enters or exits SMRAM.

While touching nearby code, the existing memory region setup was
slightly inconsistent.  The smram_region is *disabled* in order to open
SMRAM (because the smram_region shows the low VRAM instead of the RAM
at 0xa0000).  Because SMRAM is closed at startup, the smram_region must
be enabled when creating the i440fx or q35 devices.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-06-05 17:36:39 +02:00
..
Makefile.objs pci: Add generic PCIe host bridge 2015-02-13 05:46:07 +00:00
apb.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
bonito.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
gpex.c pci: Add generic PCIe host bridge 2015-02-13 05:46:07 +00:00
grackle.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
pam.c pci-host: update uncorresponding description 2014-08-15 18:54:06 +04:00
piix.c hw/i386: add a separate region that tracks the SMRAME bit 2015-06-05 17:36:39 +02:00
ppce500.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
prep.c exec.c: Make address_space_rw take transaction attributes 2015-04-26 16:49:24 +01:00
q35.c hw/i386: add a separate region that tracks the SMRAME bit 2015-06-05 17:36:39 +02:00
uninorth.c uninorth: convert ffs(3) to ctz32() 2015-04-28 15:36:08 +02:00
versatile.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00