1 /* SPDX-License-Identifier: GPL-2.0-only */
7 #include <FCH/Common/FchCommonCfg.h>
8 #include "../opensil.h"
10 void opensil_fill_fadt_io_ports(acpi_fadt_t
*fadt
)
12 FCHHWACPI_INPUT_BLK
*blk
= SilFindStructure(SilId_FchHwAcpiP
, 0);
14 fadt
->pm1a_evt_blk
= blk
->AcpiPm1EvtBlkAddr
;
15 fadt
->pm1a_cnt_blk
= blk
->AcpiPm1CntBlkAddr
;
16 fadt
->pm_tmr_blk
= blk
->AcpiPmTmrBlkAddr
;
17 fadt
->gpe0_blk
= blk
->AcpiGpe0BlkAddr
;