aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32/lm32_hwsetup.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-11-17 07:51:50 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-01-08 13:17:55 +0200
commita1666142db623365b2e7619f01c1cbb72d62b514 (patch)
tree247c5ef8bb30fd4bc85e6ee8658dc179f4eeb387 /hw/lm32/lm32_hwsetup.h
parent60786ef33928332ccef21f99503f56d781fade0c (diff)
acpi-build: make ROMs RAM blocks resizeable
Use resizeable ram API so we can painlessly extend ROMs in the future. Note: migration is not affected, as we are not actually changing the used length for RAM, which is the part that's migrated. Use this in acpi: reserve x16 more RAM space. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/lm32/lm32_hwsetup.h')
-rw-r--r--hw/lm32/lm32_hwsetup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/lm32/lm32_hwsetup.h b/hw/lm32/lm32_hwsetup.h
index 9fd5e697a7..838754d5d8 100644
--- a/hw/lm32/lm32_hwsetup.h
+++ b/hw/lm32/lm32_hwsetup.h
@@ -73,7 +73,8 @@ static inline void hwsetup_free(HWSetup *hw)
static inline void hwsetup_create_rom(HWSetup *hw,
hwaddr base)
{
- rom_add_blob("hwsetup", hw->data, TARGET_PAGE_SIZE, base, NULL, NULL, NULL);
+ rom_add_blob("hwsetup", hw->data, TARGET_PAGE_SIZE,
+ TARGET_PAGE_SIZE, base, NULL, NULL, NULL);
}
static inline void hwsetup_add_u8(HWSetup *hw, uint8_t u)