crossgcc: Upgrade CMake from 3.29.3 to 3.30.2
[coreboot.git] / src / vendorcode / amd / opensil / genoa_poc / acpi.c
bloba0af4a3f3e8ae3a67ee52b22909d28388647f6e5
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <Sil-api.h>
5 #include <SilCommon.h>
6 #include <xSIM-api.h>
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;