Angel Pons | c3f58f6 | 2020-04-05 15:46:41 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 2 | |
| 3 | /* Global Variables */ |
| 4 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 5 | Field (GNVS, ByteAcc, NoLock, Preserve) |
| 6 | { |
| 7 | /* Miscellaneous */ |
Kyösti Mälkki | f6f1215 | 2020-12-29 09:04:30 +0200 | [diff] [blame] | 8 | , 16, /* 0x00 - Operating System */ |
Angel Pons | 26b49cc | 2020-07-07 17:17:51 +0200 | [diff] [blame] | 9 | SMIF, 8, /* 0x02 - SMI function */ |
Angel Pons | 2fd1e47 | 2021-09-27 12:19:52 +0200 | [diff] [blame] | 10 | , 8, /* 0x03 - SMI function parameter */ |
| 11 | , 8, /* 0x04 - SMI function parameter */ |
Angel Pons | 26b49cc | 2020-07-07 17:17:51 +0200 | [diff] [blame] | 12 | SCIF, 8, /* 0x05 - SCI function */ |
Angel Pons | 2fd1e47 | 2021-09-27 12:19:52 +0200 | [diff] [blame] | 13 | , 8, /* 0x06 - SCI function parameter */ |
| 14 | , 8, /* 0x07 - SCI function parameter */ |
Angel Pons | 286c771 | 2021-09-27 12:11:14 +0200 | [diff] [blame] | 15 | , 8, /* 0x08 - Global Lock function for EC */ |
Angel Pons | 2fd1e47 | 2021-09-27 12:19:52 +0200 | [diff] [blame] | 16 | , 8, /* 0x09 - Lock function parameter */ |
| 17 | , 8, /* 0x0a - Lock function parameter */ |
Angel Pons | 26b49cc | 2020-07-07 17:17:51 +0200 | [diff] [blame] | 18 | P80D, 32, /* 0x0b - Debug port (IO 0x80) value */ |
| 19 | LIDS, 8, /* 0x0f - LID state (open = 1) */ |
Kyösti Mälkki | d6ccbb9 | 2021-01-15 13:46:11 +0200 | [diff] [blame] | 20 | , 8, /* 0x10 - Power State (AC = 1) */ |
Kyösti Mälkki | c196246 | 2020-12-29 05:12:56 +0200 | [diff] [blame] | 21 | , 8, /* 0x11 - Processor count */ |
Angel Pons | 26b49cc | 2020-07-07 17:17:51 +0200 | [diff] [blame] | 22 | 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 */ |
Kyösti Mälkki | 8fee995 | 2021-01-29 23:14:53 +0200 | [diff] [blame] | 26 | GPEI, 32, /* 0x19 - GPE Wake Source */ |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 27 | |
Duncan Laurie | abab05c | 2013-11-04 17:12:30 -0800 | [diff] [blame] | 28 | /* Device Config */ |
| 29 | Offset (0x20), |
Angel Pons | 26b49cc | 2020-07-07 17:17:51 +0200 | [diff] [blame] | 30 | S5U0, 8, /* 0x20 - Enable USB0 in S5 */ |
| 31 | S5U1, 8, /* 0x21 - Enable USB1 in S5 */ |
| 32 | S3U0, 8, /* 0x22 - Enable USB0 in S3 */ |
| 33 | S3U1, 8, /* 0x23 - Enable USB1 in S3 */ |
| 34 | TACT, 8, /* 0x24 - Thermal Active trip point */ |
| 35 | TPSV, 8, /* 0x25 - Thermal Passive trip point */ |
| 36 | TCRT, 8, /* 0x26 - Thermal Critical trip point */ |
| 37 | DPTE, 8, /* 0x27 - Enable DPTF */ |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 38 | |
Duncan Laurie | abab05c | 2013-11-04 17:12:30 -0800 | [diff] [blame] | 39 | /* Base addresses */ |
| 40 | Offset (0x30), |
Kyösti Mälkki | 22ecdbe | 2021-01-27 21:24:08 +0200 | [diff] [blame] | 41 | , 32, /* 0x30 - CBMEM TOC */ |
Kyösti Mälkki | d06f800 | 2021-01-27 20:25:51 +0200 | [diff] [blame] | 42 | , 32, /* 0x34 - Top of Low Memory */ |
Angel Pons | 26b49cc | 2020-07-07 17:17:51 +0200 | [diff] [blame] | 43 | CBMC, 32, /* 0x38 - coreboot mem console pointer */ |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 44 | } |