mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
acpi: convert linker from GArray to BIOSLinker structure
Patch just changes type of of linker variables to a structure, there aren't any functional changes. Converting linker to a structure will allow to extend it functionality in follow up patch adding sanity blob checks. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
0058c08238
commit
0e9b9edae7
8 changed files with 70 additions and 58 deletions
|
@ -24,6 +24,7 @@
|
|||
#define QEMU_NVDIMM_H
|
||||
|
||||
#include "hw/mem/pc-dimm.h"
|
||||
#include "hw/acpi/bios-linker-loader.h"
|
||||
|
||||
#define NVDIMM_DEBUG 0
|
||||
#define nvdimm_debug(fmt, ...) \
|
||||
|
@ -58,5 +59,5 @@ typedef struct AcpiNVDIMMState AcpiNVDIMMState;
|
|||
void nvdimm_init_acpi_state(AcpiNVDIMMState *state, MemoryRegion *io,
|
||||
FWCfgState *fw_cfg, Object *owner);
|
||||
void nvdimm_build_acpi(GArray *table_offsets, GArray *table_data,
|
||||
GArray *linker);
|
||||
BIOSLinker *linker);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue