treewide: Use 'fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk'
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Id3002dc976b82f71b1f60a6e32b16d60a7bbbead Reviewed-on: https://review.coreboot.org/c/coreboot/+/68427 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
f0d62cefe8
commit
769b6579da
|
@ -106,7 +106,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = ACPI_PM_EVT_BLK;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -108,7 +108,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = ACPI_PM_EVT_BLK;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -109,7 +109,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = ACPI_PM_EVT_BLK;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -114,7 +114,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = ACPI_PM_EVT_BLK;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -106,7 +106,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = ACPI_PM_EVT_BLK;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -43,7 +43,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase + PM1_STS;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -43,7 +43,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase + PM1_STS;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -44,7 +44,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase + PM1_STS;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -145,7 +145,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
|
|
||||||
fadt->x_pm1a_evt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_evt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase + PM1_STS;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -29,7 +29,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase + R_QNC_PM1BLK_PM1S;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
/* PM1 Control: ACPI 4.8.3.2.1 */
|
/* PM1 Control: ACPI 4.8.3.2.1 */
|
||||||
|
|
|
@ -68,7 +68,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = ACPI_PM_EVT_BLK;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -92,7 +92,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = PM1_EVT_BLK_ADDRESS;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -71,7 +71,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = ACPI_PM_EVT_BLK;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -55,7 +55,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_UNDEFINED;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_UNDEFINED;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -45,7 +45,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -45,7 +45,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
|
@ -67,7 +67,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8;
|
||||||
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
fadt->x_pm1a_evt_blk.bit_offset = 0;
|
||||||
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
|
||||||
fadt->x_pm1a_evt_blk.addrl = pmbase + PM1_STS;
|
fadt->x_pm1a_evt_blk.addrl = fadt->pm1a_evt_blk;
|
||||||
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
fadt->x_pm1a_evt_blk.addrh = 0x0;
|
||||||
|
|
||||||
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
|
|
Loading…
Reference in New Issue