mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-06 11:02:25 -10:00
We want to have safety margins for all tables based on the table type. Let's move the maximum size logic into acpi_add_rom_blob() and make it dependent on the table name, so we don't have to replicate for each and every instance that creates such tables. Suggested-by: Laszlo Ersek <[email protected]> Cc: Alistair Francis <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: "Michael S. Tsirkin" <[email protected]> Cc: Igor Mammedov <[email protected]> Cc: Peter Maydell <[email protected]> Cc: Shannon Zhao <[email protected]> Cc: Marcel Apfelbaum <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Laszlo Ersek <[email protected]> Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
9 lines
219 B
C
9 lines
219 B
C
#ifndef HW_ACPI_UTILS_H
|
|
#define HW_ACPI_UTILS_H
|
|
|
|
#include "hw/nvram/fw_cfg.h"
|
|
|
|
MemoryRegion *acpi_add_rom_blob(FWCfgCallback update, void *opaque,
|
|
GArray *blob, const char *name);
|
|
#endif
|