Rev 1498 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1498 | Rev 2216 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /****************************************************************************** |
1 | /****************************************************************************** |
2 | * |
2 | * |
3 | * Name: actbl2.h - ACPI Specification Revision 2.0 Tables |
3 | * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec) |
4 | * |
4 | * |
5 | *****************************************************************************/ |
5 | *****************************************************************************/ |
Line 6... | Line 6... | ||
6 | 6 | ||
7 | /****************************************************************************** |
7 | /****************************************************************************** |
8 | * |
8 | * |
9 | * 1. Copyright Notice |
9 | * 1. Copyright Notice |
10 | * |
10 | * |
11 | * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp. |
11 | * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp. |
12 | * All rights reserved. |
12 | * All rights reserved. |
13 | * |
13 | * |
14 | * 2. License |
14 | * 2. License |
15 | * |
15 | * |
Line 149... | Line 149... | ||
149 | #define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */ |
149 | #define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */ |
150 | #define ACPI_SIG_TCPA "TCPA" /* Trusted Computing Platform Alliance table */ |
150 | #define ACPI_SIG_TCPA "TCPA" /* Trusted Computing Platform Alliance table */ |
151 | #define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */ |
151 | #define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */ |
152 | #define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */ |
152 | #define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */ |
153 | #define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */ |
153 | #define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */ |
- | 154 | #define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */ |
|
154 | #define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */ |
155 | #define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */ |
Line 155... | Line 156... | ||
155 | 156 | ||
156 | #ifdef ACPI_UNDEFINED_TABLES |
157 | #ifdef ACPI_UNDEFINED_TABLES |
157 | /* |
158 | /* |
Line 900... | Line 901... | ||
900 | } ACPI_TABLE_MCHI; |
901 | } ACPI_TABLE_MCHI; |
Line 901... | Line 902... | ||
901 | 902 | ||
902 | 903 | ||
- | 904 | /******************************************************************************* |
|
- | 905 | * |
|
- | 906 | * SLIC - Software Licensing Description Table |
|
- | 907 | * Version 1 |
|
- | 908 | * |
|
- | 909 | * Conforms to "OEM Activation 2.0 for Windows Vista Operating Systems", |
|
- | 910 | * Copyright 2006 |
|
- | 911 | * |
|
- | 912 | ******************************************************************************/ |
|
- | 913 | ||
- | 914 | /* Basic SLIC table is only the common ACPI header */ |
|
- | 915 | ||
- | 916 | typedef struct acpi_table_slic |
|
- | 917 | { |
|
- | 918 | ACPI_TABLE_HEADER Header; /* Common ACPI table header */ |
|
- | 919 | ||
- | 920 | } ACPI_TABLE_SLIC; |
|
- | 921 | ||
- | 922 | ||
- | 923 | /* Common SLIC subtable header */ |
|
- | 924 | ||
- | 925 | typedef struct acpi_slic_header |
|
- | 926 | { |
|
- | 927 | UINT32 Type; |
|
- | 928 | UINT32 Length; |
|
- | 929 | ||
- | 930 | } ACPI_SLIC_HEADER; |
|
- | 931 | ||
- | 932 | /* Values for Type field above */ |
|
- | 933 | ||
- | 934 | enum AcpiSlicType |
|
- | 935 | { |
|
- | 936 | ACPI_SLIC_TYPE_PUBLIC_KEY = 0, |
|
- | 937 | ACPI_SLIC_TYPE_WINDOWS_MARKER = 1, |
|
- | 938 | ACPI_SLIC_TYPE_RESERVED = 2 /* 2 and greater are reserved */ |
|
- | 939 | }; |
|
- | 940 | ||
- | 941 | ||
- | 942 | /* |
|
- | 943 | * SLIC Sub-tables, correspond to Type in ACPI_SLIC_HEADER |
|
- | 944 | */ |
|
- | 945 | ||
- | 946 | /* 0: Public Key Structure */ |
|
- | 947 | ||
- | 948 | typedef struct acpi_slic_key |
|
- | 949 | { |
|
- | 950 | ACPI_SLIC_HEADER Header; |
|
- | 951 | UINT8 KeyType; |
|
- | 952 | UINT8 Version; |
|
- | 953 | UINT16 Reserved; |
|
- | 954 | UINT32 Algorithm; |
|
- | 955 | char Magic[4]; |
|
- | 956 | UINT32 BitLength; |
|
- | 957 | UINT32 Exponent; |
|
- | 958 | UINT8 Modulus[128]; |
|
- | 959 | ||
- | 960 | } ACPI_SLIC_KEY; |
|
- | 961 | ||
- | 962 | ||
- | 963 | /* 1: Windows Marker Structure */ |
|
- | 964 | ||
- | 965 | typedef struct acpi_slic_marker |
|
- | 966 | { |
|
- | 967 | ACPI_SLIC_HEADER Header; |
|
- | 968 | UINT32 Version; |
|
- | 969 | char OemId[ACPI_OEM_ID_SIZE]; /* ASCII OEM identification */ |
|
- | 970 | char OemTableId[ACPI_OEM_TABLE_ID_SIZE]; /* ASCII OEM table identification */ |
|
- | 971 | char WindowsFlag[8]; |
|
- | 972 | UINT32 SlicVersion; |
|
- | 973 | UINT8 Reserved[16]; |
|
- | 974 | UINT8 Signature[128]; |
|
- | 975 | ||
- | 976 | } ACPI_SLIC_MARKER; |
|
- | 977 | ||
- | 978 | ||
903 | /******************************************************************************* |
979 | /******************************************************************************* |
904 | * |
980 | * |
905 | * SPCR - Serial Port Console Redirection table |
981 | * SPCR - Serial Port Console Redirection table |
906 | * Version 1 |
982 | * Version 1 |
907 | * |
983 | * |
Line 1127... | Line 1203... | ||
1127 | }; |
1203 | }; |
Line 1128... | Line 1204... | ||
1128 | 1204 | ||
1129 | 1205 | ||
- | 1206 | /******************************************************************************* |
|
- | 1207 | * |
|
- | 1208 | * WDDT - Watchdog Descriptor Table |
|
- | 1209 | * Version 1 |
|
- | 1210 | * |
|
- | 1211 | * Conforms to "Using the Intel ICH Family Watchdog Timer (WDT)", |
|
- | 1212 | * Version 001, September 2002 |
|
- | 1213 | * |
|
- | 1214 | ******************************************************************************/ |
|
- | 1215 | ||
- | 1216 | typedef struct acpi_table_wddt |
|
- | 1217 | { |
|
- | 1218 | ACPI_TABLE_HEADER Header; /* Common ACPI table header */ |
|
- | 1219 | UINT16 SpecVersion; |
|
- | 1220 | UINT16 TableVersion; |
|
- | 1221 | UINT16 PciVendorId; |
|
- | 1222 | ACPI_GENERIC_ADDRESS Address; |
|
- | 1223 | UINT16 MaxCount; /* Maximum counter value supported */ |
|
- | 1224 | UINT16 MinCount; /* Minimum counter value supported */ |
|
- | 1225 | UINT16 Period; |
|
- | 1226 | UINT16 Status; |
|
- | 1227 | UINT16 Capability; |
|
- | 1228 | ||
- | 1229 | } ACPI_TABLE_WDDT; |
|
- | 1230 | ||
- | 1231 | /* Flags for Status field above */ |
|
- | 1232 | ||
- | 1233 | #define ACPI_WDDT_AVAILABLE (1) |
|
- | 1234 | #define ACPI_WDDT_ACTIVE (1<<1) |
|
- | 1235 | #define ACPI_WDDT_TCO_OS_OWNED (1<<2) |
|
- | 1236 | #define ACPI_WDDT_USER_RESET (1<<11) |
|
- | 1237 | #define ACPI_WDDT_WDT_RESET (1<<12) |
|
- | 1238 | #define ACPI_WDDT_POWER_FAIL (1<<13) |
|
- | 1239 | #define ACPI_WDDT_UNKNOWN_RESET (1<<14) |
|
- | 1240 | ||
- | 1241 | /* Flags for Capability field above */ |
|
- | 1242 | ||
- | 1243 | #define ACPI_WDDT_AUTO_RESET (1) |
|
- | 1244 | #define ACPI_WDDT_ALERT_SUPPORT (1<<1) |
|
- | 1245 | ||
- | 1246 | ||
1130 | /******************************************************************************* |
1247 | /******************************************************************************* |
1131 | * |
1248 | * |
1132 | * WDRT - Watchdog Resource Table |
1249 | * WDRT - Watchdog Resource Table |
1133 | * Version 1 |
1250 | * Version 1 |
1134 | * |
1251 | * |