summaryrefslogtreecommitdiff
path: root/src/acpi/acpigen_extern.asl
blob: 1a6217adb8cd9cb617aedb21059696cf73f066b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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