aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/pam.c')
-rw-r--r--hw/pci-host/pam.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/pci-host/pam.c b/hw/pci-host/pam.c
index 99d7af97e7..17d826cba5 100644
--- a/hw/pci-host/pam.c
+++ b/hw/pci-host/pam.c
@@ -31,12 +31,6 @@
#include "sysemu/sysemu.h"
#include "hw/pci-host/pam.h"
-void smram_update(MemoryRegion *smram_region, uint8_t smram)
-{
- bool smram_enabled = (smram & SMRAM_D_OPEN);
- memory_region_set_enabled(smram_region, !smram_enabled);
-}
-
void init_pam(DeviceState *dev, MemoryRegion *ram_memory,
MemoryRegion *system_memory, MemoryRegion *pci_address_space,
PAMMemoryRegion *mem, uint32_t start, uint32_t size)