Skip to content

Commit 4817134

Browse files
jsun26inteljren1
authored andcommitted
DM: rename acrn_register to acpi_generic_address
The name of acrn_register is too generic, rename to acpi_generic_address which is more common. Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Kevin Tian <kevin.tian@intel.com>
1 parent 8a73718 commit 4817134

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

devicemodel/hw/acpi/acpi_pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void dsdt_write_cst(struct vmctx *ctx, int vcpu_id)
172172
int i;
173173
uint8_t vcpu_cx_cnt;
174174
char *cx_asi;
175-
struct acrn_register cx_reg;
175+
struct acpi_generic_address cx_reg;
176176
struct cpu_cx_data *vcpu_cx_data;
177177

178178
vcpu_cx_cnt = get_vcpu_cx_cnt(ctx, vcpu_id);

devicemodel/include/public/acrn_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ struct acrn_vm_pci_msix_remap {
320320
#define SPACE_PLATFORM_COMM 10
321321
#define SPACE_FFixedHW 0x7F
322322

323-
struct acrn_register {
323+
struct acpi_generic_address {
324324
uint8_t space_id;
325325
uint8_t bit_width;
326326
uint8_t bit_offset;
@@ -329,7 +329,7 @@ struct acrn_register {
329329
} __attribute__((aligned(8)));
330330

331331
struct cpu_cx_data {
332-
struct acrn_register cx_reg;
332+
struct acpi_generic_address cx_reg;
333333
uint8_t type;
334334
uint32_t latency;
335335
uint64_t power;

0 commit comments

Comments
 (0)