coreboot-kgpe-d16/src/acpi/acpigen_extern.asl
Kyösti Mälkki 2ad598f3db ACPI: Use acpigen for NVS OperationRegions
The intermediate base and length are not required in ASL.

Change-Id: I0c72e2e4f7ec597adc16dbdec1fd7bbe4e41bfd6
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51637
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Lance Zhao
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-04-30 06:49:04 +00:00

20 lines
536 B
Text

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Global ACPI memory region. This region is used for passing information
* between coreboot (aka "the system bios"), ACPI, and the SMI handler.
* Since we don't know where this will end up in memory at ACPI compile time,
* we provide it runtime via NVBx and NVSx variables from acpigen.
*/
#if CONFIG(ACPI_SOC_NVS)
External (GNVS, OpRegionObj)
#endif
#if CONFIG(ACPI_HAS_DEVICE_NVS)
External (DNVS, OpRegionObj)
#endif
#if CONFIG(CHROMEOS_NVS)
External (CNVS, OpRegionObj)
#endif