blob: fb28acceb0555256f37970623b0aa8b20ff7d8a8 [file] [log] [blame]
Angel Ponsba38f372020-04-05 15:46:45 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Lee Leahy77ff0b12015-05-05 15:07:29 -07002
3/* Global Variables */
4
Lee Leahy77ff0b12015-05-05 15:07:29 -07005Field (GNVS, ByteAcc, NoLock, Preserve)
6{
7 /* Miscellaneous */
Kyösti Mälkkif6f12152020-12-29 09:04:30 +02008 , 16, /* 0x00 - Operating System */
Lee Leahy32471722015-04-20 15:20:28 -07009 SMIF, 8, /* 0x02 - SMI function */
Angel Pons2fd1e472021-09-27 12:19:52 +020010 , 8, /* 0x03 - SMI function parameter */
11 , 8, /* 0x04 - SMI function parameter */
Lee Leahy32471722015-04-20 15:20:28 -070012 SCIF, 8, /* 0x05 - SCI function */
Angel Pons2fd1e472021-09-27 12:19:52 +020013 , 8, /* 0x06 - SCI function parameter */
14 , 8, /* 0x07 - SCI function parameter */
Angel Pons286c7712021-09-27 12:11:14 +020015 , 8, /* 0x08 - Global Lock function for EC */
Angel Pons2fd1e472021-09-27 12:19:52 +020016 , 8, /* 0x09 - Lock function parameter */
17 , 8, /* 0x0a - Lock function parameter */
Lee Leahy32471722015-04-20 15:20:28 -070018 P80D, 32, /* 0x0b - Debug port (IO 0x80) value */
19 LIDS, 8, /* 0x0f - LID state (open = 1) */
Kyösti Mälkkid6ccbb92021-01-15 13:46:11 +020020 , 8, /* 0x10 - Power State (AC = 1) */
Kyösti Mälkkic1962462020-12-29 05:12:56 +020021 , 8, /* 0x11 - Processor count */
Lee Leahy32471722015-04-20 15:20:28 -070022 TPMP, 8, /* 0x12 - TPM Present and Enabled */
23 TLVL, 8, /* 0x13 - Throttle Level */
24 PPCM, 8, /* 0x14 - Maximum P-state usable by OS */
25 PM1I, 32, /* 0x15 - System Wake Source - PM1 Index */
Duncan Lauriee73da802015-09-08 16:16:34 -070026 GPEI, 32, /* 0x19 - GPE Wake Source */
27 BDID, 8, /* 0x1d - Board ID */
Hannah Williamsba6dfe42016-01-26 15:40:24 -080028 CID1, 16, /* 0x1e - Wifi Domain Type */
Lee Leahy77ff0b12015-05-05 15:07:29 -070029
30 /* Device Config */
Lee Leahy32471722015-04-20 15:20:28 -070031 S5U0, 8, /* 0x20 - Enable USB0 in S5 */
32 S5U1, 8, /* 0x21 - Enable USB1 in S5 */
33 S3U0, 8, /* 0x22 - Enable USB0 in S3 */
34 S3U1, 8, /* 0x23 - Enable USB1 in S3 */
35 TACT, 8, /* 0x24 - Thermal Active trip point */
36 TPSV, 8, /* 0x25 - Thermal Passive trip point */
37 TCRT, 8, /* 0x26 - Thermal Critical trip point */
38 DPTE, 8, /* 0x27 - Enable DPTF */
Lee Leahy77ff0b12015-05-05 15:07:29 -070039
40 /* Base addresses */
41 Offset (0x30),
Kyösti Mälkki22ecdbe2021-01-27 21:24:08 +020042 , 32, /* 0x30 - CBMEM TOC */
Kyösti Mälkkid06f8002021-01-27 20:25:51 +020043 , 32, /* 0x34 - Top of Low Memory */
Arthur Heymanscde4f3b2022-05-12 23:07:52 +020044 , 32, /* 0x38 - coreboot mem console pointer */
Lee Leahy77ff0b12015-05-05 15:07:29 -070045}