mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
nvdimm: Rename AcpiNVDIMMState into NVDIMMState
As we intend to migrate the acpi_nvdimm_state into the base machine with a new dimms_state name, let's also rename the datatype. Signed-off-by: Eric Auger <eric.auger@redhat.com> Suggested-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190308182053.5487-2-eric.auger@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
314aec4a6e
commit
c1404bde9c
4 changed files with 16 additions and 16 deletions
|
@ -45,7 +45,7 @@ struct PCMachineState {
|
|||
OnOffAuto vmport;
|
||||
OnOffAuto smm;
|
||||
|
||||
AcpiNVDIMMState acpi_nvdimm_state;
|
||||
NVDIMMState acpi_nvdimm_state;
|
||||
|
||||
bool acpi_build_enabled;
|
||||
bool smbus_enabled;
|
||||
|
|
|
@ -123,7 +123,7 @@ struct NvdimmFitBuffer {
|
|||
};
|
||||
typedef struct NvdimmFitBuffer NvdimmFitBuffer;
|
||||
|
||||
struct AcpiNVDIMMState {
|
||||
struct NVDIMMState {
|
||||
/* detect if NVDIMM support is enabled. */
|
||||
bool is_enabled;
|
||||
|
||||
|
@ -141,13 +141,13 @@ struct AcpiNVDIMMState {
|
|||
int32_t persistence;
|
||||
char *persistence_string;
|
||||
};
|
||||
typedef struct AcpiNVDIMMState AcpiNVDIMMState;
|
||||
typedef struct NVDIMMState NVDIMMState;
|
||||
|
||||
void nvdimm_init_acpi_state(AcpiNVDIMMState *state, MemoryRegion *io,
|
||||
void nvdimm_init_acpi_state(NVDIMMState *state, MemoryRegion *io,
|
||||
FWCfgState *fw_cfg, Object *owner);
|
||||
void nvdimm_build_acpi(GArray *table_offsets, GArray *table_data,
|
||||
BIOSLinker *linker, AcpiNVDIMMState *state,
|
||||
BIOSLinker *linker, NVDIMMState *state,
|
||||
uint32_t ram_slots);
|
||||
void nvdimm_plug(AcpiNVDIMMState *state);
|
||||
void nvdimm_plug(NVDIMMState *state);
|
||||
void nvdimm_acpi_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue