1 /****************************************************************************** 2 * 3 * Module Name: extables - ACPI tables for Example program 4 * 5 *****************************************************************************/ 6 7 /* 8 * Copyright (C) 2000 - 2014, Intel Corp. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions, and the following disclaimer, 16 * without modification. 17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer 18 * substantially similar to the "NO WARRANTY" disclaimer below 19 * ("Disclaimer") and any redistribution must be conditioned upon 20 * including a substantially similar Disclaimer requirement for further 21 * binary redistribution. 22 * 3. Neither the names of the above-listed copyright holders nor the names 23 * of any contributors may be used to endorse or promote products derived 24 * from this software without specific prior written permission. 25 * 26 * Alternatively, this software may be distributed under the terms of the 27 * GNU General Public License ("GPL") version 2 as published by the Free 28 * Software Foundation. 29 * 30 * NO WARRANTY 31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41 * POSSIBILITY OF SUCH DAMAGES. 42 */ 43 44 #define __EXTABLES_C__ 45 46 #include "examples.h" 47 #include "actables.h" 48 49 #define _COMPONENT ACPI_EXAMPLE 50 ACPI_MODULE_NAME ("extables") 51 52 53 /****************************************************************************** 54 * 55 * ACPICA Example tables and table setup 56 * 57 * This module contains the ACPI tables used for the example program. The 58 * original source code for the tables appears at the end of the module. 59 * 60 *****************************************************************************/ 61 62 63 /* These tables will be modified at runtime */ 64 65 unsigned char RsdpCode[] = 66 { 67 0x52,0x53,0x44,0x20,0x50,0x54,0x52,0x20, /* 00000000 "RSD PTR " */ 68 0x43,0x49,0x4E,0x54,0x45,0x4C,0x20,0x02, /* 00000008 "CINTEL ." */ 69 0x00,0x00,0x00,0x00,0x24,0x00,0x00,0x00, /* 00000010 "....$..." */ 70 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000018 "........" */ 71 0xDC,0x00,0x00,0x00 /* 00000020 "...." */ 72 }; 73 74 unsigned char RsdtCode[] = 75 { 76 0x52,0x53,0x44,0x54,0x28,0x00,0x00,0x00, /* 00000000 "RSDT(..." */ 77 0x01,0x10,0x49,0x4E,0x54,0x45,0x4C,0x20, /* 00000008 "..INTEL " */ 78 0x54,0x45,0x4D,0x50,0x4C,0x41,0x54,0x45, /* 00000010 "TEMPLATE" */ 79 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */ 80 0x15,0x11,0x13,0x20,0x01,0x00,0x00,0x00 /* 00000020 "... ...." */ 81 }; 82 83 unsigned char XsdtCode[] = 84 { 85 0x58,0x53,0x44,0x54,0x2C,0x00,0x00,0x00, /* 00000000 "XSDT,..." */ 86 0x01,0x06,0x49,0x4E,0x54,0x45,0x4C,0x20, /* 00000008 "..INTEL " */ 87 0x54,0x45,0x4D,0x50,0x4C,0x41,0x54,0x45, /* 00000010 "TEMPLATE" */ 88 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */ 89 0x15,0x11,0x13,0x20,0x01,0x00,0x00,0x00, /* 00000020 "... ...." */ 90 0x00,0x00,0x00,0x00 /* 00000028 "...." */ 91 }; 92 93 unsigned char FadtCode[] = 94 { 95 0x46,0x41,0x43,0x50,0x0C,0x01,0x00,0x00, /* 00000000 "FACP...." */ 96 0x05,0x64,0x49,0x4E,0x54,0x45,0x4C,0x20, /* 00000008 ".dINTEL " */ 97 0x54,0x45,0x4D,0x50,0x4C,0x41,0x54,0x45, /* 00000010 "TEMPLATE" */ 98 0x00,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */ 99 0x15,0x11,0x13,0x20,0x01,0x00,0x00,0x00, /* 00000020 "... ...." */ 100 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000028 "........" */ 101 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000030 "........" */ 102 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000038 "........" */ 103 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000040 "........" */ 104 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00, /* 00000048 "........" */ 105 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000050 "........" */ 106 0x04,0x02,0x01,0x04,0x08,0x00,0x00,0x00, /* 00000058 "........" */ 107 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000060 "........" */ 108 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000068 "........" */ 109 0x00,0x00,0x00,0x00,0x01,0x08,0x00,0x01, /* 00000070 "........" */ 110 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000078 "........" */ 111 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, /* 00000080 "........" */ 112 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, /* 00000088 "........" */ 113 0x00,0x00,0x00,0x00,0x01,0x20,0x00,0x02, /* 00000090 "..... .." */ 114 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000098 "........" */ 115 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 000000A0 "........" */ 116 0x00,0x00,0x00,0x00,0x01,0x10,0x00,0x02, /* 000000A8 "........" */ 117 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 000000B0 "........" */ 118 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 000000B8 "........" */ 119 0x00,0x00,0x00,0x00,0x01,0x08,0x00,0x00, /* 000000C0 "........" */ 120 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 000000C8 "........" */ 121 0x01,0x20,0x00,0x03,0x01,0x00,0x00,0x00, /* 000000D0 ". ......" */ 122 0x00,0x00,0x00,0x00,0x01,0x40,0x00,0x01, /* 000000D8 ".....@.." */ 123 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 000000E0 "........" */ 124 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 000000E8 "........" */ 125 0x00,0x00,0x00,0x00,0x01,0x08,0x00,0x01, /* 000000F0 "........" */ 126 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 000000F8 "........" */ 127 0x01,0x08,0x00,0x01,0x00,0x00,0x00,0x00, /* 00000100 "........" */ 128 0x00,0x00,0x00,0x00 /* 00000108 "...." */ 129 }; 130 131 /* Fixed tables */ 132 133 static unsigned char FacsCode[] = 134 { 135 0x46,0x41,0x43,0x53,0x40,0x00,0x00,0x00, /* 00000000 "FACS@..." */ 136 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000008 "........" */ 137 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000010 "........" */ 138 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000018 "........" */ 139 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000020 "........" */ 140 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000028 "........" */ 141 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000030 "........" */ 142 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 /* 00000038 "........" */ 143 }; 144 145 static unsigned char DsdtCode[] = 146 { 147 0x44,0x53,0x44,0x54,0x8C,0x00,0x00,0x00, /* 00000000 "DSDT...." */ 148 0x02,0x76,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 ".vIntel." */ 149 0x54,0x65,0x6D,0x70,0x6C,0x61,0x74,0x65, /* 00000010 "Template" */ 150 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */ 151 0x24,0x04,0x14,0x20,0x5B,0x80,0x47,0x4E, /* 00000020 "$.. [.GN" */ 152 0x56,0x53,0x00,0x0C,0x98,0xEE,0xBB,0xDF, /* 00000028 "VS......" */ 153 0x0A,0x13,0x5B,0x81,0x0B,0x47,0x4E,0x56, /* 00000030 "..[..GNV" */ 154 0x53,0x00,0x46,0x4C,0x44,0x31,0x08,0x14, /* 00000038 "S.FLD1.." */ 155 0x4C,0x04,0x4D,0x41,0x49,0x4E,0x01,0x70, /* 00000040 "L.MAIN.p" */ 156 0x73,0x0D,0x4D,0x61,0x69,0x6E,0x2F,0x41, /* 00000048 "s.Main/A" */ 157 0x72,0x67,0x30,0x3A,0x20,0x00,0x68,0x00, /* 00000050 "rg0: .h." */ 158 0x5B,0x31,0x70,0x00,0x46,0x4C,0x44,0x31, /* 00000058 "[1p.FLD1" */ 159 0x86,0x5C,0x00,0x00,0xA4,0x0D,0x4D,0x61, /* 00000060 ".\....Ma" */ 160 0x69,0x6E,0x20,0x73,0x75,0x63,0x63,0x65, /* 00000068 "in succe" */ 161 0x73,0x73,0x66,0x75,0x6C,0x6C,0x79,0x20, /* 00000070 "ssfully " */ 162 0x63,0x6F,0x6D,0x70,0x6C,0x65,0x74,0x65, /* 00000078 "complete" */ 163 0x64,0x20,0x65,0x78,0x65,0x63,0x75,0x74, /* 00000080 "d execut" */ 164 0x69,0x6F,0x6E,0x00 /* 00000088 "ion." */ 165 }; 166 167 168 /* Useful pointers */ 169 170 ACPI_TABLE_RSDP *Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, RsdpCode); 171 ACPI_TABLE_RSDT *Rsdt = ACPI_CAST_PTR (ACPI_TABLE_RSDT, RsdtCode); 172 ACPI_TABLE_XSDT *Xsdt = ACPI_CAST_PTR (ACPI_TABLE_XSDT, XsdtCode); 173 ACPI_TABLE_FADT *Fadt = ACPI_CAST_PTR (ACPI_TABLE_FADT, FadtCode); 174 175 176 /****************************************************************************** 177 * 178 * Build the various required ACPI tables: 179 * 180 * 1) Setup RSDP to point to the RSDT and XSDT 181 * 2) Setup RSDT/XSDT to point to the FADT 182 * 3) Setup FADT to point to the DSDT and FACS 183 * 4) Update checksums for all modified tables 184 * 185 *****************************************************************************/ 186 187 void 188 ExInitializeAcpiTables ( 189 void) 190 { 191 192 /* Setup RSDP */ 193 194 Rsdp->RsdtPhysicalAddress = (UINT32) ACPI_TO_INTEGER (RsdtCode); 195 Rsdp->XsdtPhysicalAddress = (UINT64) ACPI_TO_INTEGER (XsdtCode); 196 197 /* RSDT and XSDT */ 198 199 Rsdt->TableOffsetEntry[0] = (UINT32) ACPI_TO_INTEGER (FadtCode); 200 Xsdt->TableOffsetEntry[0] = (UINT64) ACPI_TO_INTEGER (FadtCode); 201 202 /* FADT */ 203 204 Fadt->Facs = 0; 205 Fadt->Dsdt = 0; 206 Fadt->XFacs = (UINT64) ACPI_TO_INTEGER (FacsCode); 207 Fadt->XDsdt = (UINT64) ACPI_TO_INTEGER (DsdtCode); 208 209 /* Set new checksums for the modified tables */ 210 211 Rsdp->Checksum = 0; 212 Rsdp->Checksum = (UINT8) -AcpiTbChecksum ( 213 (void *) RsdpCode, ACPI_RSDP_CHECKSUM_LENGTH); 214 215 Rsdt->Header.Checksum = 0; 216 Rsdt->Header.Checksum = (UINT8) -AcpiTbChecksum ( 217 (void *) Rsdt, Rsdt->Header.Length); 218 219 Xsdt->Header.Checksum = 0; 220 Xsdt->Header.Checksum = (UINT8) -AcpiTbChecksum ( 221 (void *) Xsdt, Xsdt->Header.Length); 222 223 Fadt->Header.Checksum = 0; 224 Fadt->Header.Checksum = (UINT8) -AcpiTbChecksum ( 225 (void *) Fadt, Fadt->Header.Length); 226 } 227 228 229 /****************************************************************************** 230 * 231 * OSL support - return the address of the RSDP 232 * 233 *****************************************************************************/ 234 235 ACPI_PHYSICAL_ADDRESS 236 AcpiOsGetRootPointer ( 237 void) 238 { 239 240 return ((ACPI_PHYSICAL_ADDRESS) RsdpCode); 241 } 242 243 244 #ifdef DO_NOT_COMPILE_ACPI_TABLE_CODE 245 /****************************************************************************** 246 * 247 * ACPICA Example table source code 248 * 249 * This is the original source code for the tables above 250 * 251 *****************************************************************************/ 252 253 /* RSDP */ 254 255 [0008] Signature : "RSD PTR " 256 [0001] Checksum : 43 257 [0006] Oem ID : "INTEL " 258 [0001] Revision : 02 259 [0004] RSDT Address : 00000000 260 [0004] Length : 00000024 261 [0008] XSDT Address : 0000000000000000 262 [0001] Extended Checksum : DC 263 [0003] Reserved : 000000 264 265 266 /* RSDT */ 267 268 [0004] Signature : "RSDT" [Root System Description Table] 269 [0004] Table Length : 00000044 270 [0001] Revision : 01 271 [0001] Checksum : B1 272 [0006] Oem ID : "INTEL " 273 [0008] Oem Table ID : "TEMPLATE" 274 [0004] Oem Revision : 00000001 275 [0004] Asl Compiler ID : "INTL" 276 [0004] Asl Compiler Revision : 20100528 277 278 [0004] ACPI Table Address 0 : 00000001 279 280 281 /* XSDT */ 282 283 [0004] Signature : "XSDT" [Extended System Description Table] 284 [0004] Table Length : 00000064 285 [0001] Revision : 01 286 [0001] Checksum : 8B 287 [0006] Oem ID : "INTEL " 288 [0008] Oem Table ID : "TEMPLATE" 289 [0004] Oem Revision : 00000001 290 [0004] Asl Compiler ID : "INTL" 291 [0004] Asl Compiler Revision : 20100528 292 293 [0008] ACPI Table Address 0 : 0000000000000001 294 295 296 /* FADT */ 297 298 [0004] Signature : "FACP" [Fixed ACPI Description Table (FADT)] 299 [0004] Table Length : 0000010C 300 [0001] Revision : 05 301 [0001] Checksum : 18 302 [0006] Oem ID : "INTEL " 303 [0008] Oem Table ID : "TEMPLATE" 304 [0004] Oem Revision : 00000000 305 [0004] Asl Compiler ID : "INTL" 306 [0004] Asl Compiler Revision : 20111123 307 308 [0004] FACS Address : 00000001 309 [0004] DSDT Address : 00000001 310 [0001] Model : 00 311 [0001] PM Profile : 00 [Unspecified] 312 [0002] SCI Interrupt : 0000 313 [0004] SMI Command Port : 00000000 314 [0001] ACPI Enable Value : 00 315 [0001] ACPI Disable Value : 00 316 [0001] S4BIOS Command : 00 317 [0001] P-State Control : 00 318 [0004] PM1A Event Block Address : 00000001 319 [0004] PM1B Event Block Address : 00000000 320 [0004] PM1A Control Block Address : 00000001 321 [0004] PM1B Control Block Address : 00000000 322 [0004] PM2 Control Block Address : 00000001 323 [0004] PM Timer Block Address : 00000001 324 [0004] GPE0 Block Address : 00000001 325 [0004] GPE1 Block Address : 00000000 326 [0001] PM1 Event Block Length : 04 327 [0001] PM1 Control Block Length : 02 328 [0001] PM2 Control Block Length : 01 329 [0001] PM Timer Block Length : 04 330 [0001] GPE0 Block Length : 08 331 [0001] GPE1 Block Length : 00 332 [0001] GPE1 Base Offset : 00 333 [0001] _CST Support : 00 334 [0002] C2 Latency : 0000 335 [0002] C3 Latency : 0000 336 [0002] CPU Cache Size : 0000 337 [0002] Cache Flush Stride : 0000 338 [0001] Duty Cycle Offset : 00 339 [0001] Duty Cycle Width : 00 340 [0001] RTC Day Alarm Index : 00 341 [0001] RTC Month Alarm Index : 00 342 [0001] RTC Century Index : 00 343 [0002] Boot Flags (decoded below) : 0000 344 Legacy Devices Supported (V2) : 0 345 8042 Present on ports 60/64 (V2) : 0 346 VGA Not Present (V4) : 0 347 MSI Not Supported (V4) : 0 348 PCIe ASPM Not Supported (V4) : 0 349 CMOS RTC Not Present (V5) : 0 350 [0001] Reserved : 00 351 [0004] Flags (decoded below) : 00000000 352 WBINVD instruction is operational (V1) : 0 353 WBINVD flushes all caches (V1) : 0 354 All CPUs support C1 (V1) : 0 355 C2 works on MP system (V1) : 0 356 Control Method Power Button (V1) : 0 357 Control Method Sleep Button (V1) : 0 358 RTC wake not in fixed reg space (V1) : 0 359 RTC can wake system from S4 (V1) : 0 360 32-bit PM Timer (V1) : 0 361 Docking Supported (V1) : 0 362 Reset Register Supported (V2) : 0 363 Sealed Case (V3) : 0 364 Headless - No Video (V3) : 0 365 Use native instr after SLP_TYPx (V3) : 0 366 PCIEXP_WAK Bits Supported (V4) : 0 367 Use Platform Timer (V4) : 0 368 RTC_STS valid on S4 wake (V4) : 0 369 Remote Power-on capable (V4) : 0 370 Use APIC Cluster Model (V4) : 0 371 Use APIC Physical Destination Mode (V4) : 0 372 Hardware Reduced (V5) : 0 373 Low Power S0 Idle (V5) : 0 374 375 [0012] Reset Register : [Generic Address Structure] 376 [0001] Space ID : 01 [SystemIO] 377 [0001] Bit Width : 08 378 [0001] Bit Offset : 00 379 [0001] Encoded Access Width : 01 [Byte Access:8] 380 [0008] Address : 0000000000000001 381 382 [0001] Value to cause reset : 00 383 [0003] Reserved : 000000 384 [0008] FACS Address : 0000000000000001 385 [0008] DSDT Address : 0000000000000001 386 [0012] PM1A Event Block : [Generic Address Structure] 387 [0001] Space ID : 01 [SystemIO] 388 [0001] Bit Width : 20 389 [0001] Bit Offset : 00 390 [0001] Encoded Access Width : 02 [Word Access:16] 391 [0008] Address : 0000000000000001 392 393 [0012] PM1B Event Block : [Generic Address Structure] 394 [0001] Space ID : 01 [SystemIO] 395 [0001] Bit Width : 00 396 [0001] Bit Offset : 00 397 [0001] Encoded Access Width : 00 [Undefined/Legacy] 398 [0008] Address : 0000000000000000 399 400 [0012] PM1A Control Block : [Generic Address Structure] 401 [0001] Space ID : 01 [SystemIO] 402 [0001] Bit Width : 10 403 [0001] Bit Offset : 00 404 [0001] Encoded Access Width : 02 [Word Access:16] 405 [0008] Address : 0000000000000001 406 407 [0012] PM1B Control Block : [Generic Address Structure] 408 [0001] Space ID : 01 [SystemIO] 409 [0001] Bit Width : 00 410 [0001] Bit Offset : 00 411 [0001] Encoded Access Width : 00 [Undefined/Legacy] 412 [0008] Address : 0000000000000000 413 414 [0012] PM2 Control Block : [Generic Address Structure] 415 [0001] Space ID : 01 [SystemIO] 416 [0001] Bit Width : 08 417 [0001] Bit Offset : 00 418 [0001] Encoded Access Width : 00 [Undefined/Legacy] 419 [0008] Address : 0000000000000001 420 421 [0012] PM Timer Block : [Generic Address Structure] 422 [0001] Space ID : 01 [SystemIO] 423 [0001] Bit Width : 20 424 [0001] Bit Offset : 00 425 [0001] Encoded Access Width : 03 [DWord Access:32] 426 [0008] Address : 0000000000000001 427 428 [0012] GPE0 Block : [Generic Address Structure] 429 [0001] Space ID : 01 [SystemIO] 430 [0001] Bit Width : 40 431 [0001] Bit Offset : 00 432 [0001] Encoded Access Width : 01 [Byte Access:8] 433 [0008] Address : 0000000000000001 434 435 [0012] GPE1 Block : [Generic Address Structure] 436 [0001] Space ID : 01 [SystemIO] 437 [0001] Bit Width : 00 438 [0001] Bit Offset : 00 439 [0001] Encoded Access Width : 00 [Undefined/Legacy] 440 [0008] Address : 0000000000000000 441 442 443 [0012] Sleep Control Register : [Generic Address Structure] 444 [0001] Space ID : 01 [SystemIO] 445 [0001] Bit Width : 08 446 [0001] Bit Offset : 00 447 [0001] Encoded Access Width : 01 [Byte Access:8] 448 [0008] Address : 0000000000000000 449 450 [0012] Sleep Status Register : [Generic Address Structure] 451 [0001] Space ID : 01 [SystemIO] 452 [0001] Bit Width : 08 453 [0001] Bit Offset : 00 454 [0001] Encoded Access Width : 01 [Byte Access:8] 455 [0008] Address : 0000000000000000 456 457 458 /* FACS */ 459 460 [0004] Signature : "FACS" 461 [0004] Length : 00000040 462 [0004] Hardware Signature : 00000000 463 [0004] 32 Firmware Waking Vector : 00000000 464 [0004] Global Lock : 00000000 465 [0004] Flags (decoded below) : 00000000 466 S4BIOS Support Present : 0 467 64-bit Wake Supported (V2) : 0 468 [0008] 64 Firmware Waking Vector : 0000000000000000 469 [0001] Version : 02 470 [0003] Reserved : 000000 471 [0004] OspmFlags (decoded below) : 00000000 472 64-bit Wake Env Required (V2) : 0 473 474 475 /* DSDT - ASL code */ 476 477 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 0x00000001) 478 { 479 OperationRegion (GNVS, SystemMemory, 0xDFBBEE98, 0x00000013) 480 Field (GNVS, AnyAcc, NoLock, Preserve) 481 { 482 FLD1, 8, 483 } 484 485 Method (MAIN, 1, NotSerialized) 486 { 487 Store (Concatenate ("Main/Arg0: ", Arg0), Debug) 488 Store (Zero, FLD1) 489 Notify (\, Zero) 490 Return ("Main successfully completed execution") 491 } 492 } 493 #endif 494