aapits

ACPICA API Test Suite (see also http://www.acpica.org)

Commit 6e19adc Initial commit of the 20150717 version of AAPITS

111 files Merged and Committed by ahs3 2 years ago
Initial commit of the 20150717 version of AAPITS

This is basically an archival of the last supplied version of AAPITS,
the ACPICA API Test Suite (see http://www.acpica.org as the originators
of this test suite).

This test suite has been deprecated by ACPICA.

Signed-off-by: Al Stone <ahs3@redhat.com>

    
   1 @@ -0,0 +1,1051 @@
   2 + # Microsoft Developer Studio Project File - Name="AcpiApiTS" - Package Owner=<4>
   3 + # Microsoft Developer Studio Generated Build File, Format Version 6.00
   4 + # ** DO NOT EDIT **
   5 + 
   6 + # TARGTYPE "Win32 (x86) Console Application" 0x0103
   7 + 
   8 + CFG=AcpiApiTS - Win32 Debug
   9 + !MESSAGE This is not a valid makefile. To build this project using NMAKE,
  10 + !MESSAGE use the Export Makefile command and run
  11 + !MESSAGE 
  12 + !MESSAGE NMAKE /f "AcpiApiTS.mak".
  13 + !MESSAGE 
  14 + !MESSAGE You can specify a configuration when running NMAKE
  15 + !MESSAGE by defining the macro CFG on the command line. For example:
  16 + !MESSAGE 
  17 + !MESSAGE NMAKE /f "AcpiApiTS.mak" CFG="AcpiApiTS - Win32 Debug"
  18 + !MESSAGE 
  19 + !MESSAGE Possible choices for configuration are:
  20 + !MESSAGE 
  21 + !MESSAGE "AcpiApiTS - Win32 Release" (based on "Win32 (x86) Console Application")
  22 + !MESSAGE "AcpiApiTS - Win32 Debug" (based on "Win32 (x86) Console Application")
  23 + !MESSAGE 
  24 + 
  25 + # Begin Project
  26 + # PROP AllowPerConfigDependencies 0
  27 + # PROP Scc_ProjName ""$/Acpi/Generate/msvc", SVBAAAAA"
  28 + # PROP Scc_LocalPath "."
  29 + CPP=xicl6.exe
  30 + RSC=rc.exe
  31 + 
  32 + !IF  "$(CFG)" == "AcpiApiTS - Win32 Release"
  33 + 
  34 + # PROP BASE Use_MFC 0
  35 + # PROP BASE Use_Debug_Libraries 0
  36 + # PROP BASE Output_Dir "Release"
  37 + # PROP BASE Intermediate_Dir "Release"
  38 + # PROP BASE Target_Dir ""
  39 + # PROP Use_MFC 0
  40 + # PROP Use_Debug_Libraries 0
  41 + # PROP Output_Dir "cpiApiTS\NoDebug"
  42 + # PROP Intermediate_Dir "AcpiApiTS\NoDebug"
  43 + # PROP Ignore_Export_Lib 0
  44 + # PROP Target_Dir ""
  45 + # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
  46 + # ADD CPP /nologo /Gz /MT /W4 /GX /O1 /Ob0 /I "..\..\source\include" /D "NDEBUG" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "_CONSOLE" /D "_MBCS" /D "ACPI_EXEC_APP" /D "ACPI_LIBRARY" /D "_MULTI_THREADED" /D "ACPI_APITS" /FR /FD /c
  47 + # ADD BASE RSC /l 0x409 /d "NDEBUG"
  48 + # ADD RSC /l 0x409 /d "NDEBUG"
  49 + BSC32=bscmake.exe
  50 + # ADD BASE BSC32 /nologo
  51 + # ADD BSC32 /nologo /o"AcpiApiTS\NoDebug/AcpiApiTS.bsc"
  52 + LINK32=xilink6.exe
  53 + # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
  54 + # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /map /machine:I386 /out:"bin/AcpiApiTS.exe"
  55 + # Begin Special Build Tool
  56 + SOURCE="$(InputPath)"
  57 + PreLink_Desc=Checking existence of acpi/libraries directory
  58 + PreLink_Cmds=if NOT EXIST ..\..\libraries mkdir ..\..\libraries
  59 + PostBuild_Desc=Copy executable to acpi/libraries
  60 + PostBuild_Cmds=copy bin\acpiapits.exe ..\..\libraries\acpiapits.exe»       dir ..\..\libraries\acpiapits.exe
  61 + # End Special Build Tool
  62 + 
  63 + !ELSEIF  "$(CFG)" == "AcpiApiTS - Win32 Debug"
  64 + 
  65 + # PROP BASE Use_MFC 0
  66 + # PROP BASE Use_Debug_Libraries 1
  67 + # PROP BASE Output_Dir "Debug"
  68 + # PROP BASE Intermediate_Dir "Debug"
  69 + # PROP BASE Target_Dir ""
  70 + # PROP Use_MFC 0
  71 + # PROP Use_Debug_Libraries 1
  72 + # PROP Output_Dir "AcpiApiTS\Debug"
  73 + # PROP Intermediate_Dir "AcpiApiTS\Debug"
  74 + # PROP Ignore_Export_Lib 0
  75 + # PROP Target_Dir ""
  76 + # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
  77 + # ADD CPP /nologo /Gz /MT /W4 /Gm /ZI /Oa /Os /Oy /I "..\..\source\include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "_CONSOLE" /D "_MBCS" /D "ACPI_EXEC_APP" /D "ACPI_LIBRARY" /D "_MULTI_THREADED" /D "ACPI_APITS" /FR /FD /D /GZ /c
  78 + # ADD BASE RSC /l 0x409 /d "_DEBUG"
  79 + # ADD RSC /l 0x409 /d "_DEBUG"
  80 + BSC32=bscmake.exe
  81 + # ADD BASE BSC32 /nologo
  82 + # ADD BSC32 /nologo /o"AcpiApiTS\Debug\AcpiApiTSDebug.bsc"
  83 + LINK32=xilink6.exe
  84 + # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
  85 + # ADD LINK32 libcmtd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /map /debug /machine:I386 /nodefaultlib:"libcmt.lib" /out:"bin/AcpiApiTSDebug.exe" /pdbtype:sept
  86 + # SUBTRACT LINK32 /verbose
  87 + # Begin Special Build Tool
  88 + SOURCE="$(InputPath)"
  89 + PreLink_Desc=Checking existence of acpi/libraries directory
  90 + PreLink_Cmds=if NOT EXIST ..\..\libraries mkdir ..\..\libraries
  91 + PostBuild_Desc=Copy executable to acpi/libraries
  92 + PostBuild_Cmds=copy bin\acpiapitsdebug.exe ..\..\libraries\acpiapitsdebug.exe»       dir ..\..\libraries\acpiapitsdebug.exe
  93 + # End Special Build Tool
  94 + 
  95 + !ENDIF 
  96 + 
  97 + # Begin Target
  98 + 
  99 + # Name "AcpiApiTS - Win32 Release"
 100 + # Name "AcpiApiTS - Win32 Debug"
 101 + # Begin Group "Source Files"
 102 + 
 103 + # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
 104 + # Begin Group "Utilities"
 105 + 
 106 + # PROP Default_Filter ".c"
 107 + # Begin Source File
 108 + 
 109 + SOURCE=..\..\source\components\utilities\utalloc.c
 110 + # End Source File
 111 + # Begin Source File
 112 + 
 113 + SOURCE=..\..\source\components\utilities\utcache.c
 114 + # End Source File
 115 + # Begin Source File
 116 + 
 117 + SOURCE=..\..\source\components\utilities\utclib.c
 118 + # End Source File
 119 + # Begin Source File
 120 + 
 121 + SOURCE=..\..\source\components\utilities\utcopy.c
 122 + # End Source File
 123 + # Begin Source File
 124 + 
 125 + SOURCE=..\..\source\components\utilities\utdebug.c
 126 + # End Source File
 127 + # Begin Source File
 128 + 
 129 + SOURCE=..\..\source\components\utilities\utdelete.c
 130 + # End Source File
 131 + # Begin Source File
 132 + 
 133 + SOURCE=..\..\source\components\utilities\uteval.c
 134 + # End Source File
 135 + # Begin Source File
 136 + 
 137 + SOURCE=..\..\source\components\utilities\utglobal.c
 138 + # End Source File
 139 + # Begin Source File
 140 + 
 141 + SOURCE=..\..\source\components\utilities\utinit.c
 142 + # End Source File
 143 + # Begin Source File
 144 + 
 145 + SOURCE=..\..\source\components\utilities\utmath.c
 146 + # ADD CPP /Ze
 147 + # End Source File
 148 + # Begin Source File
 149 + 
 150 + SOURCE=..\..\source\components\utilities\utmisc.c
 151 + 
 152 + !IF  "$(CFG)" == "AcpiApiTS - Win32 Release"
 153 + 
 154 + !ELSEIF  "$(CFG)" == "AcpiApiTS - Win32 Debug"
 155 + 
 156 + # ADD CPP /Za /FAcs
 157 + 
 158 + !ENDIF 
 159 + 
 160 + # End Source File
 161 + # Begin Source File
 162 + 
 163 + SOURCE=..\..\source\components\utilities\utmutex.c
 164 + # End Source File
 165 + # Begin Source File
 166 + 
 167 + SOURCE=..\..\source\components\utilities\utobject.c
 168 + # End Source File
 169 + # Begin Source File
 170 + 
 171 + SOURCE=..\..\source\components\utilities\utresrc.c
 172 + # End Source File
 173 + # Begin Source File
 174 + 
 175 + SOURCE=..\..\source\components\utilities\utstate.c
 176 + # End Source File
 177 + # Begin Source File
 178 + 
 179 + SOURCE=..\..\source\components\utilities\uttrack.c
 180 + # End Source File
 181 + # Begin Source File
 182 + 
 183 + SOURCE=..\..\source\components\utilities\utxface.c
 184 + # End Source File
 185 + # End Group
 186 + # Begin Group "Interpreter"
 187 + 
 188 + # PROP Default_Filter ""
 189 + # Begin Source File
 190 + 
 191 + SOURCE=..\..\source\components\interpreter\executer\exconfig.c
 192 + # End Source File
 193 + # Begin Source File
 194 + 
 195 + SOURCE=..\..\source\components\interpreter\executer\exconvrt.c
 196 + # End Source File
 197 + # Begin Source File
 198 + 
 199 + SOURCE=..\..\source\components\interpreter\executer\excreate.c
 200 + # End Source File
 201 + # Begin Source File
 202 + 
 203 + SOURCE=..\..\source\components\interpreter\executer\exdump.c
 204 + # End Source File
 205 + # Begin Source File
 206 + 
 207 + SOURCE=..\..\source\components\interpreter\executer\exfield.c
 208 + # End Source File
 209 + # Begin Source File
 210 + 
 211 + SOURCE=..\..\source\components\interpreter\executer\exfldio.c
 212 + # End Source File
 213 + # Begin Source File
 214 + 
 215 + SOURCE=..\..\source\components\interpreter\executer\exmisc.c
 216 + # End Source File
 217 + # Begin Source File
 218 + 
 219 + SOURCE=..\..\source\components\interpreter\executer\exmutex.c
 220 + # End Source File
 221 + # Begin Source File
 222 + 
 223 + SOURCE=..\..\source\components\interpreter\executer\exnames.c
 224 + # End Source File
 225 + # Begin Source File
 226 + 
 227 + SOURCE=..\..\source\components\interpreter\executer\exoparg1.c
 228 + # End Source File
 229 + # Begin Source File
 230 + 
 231 + SOURCE=..\..\source\components\interpreter\executer\exoparg2.c
 232 + # End Source File
 233 + # Begin Source File
 234 + 
 235 + SOURCE=..\..\source\components\interpreter\executer\exoparg3.c
 236 + # End Source File
 237 + # Begin Source File
 238 + 
 239 + SOURCE=..\..\source\components\interpreter\executer\exoparg6.c
 240 + # End Source File
 241 + # Begin Source File
 242 + 
 243 + SOURCE=..\..\source\components\interpreter\executer\exprep.c
 244 + # End Source File
 245 + # Begin Source File
 246 + 
 247 + SOURCE=..\..\source\components\interpreter\executer\exregion.c
 248 + # End Source File
 249 + # Begin Source File
 250 + 
 251 + SOURCE=..\..\source\components\interpreter\executer\exresnte.c
 252 + # End Source File
 253 + # Begin Source File
 254 + 
 255 + SOURCE=..\..\source\components\interpreter\executer\exresolv.c
 256 + # End Source File
 257 + # Begin Source File
 258 + 
 259 + SOURCE=..\..\source\components\interpreter\executer\exresop.c
 260 + # End Source File
 261 + # Begin Source File
 262 + 
 263 + SOURCE=..\..\source\components\interpreter\executer\exstore.c
 264 + # End Source File
 265 + # Begin Source File
 266 + 
 267 + SOURCE=..\..\source\components\interpreter\executer\exstoren.c
 268 + # End Source File
 269 + # Begin Source File
 270 + 
 271 + SOURCE=..\..\source\components\interpreter\executer\exstorob.c
 272 + # End Source File
 273 + # Begin Source File
 274 + 
 275 + SOURCE=..\..\source\components\interpreter\executer\exsystem.c
 276 + # End Source File
 277 + # Begin Source File
 278 + 
 279 + SOURCE=..\..\source\components\interpreter\executer\exutils.c
 280 + # End Source File
 281 + # End Group
 282 + # Begin Group "Namespace"
 283 + 
 284 + # PROP Default_Filter ""
 285 + # Begin Source File
 286 + 
 287 + SOURCE=..\..\source\components\namespace\nsaccess.c
 288 + # End Source File
 289 + # Begin Source File
 290 + 
 291 + SOURCE=..\..\source\components\namespace\nsalloc.c
 292 + # End Source File
 293 + # Begin Source File
 294 + 
 295 + SOURCE=..\..\source\components\namespace\nsdump.c
 296 + # End Source File
 297 + # Begin Source File
 298 + 
 299 + SOURCE=..\..\source\COMPONENTS\NAMESPACE\nsdumpdv.c
 300 + # End Source File
 301 + # Begin Source File
 302 + 
 303 + SOURCE=..\..\source\components\namespace\nseval.c
 304 + # End Source File
 305 + # Begin Source File
 306 + 
 307 + SOURCE=..\..\source\components\namespace\nsinit.c
 308 + # End Source File
 309 + # Begin Source File
 310 + 
 311 + SOURCE=..\..\source\components\namespace\nsload.c
 312 + # End Source File
 313 + # Begin Source File
 314 + 
 315 + SOURCE=..\..\source\components\namespace\nsnames.c
 316 + # End Source File
 317 + # Begin Source File
 318 + 
 319 + SOURCE=..\..\source\components\namespace\nsobject.c
 320 + # End Source File
 321 + # Begin Source File
 322 + 
 323 + SOURCE=..\..\source\COMPONENTS\NAMESPACE\nsparse.c
 324 + # End Source File
 325 + # Begin Source File
 326 + 
 327 + SOURCE=..\..\source\components\namespace\nssearch.c
 328 + # End Source File
 329 + # Begin Source File
 330 + 
 331 + SOURCE=..\..\source\components\namespace\nsutils.c
 332 + # End Source File
 333 + # Begin Source File
 334 + 
 335 + SOURCE=..\..\source\components\namespace\nswalk.c
 336 + # End Source File
 337 + # Begin Source File
 338 + 
 339 + SOURCE=..\..\source\COMPONENTS\NAMESPACE\nsxfeval.c
 340 + # End Source File
 341 + # Begin Source File
 342 + 
 343 + SOURCE=..\..\source\components\namespace\nsxfname.c
 344 + # End Source File
 345 + # Begin Source File
 346 + 
 347 + SOURCE=..\..\source\components\namespace\nsxfobj.c
 348 + # End Source File
 349 + # End Group
 350 + # Begin Group "Parser"
 351 + 
 352 + # PROP Default_Filter ""
 353 + # Begin Source File
 354 + 
 355 + SOURCE=..\..\source\components\interpreter\parser\psargs.c
 356 + # End Source File
 357 + # Begin Source File
 358 + 
 359 + SOURCE=..\..\source\components\interpreter\parser\psloop.c
 360 + # End Source File
 361 + # Begin Source File
 362 + 
 363 + SOURCE=..\..\source\components\interpreter\parser\psopcode.c
 364 + # End Source File
 365 + # Begin Source File
 366 + 
 367 + SOURCE=..\..\source\components\interpreter\parser\psparse.c
 368 + # End Source File
 369 + # Begin Source File
 370 + 
 371 + SOURCE=..\..\source\components\interpreter\parser\psscope.c
 372 + # End Source File
 373 + # Begin Source File
 374 + 
 375 + SOURCE=..\..\source\components\interpreter\parser\pstree.c
 376 + # End Source File
 377 + # Begin Source File
 378 + 
 379 + SOURCE=..\..\source\components\interpreter\parser\psutils.c
 380 + # End Source File
 381 + # Begin Source File
 382 + 
 383 + SOURCE=..\..\source\components\interpreter\parser\pswalk.c
 384 + # End Source File
 385 + # Begin Source File
 386 + 
 387 + SOURCE=..\..\source\components\interpreter\parser\psxface.c
 388 + # End Source File
 389 + # End Group
 390 + # Begin Group "Hardware"
 391 + 
 392 + # PROP Default_Filter ""
 393 + # Begin Source File
 394 + 
 395 + SOURCE=..\..\source\components\hardware\hwacpi.c
 396 + # End Source File
 397 + # Begin Source File
 398 + 
 399 + SOURCE=..\..\source\components\hardware\hwgpe.c
 400 + # End Source File
 401 + # Begin Source File
 402 + 
 403 + SOURCE=..\..\source\components\hardware\hwregs.c
 404 + # End Source File
 405 + # Begin Source File
 406 + 
 407 + SOURCE=..\..\Source\components\hardware\hwsleep.c
 408 + # End Source File
 409 + # Begin Source File
 410 + 
 411 + SOURCE=..\..\source\components\hardware\hwtimer.c
 412 + # End Source File
 413 + # End Group
 414 + # Begin Group "Events"
 415 + 
 416 + # PROP Default_Filter ""
 417 + # Begin Source File
 418 + 
 419 + SOURCE=..\..\source\components\events\evevent.c
 420 + # End Source File
 421 + # Begin Source File
 422 + 
 423 + SOURCE=..\..\source\COMPONENTS\EVENTS\evgpe.c
 424 + # End Source File
 425 + # Begin Source File
 426 + 
 427 + SOURCE=..\..\source\COMPONENTS\EVENTS\evgpeblk.c
 428 + # End Source File
 429 + # Begin Source File
 430 + 
 431 + SOURCE=..\..\source\components\events\evmisc.c
 432 + # End Source File
 433 + # Begin Source File
 434 + 
 435 + SOURCE=..\..\source\components\events\evregion.c
 436 + # End Source File
 437 + # Begin Source File
 438 + 
 439 + SOURCE=..\..\source\components\events\evrgnini.c
 440 + # End Source File
 441 + # Begin Source File
 442 + 
 443 + SOURCE=..\..\source\components\events\evsci.c
 444 + # End Source File
 445 + # Begin Source File
 446 + 
 447 + SOURCE=..\..\source\components\events\evxface.c
 448 + # End Source File
 449 + # Begin Source File
 450 + 
 451 + SOURCE=..\..\source\components\events\evxfevnt.c
 452 + # End Source File
 453 + # Begin Source File
 454 + 
 455 + SOURCE=..\..\source\components\events\evxfregn.c
 456 + # End Source File
 457 + # End Group
 458 + # Begin Group "Debugger"
 459 + 
 460 + # PROP Default_Filter ".c"
 461 + # Begin Source File
 462 + 
 463 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbcmds.c
 464 + # End Source File
 465 + # Begin Source File
 466 + 
 467 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbdisply.c
 468 + # End Source File
 469 + # Begin Source File
 470 + 
 471 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbexec.c
 472 + # End Source File
 473 + # Begin Source File
 474 + 
 475 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbfileio.c
 476 + # End Source File
 477 + # Begin Source File
 478 + 
 479 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbhistry.c
 480 + # End Source File
 481 + # Begin Source File
 482 + 
 483 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbinput.c
 484 + # End Source File
 485 + # Begin Source File
 486 + 
 487 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbstats.c
 488 + # End Source File
 489 + # Begin Source File
 490 + 
 491 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbutils.c
 492 + # End Source File
 493 + # Begin Source File
 494 + 
 495 + SOURCE=..\..\source\COMPONENTS\DEBUGGER\dbxface.c
 496 + # End Source File
 497 + # End Group
 498 + # Begin Group "Dispatcher"
 499 + 
 500 + # PROP Default_Filter ""
 501 + # Begin Source File
 502 + 
 503 + SOURCE=..\..\source\components\interpreter\dispatcher\dsfield.c
 504 + # End Source File
 505 + # Begin Source File
 506 + 
 507 + SOURCE=..\..\source\COMPONENTS\INTERPRETER\DISPATCHER\dsinit.c
 508 + # End Source File
 509 + # Begin Source File
 510 + 
 511 + SOURCE=..\..\source\components\interpreter\dispatcher\dsmethod.c
 512 + # End Source File
 513 + # Begin Source File
 514 + 
 515 + SOURCE=..\..\source\components\interpreter\dispatcher\dsmthdat.c
 516 + # End Source File
 517 + # Begin Source File
 518 + 
 519 + SOURCE=..\..\source\components\interpreter\dispatcher\dsobject.c
 520 + # End Source File
 521 + # Begin Source File
 522 + 
 523 + SOURCE=..\..\source\components\interpreter\dispatcher\dsopcode.c
 524 + # End Source File
 525 + # Begin Source File
 526 + 
 527 + SOURCE=..\..\source\components\interpreter\dispatcher\dsutils.c
 528 + # End Source File
 529 + # Begin Source File
 530 + 
 531 + SOURCE=..\..\source\components\interpreter\dispatcher\dswexec.c
 532 + # End Source File
 533 + # Begin Source File
 534 + 
 535 + SOURCE=..\..\source\components\interpreter\dispatcher\dswload.c
 536 + # End Source File
 537 + # Begin Source File
 538 + 
 539 + SOURCE=..\..\source\components\interpreter\dispatcher\dswscope.c
 540 + # End Source File
 541 + # Begin Source File
 542 + 
 543 + SOURCE=..\..\source\components\interpreter\dispatcher\dswstate.c
 544 + # End Source File
 545 + # End Group
 546 + # Begin Group "Tables"
 547 + 
 548 + # PROP Default_Filter ".c"
 549 + # Begin Source File
 550 + 
 551 + SOURCE=..\..\source\components\tables\tbfadt.c
 552 + # End Source File
 553 + # Begin Source File
 554 + 
 555 + SOURCE=..\..\source\components\tables\tbfind.c
 556 + # End Source File
 557 + # Begin Source File
 558 + 
 559 + SOURCE=..\..\source\components\tables\tbinstal.c
 560 + # End Source File
 561 + # Begin Source File
 562 + 
 563 + SOURCE=..\..\source\components\tables\tbutils.c
 564 + # End Source File
 565 + # Begin Source File
 566 + 
 567 + SOURCE=..\..\source\components\tables\tbxface.c
 568 + # End Source File
 569 + # Begin Source File
 570 + 
 571 + SOURCE=..\..\source\components\tables\tbxfroot.c
 572 + # End Source File
 573 + # End Group
 574 + # Begin Group "Common"
 575 + 
 576 + # PROP Default_Filter ".c"
 577 + # Begin Source File
 578 + 
 579 + SOURCE=..\..\source\common\getopt.c
 580 + # End Source File
 581 + # End Group
 582 + # Begin Group "Resources"
 583 + 
 584 + # PROP Default_Filter ""
 585 + # Begin Source File
 586 + 
 587 + SOURCE=..\..\source\components\resources\rsaddr.c
 588 + # End Source File
 589 + # Begin Source File
 590 + 
 591 + SOURCE=..\..\source\components\resources\rscalc.c
 592 + # End Source File
 593 + # Begin Source File
 594 + 
 595 + SOURCE=..\..\source\components\resources\rscreate.c
 596 + # End Source File
 597 + # Begin Source File
 598 + 
 599 + SOURCE=..\..\source\components\resources\rsdump.c
 600 + # End Source File
 601 + # Begin Source File
 602 + 
 603 + SOURCE=..\..\source\components\resources\rsinfo.c
 604 + # End Source File
 605 + # Begin Source File
 606 + 
 607 + SOURCE=..\..\source\components\resources\rsio.c
 608 + # End Source File
 609 + # Begin Source File
 610 + 
 611 + SOURCE=..\..\source\components\resources\rsirq.c
 612 + # End Source File
 613 + # Begin Source File
 614 + 
 615 + SOURCE=..\..\source\components\resources\rslist.c
 616 + # End Source File
 617 + # Begin Source File
 618 + 
 619 + SOURCE=..\..\source\components\resources\rsmemory.c
 620 + # End Source File
 621 + # Begin Source File
 622 + 
 623 + SOURCE=..\..\source\components\resources\rsmisc.c
 624 + # End Source File
 625 + # Begin Source File
 626 + 
 627 + SOURCE=..\..\source\components\resources\rsutils.c
 628 + # End Source File
 629 + # Begin Source File
 630 + 
 631 + SOURCE=..\..\source\components\resources\rsxface.c
 632 + # End Source File
 633 + # End Group
 634 + # Begin Group "Disassembler"
 635 + 
 636 + # PROP Default_Filter ""
 637 + # Begin Source File
 638 + 
 639 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmbuffer.c
 640 + # End Source File
 641 + # Begin Source File
 642 + 
 643 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmnames.c
 644 + # End Source File
 645 + # Begin Source File
 646 + 
 647 + SOURCE=..\..\SOURCE\COMPONENTS\disassembler\dmobject.c
 648 + # End Source File
 649 + # Begin Source File
 650 + 
 651 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmopcode.c
 652 + # End Source File
 653 + # Begin Source File
 654 + 
 655 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmresrc.c
 656 + # End Source File
 657 + # Begin Source File
 658 + 
 659 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmresrcl.c
 660 + # End Source File
 661 + # Begin Source File
 662 + 
 663 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmresrcs.c
 664 + # End Source File
 665 + # Begin Source File
 666 + 
 667 + SOURCE=..\..\source\common\dmtbinfo.c
 668 + # End Source File
 669 + # Begin Source File
 670 + 
 671 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmutils.c
 672 + # End Source File
 673 + # Begin Source File
 674 + 
 675 + SOURCE=..\..\source\COMPONENTS\Disassembler\dmwalk.c
 676 + # End Source File
 677 + # End Group
 678 + # Begin Group "AApiTS"
 679 + 
 680 + # PROP Default_Filter ""
 681 + # Begin Group "Spec"
 682 + 
 683 + # PROP Default_Filter ""
 684 + # Begin Source File
 685 + 
 686 + SOURCE=..\..\source\tools\aapits\spec\concepts.txt
 687 + # End Source File
 688 + # Begin Source File
 689 + 
 690 + SOURCE=..\..\source\tools\aapits\spec\fixed.txt
 691 + # End Source File
 692 + # Begin Source File
 693 + 
 694 + SOURCE=..\..\source\tools\aapits\spec\general.txt
 695 + # End Source File
 696 + # Begin Source File
 697 + 
 698 + SOURCE=..\..\source\tools\aapits\spec\handlers.txt
 699 + # End Source File
 700 + # Begin Source File
 701 + 
 702 + SOURCE=..\..\source\tools\aapits\spec\hardware.txt
 703 + # End Source File
 704 + # Begin Source File
 705 + 
 706 + SOURCE=..\..\source\tools\aapits\spec\init.txt
 707 + # End Source File
 708 + # Begin Source File
 709 + 
 710 + SOURCE=..\..\source\tools\aapits\spec\memory.txt
 711 + # End Source File
 712 + # Begin Source File
 713 + 
 714 + SOURCE=..\..\source\tools\aapits\spec\namespace.txt
 715 + # End Source File
 716 + # Begin Source File
 717 + 
 718 + SOURCE=..\..\source\tools\aapits\spec\README
 719 + # End Source File
 720 + # Begin Source File
 721 + 
 722 + SOURCE=..\..\source\tools\aapits\spec\resource.txt
 723 + # End Source File
 724 + # Begin Source File
 725 + 
 726 + SOURCE=..\..\source\tools\aapits\spec\table.txt
 727 + # End Source File
 728 + # End Group
 729 + # Begin Group "bin"
 730 + 
 731 + # PROP Default_Filter ""
 732 + # Begin Source File
 733 + 
 734 + SOURCE=..\..\source\tools\aapits\bin\aapitsrun
 735 + # End Source File
 736 + # Begin Source File
 737 + 
 738 + SOURCE=..\..\source\tools\aapits\bin\README
 739 + # End Source File
 740 + # End Group
 741 + # Begin Group "asl"
 742 + 
 743 + # PROP Default_Filter ""
 744 + # Begin Source File
 745 + 
 746 + SOURCE=..\..\source\tools\aapits\asl\dsdt.asl
 747 + # End Source File
 748 + # Begin Source File
 749 + 
 750 + SOURCE=..\..\source\tools\aapits\asl\dsdt0.asl
 751 + # End Source File
 752 + # Begin Source File
 753 + 
 754 + SOURCE=..\..\source\tools\aapits\asl\dsdt1.asl
 755 + # End Source File
 756 + # Begin Source File
 757 + 
 758 + SOURCE=..\..\source\tools\aapits\asl\dsdt2.asl
 759 + # End Source File
 760 + # Begin Source File
 761 + 
 762 + SOURCE=..\..\source\tools\aapits\asl\gpev0000.asl
 763 + # End Source File
 764 + # Begin Source File
 765 + 
 766 + SOURCE=..\..\source\tools\aapits\asl\hdwr0015.asl
 767 + # End Source File
 768 + # Begin Source File
 769 + 
 770 + SOURCE=..\..\source\tools\aapits\asl\hdwr0018.asl
 771 + # End Source File
 772 + # Begin Source File
 773 + 
 774 + SOURCE=..\..\source\tools\aapits\asl\hdwr0019.asl
 775 + # End Source File
 776 + # Begin Source File
 777 + 
 778 + SOURCE=..\..\source\tools\aapits\asl\hdwr0020.asl
 779 + # End Source File
 780 + # Begin Source File
 781 + 
 782 + SOURCE=..\..\source\tools\aapits\asl\hdwr0022.asl
 783 + # End Source File
 784 + # Begin Source File
 785 + 
 786 + SOURCE=..\..\source\tools\aapits\asl\hdwr0040.asl
 787 + # End Source File
 788 + # Begin Source File
 789 + 
 790 + SOURCE=..\..\source\tools\aapits\asl\hdwr0041.asl
 791 + # End Source File
 792 + # Begin Source File
 793 + 
 794 + SOURCE=..\..\source\tools\aapits\asl\hndl0000.asl
 795 + # End Source File
 796 + # Begin Source File
 797 + 
 798 + SOURCE=..\..\source\tools\aapits\asl\hndl0015.asl
 799 + # End Source File
 800 + # Begin Source File
 801 + 
 802 + SOURCE=..\..\source\tools\aapits\asl\hndl0016.asl
 803 + # End Source File
 804 + # Begin Source File
 805 + 
 806 + SOURCE=..\..\source\tools\aapits\asl\hndl0038.asl
 807 + # End Source File
 808 + # Begin Source File
 809 + 
 810 + SOURCE=..\..\source\tools\aapits\asl\hndl0115.asl
 811 + # End Source File
 812 + # Begin Source File
 813 + 
 814 + SOURCE=..\..\source\tools\aapits\asl\init0030.asl
 815 + # End Source File
 816 + # Begin Source File
 817 + 
 818 + SOURCE=..\..\source\tools\aapits\asl\init0032.asl
 819 + # End Source File
 820 + # Begin Source File
 821 + 
 822 + SOURCE=..\..\source\tools\aapits\asl\init0034.asl
 823 + # End Source File
 824 + # Begin Source File
 825 + 
 826 + SOURCE=..\..\source\tools\aapits\asl\init0058.asl
 827 + # End Source File
 828 + # Begin Source File
 829 + 
 830 + SOURCE=..\..\source\tools\aapits\asl\init0059.asl
 831 + # End Source File
 832 + # Begin Source File
 833 + 
 834 + SOURCE=..\..\source\tools\aapits\asl\init0066.asl
 835 + # End Source File
 836 + # Begin Source File
 837 + 
 838 + SOURCE=..\..\source\tools\aapits\asl\init0121.asl
 839 + # End Source File
 840 + # Begin Source File
 841 + 
 842 + SOURCE=..\..\source\tools\aapits\asl\init1065.asl
 843 + # End Source File
 844 + # Begin Source File
 845 + 
 846 + SOURCE=..\..\source\tools\aapits\asl\Makefile
 847 + # End Source File
 848 + # Begin Source File
 849 + 
 850 + SOURCE=..\..\source\tools\aapits\asl\nmsp0000.asl
 851 + # End Source File
 852 + # Begin Source File
 853 + 
 854 + SOURCE=..\..\source\tools\aapits\asl\nmsp0010.asl
 855 + # End Source File
 856 + # Begin Source File
 857 + 
 858 + SOURCE=..\..\source\tools\aapits\asl\nmsp0011.asl
 859 + # End Source File
 860 + # Begin Source File
 861 + 
 862 + SOURCE=..\..\source\tools\aapits\asl\nmsp0012.asl
 863 + # End Source File
 864 + # Begin Source File
 865 + 
 866 + SOURCE=..\..\source\tools\aapits\asl\nmsp0013.asl
 867 + # End Source File
 868 + # Begin Source File
 869 + 
 870 + SOURCE=..\..\source\tools\aapits\asl\nmsp0014.asl
 871 + # End Source File
 872 + # Begin Source File
 873 + 
 874 + SOURCE=..\..\source\tools\aapits\asl\nmsp0015.asl
 875 + # End Source File
 876 + # Begin Source File
 877 + 
 878 + SOURCE=..\..\source\tools\aapits\asl\nmsp0016.asl
 879 + # End Source File
 880 + # Begin Source File
 881 + 
 882 + SOURCE=..\..\source\tools\aapits\asl\nmsp0017.asl
 883 + # End Source File
 884 + # Begin Source File
 885 + 
 886 + SOURCE=..\..\source\tools\aapits\asl\nmsp0018.asl
 887 + # End Source File
 888 + # Begin Source File
 889 + 
 890 + SOURCE=..\..\source\tools\aapits\asl\nmsp0019.asl
 891 + # End Source File
 892 + # Begin Source File
 893 + 
 894 + SOURCE=..\..\source\tools\aapits\asl\nmsp0020.asl
 895 + # End Source File
 896 + # Begin Source File
 897 + 
 898 + SOURCE=..\..\source\tools\aapits\asl\nmsp0021.asl
 899 + # End Source File
 900 + # Begin Source File
 901 + 
 902 + SOURCE=..\..\source\tools\aapits\asl\nmsp0022.asl
 903 + # End Source File
 904 + # Begin Source File
 905 + 
 906 + SOURCE=..\..\source\tools\aapits\asl\nmsp0023.asl
 907 + # End Source File
 908 + # Begin Source File
 909 + 
 910 + SOURCE=..\..\source\tools\aapits\asl\nmsp0025.asl
 911 + # End Source File
 912 + # Begin Source File
 913 + 
 914 + SOURCE=..\..\source\tools\aapits\asl\nmsp0037.asl
 915 + # End Source File
 916 + # Begin Source File
 917 + 
 918 + SOURCE=..\..\source\tools\aapits\asl\nmsp0038.asl
 919 + # End Source File
 920 + # Begin Source File
 921 + 
 922 + SOURCE=..\..\source\tools\aapits\asl\nmsp0052.asl
 923 + # End Source File
 924 + # Begin Source File
 925 + 
 926 + SOURCE=..\..\source\tools\aapits\asl\nmsp0074.asl
 927 + # End Source File
 928 + # Begin Source File
 929 + 
 930 + SOURCE=..\..\source\tools\aapits\asl\nmsp0089.asl
 931 + # End Source File
 932 + # Begin Source File
 933 + 
 934 + SOURCE=..\..\source\tools\aapits\asl\nmsp0126.asl
 935 + # End Source File
 936 + # Begin Source File
 937 + 
 938 + SOURCE=..\..\source\tools\aapits\asl\README
 939 + # End Source File
 940 + # Begin Source File
 941 + 
 942 + SOURCE=..\..\source\tools\aapits\asl\rt0000.asl
 943 + # End Source File
 944 + # Begin Source File
 945 + 
 946 + SOURCE=..\..\source\tools\aapits\asl\rt0035.asl
 947 + # End Source File
 948 + # Begin Source File
 949 + 
 950 + SOURCE=..\..\source\tools\aapits\asl\rt0036.asl
 951 + # End Source File
 952 + # Begin Source File
 953 + 
 954 + SOURCE=..\..\source\tools\aapits\asl\ssdt1.asl
 955 + # End Source File
 956 + # Begin Source File
 957 + 
 958 + SOURCE=..\..\source\tools\aapits\asl\ssdt2.asl
 959 + # End Source File
 960 + # Begin Source File
 961 + 
 962 + SOURCE=..\..\source\tools\aapits\asl\ssdt_aux.asl
 963 + # End Source File
 964 + # Begin Source File
 965 + 
 966 + SOURCE=..\..\source\tools\aapits\asl\tblm0037.asl
 967 + # End Source File
 968 + # Begin Source File
 969 + 
 970 + SOURCE=..\..\source\tools\aapits\asl\tblm0047.asl
 971 + # End Source File
 972 + # Begin Source File
 973 + 
 974 + SOURCE=..\..\source\tools\aapits\asl\tblm0058.asl
 975 + # End Source File
 976 + # Begin Source File
 977 + 
 978 + SOURCE=..\..\source\tools\aapits\asl\tblm_aux.asl
 979 + # End Source File
 980 + # End Group
 981 + # Begin Source File
 982 + 
 983 + SOURCE=..\..\source\tools\aapits\atexec.c
 984 + # End Source File
 985 + # Begin Source File
 986 + 
 987 + SOURCE=..\..\source\tools\aapits\atfixedevent.c
 988 + # End Source File
 989 + # Begin Source File
 990 + 
 991 + SOURCE=..\..\source\tools\aapits\atgpe.c
 992 + # End Source File
 993 + # Begin Source File
 994 + 
 995 + SOURCE=..\..\source\tools\aapits\athandlers.c
 996 + # End Source File
 997 + # Begin Source File
 998 + 
 999 + SOURCE=..\..\source\tools\aapits\athardware.c
1000 + # End Source File
1001 + # Begin Source File
1002 + 
1003 + SOURCE=..\..\source\tools\aapits\atinit.c
1004 + # End Source File
1005 + # Begin Source File
1006 + 
1007 + SOURCE=..\..\source\tools\aapits\atmain.c
1008 + # End Source File
1009 + # Begin Source File
1010 + 
1011 + SOURCE=..\..\source\tools\aapits\atmemory.c
1012 + # End Source File
1013 + # Begin Source File
1014 + 
1015 + SOURCE=..\..\source\tools\aapits\atnamespace.c
1016 + # End Source File
1017 + # Begin Source File
1018 + 
1019 + SOURCE=..\..\source\tools\aapits\atosxfctrl.c
1020 + # End Source File
1021 + # Begin Source File
1022 + 
1023 + SOURCE=..\..\source\tools\aapits\atosxfwrap.c
1024 + # End Source File
1025 + # Begin Source File
1026 + 
1027 + SOURCE=..\..\source\tools\aapits\atresource.c
1028 + # End Source File
1029 + # Begin Source File
1030 + 
1031 + SOURCE=..\..\source\tools\aapits\attable.c
1032 + # End Source File
1033 + # Begin Source File
1034 + 
1035 + SOURCE=..\..\source\tools\aapits\oswinxf.c
1036 + # End Source File
1037 + # Begin Source File
1038 + 
1039 + SOURCE=..\..\source\tools\aapits\README
1040 + # End Source File
1041 + # End Group
1042 + # End Group
1043 + # Begin Group "Header Files"
1044 + 
1045 + # PROP Default_Filter "h;hpp;hxx;hm;inl"
1046 + # End Group
1047 + # Begin Group "Resource Files"
1048 + 
1049 + # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
1050 + # End Group
1051 + # End Target
1052 + # End Project
  1 @@ -0,0 +1,232 @@
  2 + # PROG=»       acpiexec
  3 + # SRCS=»       aeexec.c aemain.c \
  4 + 
  5 + PROG=»       bin/aapits
  6 + SRCS=»       atexec.c atmain.c \
  7 + »       atinit.c \
  8 + »       atmemory.c \
  9 + »       athardware.c \
 10 + »       attable.c \
 11 + »       atnamespace.c \
 12 + »       atresource.c \
 13 + »       atfixedevent.c \
 14 + »       atgpe.c \
 15 + »       athandlers.c \
 16 + »       atosxfctrl.c \
 17 + »       atosxfwrap.c \
 18 + »       osunixxf.c \
 19 + »       ../../source/common/ahids.c \
 20 + »       ../../source/common/ahuuids.c \
 21 + »       ../../source/common/cmfsize.c \
 22 + »       ../../source/common/getopt.c \
 23 + »       ../../source/components/hardware/hwtimer.c \
 24 + »       ../../source/components/hardware/hwvalid.c \
 25 + »       ../../source/components/hardware/hwxface.c \
 26 + »       ../../source/components/debugger/dbcmds.c \
 27 + »       ../../source/components/debugger/dbconvert.c \
 28 + »       ../../source/components/debugger/dbdisply.c \
 29 + »       ../../source/components/debugger/dbexec.c \
 30 + »       ../../source/components/debugger/dbfileio.c \
 31 + »       ../../source/components/debugger/dbhistry.c \
 32 + »       ../../source/components/debugger/dbinput.c \
 33 + »       ../../source/components/debugger/dbmethod.c \
 34 + »       ../../source/components/debugger/dbnames.c \
 35 + »       ../../source/components/debugger/dbstats.c \
 36 + »       ../../source/components/debugger/dbtest.c \
 37 + »       ../../source/components/debugger/dbutils.c \
 38 + »       ../../source/components/debugger/dbxface.c \
 39 + »       ../../source/components/disassembler/dmbuffer.c \
 40 + »       ../../source/components/disassembler/dmcstyle.c \
 41 + »       ../../source/components/disassembler/dmdeferred.c \
 42 + »       ../../source/components/disassembler/dmnames.c \
 43 + »       ../../source/components/disassembler/dmobject.c \
 44 + »       ../../source/components/disassembler/dmopcode.c \
 45 + »       ../../source/components/disassembler/dmresrc.c \
 46 + »       ../../source/components/disassembler/dmresrcl.c \
 47 + »       ../../source/components/disassembler/dmresrcl2.c \
 48 + »       ../../source/components/disassembler/dmresrcs.c \
 49 + »       ../../source/components/disassembler/dmutils.c \
 50 + »       ../../source/components/disassembler/dmwalk.c \
 51 + »       ../../source/components/events/evevent.c \
 52 + »       ../../source/components/events/evgpe.c \
 53 + »       ../../source/components/events/evgpeblk.c \
 54 + »       ../../source/components/events/evgpeinit.c \
 55 + »       ../../source/components/events/evgpeutil.c \
 56 + »       ../../source/components/events/evglock.c \
 57 + »       ../../source/components/events/evhandler.c \
 58 + »       ../../source/components/events/evmisc.c \
 59 + »       ../../source/components/events/evregion.c \
 60 + »       ../../source/components/events/evrgnini.c \
 61 + »       ../../source/components/events/evsci.c \
 62 + »       ../../source/components/events/evxface.c \
 63 + »       ../../source/components/events/evxfevnt.c \
 64 + »       ../../source/components/events/evxfgpe.c \
 65 + »       ../../source/components/events/evxfregn.c \
 66 + »       ../../source/components/hardware/hwacpi.c \
 67 + »       ../../source/components/hardware/hwesleep.c \
 68 + »       ../../source/components/hardware/hwgpe.c \
 69 + »       ../../source/components/hardware/hwpci.c \
 70 + »       ../../source/components/hardware/hwregs.c \
 71 + »       ../../source/components/hardware/hwsleep.c \
 72 + »       ../../source/components/hardware/hwxfsleep.c \
 73 + »       ../../source/components/dispatcher/dsargs.c \
 74 + »       ../../source/components/dispatcher/dscontrol.c \
 75 + »       ../../source/components/dispatcher/dsfield.c \
 76 + »       ../../source/components/dispatcher/dsinit.c \
 77 + »       ../../source/components/dispatcher/dsmethod.c \
 78 + »       ../../source/components/dispatcher/dsmthdat.c \
 79 + »       ../../source/components/dispatcher/dsobject.c \
 80 + »       ../../source/components/dispatcher/dsopcode.c \
 81 + »       ../../source/components/dispatcher/dsutils.c \
 82 + »       ../../source/components/dispatcher/dswexec.c \
 83 + »       ../../source/components/dispatcher/dswload.c \
 84 + »       ../../source/components/dispatcher/dswload2.c \
 85 + »       ../../source/components/dispatcher/dswscope.c \
 86 + »       ../../source/components/dispatcher/dswstate.c \
 87 + »       ../../source/components/executer/exconfig.c \
 88 + »       ../../source/components/executer/exconvrt.c \
 89 + »       ../../source/components/executer/excreate.c \
 90 + »       ../../source/components/executer/exdump.c \
 91 + »       ../../source/components/executer/exfield.c \
 92 + »       ../../source/components/executer/exfldio.c \
 93 + »       ../../source/components/executer/exdebug.c \
 94 + »       ../../source/components/executer/exmisc.c \
 95 + »       ../../source/components/executer/exmutex.c \
 96 + »       ../../source/components/executer/exnames.c \
 97 + »       ../../source/components/executer/exoparg1.c \
 98 + »       ../../source/components/executer/exoparg2.c \
 99 + »       ../../source/components/executer/exoparg3.c \
100 + »       ../../source/components/executer/exoparg6.c \
101 + »       ../../source/components/executer/exprep.c \
102 + »       ../../source/components/executer/exregion.c \
103 + »       ../../source/components/executer/exresnte.c \
104 + »       ../../source/components/executer/exresolv.c \
105 + »       ../../source/components/executer/exresop.c \
106 + »       ../../source/components/executer/exstore.c \
107 + »       ../../source/components/executer/exstoren.c \
108 + »       ../../source/components/executer/exstorob.c \
109 + »       ../../source/components/executer/exsystem.c \
110 + »       ../../source/components/executer/exutils.c \
111 + »       ../../source/components/parser/psargs.c \
112 + »       ../../source/components/parser/psloop.c \
113 + »       ../../source/components/parser/psobject.c \
114 + »       ../../source/components/parser/psopcode.c \
115 + »       ../../source/components/parser/psopinfo.c \
116 + »       ../../source/components/parser/psparse.c \
117 + »       ../../source/components/parser/psscope.c \
118 + »       ../../source/components/parser/pstree.c \
119 + »       ../../source/components/parser/psutils.c \
120 + »       ../../source/components/parser/pswalk.c \
121 + »       ../../source/components/parser/psxface.c \
122 + »       ../../source/components/namespace/nsaccess.c \
123 + »       ../../source/components/namespace/nsalloc.c \
124 + »       ../../source/components/namespace/nsarguments.c \
125 + »       ../../source/components/namespace/nsconvert.c \
126 + »       ../../source/components/namespace/nsdump.c \
127 + »       ../../source/components/namespace/nsdumpdv.c \
128 + »       ../../source/components/namespace/nseval.c \
129 + »       ../../source/components/namespace/nsinit.c \
130 + »       ../../source/components/namespace/nsload.c \
131 + »       ../../source/components/namespace/nsnames.c \
132 + »       ../../source/components/namespace/nsobject.c \
133 + »       ../../source/components/namespace/nsparse.c \
134 + »       ../../source/components/namespace/nspredef.c \
135 + »       ../../source/components/namespace/nsprepkg.c \
136 + »       ../../source/components/namespace/nsrepair.c \
137 + »       ../../source/components/namespace/nsrepair2.c \
138 + »       ../../source/components/namespace/nssearch.c \
139 + »       ../../source/components/namespace/nsutils.c \
140 + »       ../../source/components/namespace/nswalk.c \
141 + »       ../../source/components/namespace/nsxfeval.c \
142 + »       ../../source/components/namespace/nsxfname.c \
143 + »       ../../source/components/namespace/nsxfobj.c \
144 + »       ../../source/components/resources/rsaddr.c \
145 + »       ../../source/components/resources/rscalc.c \
146 + »       ../../source/components/resources/rscreate.c \
147 + »       ../../source/components/resources/rsdump.c \
148 + »       ../../source/components/resources/rsdumpinfo.c \
149 + »       ../../source/components/resources/rsio.c \
150 + »       ../../source/components/resources/rsirq.c \
151 + »       ../../source/components/resources/rslist.c \
152 + »       ../../source/components/resources/rsmemory.c \
153 + »       ../../source/components/resources/rsmisc.c \
154 + »       ../../source/components/resources/rsserial.c \
155 + »       ../../source/components/resources/rsutils.c \
156 + »       ../../source/components/resources/rsxface.c \
157 + »       ../../source/components/resources/rsinfo.c \
158 + »       ../../source/components/tables/tbdata.c \
159 + »       ../../source/components/tables/tbfadt.c \
160 + »       ../../source/components/tables/tbfind.c \
161 + »       ../../source/components/tables/tbinstal.c \
162 + »       ../../source/components/tables/tbprint.c \
163 + »       ../../source/components/tables/tbutils.c \
164 + »       ../../source/components/tables/tbxface.c \
165 + »       ../../source/components/tables/tbxfload.c \
166 + »       ../../source/components/tables/tbxfroot.c \
167 + »       ../../source/components/utilities/utaddress.c \
168 + »       ../../source/components/utilities/utalloc.c \
169 + »       ../../source/components/utilities/utbuffer.c \
170 + »       ../../source/components/utilities/utcache.c \
171 + »       ../../source/components/utilities/utcopy.c \
172 + »       ../../source/components/utilities/utdebug.c \
173 + »       ../../source/components/utilities/utdecode.c \
174 + »       ../../source/components/utilities/utdelete.c \
175 + »       ../../source/components/utilities/uterror.c \
176 + »       ../../source/components/utilities/uteval.c \
177 + »       ../../source/components/utilities/utexcep.c \
178 + »       ../../source/components/utilities/utfileio.c \
179 + »       ../../source/components/utilities/utglobal.c \
180 + »       ../../source/components/utilities/uthex.c \
181 + »       ../../source/components/utilities/utids.c \
182 + »       ../../source/components/utilities/utinit.c \
183 + »       ../../source/components/utilities/utlock.c \
184 + »       ../../source/components/utilities/utmath.c \
185 + »       ../../source/components/utilities/utmisc.c \
186 + »       ../../source/components/utilities/utmutex.c \
187 + »       ../../source/components/utilities/utobject.c \
188 + »       ../../source/components/utilities/utosi.c \
189 + »       ../../source/components/utilities/utownerid.c \
190 + »       ../../source/components/utilities/utpredef.c \
191 + »       ../../source/components/utilities/utprint.c \
192 + »       ../../source/components/utilities/utresrc.c \
193 + »       ../../source/components/utilities/utstate.c \
194 + »       ../../source/components/utilities/utstring.c \
195 + »       ../../source/components/utilities/uttrack.c \
196 + »       ../../source/components/utilities/utuuid.c \
197 + »       ../../source/components/utilities/utxface.c \
198 + »       ../../source/components/utilities/utxferror.c \
199 + »       ../../source/components/utilities/utxfinit.c \
200 + »       ../../source/os_specific/service_layers/oslibcfs.c
201 + #»       ../../source/os_specific/service_layers/osunixxf.c
202 + 
203 + UNAME_S := $(shell uname -s)
204 + 
205 + #
206 + # Host detection and configuration
207 + #
208 + ifeq ($(UNAME_S), Darwin)  # Mac OS X
209 + HOST =       _APPLE
210 + endif
211 + 
212 + ifeq ($(UNAME_S), FreeBSD)
213 + HOST =       _FreeBSD
214 + endif
215 + 
216 + ifeq ($(UNAME_S), Linux)
217 + HOST =      _Linux
218 + endif
219 + 
220 + ifeq ($(UNAME_S), NetBSD)
221 + HOST =       _NetBSD
222 + endif
223 + 
224 + CFLAGS+= -Wall -g -D$(HOST) -DNDEBUG -D_CONSOLE -DACPI_APITS -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../source/include
225 + 
226 + 
227 + $(PROG) : $(patsubst %.c,%.o, $(SRCS))
228 + »       $(CC) $(CFLAGS) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
229 + 
230 + CLEANFILES= $(PROG)
231 + 
232 + clean : 
233 + »       rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS))
  1 @@ -0,0 +1,104 @@
  2 + 
  3 + CONTENTS
  4 + 
  5 +    This directory (aapits) is located in tools directory
  6 +    of the ACPICA source tree and contains sources of
  7 +    ACPICA API validation Test Suite (AAPITS)
  8 +   
  9 +    AAPITS verifies, in emulating mode, conformity of the ACPICA API 
 10 +    implementation to the definitions in ACPI Component Architecture 
 11 +    Programmer Reference (ACPICA ProgRef).
 12 + 
 13 +    There are 9 test cases relevant to the following chapters
 14 +    ACPICA ProgRef respectively:
 15 + 
 16 +    Test Case       Chapter
 17 + 
 18 +    atinit          8.1  Subsystem Initialization, Shutdown, and Status
 19 +    attable         8.2  ACPI Table Management
 20 +    atnamespace     8.3  ACPI Namespace Access
 21 +    athardware      8.4  ACPI Hardware Management
 22 +    atfixedevent    8.6  ACPI Fixed Event Management
 23 +    atgpe           8.7  ACPI General Purpose Event Management
 24 +    athandlers      8.8  ACPI Miscellaneous Handler Support
 25 +    atresource      8.9  ACPI Resource Management
 26 +    atmemory        8.10 Memory Management
 27 + 
 28 + spec
 29 +    Directory which tests specification are located in.
 30 + 
 31 + atinit.c
 32 + atinit.h
 33 + atmemory.c
 34 + atmemory.h
 35 + athardware.c
 36 + athardware.h
 37 + attable.c
 38 + attable.h
 39 + atnamespace.c
 40 + atnamespace.h
 41 + atresource.c
 42 + atresource.h
 43 + atfixedevent.c
 44 + atfixedevent.h
 45 + atgpe.c
 46 + atgpe.h
 47 + athandlers.c
 48 + athandlers.h
 49 +    Each test case is represented by the pair of .c and .h files with
 50 +    the same filename.
 51 + 
 52 + atcommon.h
 53 + atexec.c
 54 + atosxfwrap.c
 55 + atosxfwrap.h
 56 + atosxfctrl.c
 57 + atosxfctrl.h
 58 + atmain.c                  
 59 +    Auxiliary testing modules and TS main file.
 60 + 
 61 + oswinxf.c
 62 + osunixxf.c
 63 +    Relavant copies of the same files from the os_specific/service_layers
 64 +    directory updated to be used in the AAPITS utlility with the sed command:
 65 + 
 66 +    sed -i s/^AcpiOs/AcpiOsActual/ os*xf.c
 67 + 
 68 +    Then add the following line:
 69 + 
 70 +    #include "acdebug.h"
 71 +    + #include "atosxfwrap.h"
 72 + 
 73 + 
 74 + asl
 75 +    Directory which supporting ASL codes are located in.
 76 + 
 77 + bin
 78 +    Directory which supporting shell utility are located in.
 79 + 
 80 + AcpiApiTS.dsp
 81 +    MSVC project to compile the TS utility under Windows.
 82 + 
 83 +    Usage: copy to the generate/msvc catalog and insert into
 84 +           the AcpiComponents.dsw workspace.
 85 + 
 86 + Makefile
 87 +    Makefile based on AcpiExec utility one supporting
 88 +    compilation of the TS utility under Linux.
 89 + 
 90 +    Usage: copy the aapits directory tree to the relevant acpica-unix-*/tools
 91 +           directory and perform the make command to generate the aapits binary,
 92 + »       »         to run the paticular test type the following:
 93 + 
 94 + »       ./aapits <test case> <test num> <aml dir>
 95 + 
 96 + »       Here <test case> is from 1 (init) to 9 (handlers),
 97 + »       <test num> is the appropriate assertion number (see the files in spec dir),
 98 + »       <aml dir> is the directory with the auxiliary aml files (actually it is
 99 + »       ./tmp/aml directory which is created by make in the asl directory), for
100 + »       example, to run assertion 0041 of Hardware Management test case type:
101 + 
102 + »       ./aapits 3 41 ./tmp/aml
103 + 
104 + README
105 +    This file 
106 \ No newline at end of file
 1 @@ -0,0 +1,32 @@
 2 + 
 3 + ifndef ASL
 4 + ASL=../../../libraries/iasl
 5 + endif
 6 + 
 7 + SRCS=dsdt.asl     dsdt0.asl    dsdt1.asl    dsdt2.asl    gpev0000.asl \
 8 +      hdwr0015.asl hdwr0018.asl hdwr0019.asl hdwr0020.asl \
 9 +      hdwr0022.asl hndl0000.asl hndl0015.asl hndl0016.asl \
10 +      hndl0038.asl hndl0115.asl init0030.asl init0032.asl init0034.asl \
11 +      init0058.asl init0066.asl init0121.asl init1065.asl \
12 +      nmsp0000.asl nmsp0010.asl nmsp0011.asl nmsp0012.asl \
13 +      nmsp0013.asl nmsp0014.asl nmsp0015.asl nmsp0016.asl \
14 +      nmsp0017.asl nmsp0018.asl nmsp0019.asl nmsp0020.asl \
15 +      nmsp0021.asl nmsp0022.asl nmsp0023.asl nmsp0025.asl \
16 +      nmsp0037.asl nmsp0038.asl nmsp0074.asl nmsp0089.asl \
17 +      nmsp0126.asl rt0000.asl   rt0035.asl   rt0036.asl   ssdt1.asl \
18 +      ssdt2.asl    init0059.asl tblm0037.asl tblm0047.asl\
19 + »        tblm0058.asl hdwr0040.asl hdwr0041.asl
20 + 
21 + ASLFLAGS= -f
22 + 
23 + ALL : $(patsubst %.asl,%.aml,$(SRCS))
24 + »       @echo ASL compilation done!
25 + 
26 + %.aml :
27 + »       mkdir -p ../tmp/aml
28 + »       $(ASL) $(ASLFLAGS) $(subst .aml,.asl,$(@));\
29 + »       mv $(@) ../tmp/aml
30 + 
31 + clean : 
32 + »       rm -f $(patsubst %.asl,../tmp/aml/%.aml,$(SRCS))
33 + 
 1 @@ -0,0 +1,80 @@
 2 + 
 3 + CONTENTS
 4 + 
 5 +    This directory (asl) contains supporting ASL codes for the tests
 6 +    of ACPICA API validation Test Suite (AAPITS).
 7 + 
 8 +    There is list of the groups of the codes relying to the respective
 9 +    test case below. NONE stands for test cases without specific supporting
10 +    ASL codes.
11 + 
12 +    The resulting AML codes are located in the ../bin/aml directory.
13 + 
14 + 
15 + init0032.asl
16 + init0034.asl
17 + init0058.asl
18 + init0066.asl
19 + init0121.asl
20 + init1065.asl
21 +    atinit          6.1 Subsystem Initialization, Shutdown, and Status
22 + 
23 + NONE
24 +    atmemory        6.2 Memory Management
25 + 
26 + hdwr0015.asl
27 + hdwr0018.asl
28 + hdwr0019.asl
29 + hdwr0020.asl
30 + hdwr0022.asl
31 +    athardware      6.3 ACPI Hardware Management
32 + 
33 + dsdt.asl
34 + dsdt1.asl
35 + dsdt2.asl
36 + ssdt1.asl
37 + ssdt2.asl
38 +    attable         6.4 ACPI Table Management
39 + 
40 + nmsp0000.asl
41 + nmsp0010.asl
42 + nmsp0011.asl
43 + nmsp0012.asl
44 + nmsp0013.asl
45 + nmsp0014.asl
46 + nmsp0015.asl
47 + nmsp0016.asl
48 + nmsp0017.asl
49 + nmsp0018.asl
50 + nmsp0019.asl
51 + nmsp0020.asl
52 + nmsp0021.asl
53 + nmsp0022.asl
54 + nmsp0023.asl
55 + nmsp0025.asl
56 + nmsp0037.asl
57 + nmsp0038.asl
58 + nmsp0052.asl
59 + nmsp0074.asl
60 + nmsp0089.asl
61 +    atnamespace     6.5 ACPI Namespace Access
62 + 
63 + rt0000.asl
64 + rt0035.asl
65 +    atresource      6.6 ACPI Resource Management
66 + 
67 + NONE
68 +    atfixedevent    6.7 ACPI Fixed Event Management
69 + 
70 + gpev0000.asl
71 +    atgpe           6.8 ACPI General Purpose Event Management
72 + 
73 + hndl0000.asl
74 + hndl0015.asl
75 + hndl0016.asl
76 + hndl0115.asl
77 +    athandlers      6.9 ACPI Miscellaneous Handler Support
78 + 
79 + »       
80 + README
81 +    This file 
82 \ No newline at end of file
   1 @@ -0,0 +1,8050 @@
   2 + /*
   3 +  * Intel ACPI Component Architecture
   4 +  * AML Disassembler version 20060217
   5 +  *
   6 +  * Disassembly of dsdt.dat, Thu Mar  9 15:54:05 2006
   7 +  *
   8 +  * Original Table Header:
   9 +  *     Signature        "DSDT"
  10 +  *     Length           0x0000685F (26719)
  11 +  *     Revision         0x01
  12 +  *     OEM ID           "INTEL "
  13 +  *     OEM Table ID     "CALISTGA"
  14 +  *     OEM Revision     0x06040000 (100925440)
  15 +  *     Creator ID       "INTL"
  16 +  *     Creator Revision 0x20050624 (537200164)
  17 +  */
  18 + DefinitionBlock ("dsdt.aml", "DSDT", 1, "INTEL ", "CALISTGA", 0x06040000)
  19 + {
  20 +     External (\CFGD, IntObj)
  21 +     External (\PDC0, IntObj)
  22 +     External (\PDC1, IntObj)
  23 + 
  24 +     OperationRegion (PRT0, SystemIO, 0x80, 0x04)
  25 +     Field (PRT0, DWordAcc, Lock, Preserve)
  26 +     {
  27 +         P80H,   32
  28 +     }
  29 + 
  30 +     OperationRegion (S_IO, SystemIO, 0x06B0, 0x11)
  31 +     Field (S_IO, ByteAcc, NoLock, Preserve)
  32 +     {
  33 +         PMS0,   8,
  34 +         PME0,   8,
  35 +         PMS1,   8,
  36 +         PMS2,   8,
  37 +         PMS3,   8,
  38 +         PME1,   8,
  39 +         PME2,   8,
  40 +         PME3,   8,
  41 +         SMS1,   8,
  42 +         SMS2,   8,
  43 +         SME1,   8,
  44 +         SME2,   8,
  45 +         RT10,   1,
  46 +         RT11,   1,
  47 +             ,   1,
  48 +         RT13,   1,
  49 +         Offset (0x0E),
  50 +         RT30,   1,
  51 +         RT31,   1,
  52 +         RT32,   1,
  53 +         RT33,   1,
  54 +         RT34,   1,
  55 +         RT35,   1,
  56 +         RT36,   1,
  57 +         RT37,   1,
  58 +         Offset (0x10),
  59 +         DLPC,   1,
  60 +         CK33,   1,
  61 +         CK14,   1
  62 +     }
  63 + 
  64 +     OperationRegion (IO_T, SystemIO, 0x0800, 0x10)
  65 +     Field (IO_T, ByteAcc, NoLock, Preserve)
  66 +     {
  67 +         Offset (0x02),
  68 +         Offset (0x04),
  69 +         Offset (0x06),
  70 +         Offset (0x08),
  71 +         TRP0,   8,
  72 +         Offset (0x0A),
  73 +         Offset (0x0B),
  74 +         Offset (0x0C),
  75 +         Offset (0x0D),
  76 +         Offset (0x0E),
  77 +         Offset (0x0F),
  78 +         Offset (0x10)
  79 +     }
  80 + 
  81 +     OperationRegion (PMIO, SystemIO, 0x1000, 0x80)
  82 +     Field (PMIO, ByteAcc, NoLock, Preserve)
  83 +     {
  84 +         Offset (0x42),
  85 +             ,   1,
  86 +         GPEC,   1
  87 +     }
  88 + 
  89 +     OperationRegion (GPIO, SystemIO, 0x1180, 0x3C)
  90 +     Field (GPIO, ByteAcc, NoLock, Preserve)
  91 +     {
  92 +         GU00,   8,
  93 +         GU01,   8,
  94 +         GU02,   8,
  95 +         GU03,   8,
  96 +         GIO0,   8,
  97 +         GIO1,   8,
  98 +         GIO2,   8,
  99 +         GIO3,   8,
 100 +         Offset (0x0C),
 101 +         GL00,   8,
 102 +             ,   4,
 103 +         GP12,   1,
 104 +         Offset (0x0E),
 105 +         GL02,   8,
 106 +         GL03,   8,
 107 +         Offset (0x18),
 108 +         GB00,   8,
 109 +         GB01,   8,
 110 +         GB02,   8,
 111 +         GB03,   8,
 112 +         Offset (0x2C),
 113 +         GIV0,   8,
 114 +         GIV1,   8,
 115 +         GIV2,   8,
 116 +         GIV3,   8,
 117 +         GU04,   8,
 118 +         GU05,   8,
 119 +         GU06,   8,
 120 +         GU07,   8,
 121 +         GIO4,   8,
 122 +         GIO5,   8,
 123 +         GIO6,   8,
 124 +         GIO7,   8,
 125 +             ,   7,
 126 +         GP39,   1,
 127 +         GL05,   8,
 128 +         GL06,   8,
 129 +         GL07,   8
 130 +     }
 131 + 
 132 +     OperationRegion (GNVS, SystemMemory, 0x3F692E4C, 0x0100)
 133 +     Field (GNVS, AnyAcc, Lock, Preserve)
 134 +     {
 135 +         OSYS,   16,
 136 +         SMIF,   8,
 137 +         PRM0,   8,
 138 +         PRM1,   8,
 139 +         SCIF,   8,
 140 +         PRM2,   8,
 141 +         PRM3,   8,
 142 +         LCKF,   8,
 143 +         PRM4,   8,
 144 +         PRM5,   8,
 145 +         P80D,   32,
 146 +         LIDS,   8,
 147 +         PWRS,   8,
 148 +         DBGS,   8,
 149 +         Offset (0x14),
 150 +         ACTT,   8,
 151 +         PSVT,   8,
 152 +         TC1V,   8,
 153 +         TC2V,   8,
 154 +         TSPV,   8,
 155 +         CRTT,   8,
 156 +         DTSE,   8,
 157 +         DTS1,   8,
 158 +         DTS2,   8,
 159 +         Offset (0x1E),
 160 +         BNUM,   8,
 161 +         B0SC,   8,
 162 +         B1SC,   8,
 163 +         B2SC,   8,
 164 +         B0SS,   8,
 165 +         B1SS,   8,
 166 +         B2SS,   8,
 167 +         Offset (0x28),
 168 +         APIC,   8,
 169 +         MPEN,   8,
 170 +         PPCS,   8,
 171 +         PPCM,   8,
 172 +         Offset (0x32),
 173 +         NATP,   8,
 174 +         CMAP,   8,
 175 +         CMBP,   8,
 176 +         LPTP,   8,
 177 +         FDCP,   8,
 178 +         CMCP,   8,
 179 +         CIRP,   8,
 180 +         Offset (0x3C),
 181 +         IGDS,   8,
 182 +         TLST,   8,
 183 +         CADL,   8,
 184 +         PADL,   8,
 185 +         CSTE,   16,
 186 +         NSTE,   16,
 187 +         SSTE,   16,
 188 +         NDID,   8,
 189 +         DID1,   32,
 190 +         DID2,   32,
 191 +         DID3,   32,
 192 +         DID4,   32,
 193 +         DID5,   32,
 194 +         Offset (0x67),
 195 +         BLCS,   8,
 196 +         BRTL,   8,
 197 +         ALSE,   8,
 198 +         ALAF,   8,
 199 +         LLOW,   8,
 200 +         LHIH,   8,
 201 +         Offset (0x6E),
 202 +         EMAE,   8,
 203 +         EMAP,   16,
 204 +         EMAL,   16,
 205 +         ECPC,   8,
 206 +         MEFE,   8,
 207 +         Offset (0x82),
 208 +         GTF0,   56,
 209 +         GTF2,   56,
 210 +         IDEM,   8
 211 +     }
 212 + 
 213 +     OperationRegion (RCRB, SystemMemory, 0xFED1C000, 0x4000)
 214 +     Field (RCRB, DWordAcc, Lock, Preserve)
 215 +     {
 216 +         Offset (0x1000),
 217 +         Offset (0x3000),
 218 +         Offset (0x3404),
 219 +         HPAS,   2,
 220 +             ,   5,
 221 +         HPAE,   1,
 222 +         Offset (0x3418),
 223 +             ,   1,
 224 +         PATD,   1,
 225 +         SATD,   1,
 226 +         SMBD,   1,
 227 +         HDAD,   1,
 228 +         A97D,   1,
 229 +         Offset (0x341A),
 230 +         RP1D,   1,
 231 +         RP2D,   1,
 232 +         RP3D,   1,
 233 +         RP4D,   1,
 234 +         RP5D,   1,
 235 +         RP6D,   1
 236 +     }
 237 + 
 238 +     Mutex (MUTX, 0x00)
 239 +     Name (_S0, Package (0x03)
 240 +     {
 241 +         Zero,
 242 +         Zero,
 243 +         Zero
 244 +     })
 245 +     Name (_S3, Package (0x03)
 246 +     {
 247 +         0x05,
 248 +         0x05,
 249 +         Zero
 250 +     })
 251 +     Name (_S4, Package (0x03)
 252 +     {
 253 +         0x06,
 254 +         0x06,
 255 +         Zero
 256 +     })
 257 +     Name (_S5, Package (0x03)
 258 +     {
 259 +         0x07,
 260 +         0x07,
 261 +         Zero
 262 +     })
 263 +     Scope (_PR)
 264 +     {
 265 +         Processor (CPU0, 0x00, 0x00001010, 0x06) {}
 266 +         Processor (CPU1, 0x01, 0x00001010, 0x06)
 267 +         {
 268 +             Method (_INI, 0, NotSerialized)
 269 +             {
 270 +                 If (DTSE)
 271 +                 {
 272 +                     TRAP (0x46)
 273 +                 }
 274 +             }
 275 +         }
 276 +     }
 277 + 
 278 +     Name (DSEN, One)
 279 +     Name (ECON, Zero)
 280 +     Name (GPIC, Zero)
 281 +     Name (CTYP, Zero)
 282 +     Name (L01C, Zero)
 283 +     Name (VFN0, Zero)
 284 +     Name (VFN1, Zero)
 285 +     Method (_PIC, 1, NotSerialized)
 286 +     {
 287 +         Store (Arg0, GPIC)
 288 +     }
 289 + 
 290 +     Method (_PTS, 1, NotSerialized)
 291 +     {
 292 +         Store (Zero, P80D)
 293 +         P8XH (Zero, Arg0)
 294 +         If (LEqual (DBGS, Zero))
 295 +         {
 296 +             Store (Zero, RT10)
 297 +             Store (0x20, PME1)
 298 +             Store (One, PME0)
 299 +             Store (0x20, PMS1)
 300 +             Store (One, PMS0)
 301 +         }
 302 +     }
 303 + 
 304 +     Method (_WAK, 1, NotSerialized)
 305 +     {
 306 +         P8XH (Zero, Zero)
 307 +         If (LEqual (Arg0, 0x03))
 308 +         {
 309 +             If (LAnd (DTSE, MPEN))
 310 +             {
 311 +                 TRAP (0x46)
 312 +             }
 313 +         }
 314 + 
 315 +         If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
 316 +         {
 317 +             If (And (CFGD, 0x01000000))
 318 +             {
 319 +                 If (LAnd (And (CFGD, 0xF0), LAnd (LEqual (OSYS, 0x07D1), LNot (And (PDC0, 0x10)))))
 320 +                 {
 321 +                     TRAP (0x3D)
 322 +                 }
 323 + 
 324 +                 If (LAnd (And (CFGD, One), LEqual (And (PDC0, 0x29), 0x29)))
 325 +                 {
 326 +                     TRAP (0x3E)
 327 +                 }
 328 +             }
 329 +         }
 330 + 
 331 +         If (LEqual (Arg0, 0x03))
 332 +         {
 333 +             If (LEqual (Zero, ACTT))
 334 +             {
 335 +                 Store (Zero, \_SB.PCI0.LPCB.H_EC.CFAN)
 336 +             }
 337 +         }
 338 + 
 339 +         If (LAnd (LEqual (Arg0, 0x04), LEqual (OSYS, 0x07D1)))
 340 +         {
 341 +             If (And (CFGD, One))
 342 +             {
 343 +                 If (LGreater (PPCS, Zero))
 344 +                 {
 345 +                     Subtract (PPCS, One, PPCS)
 346 +                     PNOT ()
 347 +                     Add (PPCS, One, PPCS)
 348 +                     PNOT ()
 349 +                 }
 350 +                 Else
 351 +                 {
 352 +                     Add (PPCS, One, PPCS)
 353 +                     PNOT ()
 354 +                     Subtract (PPCS, One, PPCS)
 355 +                     PNOT ()
 356 +                 }
 357 +             }
 358 +         }
 359 + 
 360 +         Notify (\_SB.PCI0, Zero)
 361 +         Return (Package (0x02)
 362 +         {
 363 +             Zero,
 364 +             Zero
 365 +         })
 366 +     }
 367 + 
 368 +     Scope (_GPE)
 369 +     {
 370 +         Method (_L01, 0, NotSerialized)
 371 +         {
 372 +             Add (L01C, One, L01C)
 373 +             P8XH (Zero, One)
 374 +             P8XH (One, L01C)
 375 +             Sleep (0x64)
 376 +             If (LAnd (LEqual (RP1D, Zero), \_SB.PCI0.RP01.HPCS))
 377 +             {
 378 +                 If (\_SB.PCI0.RP01.PDC1)
 379 +                 {
 380 +                     Store (One, \_SB.PCI0.RP01.PDC1)
 381 +                     Store (One, \_SB.PCI0.RP01.HPCS)
 382 +                     Notify (\_SB.PCI0.RP01, Zero)
 383 +                 }
 384 +                 Else
 385 +                 {
 386 +                     Store (One, \_SB.PCI0.RP01.HPCS)
 387 +                 }
 388 +             }
 389 + 
 390 +             If (LAnd (LEqual (RP2D, Zero), \_SB.PCI0.RP02.HPCS))
 391 +             {
 392 +                 If (\_SB.PCI0.RP02.PDC2)
 393 +                 {
 394 +                     Store (One, \_SB.PCI0.RP02.PDC2)
 395 +                     Store (One, \_SB.PCI0.RP02.HPCS)
 396 +                     Notify (\_SB.PCI0.RP02, Zero)
 397 +                 }
 398 +                 Else
 399 +                 {
 400 +                     Store (One, \_SB.PCI0.RP02.HPCS)
 401 +                 }
 402 +             }
 403 + 
 404 +             If (LAnd (LEqual (RP3D, Zero), \_SB.PCI0.RP03.HPCS))
 405 +             {
 406 +                 If (\_SB.PCI0.RP03.PDC3)
 407 +                 {
 408 +                     Store (One, \_SB.PCI0.RP03.PDC3)
 409 +                     Store (One, \_SB.PCI0.RP03.HPCS)
 410 +                     Notify (\_SB.PCI0.RP03, Zero)
 411 +                 }
 412 +                 Else
 413 +                 {
 414 +                     Store (One, \_SB.PCI0.RP03.HPCS)
 415 +                 }
 416 +             }
 417 + 
 418 +             If (LAnd (LEqual (RP4D, Zero), \_SB.PCI0.RP04.HPCS))
 419 +             {
 420 +                 If (\_SB.PCI0.RP04.PDC4)
 421 +                 {
 422 +                     Store (One, \_SB.PCI0.RP04.PDC4)
 423 +                     Store (One, \_SB.PCI0.RP04.HPCS)
 424 +                     Notify (\_SB.PCI0.RP04, Zero)
 425 +                 }
 426 +                 Else
 427 +                 {
 428 +                     Store (One, \_SB.PCI0.RP04.HPCS)
 429 +                 }
 430 +             }
 431 + 
 432 +             If (LAnd (LEqual (RP5D, Zero), \_SB.PCI0.RP05.HPCS))
 433 +             {
 434 +                 If (\_SB.PCI0.RP05.PDC5)
 435 +                 {
 436 +                     Store (One, \_SB.PCI0.RP05.PDC5)
 437 +                     Store (One, \_SB.PCI0.RP05.HPCS)
 438 +                     Notify (\_SB.PCI0.RP05, Zero)
 439 +                 }
 440 +                 Else
 441 +                 {
 442 +                     Store (One, \_SB.PCI0.RP05.HPCS)
 443 +                 }
 444 +             }
 445 + 
 446 +             If (LAnd (LEqual (RP6D, Zero), \_SB.PCI0.RP06.HPCS))
 447 +             {
 448 +                 If (\_SB.PCI0.RP06.PDC6)
 449 +                 {
 450 +                     Store (One, \_SB.PCI0.RP06.PDC6)
 451 +                     Store (One, \_SB.PCI0.RP06.HPCS)
 452 +                     Notify (\_SB.PCI0.RP06, Zero)
 453 +                 }
 454 +                 Else
 455 +                 {
 456 +                     Store (One, \_SB.PCI0.RP06.HPCS)
 457 +                 }
 458 +             }
 459 +         }
 460 + 
 461 +         Method (_L02, 0, NotSerialized)
 462 +         {
 463 +             Store (Zero, GPEC)
 464 +             Notify (\_TZ.TZ01, 0x80)
 465 +         }
 466 + 
 467 +         Method (_L03, 0, NotSerialized)
 468 +         {
 469 +             Notify (\_SB.PCI0.USB1, 0x02)
 470 +         }
 471 + 
 472 +         Method (_L04, 0, NotSerialized)
 473 +         {
 474 +             Notify (\_SB.PCI0.USB2, 0x02)
 475 +         }
 476 + 
 477 +         Method (_L05, 0, NotSerialized)
 478 +         {
 479 +             If (HDAD)
 480 +             {
 481 +                 Notify (\_SB.PCI0.MODM, 0x02)
 482 +             }
 483 +             Else
 484 +             {
 485 +                 Notify (\_SB.PCI0.HDEF, 0x02)
 486 +             }
 487 +         }
 488 + 
 489 +         Method (_L07, 0, NotSerialized)
 490 +         {
 491 +             Store (0x20, \_SB.PCI0.SBUS.HSTS)
 492 +         }
 493 + 
 494 +         Method (_L08, 0, NotSerialized)
 495 +         {
 496 +             Notify (\_SB.PCI0.LPCB.N207.UART, 0x02)
 497 +         }
 498 + 
 499 +         Method (_L09, 0, NotSerialized)
 500 +         {
 501 +             If (\_SB.PCI0.RP01.PSP1)
 502 +             {
 503 +                 Store (One, \_SB.PCI0.RP01.PSP1)
 504 +                 Store (One, \_SB.PCI0.RP01.PMCS)
 505 +                 Notify (\_SB.PCI0.RP01, 0x02)
 506 +             }
 507 + 
 508 +             If (\_SB.PCI0.RP02.PSP2)
 509 +             {
 510 +                 Store (One, \_SB.PCI0.RP02.PSP2)
 511 +                 Store (One, \_SB.PCI0.RP02.PMCS)
 512 +                 Notify (\_SB.PCI0.RP02, 0x02)
 513 +             }
 514 + 
 515 +             If (\_SB.PCI0.RP03.PSP3)
 516 +             {
 517 +                 Store (One, \_SB.PCI0.RP03.PSP3)
 518 +                 Store (One, \_SB.PCI0.RP03.PMCS)
 519 +                 Notify (\_SB.PCI0.RP03, 0x02)
 520 +             }
 521 + 
 522 +             If (\_SB.PCI0.RP04.PSP4)
 523 +             {
 524 +                 Store (One, \_SB.PCI0.RP04.PSP4)
 525 +                 Store (One, \_SB.PCI0.RP04.PMCS)
 526 +                 Notify (\_SB.PCI0.RP04, 0x02)
 527 +             }
 528 + 
 529 +             If (\_SB.PCI0.RP05.PSP5)
 530 +             {
 531 +                 Store (One, \_SB.PCI0.RP05.PSP5)
 532 +                 Store (One, \_SB.PCI0.RP05.PMCS)
 533 +                 Notify (\_SB.PCI0.RP05, 0x02)
 534 +             }
 535 + 
 536 +             If (\_SB.PCI0.RP06.PSP6)
 537 +             {
 538 +                 Store (One, \_SB.PCI0.RP06.PSP6)
 539 +                 Store (One, \_SB.PCI0.RP06.PMCS)
 540 +                 Notify (\_SB.PCI0.RP06, 0x02)
 541 +             }
 542 +         }
 543 + 
 544 +         Method (_L0B, 0, NotSerialized)
 545 +         {
 546 +             Notify (\_SB.PCI0.PCIB, 0x02)
 547 +         }
 548 + 
 549 +         Method (_L0C, 0, NotSerialized)
 550 +         {
 551 +             Notify (\_SB.PCI0.USB3, 0x02)
 552 +         }
 553 + 
 554 +         Method (_L0D, 0, NotSerialized)
 555 +         {
 556 +             Notify (\_SB.PCI0.USB7, 0x02)
 557 +         }
 558 + 
 559 +         Method (_L0E, 0, NotSerialized)
 560 +         {
 561 +             Notify (\_SB.PCI0.USB4, 0x02)
 562 +         }
 563 + 
 564 +         Method (_L1D, 0, NotSerialized)
 565 +         {
 566 +             If (LNot (LEqual (LIDS, \_SB.PCI0.LPCB.H_EC.LSTE)))
 567 +             {
 568 +                 Store (\_SB.PCI0.LPCB.H_EC.LSTE, LIDS)
 569 +                 If (IGDS)
 570 +                 {
 571 +                     LSDS (LIDS)
 572 +                 }
 573 + 
 574 +                 Notify (\_SB.LID0, 0x80)
 575 +             }
 576 +             Else
 577 +             {
 578 +                 If (LEqual (BNUM, Zero))
 579 +                 {
 580 +                     If (LNot (LEqual (PWRS, \_SB.PCI0.LPCB.H_EC.VPWR)))
 581 +                     {
 582 +                         Store (\_SB.PCI0.LPCB.H_EC.VPWR, PWRS)
 583 +                         TRAP (0x2B)
 584 +                         PNOT ()
 585 +                     }
 586 +                 }
 587 +             }
 588 +         }
 589 +     }
 590 + 
 591 +     Method (BRTW, 1, Serialized)
 592 +     {
 593 +         Store (Arg0, Local1)
 594 +         If (LEqual (ALSE, 0x02))
 595 +         {
 596 +             Store (Divide (Multiply (ALAF, Arg0), 0x64, ), Local1)
 597 +             If (LGreater (Local1, 0x64))
 598 +             {
 599 +                 Store (0x64, Local1)
 600 +             }
 601 +         }
 602 + 
 603 +         Store (Divide (Multiply (0xFF, Local1), 0x64, ), Local0)
 604 +         Store (Local0, PRM0)
 605 +         If (LEqual (TRAP (0x12), Zero))
 606 +         {
 607 +             P8XH (0x02, Local0)
 608 +             Store (Arg0, BRTL)
 609 +         }
 610 +     }
 611 + 
 612 +     Method (BTTM, 1, Serialized)
 613 +     {
 614 +         If (PWRS)
 615 +         {
 616 +             If (LNot (LLess (Arg0, B0SC)))
 617 +             {
 618 +                 Store (Arg0, B0SC)
 619 +                 Notify (\_SB.BAT0, 0x80)
 620 +             }
 621 +         }
 622 +         Else
 623 +         {
 624 +             If (LNot (LGreater (Arg0, B0SC)))
 625 +             {
 626 +                 Store (Arg0, B0SC)
 627 +                 Notify (\_SB.BAT0, 0x80)
 628 +             }
 629 +         }
 630 +     }
 631 + 
 632 +     Method (GETB, 3, Serialized)
 633 +     {
 634 +         Multiply (Arg0, 0x08, Local0)
 635 +         Multiply (Arg1, 0x08, Local1)
 636 +         CreateField (Arg2, Local0, Local1, TBF3)
 637 +         Return (TBF3)
 638 +     }
 639 + 
 640 +     Method (HKDS, 1, Serialized)
 641 +     {
 642 +         If (LEqual (Zero, DSEN))
 643 +         {
 644 +             If (LEqual (TRAP (Arg0), Zero))
 645 +             {
 646 +                 If (LNot (LEqual (CADL, PADL)))
 647 +                 {
 648 +                     Store (CADL, PADL)
 649 +                     If (LEqual (OSYS, 0x07D1))
 650 +                     {
 651 +                         Notify (\_SB.PCI0, Zero)
 652 +                     }
 653 +                     Else
 654 +                     {
 655 +                         Notify (\_SB.PCI0.GFX0, Zero)
 656 +                     }
 657 + 
 658 +                     Sleep (0x02EE)
 659 +                 }
 660 + 
 661 +                 Notify (\_SB.PCI0.GFX0, 0x80)
 662 +             }
 663 +         }
 664 + 
 665 +         If (LEqual (One, DSEN))
 666 +         {
 667 +             If (LEqual (TRAP (Increment (Arg0)), Zero))
 668 +             {
 669 +                 Notify (\_SB.PCI0.GFX0, 0x81)
 670 +             }
 671 +         }
 672 +     }
 673 + 
 674 +     Method (LSDS, 1, Serialized)
 675 +     {
 676 +         If (Arg0)
 677 +         {
 678 +             HKDS (0x0C)
 679 +         }
 680 +         Else
 681 +         {
 682 +             HKDS (0x0E)
 683 +         }
 684 + 
 685 +         If (LNot (LEqual (DSEN, One)))
 686 +         {
 687 +             Sleep (0x32)
 688 +             While (LEqual (DSEN, 0x02))
 689 +             {
 690 +                 Sleep (0x32)
 691 +             }
 692 +         }
 693 +     }
 694 + 
 695 +     Method (P8XH, 2, Serialized)
 696 +     {
 697 +         If (LEqual (Arg0, Zero))
 698 +         {
 699 +             Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D)
 700 +         }
 701 + 
 702 +         If (LEqual (Arg0, One))
 703 +         {
 704 +             Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08)), P80D)
 705 +         }
 706 + 
 707 +         If (LEqual (Arg0, 0x02))
 708 +         {
 709 +             Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10)), P80D)
 710 +         }
 711 + 
 712 +         If (LEqual (Arg0, 0x03))
 713 +         {
 714 +             Store (Or (And (P80D, 0x00FFFFFF), ShiftLeft (Arg1, 0x18)), P80D)
 715 +         }
 716 + 
 717 +         Store (P80D, P80H)
 718 +     }
 719 + 
 720 +     Method (PNOT, 0, Serialized)
 721 +     {
 722 +         If (MPEN)
 723 +         {
 724 +             If (And (PDC0, 0x08))
 725 +             {
 726 +                 Notify (\_PR.CPU0, 0x80)
 727 +                 If (And (PDC0, 0x10))
 728 +                 {
 729 +                     Sleep (0x64)
 730 +                     Notify (\_PR.CPU0, 0x81)
 731 +                 }
 732 +             }
 733 + 
 734 +             If (And (PDC1, 0x08))
 735 +             {
 736 +                 Notify (\_PR.CPU1, 0x80)
 737 +                 If (And (PDC1, 0x10))
 738 +                 {
 739 +                     Sleep (0x64)
 740 +                     Notify (\_PR.CPU1, 0x81)
 741 +                 }
 742 +             }
 743 +         }
 744 +         Else
 745 +         {
 746 +             Notify (\_PR.CPU0, 0x80)
 747 +             Sleep (0x64)
 748 +             Notify (\_PR.CPU0, 0x81)
 749 +         }
 750 + 
 751 +         Store (\_SB.PCI0.LPCB.H_EC.B1CC, B1SC)
 752 +         Store (\_SB.PCI0.LPCB.H_EC.B1ST, B1SS)
 753 +         Store (\_SB.PCI0.LPCB.H_EC.B2CC, B2SC)
 754 +         Store (\_SB.PCI0.LPCB.H_EC.B2ST, B2SS)
 755 +         Notify (\_SB.BAT0, 0x80)
 756 +         Notify (\_SB.BAT1, 0x80)
 757 +         Notify (\_SB.BAT2, 0x80)
 758 +     }
 759 + 
 760 +     Method (TRAP, 1, Serialized)
 761 +     {
 762 +         Store (Arg0, SMIF)
 763 +         Store (Zero, TRP0)
 764 +         Return (SMIF)
 765 +     }
 766 + 
 767 +     Method (GETP, 1, Serialized)
 768 +     {
 769 +         If (LEqual (And (Arg0, 0x09), Zero))
 770 +         {
 771 +             Return (Ones)
 772 +         }
 773 + 
 774 +         If (LEqual (And (Arg0, 0x09), 0x08))
 775 +         {
 776 +             Return (0x0384)
 777 +         }
 778 + 
 779 +         ShiftRight (And (Arg0, 0x0300), 0x08, Local0)
 780 +         ShiftRight (And (Arg0, 0x3000), 0x0C, Local1)
 781 +         Return (Multiply (0x1E, Subtract (0x09, Add (Local0, Local1))))
 782 +     }
 783 + 
 784 +     Method (GDMA, 5, Serialized)
 785 +     {
 786 +         If (Arg0)
 787 +         {
 788 +             If (LAnd (Arg1, Arg4))
 789 +             {
 790 +                 Return (0x14)
 791 +             }
 792 + 
 793 +             If (LAnd (Arg2, Arg4))
 794 +             {
 795 +                 Return (Multiply (Subtract (0x04, Arg3), 0x0F))
 796 +             }
 797 + 
 798 +             Return (Multiply (Subtract (0x04, Arg3), 0x1E))
 799 +         }
 800 + 
 801 +         Return (Ones)
 802 +     }
 803 + 
 804 +     Method (GETT, 1, Serialized)
 805 +     {
 806 +         Return (Multiply (0x1E, Subtract (0x09, Add (And (ShiftRight (Arg0, 0x02), 0x03), And (Arg0, 0x03)))))
 807 +     }
 808 + 
 809 +     Method (GETF, 3, Serialized)
 810 +     {
 811 +         Name (TMPF, Zero)
 812 +         If (Arg0)
 813 +         {
 814 +             Or (TMPF, One, TMPF)
 815 +         }
 816 + 
 817 +         If (And (Arg2, 0x02))
 818 +         {
 819 +             Or (TMPF, 0x02, TMPF)
 820 +         }
 821 + 
 822 +         If (Arg1)
 823 +         {
 824 +             Or (TMPF, 0x04, TMPF)
 825 +         }
 826 + 
 827 +         If (And (Arg2, 0x20))
 828 +         {
 829 +             Or (TMPF, 0x08, TMPF)
 830 +         }
 831 + 
 832 +         If (And (Arg2, 0x4000))
 833 +         {
 834 +             Or (TMPF, 0x10, TMPF)
 835 +         }
 836 + 
 837 +         Return (TMPF)
 838 +     }
 839 + 
 840 +     Method (SETP, 3, Serialized)
 841 +     {
 842 +         If (LGreater (Arg0, 0xF0))
 843 +         {
 844 +             Return (0x08)
 845 +         }
 846 +         Else
 847 +         {
 848 +             If (And (Arg1, 0x02))
 849 +             {
 850 +                 If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02)))
 851 +                 {
 852 +                     Return (0x2301)
 853 +                 }
 854 + 
 855 +                 If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, One)))
 856 +                 {
 857 +                     Return (0x2101)
 858 +                 }
 859 +             }
 860 + 
 861 +             Return (0x1001)
 862 +         }
 863 +     }
 864 + 
 865 +     Method (SDMA, 1, Serialized)
 866 +     {
 867 +         If (LNot (LGreater (Arg0, 0x14)))
 868 +         {
 869 +             Return (One)
 870 +         }
 871 + 
 872 +         If (LNot (LGreater (Arg0, 0x1E)))
 873 +         {
 874 +             Return (0x02)
 875 +         }
 876 + 
 877 +         If (LNot (LGreater (Arg0, 0x2D)))
 878 +         {
 879 +             Return (One)
 880 +         }
 881 + 
 882 +         If (LNot (LGreater (Arg0, 0x3C)))
 883 +         {
 884 +             Return (0x02)
 885 +         }
 886 + 
 887 +         If (LNot (LGreater (Arg0, 0x5A)))
 888 +         {
 889 +             Return (One)
 890 +         }
 891 + 
 892 +         Return (Zero)
 893 +     }
 894 + 
 895 +     Method (SETT, 3, Serialized)
 896 +     {
 897 +         If (And (Arg1, 0x02))
 898 +         {
 899 +             If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02)))
 900 +             {
 901 +                 Return (0x0B)
 902 +             }
 903 + 
 904 +             If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, One)))
 905 +             {
 906 +                 Return (0x09)
 907 +             }
 908 +         }
 909 + 
 910 +         Return (0x04)
 911 +     }
 912 + 
 913 +     Scope (_TZ)
 914 +     {
 915 +         PowerResource (FN00, 0x00, 0x0000)
 916 +         {
 917 +             Method (_STA, 0, Serialized)
 918 +             {
 919 +                 Return (VFN0)
 920 +             }
 921 + 
 922 +             Method (_ON, 0, Serialized)
 923 +             {
 924 +                 Store (One, VFN0)
 925 +                 If (ECON)
 926 +                 {
 927 +                     Store (One, \_SB.PCI0.LPCB.H_EC.CFAN)
 928 +                 }
 929 +             }
 930 + 
 931 +             Method (_OFF, 0, Serialized)
 932 +             {
 933 +                 Store (Zero, VFN0)
 934 +                 If (ECON)
 935 +                 {
 936 +                     Store (Zero, \_SB.PCI0.LPCB.H_EC.CFAN)
 937 +                 }
 938 +             }
 939 +         }
 940 + 
 941 +         Device (FAN0)
 942 +         {
 943 +             Name (_HID, EisaId ("PNP0C0B"))
 944 +             Name (_UID, Zero)
 945 +             Name (_PR0, Package (0x01)
 946 +             {
 947 +                 FN00
 948 +             })
 949 +         }
 950 + 
 951 +         ThermalZone (TZ00)
 952 +         {
 953 +             Method (_CRT, 0, Serialized)
 954 +             {
 955 +                 Return (0x0FA2)
 956 +             }
 957 + 
 958 +             Method (_TMP, 0, Serialized)
 959 +             {
 960 +                 If (ECON)
 961 +                 {
 962 +                     Store (\_SB.PCI0.LPCB.H_EC.DTMP, Local0)
 963 +                     If (And (Local0, 0x80))
 964 +                     {
 965 +                         Subtract (Local0, 0x0100, Local0)
 966 +                     }
 967 + 
 968 +                     Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
 969 +                 }
 970 + 
 971 +                 Return (0x0BB8)
 972 +             }
 973 +         }
 974 + 
 975 +         ThermalZone (TZ01)
 976 +         {
 977 +             Method (_AC0, 0, Serialized)
 978 +             {
 979 +                 Return (Add (0x0AAC, Multiply (ACTT, 0x0A)))
 980 +             }
 981 + 
 982 +             Name (_AL0, Package (0x01)
 983 +             {
 984 +                 FAN0
 985 +             })
 986 +             Method (_CRT, 0, Serialized)
 987 +             {
 988 +                 Return (Add (0x0AAC, Multiply (CRTT, 0x0A)))
 989 +             }
 990 + 
 991 +             Method (_SCP, 1, Serialized)
 992 +             {
 993 +                 Store (Arg0, CTYP)
 994 +             }
 995 + 
 996 +             Method (_TMP, 0, Serialized)
 997 +             {
 998 +                 If (DTSE)
 999 +                 {
1000 +                     If (LNot (LLess (DTS1, DTS2)))
1001 +                     {
1002 +                         Return (Add (0x0AAC, Multiply (DTS1, 0x0A)))
1003 +                     }
1004 + 
1005 +                     Return (Add (0x0AAC, Multiply (DTS2, 0x0A)))
1006 +                 }
1007 + 
1008 +                 If (ECON)
1009 +                 {
1010 +                     Store (\_SB.PCI0.LPCB.H_EC.DTMP, Local0)
1011 +                     If (And (Local0, 0x80))
1012 +                     {
1013 +                         Subtract (Local0, 0x0100, Local0)
1014 +                     }
1015 + 
1016 +                     Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
1017 +                 }
1018 + 
1019 +                 Return (0x0BB8)
1020 +             }
1021 + 
1022 +             Method (_PSL, 0, Serialized)
1023 +             {
1024 +                 If (MPEN)
1025 +                 {
1026 +                     Return (Package (0x02)
1027 +                     {
1028 +                         \_PR.CPU0,
1029 +                         \_PR.CPU1
1030 +                     })
1031 +                 }
1032 + 
1033 +                 Return (Package (0x01)
1034 +                 {
1035 +                     \_PR.CPU0
1036 +                 })
1037 +             }
1038 + 
1039 +             Method (_PSV, 0, Serialized)
1040 +             {
1041 +                 Return (Add (0x0AAC, Multiply (PSVT, 0x0A)))
1042 +             }
1043 + 
1044 +             Method (_TC1, 0, Serialized)
1045 +             {
1046 +                 Return (TC1V)
1047 +             }
1048 + 
1049 +             Method (_TC2, 0, Serialized)
1050 +             {
1051 +                 Return (TC2V)
1052 +             }
1053 + 
1054 +             Method (_TSP, 0, Serialized)
1055 +             {
1056 +                 Return (TSPV)
1057 +             }
1058 +         }
1059 +     }
1060 + 
1061 +     Scope (_SB)
1062 +     {
1063 +         Device (ADP1)
1064 +         {
1065 +             Name (_HID, "ACPI0003")
1066 +             Method (_PSR, 0, NotSerialized)
1067 +             {
1068 +                 Return (PWRS)
1069 +             }
1070 + 
1071 +             Method (_PCL, 0, NotSerialized)
1072 +             {
1073 +                 Return (_SB)
1074 +             }
1075 +         }
1076 + 
1077 +         Device (BAT0)
1078 +         {
1079 +             Name (_HID, EisaId ("PNP0C0A"))
1080 +             Name (_UID, Zero)
1081 +             Method (_STA, 0, NotSerialized)
1082 +             {
1083 +                 If (And (BNUM, 0x03))
1084 +                 {
1085 +                     Return (0x0B)
1086 +                 }
1087 + 
1088 +                 If (B0SC)
1089 +                 {
1090 +                     Return (0x1F)
1091 +                 }
1092 + 
1093 +                 Return (Zero)
1094 +             }
1095 + 
1096 +             Method (_BIF, 0, NotSerialized)
1097 +             {
1098 +                 Return (Package (0x0D)
1099 +                 {
1100 +                     Zero,
1101 +                     0x2710,
1102 +                     0x2710,
1103 +                     One,
1104 +                     Ones,
1105 +                     0x03E8,
1106 +                     0x0190,
1107 +                     0x64,
1108 +                     0x64,
1109 +                     "CRB Battery 0",
1110 +                     "Battery 0",
1111 +                     "Fake",
1112 +                     "-Virtual Battery 0-"
1113 +                 })
1114 +             }
1115 + 
1116 +             Method (_BST, 0, NotSerialized)
1117 +             {
1118 +                 Name (PKG0, Package (0x04)
1119 +                 {
1120 +                     Ones,
1121 +                     Ones,
1122 +                     Ones,
1123 +                     Ones
1124 +                 })
1125 +                 If (PWRS)
1126 +                 {
1127 +                     Store (0x02, Index (PKG0, Zero))
1128 +                 }
1129 +                 Else
1130 +                 {
1131 +                     Store (One, Index (PKG0, Zero))
1132 +                 }
1133 + 
1134 +                 Store (Multiply (B0SC, 0x64), Index (PKG0, 0x02))
1135 +                 Return (PKG0)
1136 +             }
1137 + 
1138 +             Method (_PCL, 0, NotSerialized)
1139 +             {
1140 +                 Return (_SB)
1141 +             }
1142 +         }
1143 + 
1144 +         Device (BAT1)
1145 +         {
1146 +             Name (_HID, EisaId ("PNP0C0A"))
1147 +             Name (_UID, One)
1148 +             Method (_STA, 0, NotSerialized)
1149 +             {
1150 +                 If (And (BNUM, One))
1151 +                 {
1152 +                     Return (0x1F)
1153 +                 }
1154 + 
1155 +                 If (B0SC)
1156 +                 {
1157 +                     Return (0x0B)
1158 +                 }
1159 + 
1160 +                 Return (Zero)
1161 +             }
1162 + 
1163 +             Method (_BIF, 0, NotSerialized)
1164 +             {
1165 +                 Return (Package (0x0D)
1166 +                 {
1167 +                     Zero,
1168 +                     0x2710,
1169 +                     0x2710,
1170 +                     One,
1171 +                     Ones,
1172 +                     0x03E8,
1173 +                     0x0190,
1174 +                     0x64,
1175 +                     0x64,
1176 +                     "CRB Battery 1",
1177 +                     "Battery 1",
1178 +                     "Real",
1179 +                     "-Real Battery 1-"
1180 +                 })
1181 +             }
1182 + 
1183 +             Method (_BST, 0, NotSerialized)
1184 +             {
1185 +                 Name (PKG1, Package (0x04)
1186 +                 {
1187 +                     Ones,
1188 +                     Ones,
1189 +                     Ones,
1190 +                     Ones
1191 +                 })
1192 +                 Store (And (B1SS, 0x07), Index (PKG1, Zero))
1193 +                 Store (Multiply (B1SC, 0x64), Index (PKG1, 0x02))
1194 +                 Return (PKG1)
1195 +             }
1196 + 
1197 +             Method (_PCL, 0, NotSerialized)
1198 +             {
1199 +                 Return (_SB)
1200 +             }
1201 +         }
1202 + 
1203 +         Device (BAT2)
1204 +         {
1205 +             Name (_HID, EisaId ("PNP0C0A"))
1206 +             Name (_UID, 0x02)
1207 +             Method (_STA, 0, NotSerialized)
1208 +             {
1209 +                 If (And (BNUM, 0x02))
1210 +                 {
1211 +                     Return (0x1F)
1212 +                 }
1213 + 
1214 +                 If (B0SC)
1215 +                 {
1216 +                     Return (0x0B)
1217 +                 }
1218 + 
1219 +                 Return (Zero)
1220 +             }
1221 + 
1222 +             Method (_BIF, 0, NotSerialized)
1223 +             {
1224 +                 Return (Package (0x0D)
1225 +                 {
1226 +                     Zero,
1227 +                     0x2710,
1228 +                     0x2710,
1229 +                     One,
1230 +                     Ones,
1231 +                     0x03E8,
1232 +                     0x0190,
1233 +                     0x64,
1234 +                     0x64,
1235 +                     "CRB Battery 2",
1236 +                     "Battery 2",
1237 +                     "Real",
1238 +                     "-Real Battery 2-"
1239 +                 })
1240 +             }
1241 + 
1242 +             Method (_BST, 0, NotSerialized)
1243 +             {
1244 +                 Name (PKG2, Package (0x04)
1245 +                 {
1246 +                     Ones,
1247 +                     Ones,
1248 +                     Ones,
1249 +                     Ones
1250 +                 })
1251 +                 Store (And (B2SS, 0x07), Index (PKG2, Zero))
1252 +                 Store (Multiply (B2SC, 0x64), Index (PKG2, 0x02))
1253 +                 Return (PKG2)
1254 +             }
1255 + 
1256 +             Method (_PCL, 0, NotSerialized)
1257 +             {
1258 +                 Return (_SB)
1259 +             }
1260 +         }
1261 + 
1262 +         Device (LID0)
1263 +         {
1264 +             Name (_HID, EisaId ("PNP0C0D"))
1265 +             Method (_LID, 0, NotSerialized)
1266 +             {
1267 +                 Return (LIDS)
1268 +             }
1269 +         }
1270 + 
1271 +         Device (PWRB)
1272 +         {
1273 +             Name (_HID, EisaId ("PNP0C0C"))
1274 +             Name (_PRW, Package (0x02)
1275 +             {
1276 +                 0x1D,
1277 +                 0x04
1278 +             })
1279 +         }
1280 + 
1281 +         Device (PCI0)
1282 +         {
1283 +             Method (_INI, 0, NotSerialized)
1284 +             {
1285 +                 Store (0x07D0, OSYS)
1286 +                 If (CondRefOf (_OSI, Local0))
1287 +                 {
1288 +                     If (_OSI ("Linux"))
1289 +                     {
1290 +                         Store (0x03E8, OSYS)
1291 +                     }
1292 +                     Else
1293 +                     {
1294 +                         Store (0x07D1, OSYS)
1295 +                         If (MPEN)
1296 +                         {
1297 +                             TRAP (0x3D)
1298 +                         }
1299 +                     }
1300 +                 }
1301 +             }
1302 + 
1303 +             Name (_HID, EisaId ("PNP0A08"))
1304 +             Name (_CID, 0x030AD041)
1305 +             Name (_ADR, Zero)
1306 +             Name (_BBN, Zero)
1307 +             OperationRegion (HBUS, PCI_Config, 0x40, 0xC0)
1308 +             Field (HBUS, DWordAcc, NoLock, Preserve)
1309 +             {
1310 +                 Offset (0x50),
1311 +                     ,   4,
1312 +                 PM0H,   2,
1313 +                 Offset (0x51),
1314 +                 PM1L,   2,
1315 +                     ,   2,
1316 +                 PM1H,   2,
1317 +                 Offset (0x52),
1318 +                 PM2L,   2,
1319 +                     ,   2,
1320 +                 PM2H,   2,
1321 +                 Offset (0x53),
1322 +                 PM3L,   2,
1323 +                     ,   2,
1324 +                 PM3H,   2,
1325 +                 Offset (0x54),
1326 +                 PM4L,   2,
1327 +                     ,   2,
1328 +                 PM4H,   2,
1329 +                 Offset (0x55),
1330 +                 PM5L,   2,
1331 +                     ,   2,
1332 +                 PM5H,   2,
1333 +                 Offset (0x56),
1334 +                 PM6L,   2,
1335 +                     ,   2,
1336 +                 PM6H,   2,
1337 +                 Offset (0x57),
1338 +                     ,   7,
1339 +                 HENA,   1,
1340 +                 Offset (0x5C),
1341 +                     ,   3,
1342 +                 TOUD,   5
1343 +             }
1344 + 
1345 +             Name (BUF0, ResourceTemplate ()
1346 +             {
1347 +                 WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
1348 +                     0x0000,             // Address Space Granularity
1349 +                     0x0000,             // Address Range Minimum
1350 +                     0x00FF,             // Address Range Maximum
1351 +                     0x0000,             // Address Translation Offset
1352 +                     0x0100,             // Address Length
1353 +                     ,,)
1354 +                 DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
1355 +                     0x00000000,         // Address Space Granularity
1356 +                     0x00000000,         // Address Range Minimum
1357 +                     0x00000CF7,         // Address Range Maximum
1358 +                     0x00000000,         // Address Translation Offset
1359 +                     0x00000CF8,         // Address Length
1360 +                     ,,, TypeStatic)
1361 +                 IO (Decode16,
1362 +                     0x0CF8,             // Address Range Minimum
1363 +                     0x0CF8,             // Address Range Maximum
1364 +                     0x01,               // Address Alignment
1365 +                     0x08,               // Address Length
1366 +                     )
1367 +                 DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
1368 +                     0x00000000,         // Address Space Granularity
1369 +                     0x00000D00,         // Address Range Minimum
1370 +                     0x0000FFFF,         // Address Range Maximum
1371 +                     0x00000000,         // Address Translation Offset
1372 +                     0x0000F300,         // Address Length
1373 +                     ,,, TypeStatic)
1374 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1375 +                     0x00000000,         // Address Space Granularity
1376 +                     0x000A0000,         // Address Range Minimum
1377 +                     0x000BFFFF,         // Address Range Maximum
1378 +                     0x00000000,         // Address Translation Offset
1379 +                     0x00020000,         // Address Length
1380 +                     ,,, AddressRangeMemory, TypeStatic)
1381 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1382 +                     0x00000000,         // Address Space Granularity
1383 +                     0x000C0000,         // Address Range Minimum
1384 +                     0x000C3FFF,         // Address Range Maximum
1385 +                     0x00000000,         // Address Translation Offset
1386 +                     0x00004000,         // Address Length
1387 +                     ,,, AddressRangeMemory, TypeStatic)
1388 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1389 +                     0x00000000,         // Address Space Granularity
1390 +                     0x000C4000,         // Address Range Minimum
1391 +                     0x000C7FFF,         // Address Range Maximum
1392 +                     0x00000000,         // Address Translation Offset
1393 +                     0x00004000,         // Address Length
1394 +                     ,,, AddressRangeMemory, TypeStatic)
1395 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1396 +                     0x00000000,         // Address Space Granularity
1397 +                     0x000C8000,         // Address Range Minimum
1398 +                     0x000CBFFF,         // Address Range Maximum
1399 +                     0x00000000,         // Address Translation Offset
1400 +                     0x00004000,         // Address Length
1401 +                     ,,, AddressRangeMemory, TypeStatic)
1402 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1403 +                     0x00000000,         // Address Space Granularity
1404 +                     0x000CC000,         // Address Range Minimum
1405 +                     0x000CFFFF,         // Address Range Maximum
1406 +                     0x00000000,         // Address Translation Offset
1407 +                     0x00004000,         // Address Length
1408 +                     ,,, AddressRangeMemory, TypeStatic)
1409 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1410 +                     0x00000000,         // Address Space Granularity
1411 +                     0x000D0000,         // Address Range Minimum
1412 +                     0x000D3FFF,         // Address Range Maximum
1413 +                     0x00000000,         // Address Translation Offset
1414 +                     0x00004000,         // Address Length
1415 +                     ,,, AddressRangeMemory, TypeStatic)
1416 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1417 +                     0x00000000,         // Address Space Granularity
1418 +                     0x000D4000,         // Address Range Minimum
1419 +                     0x000D7FFF,         // Address Range Maximum
1420 +                     0x00000000,         // Address Translation Offset
1421 +                     0x00004000,         // Address Length
1422 +                     ,,, AddressRangeMemory, TypeStatic)
1423 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1424 +                     0x00000000,         // Address Space Granularity
1425 +                     0x000D8000,         // Address Range Minimum
1426 +                     0x000DBFFF,         // Address Range Maximum
1427 +                     0x00000000,         // Address Translation Offset
1428 +                     0x00004000,         // Address Length
1429 +                     ,,, AddressRangeMemory, TypeStatic)
1430 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1431 +                     0x00000000,         // Address Space Granularity
1432 +                     0x000DC000,         // Address Range Minimum
1433 +                     0x000DFFFF,         // Address Range Maximum
1434 +                     0x00000000,         // Address Translation Offset
1435 +                     0x00004000,         // Address Length
1436 +                     ,,, AddressRangeMemory, TypeStatic)
1437 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1438 +                     0x00000000,         // Address Space Granularity
1439 +                     0x000E0000,         // Address Range Minimum
1440 +                     0x000E3FFF,         // Address Range Maximum
1441 +                     0x00000000,         // Address Translation Offset
1442 +                     0x00004000,         // Address Length
1443 +                     ,,, AddressRangeMemory, TypeStatic)
1444 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1445 +                     0x00000000,         // Address Space Granularity
1446 +                     0x000E4000,         // Address Range Minimum
1447 +                     0x000E7FFF,         // Address Range Maximum
1448 +                     0x00000000,         // Address Translation Offset
1449 +                     0x00004000,         // Address Length
1450 +                     ,,, AddressRangeMemory, TypeStatic)
1451 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1452 +                     0x00000000,         // Address Space Granularity
1453 +                     0x000E8000,         // Address Range Minimum
1454 +                     0x000EBFFF,         // Address Range Maximum
1455 +                     0x00000000,         // Address Translation Offset
1456 +                     0x00004000,         // Address Length
1457 +                     ,,, AddressRangeMemory, TypeStatic)
1458 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1459 +                     0x00000000,         // Address Space Granularity
1460 +                     0x000EC000,         // Address Range Minimum
1461 +                     0x000EFFFF,         // Address Range Maximum
1462 +                     0x00000000,         // Address Translation Offset
1463 +                     0x00004000,         // Address Length
1464 +                     ,,, AddressRangeMemory, TypeStatic)
1465 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1466 +                     0x00000000,         // Address Space Granularity
1467 +                     0x000F0000,         // Address Range Minimum
1468 +                     0x000FFFFF,         // Address Range Maximum
1469 +                     0x00000000,         // Address Translation Offset
1470 +                     0x00010000,         // Address Length
1471 +                     ,,, AddressRangeMemory, TypeStatic)
1472 +                 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1473 +                     0x00000000,         // Address Space Granularity
1474 +                     0x00000000,         // Address Range Minimum
1475 +                     0xFEBFFFFF,         // Address Range Maximum
1476 +                     0x00000000,         // Address Translation Offset
1477 +                     0x00000000,         // Address Length
1478 +                     ,,, AddressRangeMemory, TypeStatic)
1479 +             })
1480 +             Method (_CRS, 0, Serialized)
1481 +             {
1482 +                 If (PM1L)
1483 +                 {
1484 +                     CreateDWordField (BUF0, 0x7C, C0LN)
1485 +                     Store (Zero, C0LN)
1486 +                 }
1487 + 
1488 +                 If (LEqual (PM1L, One))
1489 +                 {
1490 +                     CreateBitField (BUF0, 0x0358, C0RW)
1491 +                     Store (Zero, C0RW)
1492 +                 }
1493 + 
1494 +                 If (PM1H)
1495 +                 {
1496 +                     CreateDWordField (BUF0, 0x96, C4LN)
1497 +                     Store (Zero, C4LN)
1498 +                 }
1499 + 
1500 +                 If (LEqual (PM1H, One))
1501 +                 {
1502 +                     CreateBitField (BUF0, 0x0428, C4RW)
1503 +                     Store (Zero, C4RW)
1504 +                 }
1505 + 
1506 +                 If (PM2L)
1507 +                 {
1508 +                     CreateDWordField (BUF0, 0xB0, C8LN)
1509 +                     Store (Zero, C8LN)
1510 +                 }
1511 + 
1512 +                 If (LEqual (PM2L, One))
1513 +                 {
1514 +                     CreateBitField (BUF0, 0x04F8, C8RW)
1515 +                     Store (Zero, C8RW)
1516 +                 }
1517 + 
1518 +                 If (PM2H)
1519 +                 {
1520 +                     CreateDWordField (BUF0, 0xCA, CCLN)
1521 +                     Store (Zero, CCLN)
1522 +                 }
1523 + 
1524 +                 If (LEqual (PM2H, One))
1525 +                 {
1526 +                     CreateBitField (BUF0, 0x05C8, CCRW)
1527 +                     Store (Zero, CCRW)
1528 +                 }
1529 + 
1530 +                 If (PM3L)
1531 +                 {
1532 +                     CreateDWordField (BUF0, 0xE4, D0LN)
1533 +                     Store (Zero, D0LN)
1534 +                 }
1535 + 
1536 +                 If (LEqual (PM3L, One))
1537 +                 {
1538 +                     CreateBitField (BUF0, 0x0698, D0RW)
1539 +                     Store (Zero, D0RW)
1540 +                 }
1541 + 
1542 +                 If (PM3H)
1543 +                 {
1544 +                     CreateDWordField (BUF0, 0xFE, D4LN)
1545 +                     Store (Zero, D4LN)
1546 +                 }
1547 + 
1548 +                 If (LEqual (PM3H, One))
1549 +                 {
1550 +                     CreateBitField (BUF0, 0x0768, D4RW)
1551 +                     Store (Zero, D4RW)
1552 +                 }
1553 + 
1554 +                 If (PM4L)
1555 +                 {
1556 +                     CreateDWordField (BUF0, 0x0118, D8LN)
1557 +                     Store (Zero, D8LN)
1558 +                 }
1559 + 
1560 +                 If (LEqual (PM4L, One))
1561 +                 {
1562 +                     CreateBitField (BUF0, 0x0838, D8RW)
1563 +                     Store (Zero, D8RW)
1564 +                 }
1565 + 
1566 +                 If (PM4H)
1567 +                 {
1568 +                     CreateDWordField (BUF0, 0x0132, DCLN)
1569 +                     Store (Zero, DCLN)
1570 +                 }
1571 + 
1572 +                 If (LEqual (PM4H, One))
1573 +                 {
1574 +                     CreateBitField (BUF0, 0x0908, DCRW)
1575 +                     Store (Zero, DCRW)
1576 +                 }
1577 + 
1578 +                 If (PM5L)
1579 +                 {
1580 +                     CreateDWordField (BUF0, 0x014C, E0LN)
1581 +                     Store (Zero, E0LN)
1582 +                 }
1583 + 
1584 +                 If (LEqual (PM5L, One))
1585 +                 {
1586 +                     CreateBitField (BUF0, 0x09D8, E0RW)
1587 +                     Store (Zero, E0RW)
1588 +                 }
1589 + 
1590 +                 If (PM5H)
1591 +                 {
1592 +                     CreateDWordField (BUF0, 0x0166, E4LN)
1593 +                     Store (Zero, E4LN)
1594 +                 }
1595 + 
1596 +                 If (LEqual (PM5H, One))
1597 +                 {
1598 +                     CreateBitField (BUF0, 0x0AA8, E4RW)
1599 +                     Store (Zero, E4RW)
1600 +                 }
1601 + 
1602 +                 If (PM6L)
1603 +                 {
1604 +                     CreateDWordField (BUF0, 0x0180, E8LN)
1605 +                     Store (Zero, E8LN)
1606 +                 }
1607 + 
1608 +                 If (LEqual (PM6L, One))
1609 +                 {
1610 +                     CreateBitField (BUF0, 0x0B78, E8RW)
1611 +                     Store (Zero, E8RW)
1612 +                 }
1613 + 
1614 +                 If (PM6H)
1615 +                 {
1616 +                     CreateDWordField (BUF0, 0x019A, ECLN)
1617 +                     Store (Zero, ECLN)
1618 +                 }
1619 + 
1620 +                 If (LEqual (PM6H, One))
1621 +                 {
1622 +                     CreateBitField (BUF0, 0x0C48, ECRW)
1623 +                     Store (Zero, ECRW)
1624 +                 }
1625 + 
1626 +                 If (PM0H)
1627 +                 {
1628 +                     CreateDWordField (BUF0, 0x01B4, F0LN)
1629 +                     Store (Zero, F0LN)
1630 +                 }
1631 + 
1632 +                 If (LEqual (PM0H, One))
1633 +                 {
1634 +                     CreateBitField (BUF0, 0x0D18, F0RW)
1635 +                     Store (Zero, F0RW)
1636 +                 }
1637 + 
1638 +                 CreateDWordField (BUF0, 0x01C2, M1MN)
1639 +                 CreateDWordField (BUF0, 0x01C6, M1MX)
1640 +                 CreateDWordField (BUF0, 0x01CE, M1LN)
1641 +                 ShiftLeft (TOUD, 0x1B, M1MN)
1642 +                 Add (Subtract (M1MX, M1MN), One, M1LN)
1643 +                 Return (BUF0)
1644 +             }
1645 + 
1646 +             Method (_PRT, 0, NotSerialized)
1647 +             {
1648 +                 If (GPIC)
1649 +                 {
1650 +                     Return (Package (0x11)
1651 +                     {
1652 +                         Package (0x04)
1653 +                         {
1654 +                             0x0001FFFF,
1655 +                             Zero,
1656 +                             Zero,
1657 +                             0x10
1658 +                         },
1659 + 
1660 +                         Package (0x04)
1661 +                         {
1662 +                             0x0002FFFF,
1663 +                             Zero,
1664 +                             Zero,
1665 +                             0x10
1666 +                         },
1667 + 
1668 +                         Package (0x04)
1669 +                         {
1670 +                             0x0007FFFF,
1671 +                             Zero,
1672 +                             Zero,
1673 +                             0x10
1674 +                         },
1675 + 
1676 +                         Package (0x04)
1677 +                         {
1678 +                             0x001BFFFF,
1679 +                             Zero,
1680 +                             Zero,
1681 +                             0x16
1682 +                         },
1683 + 
1684 +                         Package (0x04)
1685 +                         {
1686 +                             0x001CFFFF,
1687 +                             Zero,
1688 +                             Zero,
1689 +                             0x11
1690 +                         },
1691 + 
1692 +                         Package (0x04)
1693 +                         {
1694 +                             0x001CFFFF,
1695 +                             One,
1696 +                             Zero,
1697 +                             0x10
1698 +                         },
1699 + 
1700 +                         Package (0x04)
1701 +                         {
1702 +                             0x001CFFFF,
1703 +                             0x02,
1704 +                             Zero,
1705 +                             0x12
1706 +                         },
1707 + 
1708 +                         Package (0x04)
1709 +                         {
1710 +                             0x001CFFFF,
1711 +                             0x03,
1712 +                             Zero,
1713 +                             0x13
1714 +                         },
1715 + 
1716 +                         Package (0x04)
1717 +                         {
1718 +                             0x001DFFFF,
1719 +                             Zero,
1720 +                             Zero,
1721 +                             0x17
1722 +                         },
1723 + 
1724 +                         Package (0x04)
1725 +                         {
1726 +                             0x001DFFFF,
1727 +                             One,
1728 +                             Zero,
1729 +                             0x13
1730 +                         },
1731 + 
1732 +                         Package (0x04)
1733 +                         {
1734 +                             0x001DFFFF,
1735 +                             0x02,
1736 +                             Zero,
1737 +                             0x12
1738 +                         },
1739 + 
1740 +                         Package (0x04)
1741 +                         {
1742 +                             0x001DFFFF,
1743 +                             0x03,
1744 +                             Zero,
1745 +                             0x10
1746 +                         },
1747 + 
1748 +                         Package (0x04)
1749 +                         {
1750 +                             0x001EFFFF,
1751 +                             Zero,
1752 +                             Zero,
1753 +                             0x16
1754 +                         },
1755 + 
1756 +                         Package (0x04)
1757 +                         {
1758 +                             0x001EFFFF,
1759 +                             One,
1760 +                             Zero,
1761 +                             0x14
1762 +                         },
1763 + 
1764 +                         Package (0x04)
1765 +                         {
1766 +                             0x001FFFFF,
1767 +                             Zero,
1768 +                             Zero,
1769 +                             0x12
1770 +                         },
1771 + 
1772 +                         Package (0x04)
1773 +                         {
1774 +                             0x001FFFFF,
1775 +                             One,
1776 +                             Zero,
1777 +                             0x13
1778 +                         },
1779 + 
1780 +                         Package (0x04)
1781 +                         {
1782 +                             0x001FFFFF,
1783 +                             0x03,
1784 +                             Zero,
1785 +                             0x10
1786 +                         }
1787 +                     })
1788 +                 }
1789 +                 Else
1790 +                 {
1791 +                     Return (Package (0x11)
1792 +                     {
1793 +                         Package (0x04)
1794 +                         {
1795 +                             0x0001FFFF,
1796 +                             Zero,
1797 +                             ^LPCB.LNKA,
1798 +                             Zero
1799 +                         },
1800 + 
1801 +                         Package (0x04)
1802 +                         {
1803 +                             0x0002FFFF,
1804 +                             Zero,
1805 +                             ^LPCB.LNKA,
1806 +                             Zero
1807 +                         },
1808 + 
1809 +                         Package (0x04)
1810 +                         {
1811 +                             0x0007FFFF,
1812 +                             Zero,
1813 +                             ^LPCB.LNKA,
1814 +                             Zero
1815 +                         },
1816 + 
1817 +                         Package (0x04)
1818 +                         {
1819 +                             0x001BFFFF,
1820 +                             Zero,
1821 +                             ^LPCB.LNKG,
1822 +                             Zero
1823 +                         },
1824 + 
1825 +                         Package (0x04)
1826 +                         {
1827 +                             0x001CFFFF,
1828 +                             Zero,
1829 +                             ^LPCB.LNKB,
1830 +                             Zero
1831 +                         },
1832 + 
1833 +                         Package (0x04)
1834 +                         {
1835 +                             0x001CFFFF,
1836 +                             One,
1837 +                             ^LPCB.LNKA,
1838 +                             Zero
1839 +                         },
1840 + 
1841 +                         Package (0x04)
1842 +                         {
1843 +                             0x001CFFFF,
1844 +                             0x02,
1845 +                             ^LPCB.LNKC,
1846 +                             Zero
1847 +                         },
1848 + 
1849 +                         Package (0x04)
1850 +                         {
1851 +                             0x001CFFFF,
1852 +                             0x03,
1853 +                             ^LPCB.LNKD,
1854 +                             Zero
1855 +                         },
1856 + 
1857 +                         Package (0x04)
1858 +                         {
1859 +                             0x001DFFFF,
1860 +                             Zero,
1861 +                             ^LPCB.LNKH,
1862 +                             Zero
1863 +                         },
1864 + 
1865 +                         Package (0x04)
1866 +                         {
1867 +                             0x001DFFFF,
1868 +                             One,
1869 +                             ^LPCB.LNKD,
1870 +                             Zero
1871 +                         },
1872 + 
1873 +                         Package (0x04)
1874 +                         {
1875 +                             0x001DFFFF,
1876 +                             0x02,
1877 +                             ^LPCB.LNKC,
1878 +                             Zero
1879 +                         },
1880 + 
1881 +                         Package (0x04)
1882 +                         {
1883 +                             0x001DFFFF,
1884 +                             0x03,
1885 +                             ^LPCB.LNKA,
1886 +                             Zero
1887 +                         },
1888 + 
1889 +                         Package (0x04)
1890 +                         {
1891 +                             0x001EFFFF,
1892 +                             Zero,
1893 +                             ^LPCB.LNKG,
1894 +                             Zero
1895 +                         },
1896 + 
1897 +                         Package (0x04)
1898 +                         {
1899 +                             0x001EFFFF,
1900 +                             One,
1901 +                             ^LPCB.LNKE,
1902 +                             Zero
1903 +                         },
1904 + 
1905 +                         Package (0x04)
1906 +                         {
1907 +                             0x001FFFFF,
1908 +                             Zero,
1909 +                             ^LPCB.LNKC,
1910 +                             Zero
1911 +                         },
1912 + 
1913 +                         Package (0x04)
1914 +                         {
1915 +                             0x001FFFFF,
1916 +                             One,
1917 +                             ^LPCB.LNKD,
1918 +                             Zero
1919 +                         },
1920 + 
1921 +                         Package (0x04)
1922 +                         {
1923 +                             0x001FFFFF,
1924 +                             0x03,
1925 +                             ^LPCB.LNKA,
1926 +                             Zero
1927 +                         }
1928 +                     })
1929 +                 }
1930 +             }
1931 + 
1932 +             Device (PDRC)
1933 +             {
1934 +                 Name (_HID, EisaId ("PNP0C02"))
1935 +                 Name (_UID, One)
1936 +                 Name (_CRS, ResourceTemplate ()
1937 +                 {
1938 +                     Memory32Fixed (ReadWrite,
1939 +                         0xE0000000,         // Address Base
1940 +                         0x10000000,         // Address Length
1941 +                         )
1942 +                     Memory32Fixed (ReadWrite,
1943 +                         0xFED14000,         // Address Base
1944 +                         0x00004000,         // Address Length
1945 +                         )
1946 +                     Memory32Fixed (ReadWrite,
1947 +                         0xFED18000,         // Address Base
1948 +                         0x00001000,         // Address Length
1949 +                         )
1950 +                     Memory32Fixed (ReadWrite,
1951 +                         0xFED19000,         // Address Base
1952 +                         0x00001000,         // Address Length
1953 +                         )
1954 +                     Memory32Fixed (ReadWrite,
1955 +                         0xFED1C000,         // Address Base
1956 +                         0x00004000,         // Address Length
1957 +                         )
1958 +                     Memory32Fixed (ReadWrite,
1959 +                         0xFED20000,         // Address Base
1960 +                         0x00070000,         // Address Length
1961 +                         )
1962 +                 })
1963 +             }
1964 + 
1965 +             Device (PEGP)
1966 +             {
1967 +                 Name (_ADR, 0x00010000)
1968 +                 Method (_PRT, 0, NotSerialized)
1969 +                 {
1970 +                     If (GPIC)
1971 +                     {
1972 +                         Return (Package (0x04)
1973 +                         {
1974 +                             Package (0x04)
1975 +                             {
1976 +                                 0xFFFF,
1977 +                                 Zero,
1978 +                                 Zero,
1979 +                                 0x10
1980 +                             },
1981 + 
1982 +                             Package (0x04)
1983 +                             {
1984 +                                 0xFFFF,
1985 +                                 One,
1986 +                                 Zero,
1987 +                                 0x11
1988 +                             },
1989 + 
1990 +                             Package (0x04)
1991 +                             {
1992 +                                 0xFFFF,
1993 +                                 0x02,
1994 +                                 Zero,
1995 +                                 0x12
1996 +                             },
1997 + 
1998 +                             Package (0x04)
1999 +                             {
2000 +                                 0xFFFF,
2001 +                                 0x03,
2002 +                                 Zero,
2003 +                                 0x13
2004 +                             }
2005 +                         })
2006 +                     }
2007 +                     Else
2008 +                     {
2009 +                         Return (Package (0x04)
2010 +                         {
2011 +                             Package (0x04)
2012 +                             {
2013 +                                 0xFFFF,
2014 +                                 Zero,
2015 +                                 ^^LPCB.LNKA,
2016 +                                 Zero
2017 +                             },
2018 + 
2019 +                             Package (0x04)
2020 +                             {
2021 +                                 0xFFFF,
2022 +                                 One,
2023 +                                 ^^LPCB.LNKB,
2024 +                                 Zero
2025 +                             },
2026 + 
2027 +                             Package (0x04)
2028 +                             {
2029 +                                 0xFFFF,
2030 +                                 0x02,
2031 +                                 ^^LPCB.LNKC,
2032 +                                 Zero
2033 +                             },
2034 + 
2035 +                             Package (0x04)
2036 +                             {
2037 +                                 0xFFFF,
2038 +                                 0x03,
2039 +                                 ^^LPCB.LNKD,
2040 +                                 Zero
2041 +                             }
2042 +                         })
2043 +                     }
2044 +                 }
2045 +             }
2046 + 
2047 +             Device (GFX0)
2048 +             {
2049 +                 Name (_ADR, 0x00020000)
2050 +                 Method (_DOS, 1, NotSerialized)
2051 +                 {
2052 +                     Store (And (Arg0, 0x03), DSEN)
2053 +                 }
2054 + 
2055 +                 Method (_DOD, 0, NotSerialized)
2056 +                 {
2057 +                     If (LEqual (NDID, One))
2058 +                     {
2059 +                         Name (TMP1, Package (0x01)
2060 +                         {
2061 +                             Ones
2062 +                         })
2063 +                         Store (Or (0x00010000, DID1), Index (TMP1, Zero))
2064 +                         Return (TMP1)
2065 +                     }
2066 + 
2067 +                     If (LEqual (NDID, 0x02))
2068 +                     {
2069 +                         Name (TMP2, Package (0x02)
2070 +                         {
2071 +                             Ones,
2072 +                             Ones
2073 +                         })
2074 +                         Store (Or (0x00010000, DID1), Index (TMP2, Zero))
2075 +                         Store (Or (0x00010000, DID2), Index (TMP2, One))
2076 +                         Return (TMP2)
2077 +                     }
2078 + 
2079 +                     If (LEqual (NDID, 0x03))
2080 +                     {
2081 +                         Name (TMP3, Package (0x03)
2082 +                         {
2083 +                             Ones,
2084 +                             Ones,
2085 +                             Ones
2086 +                         })
2087 +                         Store (Or (0x00010000, DID1), Index (TMP3, Zero))
2088 +                         Store (Or (0x00010000, DID2), Index (TMP3, One))
2089 +                         Store (Or (0x00010000, DID3), Index (TMP3, 0x02))
2090 +                         Return (TMP3)
2091 +                     }
2092 + 
2093 +                     If (LEqual (NDID, 0x04))
2094 +                     {
2095 +                         Name (TMP4, Package (0x04)
2096 +                         {
2097 +                             Ones,
2098 +                             Ones,
2099 +                             Ones,
2100 +                             Ones
2101 +                         })
2102 +                         Store (Or (0x00010000, DID1), Index (TMP4, Zero))
2103 +                         Store (Or (0x00010000, DID2), Index (TMP4, One))
2104 +                         Store (Or (0x00010000, DID3), Index (TMP4, 0x02))
2105 +                         Store (Or (0x00010000, DID4), Index (TMP4, 0x03))
2106 +                         Return (TMP4)
2107 +                     }
2108 + 
2109 +                     Name (TMP5, Package (0x05)
2110 +                     {
2111 +                         Ones,
2112 +                         Ones,
2113 +                         Ones,
2114 +                         Ones,
2115 +                         Ones
2116 +                     })
2117 +                     Store (Or (0x00010000, DID1), Index (TMP5, Zero))
2118 +                     Store (Or (0x00010000, DID2), Index (TMP5, One))
2119 +                     Store (Or (0x00010000, DID3), Index (TMP5, 0x02))
2120 +                     Store (Or (0x00010000, DID4), Index (TMP5, 0x03))
2121 +                     Store (Or (0x00010000, DID5), Index (TMP5, 0x04))
2122 +                     Return (TMP5)
2123 +                 }
2124 + 
2125 +                 Device (DD01)
2126 +                 {
2127 +                     Method (_ADR, 0, Serialized)
2128 +                     {
2129 +                         Return (And (0xFFFF, DID1))
2130 +                     }
2131 + 
2132 +                     Method (_DCS, 0, NotSerialized)
2133 +                     {
2134 +                         TRAP (One)
2135 +                         If (And (CSTE, One))
2136 +                         {
2137 +                             Return (0x1F)
2138 +                         }
2139 + 
2140 +                         Return (0x1D)
2141 +                     }
2142 + 
2143 +                     Method (_DGS, 0, NotSerialized)
2144 +                     {
2145 +                         If (And (NSTE, One))
2146 +                         {
2147 +                             Return (One)
2148 +                         }
2149 + 
2150 +                         Return (Zero)
2151 +                     }
2152 + 
2153 +                     Method (_DSS, 1, NotSerialized)
2154 +                     {
2155 +                         If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
2156 +                         {
2157 +                             Store (NSTE, CSTE)
2158 +                         }
2159 +                     }
2160 +                 }
2161 + 
2162 +                 Device (DD02)
2163 +                 {
2164 +                     Method (_ADR, 0, Serialized)
2165 +                     {
2166 +                         Return (And (0xFFFF, DID2))
2167 +                     }
2168 + 
2169 +                     Method (_DCS, 0, NotSerialized)
2170 +                     {
2171 +                         TRAP (One)
2172 +                         If (And (CSTE, 0x02))
2173 +                         {
2174 +                             Return (0x1F)
2175 +                         }
2176 + 
2177 +                         Return (0x1D)
2178 +                     }
2179 + 
2180 +                     Method (_DGS, 0, NotSerialized)
2181 +                     {
2182 +                         If (And (NSTE, 0x02))
2183 +                         {
2184 +                             Return (One)
2185 +                         }
2186 + 
2187 +                         Return (Zero)
2188 +                     }
2189 + 
2190 +                     Method (_DSS, 1, NotSerialized)
2191 +                     {
2192 +                         If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
2193 +                         {
2194 +                             Store (NSTE, CSTE)
2195 +                         }
2196 +                     }
2197 +                 }
2198 + 
2199 +                 Device (DD03)
2200 +                 {
2201 +                     Method (_ADR, 0, Serialized)
2202 +                     {
2203 +                         Return (And (0xFFFF, DID3))
2204 +                     }
2205 + 
2206 +                     Method (_DCS, 0, NotSerialized)
2207 +                     {
2208 +                         TRAP (One)
2209 +                         If (And (CSTE, 0x04))
2210 +                         {
2211 +                             Return (0x1F)
2212 +                         }
2213 + 
2214 +                         Return (0x1D)
2215 +                     }
2216 + 
2217 +                     Method (_DGS, 0, NotSerialized)
2218 +                     {
2219 +                         If (And (NSTE, 0x04))
2220 +                         {
2221 +                             Return (One)
2222 +                         }
2223 + 
2224 +                         Return (Zero)
2225 +                     }
2226 + 
2227 +                     Method (_DSS, 1, NotSerialized)
2228 +                     {
2229 +                         If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
2230 +                         {
2231 +                             Store (NSTE, CSTE)
2232 +                         }
2233 +                     }
2234 +                 }
2235 + 
2236 +                 Device (DD04)
2237 +                 {
2238 +                     Method (_ADR, 0, Serialized)
2239 +                     {
2240 +                         Return (And (0xFFFF, DID4))
2241 +                     }
2242 + 
2243 +                     Method (_DCS, 0, NotSerialized)
2244 +                     {
2245 +                         TRAP (One)
2246 +                         If (And (CSTE, 0x08))
2247 +                         {
2248 +                             Return (0x1F)
2249 +                         }
2250 + 
2251 +                         Return (0x1D)
2252 +                     }
2253 + 
2254 +                     Method (_DGS, 0, NotSerialized)
2255 +                     {
2256 +                         If (And (NSTE, 0x08))
2257 +                         {
2258 +                             Return (One)
2259 +                         }
2260 + 
2261 +                         Return (Zero)
2262 +                     }
2263 + 
2264 +                     Method (_DSS, 1, NotSerialized)
2265 +                     {
2266 +                         If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
2267 +                         {
2268 +                             Store (NSTE, CSTE)
2269 +                         }
2270 +                     }
2271 +                 }
2272 + 
2273 +                 Device (DD05)
2274 +                 {
2275 +                     Method (_ADR, 0, Serialized)
2276 +                     {
2277 +                         Return (And (0xFFFF, DID5))
2278 +                     }
2279 + 
2280 +                     Method (_DCS, 0, NotSerialized)
2281 +                     {
2282 +                         TRAP (One)
2283 +                         If (And (CSTE, 0x10))
2284 +                         {
2285 +                             Return (0x1F)
2286 +                         }
2287 + 
2288 +                         Return (0x1D)
2289 +                     }
2290 + 
2291 +                     Method (_DGS, 0, NotSerialized)
2292 +                     {
2293 +                         If (And (NSTE, 0x10))
2294 +                         {
2295 +                             Return (One)
2296 +                         }
2297 + 
2298 +                         Return (Zero)
2299 +                     }
2300 + 
2301 +                     Method (_DSS, 1, NotSerialized)
2302 +                     {
2303 +                         If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
2304 +                         {
2305 +                             Store (NSTE, CSTE)
2306 +                         }
2307 +                     }
2308 +                 }
2309 +             }
2310 + 
2311 +             Device (HDEF)
2312 +             {
2313 +                 Name (_ADR, 0x001B0000)
2314 +                 Name (_PRW, Package (0x02)
2315 +                 {
2316 +                     0x05,
2317 +                     0x04
2318 +                 })
2319 +             }
2320 + 
2321 +             Device (RP01)
2322 +             {
2323 +                 Name (_ADR, 0x001C0000)
2324 +                 OperationRegion (P1CS, PCI_Config, 0x40, 0x0100)
2325 +                 Field (P1CS, AnyAcc, NoLock, WriteAsZeros)
2326 +                 {
2327 +                     Offset (0x1A),
2328 +                     ABP1,   1,
2329 +                         ,   2,
2330 +                     PDC1,   1,
2331 +                         ,   2,
2332 +                     PDS1,   1,
2333 +                     Offset (0x20),
2334 +                     Offset (0x22),
2335 +                     PSP1,   1,
2336 +                     Offset (0x9C),
2337 +                         ,   30,
2338 +                     HPCS,   1,
2339 +                     PMCS,   1
2340 +                 }
2341 + 
2342 +                 Device (PXS1)
2343 +                 {
2344 +                     Name (_ADR, Zero)
2345 +                     Name (_PRW, Package (0x02)
2346 +                     {
2347 +                         0x09,
2348 +                         0x04
2349 +                     })
2350 +                 }
2351 + 
2352 +                 Method (_PRT, 0, NotSerialized)
2353 +                 {
2354 +                     If (GPIC)
2355 +                     {
2356 +                         Return (Package (0x04)
2357 +                         {
2358 +                             Package (0x04)
2359 +                             {
2360 +                                 0xFFFF,
2361 +                                 Zero,
2362 +                                 Zero,
2363 +                                 0x10
2364 +                             },
2365 + 
2366 +                             Package (0x04)
2367 +                             {
2368 +                                 0xFFFF,
2369 +                                 One,
2370 +                                 Zero,
2371 +                                 0x11
2372 +                             },
2373 + 
2374 +                             Package (0x04)
2375 +                             {
2376 +                                 0xFFFF,
2377 +                                 0x02,
2378 +                                 Zero,
2379 +                                 0x12
2380 +                             },
2381 + 
2382 +                             Package (0x04)
2383 +                             {
2384 +                                 0xFFFF,
2385 +                                 0x03,
2386 +                                 Zero,
2387 +                                 0x13
2388 +                             }
2389 +                         })
2390 +                     }
2391 +                     Else
2392 +                     {
2393 +                         Return (Package (0x04)
2394 +                         {
2395 +                             Package (0x04)
2396 +                             {
2397 +                                 0xFFFF,
2398 +                                 Zero,
2399 +                                 ^^LPCB.LNKA,
2400 +                                 Zero
2401 +                             },
2402 + 
2403 +                             Package (0x04)
2404 +                             {
2405 +                                 0xFFFF,
2406 +                                 One,
2407 +                                 ^^LPCB.LNKB,
2408 +                                 Zero
2409 +                             },
2410 + 
2411 +                             Package (0x04)
2412 +                             {
2413 +                                 0xFFFF,
2414 +                                 0x02,
2415 +                                 ^^LPCB.LNKC,
2416 +                                 Zero
2417 +                             },
2418 + 
2419 +                             Package (0x04)
2420 +                             {
2421 +                                 0xFFFF,
2422 +                                 0x03,
2423 +                                 ^^LPCB.LNKD,
2424 +                                 Zero
2425 +                             }
2426 +                         })
2427 +                     }
2428 +                 }
2429 +             }
2430 + 
2431 +             Device (RP02)
2432 +             {
2433 +                 Name (_ADR, 0x001C0001)
2434 +                 OperationRegion (P2CS, PCI_Config, 0x40, 0x0100)
2435 +                 Field (P2CS, AnyAcc, NoLock, WriteAsZeros)
2436 +                 {
2437 +                     Offset (0x1A),
2438 +                     ABP2,   1,
2439 +                         ,   2,
2440 +                     PDC2,   1,
2441 +                         ,   2,
2442 +                     PDS2,   1,
2443 +                     Offset (0x20),
2444 +                     Offset (0x22),
2445 +                     PSP2,   1,
2446 +                     Offset (0x9C),
2447 +                         ,   30,
2448 +                     HPCS,   1,
2449 +                     PMCS,   1
2450 +                 }
2451 + 
2452 +                 Device (PXS2)
2453 +                 {
2454 +                     Name (_ADR, Zero)
2455 +                     Method (_RMV, 0, NotSerialized)
2456 +                     {
2457 +                         Return (One)
2458 +                     }
2459 + 
2460 +                     Name (_PRW, Package (0x02)
2461 +                     {
2462 +                         0x09,
2463 +                         0x04
2464 +                     })
2465 +                     Name (_EJD, "\\_SB.PCI0.USB7.HUB7.PRT7")
2466 +                 }
2467 + 
2468 +                 Method (_PRT, 0, NotSerialized)
2469 +                 {
2470 +                     If (GPIC)
2471 +                     {
2472 +                         Return (Package (0x04)
2473 +                         {
2474 +                             Package (0x04)
2475 +                             {
2476 +                                 0xFFFF,
2477 +                                 Zero,
2478 +                                 Zero,
2479 +                                 0x11
2480 +                             },
2481 + 
2482 +                             Package (0x04)
2483 +                             {
2484 +                                 0xFFFF,
2485 +                                 One,
2486 +                                 Zero,
2487 +                                 0x12
2488 +                             },
2489 + 
2490 +                             Package (0x04)
2491 +                             {
2492 +                                 0xFFFF,
2493 +                                 0x02,
2494 +                                 Zero,
2495 +                                 0x13
2496 +                             },
2497 + 
2498 +                             Package (0x04)
2499 +                             {
2500 +                                 0xFFFF,
2501 +                                 0x03,
2502 +                                 Zero,
2503 +                                 0x10
2504 +                             }
2505 +                         })
2506 +                     }
2507 +                     Else
2508 +                     {
2509 +                         Return (Package (0x04)
2510 +                         {
2511 +                             Package (0x04)
2512 +                             {
2513 +                                 0xFFFF,
2514 +                                 Zero,
2515 +                                 ^^LPCB.LNKB,
2516 +                                 Zero
2517 +                             },
2518 + 
2519 +                             Package (0x04)
2520 +                             {
2521 +                                 0xFFFF,
2522 +                                 One,
2523 +                                 ^^LPCB.LNKC,
2524 +                                 Zero
2525 +                             },
2526 + 
2527 +                             Package (0x04)
2528 +                             {
2529 +                                 0xFFFF,
2530 +                                 0x02,
2531 +                                 ^^LPCB.LNKD,
2532 +                                 Zero
2533 +                             },
2534 + 
2535 +                             Package (0x04)
2536 +                             {
2537 +                                 0xFFFF,
2538 +                                 0x03,
2539 +                                 ^^LPCB.LNKA,
2540 +                                 Zero
2541 +                             }
2542 +                         })
2543 +                     }
2544 +                 }
2545 +             }
2546 + 
2547 +             Device (RP03)
2548 +             {
2549 +                 Name (_ADR, 0x001C0002)
2550 +                 OperationRegion (P3CS, PCI_Config, 0x40, 0x0100)
2551 +                 Field (P3CS, AnyAcc, NoLock, WriteAsZeros)
2552 +                 {
2553 +                     Offset (0x1A),
2554 +                     ABP3,   1,
2555 +                         ,   2,
2556 +                     PDC3,   1,
2557 +                         ,   2,
2558 +                     PDS3,   1,
2559 +                     Offset (0x20),
2560 +                     Offset (0x22),
2561 +                     PSP3,   1,
2562 +                     Offset (0x9C),
2563 +                         ,   30,
2564 +                     HPCS,   1,
2565 +                     PMCS,   1
2566 +                 }
2567 + 
2568 +                 Device (PXS3)
2569 +                 {
2570 +                     Name (_ADR, Zero)
2571 +                     Method (_RMV, 0, NotSerialized)
2572 +                     {
2573 +                         Return (One)
2574 +                     }
2575 + 
2576 +                     Name (_PRW, Package (0x02)
2577 +                     {
2578 +                         0x09,
2579 +                         0x04
2580 +                     })
2581 +                     Name (_EJD, "\\_SB.PCI0.USB7.HUB7.PRT5")
2582 +                 }
2583 + 
2584 +                 Method (_PRT, 0, NotSerialized)
2585 +                 {
2586 +                     If (GPIC)
2587 +                     {
2588 +                         Return (Package (0x04)
2589 +                         {
2590 +                             Package (0x04)
2591 +                             {
2592 +                                 0xFFFF,
2593 +                                 Zero,
2594 +                                 Zero,
2595 +                                 0x12
2596 +                             },
2597 + 
2598 +                             Package (0x04)
2599 +                             {
2600 +                                 0xFFFF,
2601 +                                 One,
2602 +                                 Zero,
2603 +                                 0x13
2604 +                             },
2605 + 
2606 +                             Package (0x04)
2607 +                             {
2608 +                                 0xFFFF,
2609 +                                 0x02,
2610 +                                 Zero,
2611 +                                 0x10
2612 +                             },
2613 + 
2614 +                             Package (0x04)
2615 +                             {
2616 +                                 0xFFFF,
2617 +                                 0x03,
2618 +                                 Zero,
2619 +                                 0x11
2620 +                             }
2621 +                         })
2622 +                     }
2623 +                     Else
2624 +                     {
2625 +                         Return (Package (0x04)
2626 +                         {
2627 +                             Package (0x04)
2628 +                             {
2629 +                                 0xFFFF,
2630 +                                 Zero,
2631 +                                 ^^LPCB.LNKC,
2632 +                                 Zero
2633 +                             },
2634 + 
2635 +                             Package (0x04)
2636 +                             {
2637 +                                 0xFFFF,
2638 +                                 One,
2639 +                                 ^^LPCB.LNKD,
2640 +                                 Zero
2641 +                             },
2642 + 
2643 +                             Package (0x04)
2644 +                             {
2645 +                                 0xFFFF,
2646 +                                 0x02,
2647 +                                 ^^LPCB.LNKA,
2648 +                                 Zero
2649 +                             },
2650 + 
2651 +                             Package (0x04)
2652 +                             {
2653 +                                 0xFFFF,
2654 +                                 0x03,
2655 +                                 ^^LPCB.LNKB,
2656 +                                 Zero
2657 +                             }
2658 +                         })
2659 +                     }
2660 +                 }
2661 +             }
2662 + 
2663 +             Device (RP04)
2664 +             {
2665 +                 Name (_ADR, 0x001C0003)
2666 +                 OperationRegion (P4CS, PCI_Config, 0x40, 0x0100)
2667 +                 Field (P4CS, AnyAcc, NoLock, WriteAsZeros)
2668 +                 {
2669 +                     Offset (0x1A),
2670 +                     ABP4,   1,
2671 +                         ,   2,
2672 +                     PDC4,   1,
2673 +                         ,   2,
2674 +                     PDS4,   1,
2675 +                     Offset (0x20),
2676 +                     Offset (0x22),
2677 +                     PSP4,   1,
2678 +                     Offset (0x9C),
2679 +                         ,   30,
2680 +                     HPCS,   1,
2681 +                     PMCS,   1
2682 +                 }
2683 + 
2684 +                 Device (PXS4)
2685 +                 {
2686 +                     Name (_ADR, Zero)
2687 +                     Method (_RMV, 0, NotSerialized)
2688 +                     {
2689 +                         Return (One)
2690 +                     }
2691 + 
2692 +                     Name (_PRW, Package (0x02)
2693 +                     {
2694 +                         0x09,
2695 +                         0x04
2696 +                     })
2697 +                     Name (_EJD, "\\_SB.PCI0.USB7.HUB7.PRT3")
2698 +                 }
2699 + 
2700 +                 Method (_PRT, 0, NotSerialized)
2701 +                 {
2702 +                     If (GPIC)
2703 +                     {
2704 +                         Return (Package (0x04)
2705 +                         {
2706 +                             Package (0x04)
2707 +                             {
2708 +                                 0xFFFF,
2709 +                                 Zero,
2710 +                                 Zero,
2711 +                                 0x13
2712 +                             },
2713 + 
2714 +                             Package (0x04)
2715 +                             {
2716 +                                 0xFFFF,
2717 +                                 One,
2718 +                                 Zero,
2719 +                                 0x10
2720 +                             },
2721 + 
2722 +                             Package (0x04)
2723 +                             {
2724 +                                 0xFFFF,
2725 +                                 0x02,
2726 +                                 Zero,
2727 +                                 0x11
2728 +                             },
2729 + 
2730 +                             Package (0x04)
2731 +                             {
2732 +                                 0xFFFF,
2733 +                                 0x03,
2734 +                                 Zero,
2735 +                                 0x12
2736 +                             }
2737 +                         })
2738 +                     }
2739 +                     Else
2740 +                     {
2741 +                         Return (Package (0x04)
2742 +                         {
2743 +                             Package (0x04)
2744 +                             {
2745 +                                 0xFFFF,
2746 +                                 Zero,
2747 +                                 ^^LPCB.LNKD,
2748 +                                 Zero
2749 +                             },
2750 + 
2751 +                             Package (0x04)
2752 +                             {
2753 +                                 0xFFFF,
2754 +                                 One,
2755 +                                 ^^LPCB.LNKA,
2756 +                                 Zero
2757 +                             },
2758 + 
2759 +                             Package (0x04)
2760 +                             {
2761 +                                 0xFFFF,
2762 +                                 0x02,
2763 +                                 ^^LPCB.LNKB,
2764 +                                 Zero
2765 +                             },
2766 + 
2767 +                             Package (0x04)
2768 +                             {
2769 +                                 0xFFFF,
2770 +                                 0x03,
2771 +                                 ^^LPCB.LNKC,
2772 +                                 Zero
2773 +                             }
2774 +                         })
2775 +                     }
2776 +                 }
2777 +             }
2778 + 
2779 +             Device (RP05)
2780 +             {
2781 +                 Name (_ADR, 0x001C0004)
2782 +                 OperationRegion (P5CS, PCI_Config, 0x40, 0x0100)
2783 +                 Field (P5CS, AnyAcc, NoLock, WriteAsZeros)
2784 +                 {
2785 +                     Offset (0x1A),
2786 +                     ABP5,   1,
2787 +                         ,   2,
2788 +                     PDC5,   1,
2789 +                         ,   2,
2790 +                     PDS5,   1,
2791 +                     Offset (0x20),
2792 +                     Offset (0x22),
2793 +                     PSP5,   1,
2794 +                     Offset (0x9C),
2795 +                         ,   30,
2796 +                     HPCS,   1,
2797 +                     PMCS,   1
2798 +                 }
2799 + 
2800 +                 Device (PXS5)
2801 +                 {
2802 +                     Name (_ADR, Zero)
2803 +                     Name (_PRW, Package (0x02)
2804 +                     {
2805 +                         0x09,
2806 +                         0x04
2807 +                     })
2808 +                 }
2809 + 
2810 +                 Method (_PRT, 0, NotSerialized)
2811 +                 {
2812 +                     If (GPIC)
2813 +                     {
2814 +                         Return (Package (0x04)
2815 +                         {
2816 +                             Package (0x04)
2817 +                             {
2818 +                                 0xFFFF,
2819 +                                 Zero,
2820 +                                 Zero,
2821 +                                 0x10
2822 +                             },
2823 + 
2824 +                             Package (0x04)
2825 +                             {
2826 +                                 0xFFFF,
2827 +                                 One,
2828 +                                 Zero,
2829 +                                 0x11
2830 +                             },
2831 + 
2832 +                             Package (0x04)
2833 +                             {
2834 +                                 0xFFFF,
2835 +                                 0x02,
2836 +                                 Zero,
2837 +                                 0x12
2838 +                             },
2839 + 
2840 +                             Package (0x04)
2841 +                             {
2842 +                                 0xFFFF,
2843 +                                 0x03,
2844 +                                 Zero,
2845 +                                 0x13
2846 +                             }
2847 +                         })
2848 +                     }
2849 +                     Else
2850 +                     {
2851 +                         Return (Package (0x04)
2852 +                         {
2853 +                             Package (0x04)
2854 +                             {
2855 +                                 0xFFFF,
2856 +                                 Zero,
2857 +                                 ^^LPCB.LNKA,
2858 +                                 Zero
2859 +                             },
2860 + 
2861 +                             Package (0x04)
2862 +                             {
2863 +                                 0xFFFF,
2864 +                                 One,
2865 +                                 ^^LPCB.LNKB,
2866 +                                 Zero
2867 +                             },
2868 + 
2869 +                             Package (0x04)
2870 +                             {
2871 +                                 0xFFFF,
2872 +                                 0x02,
2873 +                                 ^^LPCB.LNKC,
2874 +                                 Zero
2875 +                             },
2876 + 
2877 +                             Package (0x04)
2878 +                             {
2879 +                                 0xFFFF,
2880 +                                 0x03,
2881 +                                 ^^LPCB.LNKD,
2882 +                                 Zero
2883 +                             }
2884 +                         })
2885 +                     }
2886 +                 }
2887 +             }
2888 + 
2889 +             Device (RP06)
2890 +             {
2891 +                 Name (_ADR, 0x001C0005)
2892 +                 OperationRegion (P6CS, PCI_Config, 0x40, 0x0100)
2893 +                 Field (P6CS, AnyAcc, NoLock, WriteAsZeros)
2894 +                 {
2895 +                     Offset (0x1A),
2896 +                     ABP6,   1,
2897 +                         ,   2,
2898 +                     PDC6,   1,
2899 +                         ,   2,
2900 +                     PDS6,   1,
2901 +                     Offset (0x20),
2902 +                     Offset (0x22),
2903 +                     PSP6,   1,
2904 +                     Offset (0x9C),
2905 +                         ,   30,
2906 +                     HPCS,   1,
2907 +                     PMCS,   1
2908 +                 }
2909 + 
2910 +                 Device (PXS6)
2911 +                 {
2912 +                     Name (_ADR, Zero)
2913 +                     Name (_PRW, Package (0x02)
2914 +                     {
2915 +                         0x09,
2916 +                         0x04
2917 +                     })
2918 +                 }
2919 + 
2920 +                 Method (_PRT, 0, NotSerialized)
2921 +                 {
2922 +                     If (GPIC)
2923 +                     {
2924 +                         Return (Package (0x04)
2925 +                         {
2926 +                             Package (0x04)
2927 +                             {
2928 +                                 0xFFFF,
2929 +                                 Zero,
2930 +                                 Zero,
2931 +                                 0x11
2932 +                             },
2933 + 
2934 +                             Package (0x04)
2935 +                             {
2936 +                                 0xFFFF,
2937 +                                 One,
2938 +                                 Zero,
2939 +                                 0x12
2940 +                             },
2941 + 
2942 +                             Package (0x04)
2943 +                             {
2944 +                                 0xFFFF,
2945 +                                 0x02,
2946 +                                 Zero,
2947 +                                 0x13
2948 +                             },
2949 + 
2950 +                             Package (0x04)
2951 +                             {
2952 +                                 0xFFFF,
2953 +                                 0x03,
2954 +                                 Zero,
2955 +                                 0x10
2956 +                             }
2957 +                         })
2958 +                     }
2959 +                     Else
2960 +                     {
2961 +                         Return (Package (0x04)
2962 +                         {
2963 +                             Package (0x04)
2964 +                             {
2965 +                                 0xFFFF,
2966 +                                 Zero,
2967 +                                 ^^LPCB.LNKB,
2968 +                                 Zero
2969 +                             },
2970 + 
2971 +                             Package (0x04)
2972 +                             {
2973 +                                 0xFFFF,
2974 +                                 One,
2975 +                                 ^^LPCB.LNKC,
2976 +                                 Zero
2977 +                             },
2978 + 
2979 +                             Package (0x04)
2980 +                             {
2981 +                                 0xFFFF,
2982 +                                 0x02,
2983 +                                 ^^LPCB.LNKD,
2984 +                                 Zero
2985 +                             },
2986 + 
2987 +                             Package (0x04)
2988 +                             {
2989 +                                 0xFFFF,
2990 +                                 0x03,
2991 +                                 ^^LPCB.LNKA,
2992 +                                 Zero
2993 +                             }
2994 +                         })
2995 +                     }
2996 +                 }
2997 +             }
2998 + 
2999 +             Device (USB1)
3000 +             {
3001 +                 Name (_ADR, 0x001D0000)
3002 +                 Device (HUB1)
3003 +                 {
3004 +                     Name (_ADR, Zero)
3005 +                     Device (PRT1)
3006 +                     {
3007 +                         Name (_ADR, One)
3008 +                     }
3009 + 
3010 +                     Device (PRT2)
3011 +                     {
3012 +                         Name (_ADR, 0x02)
3013 +                     }
3014 +                 }
3015 + 
3016 +                 OperationRegion (U1CS, PCI_Config, 0xC4, 0x04)
3017 +                 Field (U1CS, DWordAcc, NoLock, Preserve)
3018 +                 {
3019 +                     U1EN,   2
3020 +                 }
3021 + 
3022 +                 Name (_PRW, Package (0x02)
3023 +                 {
3024 +                     0x03,
3025 +                     0x04
3026 +                 })
3027 +                 Method (_PSW, 1, NotSerialized)
3028 +                 {
3029 +                     If (Arg0)
3030 +                     {
3031 +                         Store (0x03, U1EN)
3032 +                     }
3033 +                     Else
3034 +                     {
3035 +                         Store (Zero, U1EN)
3036 +                     }
3037 +                 }
3038 +             }
3039 + 
3040 +             Device (USB2)
3041 +             {
3042 +                 Name (_ADR, 0x001D0001)
3043 +                 Device (HUB2)
3044 +                 {
3045 +                     Name (_ADR, Zero)
3046 +                     Device (PRT1)
3047 +                     {
3048 +                         Name (_ADR, One)
3049 +                         Name (_EJD, "\\_SB.PCI0.RP04.PXS4")
3050 +                     }
3051 + 
3052 +                     Device (PRT2)
3053 +                     {
3054 +                         Name (_ADR, 0x02)
3055 +                     }
3056 +                 }
3057 + 
3058 +                 OperationRegion (U2CS, PCI_Config, 0xC4, 0x04)
3059 +                 Field (U2CS, DWordAcc, NoLock, Preserve)
3060 +                 {
3061 +                     U2EN,   2
3062 +                 }
3063 + 
3064 +                 Name (_PRW, Package (0x02)
3065 +                 {
3066 +                     0x04,
3067 +                     0x04
3068 +                 })
3069 +                 Method (_PSW, 1, NotSerialized)
3070 +                 {
3071 +                     If (Arg0)
3072 +                     {
3073 +                         Store (0x03, U2EN)
3074 +                     }
3075 +                     Else
3076 +                     {
3077 +                         Store (Zero, U2EN)
3078 +                     }
3079 +                 }
3080 +             }
3081 + 
3082 +             Device (USB3)
3083 +             {
3084 +                 Name (_ADR, 0x001D0002)
3085 +                 Device (HUB3)
3086 +                 {
3087 +                     Name (_ADR, Zero)
3088 +                     Device (PRT1)
3089 +                     {
3090 +                         Name (_ADR, One)
3091 +                         Name (_EJD, "\\_SB.PCI0.RP03.PXS3")
3092 +                     }
3093 + 
3094 +                     Device (PRT2)
3095 +                     {
3096 +                         Name (_ADR, 0x02)
3097 +                     }
3098 +                 }
3099 + 
3100 +                 OperationRegion (U2CS, PCI_Config, 0xC4, 0x04)
3101 +                 Field (U2CS, DWordAcc, NoLock, Preserve)
3102 +                 {
3103 +                     U3EN,   2
3104 +                 }
3105 + 
3106 +                 Name (_PRW, Package (0x02)
3107 +                 {
3108 +                     0x0C,
3109 +                     0x04
3110 +                 })
3111 +                 Method (_PSW, 1, NotSerialized)
3112 +                 {
3113 +                     If (Arg0)
3114 +                     {
3115 +                         Store (0x03, U3EN)
3116 +                     }
3117 +                     Else
3118 +                     {
3119 +                         Store (Zero, U3EN)
3120 +                     }
3121 +                 }
3122 +             }
3123 + 
3124 +             Device (USB4)
3125 +             {
3126 +                 Name (_ADR, 0x001D0003)
3127 +                 Device (HUB4)
3128 +                 {
3129 +                     Name (_ADR, Zero)
3130 +                     Device (PRT1)
3131 +                     {
3132 +                         Name (_ADR, One)
3133 +                         Name (_EJD, "\\_SB.PCI0.RP02.PXS2")
3134 +                     }
3135 + 
3136 +                     Device (PRT2)
3137 +                     {
3138 +                         Name (_ADR, 0x02)
3139 +                     }
3140 +                 }
3141 + 
3142 +                 OperationRegion (U4CS, PCI_Config, 0xC4, 0x04)
3143 +                 Field (U4CS, DWordAcc, NoLock, Preserve)
3144 +                 {
3145 +                     U4EN,   2
3146 +                 }
3147 + 
3148 +                 Name (_PRW, Package (0x02)
3149 +                 {
3150 +                     0x0E,
3151 +                     0x04
3152 +                 })
3153 +                 Method (_PSW, 1, NotSerialized)
3154 +                 {
3155 +                     If (Arg0)
3156 +                     {
3157 +                         Store (0x03, U4EN)
3158 +                     }
3159 +                     Else
3160 +                     {
3161 +                         Store (Zero, U4EN)
3162 +                     }
3163 +                 }
3164 +             }
3165 + 
3166 +             Device (USB7)
3167 +             {
3168 +                 Name (_ADR, 0x001D0007)
3169 +                 Device (HUB7)
3170 +                 {
3171 +                     Name (_ADR, Zero)
3172 +                     Device (PRT1)
3173 +                     {
3174 +                         Name (_ADR, One)
3175 +                     }
3176 + 
3177 +                     Device (PRT2)
3178 +                     {
3179 +                         Name (_ADR, 0x02)
3180 +                     }
3181 + 
3182 +                     Device (PRT3)
3183 +                     {
3184 +                         Name (_ADR, 0x03)
3185 +                         Name (_EJD, "\\_SB.PCI0.RP04.PXS4")
3186 +                     }
3187 + 
3188 +                     Device (PRT4)
3189 +                     {
3190 +                         Name (_ADR, 0x04)
3191 +                     }
3192 + 
3193 +                     Device (PRT5)
3194 +                     {
3195 +                         Name (_ADR, 0x05)
3196 +                         Name (_EJD, "\\_SB.PCI0.RP03.PXS3")
3197 +                     }
3198 + 
3199 +                     Device (PRT6)
3200 +                     {
3201 +                         Name (_ADR, 0x06)
3202 +                     }
3203 + 
3204 +                     Device (PRT7)
3205 +                     {
3206 +                         Name (_ADR, 0x07)
3207 +                         Name (_EJD, "\\_SB.PCI0.RP02.PXS2")
3208 +                     }
3209 + 
3210 +                     Device (PRT8)
3211 +                     {
3212 +                         Name (_ADR, 0x08)
3213 +                     }
3214 +                 }
3215 + 
3216 +                 Name (_PRW, Package (0x02)
3217 +                 {
3218 +                     0x0D,
3219 +                     0x04
3220 +                 })
3221 +             }
3222 + 
3223 +             Device (PCIB)
3224 +             {
3225 +                 Name (_ADR, 0x001E0000)
3226 +                 Device (SLT0)
3227 +                 {
3228 +                     Name (_ADR, Zero)
3229 +                     Name (_PRW, Package (0x02)
3230 +                     {
3231 +                         0x0B,
3232 +                         0x04
3233 +                     })
3234 +                 }
3235 + 
3236 +                 Device (SLT1)
3237 +                 {
3238 +                     Name (_ADR, 0x00010000)
3239 +                     Name (_PRW, Package (0x02)
3240 +                     {
3241 +                         0x0B,
3242 +                         0x04
3243 +                     })
3244 +                 }
3245 + 
3246 +                 Device (SLT2)
3247 +                 {
3248 +                     Name (_ADR, 0x00020000)
3249 +                     Name (_PRW, Package (0x02)
3250 +                     {
3251 +                         0x0B,
3252 +                         0x04
3253 +                     })
3254 +                 }
3255 + 
3256 +                 Device (SLT3)
3257 +                 {
3258 +                     Name (_ADR, 0x00030000)
3259 +                     Name (_PRW, Package (0x02)
3260 +                     {
3261 +                         0x0B,
3262 +                         0x04
3263 +                     })
3264 +                 }
3265 + 
3266 +                 Device (SLT6)
3267 +                 {
3268 +                     Name (_ADR, 0x00050000)
3269 +                     Name (_PRW, Package (0x02)
3270 +                     {
3271 +                         0x0B,
3272 +                         0x04
3273 +                     })
3274 +                 }
3275 + 
3276 +                 Device (LANC)
3277 +                 {
3278 +                     Name (_ADR, 0x00080000)
3279 +                     Name (_PRW, Package (0x02)
3280 +                     {
3281 +                         0x0B,
3282 +                         0x04
3283 +                     })
3284 +                 }
3285 + 
3286 +                 Method (_PRT, 0, NotSerialized)
3287 +                 {
3288 +                     If (GPIC)
3289 +                     {
3290 +                         Return (Package (0x15)
3291 +                         {
3292 +                             Package (0x04)
3293 +                             {
3294 +                                 0xFFFF,
3295 +                                 Zero,
3296 +                                 Zero,
3297 +                                 0x15
3298 +                             },
3299 + 
3300 +                             Package (0x04)
3301 +                             {
3302 +                                 0xFFFF,
3303 +                                 One,
3304 +                                 Zero,
3305 +                                 0x16
3306 +                             },
3307 + 
3308 +                             Package (0x04)
3309 +                             {
3310 +                                 0xFFFF,
3311 +                                 0x02,
3312 +                                 Zero,
3313 +                                 0x17
3314 +                             },
3315 + 
3316 +                             Package (0x04)
3317 +                             {
3318 +                                 0xFFFF,
3319 +                                 0x03,
3320 +                                 Zero,
3321 +                                 0x14
3322 +                             },
3323 + 
3324 +                             Package (0x04)
3325 +                             {
3326 +                                 0x0001FFFF,
3327 +                                 Zero,
3328 +                                 Zero,
3329 +                                 0x16
3330 +                             },
3331 + 
3332 +                             Package (0x04)
3333 +                             {
3334 +                                 0x0001FFFF,
3335 +                                 One,
3336 +                                 Zero,
3337 +                                 0x15
3338 +                             },
3339 + 
3340 +                             Package (0x04)
3341 +                             {
3342 +                                 0x0001FFFF,
3343 +                                 0x02,
3344 +                                 Zero,
3345 +                                 0x14
3346 +                             },
3347 + 
3348 +                             Package (0x04)
3349 +                             {
3350 +                                 0x0001FFFF,
3351 +                                 0x03,
3352 +                                 Zero,
3353 +                                 0x17
3354 +                             },
3355 + 
3356 +                             Package (0x04)
3357 +                             {
3358 +                                 0x0002FFFF,
3359 +                                 Zero,
3360 +                                 Zero,
3361 +                                 0x12
3362 +                             },
3363 + 
3364 +                             Package (0x04)
3365 +                             {
3366 +                                 0x0002FFFF,
3367 +                                 One,
3368 +                                 Zero,
3369 +                                 0x13
3370 +                             },
3371 + 
3372 +                             Package (0x04)
3373 +                             {
3374 +                                 0x0002FFFF,
3375 +                                 0x02,
3376 +                                 Zero,
3377 +                                 0x11
3378 +                             },
3379 + 
3380 +                             Package (0x04)
3381 +                             {
3382 +                                 0x0002FFFF,
3383 +                                 0x03,
3384 +                                 Zero,
3385 +                                 0x10
3386 +                             },
3387 + 
3388 +                             Package (0x04)
3389 +                             {
3390 +                                 0x0003FFFF,
3391 +                                 Zero,
3392 +                                 Zero,
3393 +                                 0x13
3394 +                             },
3395 + 
3396 +                             Package (0x04)
3397 +                             {
3398 +                                 0x0003FFFF,
3399 +                                 One,
3400 +                                 Zero,
3401 +                                 0x12
3402 +                             },
3403 + 
3404 +                             Package (0x04)
3405 +                             {
3406 +                                 0x0003FFFF,
3407 +                                 0x02,
3408 +                                 Zero,
3409 +                                 0x15
3410 +                             },
3411 + 
3412 +                             Package (0x04)
3413 +                             {
3414 +                                 0x0003FFFF,
3415 +                                 0x03,
3416 +                                 Zero,
3417 +                                 0x16
3418 +                             },
3419 + 
3420 +                             Package (0x04)
3421 +                             {
3422 +                                 0x0005FFFF,
3423 +                                 Zero,
3424 +                                 Zero,
3425 +                                 0x11
3426 +                             },
3427 + 
3428 +                             Package (0x04)
3429 +                             {
3430 +                                 0x0005FFFF,
3431 +                                 One,
3432 +                                 Zero,
3433 +                                 0x14
3434 +                             },
3435 + 
3436 +                             Package (0x04)
3437 +                             {
3438 +                                 0x0005FFFF,
3439 +                                 0x02,
3440 +                                 Zero,
3441 +                                 0x16
3442 +                             },
3443 + 
3444 +                             Package (0x04)
3445 +                             {
3446 +                                 0x0005FFFF,
3447 +                                 0x03,
3448 +                                 Zero,
3449 +                                 0x15
3450 +                             },
3451 + 
3452 +                             Package (0x04)
3453 +                             {
3454 +                                 0x0008FFFF,
3455 +                                 Zero,
3456 +                                 Zero,
3457 +                                 0x14
3458 +                             }
3459 +                         })
3460 +                     }
3461 +                     Else
3462 +                     {
3463 +                         Return (Package (0x15)
3464 +                         {
3465 +                             Package (0x04)
3466 +                             {
3467 +                                 0xFFFF,
3468 +                                 Zero,
3469 +                                 ^^LPCB.LNKF,
3470 +                                 Zero
3471 +                             },
3472 + 
3473 +                             Package (0x04)
3474 +                             {
3475 +                                 0xFFFF,
3476 +                                 One,
3477 +                                 ^^LPCB.LNKG,
3478 +                                 Zero
3479 +                             },
3480 + 
3481 +                             Package (0x04)
3482 +                             {
3483 +                                 0xFFFF,
3484 +                                 0x02,
3485 +                                 ^^LPCB.LNKH,
3486 +                                 Zero
3487 +                             },
3488 + 
3489 +                             Package (0x04)
3490 +                             {
3491 +                                 0xFFFF,
3492 +                                 0x03,
3493 +                                 ^^LPCB.LNKE,
3494 +                                 Zero
3495 +                             },
3496 + 
3497 +                             Package (0x04)
3498 +                             {
3499 +                                 0x0001FFFF,
3500 +                                 Zero,
3501 +                                 ^^LPCB.LNKG,
3502 +                                 Zero
3503 +                             },
3504 + 
3505 +                             Package (0x04)
3506 +                             {
3507 +                                 0x0001FFFF,
3508 +                                 One,
3509 +                                 ^^LPCB.LNKF,
3510 +                                 Zero
3511 +                             },
3512 + 
3513 +                             Package (0x04)
3514 +                             {
3515 +                                 0x0001FFFF,
3516 +                                 0x02,
3517 +                                 ^^LPCB.LNKE,
3518 +                                 Zero
3519 +                             },
3520 + 
3521 +                             Package (0x04)
3522 +                             {
3523 +                                 0x0001FFFF,
3524 +                                 0x03,
3525 +                                 ^^LPCB.LNKH,
3526 +                                 Zero
3527 +                             },
3528 + 
3529 +                             Package (0x04)
3530 +                             {
3531 +                                 0x0002FFFF,
3532 +                                 Zero,
3533 +                                 ^^LPCB.LNKC,
3534 +                                 Zero
3535 +                             },
3536 + 
3537 +                             Package (0x04)
3538 +                             {
3539 +                                 0x0002FFFF,
3540 +                                 One,
3541 +                                 ^^LPCB.LNKD,
3542 +                                 Zero
3543 +                             },
3544 + 
3545 +                             Package (0x04)
3546 +                             {
3547 +                                 0x0002FFFF,
3548 +                                 0x02,
3549 +                                 ^^LPCB.LNKB,
3550 +                                 Zero
3551 +                             },
3552 + 
3553 +                             Package (0x04)
3554 +                             {
3555 +                                 0x0002FFFF,
3556 +                                 0x03,
3557 +                                 ^^LPCB.LNKA,
3558 +                                 Zero
3559 +                             },
3560 + 
3561 +                             Package (0x04)
3562 +                             {
3563 +                                 0x0003FFFF,
3564 +                                 Zero,
3565 +                                 ^^LPCB.LNKD,
3566 +                                 Zero
3567 +                             },
3568 + 
3569 +                             Package (0x04)
3570 +                             {
3571 +                                 0x0003FFFF,
3572 +                                 One,
3573 +                                 ^^LPCB.LNKC,
3574 +                                 Zero
3575 +                             },
3576 + 
3577 +                             Package (0x04)
3578 +                             {
3579 +                                 0x0003FFFF,
3580 +                                 0x02,
3581 +                                 ^^LPCB.LNKF,
3582 +                                 Zero
3583 +                             },
3584 + 
3585 +                             Package (0x04)
3586 +                             {
3587 +                                 0x0003FFFF,
3588 +                                 0x03,
3589 +                                 ^^LPCB.LNKG,
3590 +                                 Zero
3591 +                             },
3592 + 
3593 +                             Package (0x04)
3594 +                             {
3595 +                                 0x0005FFFF,
3596 +                                 Zero,
3597 +                                 ^^LPCB.LNKB,
3598 +                                 Zero
3599 +                             },
3600 + 
3601 +                             Package (0x04)
3602 +                             {
3603 +                                 0x0005FFFF,
3604 +                                 One,
3605 +                                 ^^LPCB.LNKE,
3606 +                                 Zero
3607 +                             },
3608 + 
3609 +                             Package (0x04)
3610 +                             {
3611 +                                 0x0005FFFF,
3612 +                                 0x02,
3613 +                                 ^^LPCB.LNKG,
3614 +                                 Zero
3615 +                             },
3616 + 
3617 +                             Package (0x04)
3618 +                             {
3619 +                                 0x0005FFFF,
3620 +                                 0x03,
3621 +                                 ^^LPCB.LNKF,
3622 +                                 Zero
3623 +                             },
3624 + 
3625 +                             Package (0x04)
3626 +                             {
3627 +                                 0x0008FFFF,
3628 +                                 Zero,
3629 +                                 ^^LPCB.LNKE,
3630 +                                 Zero
3631 +                             }
3632 +                         })
3633 +                     }
3634 +                 }
3635 +             }
3636 + 
3637 +             Device (AUD0)
3638 +             {
3639 +                 Name (_ADR, 0x001E0002)
3640 +             }
3641 + 
3642 +             Device (MODM)
3643 +             {
3644 +                 Name (_ADR, 0x001E0003)
3645 +                 Name (_PRW, Package (0x02)
3646 +                 {
3647 +                     0x05,
3648 +                     0x04
3649 +                 })
3650 +             }
3651 + 
3652 +             Device (LPCB)
3653 +             {
3654 +                 Name (_ADR, 0x001F0000)
3655 +                 OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)
3656 +                 Field (LPC0, AnyAcc, NoLock, Preserve)
3657 +                 {
3658 +                     Offset (0x20),
3659 +                     PARC,   8,
3660 +                     PBRC,   8,
3661 +                     PCRC,   8,
3662 +                     PDRC,   8,
3663 +                     Offset (0x28),
3664 +                     PERC,   8,
3665 +                     PFRC,   8,
3666 +                     PGRC,   8,
3667 +                     PHRC,   8,
3668 +                     Offset (0x40),
3669 +                     IOD0,   8,
3670 +                     IOD1,   8
3671 +                 }
3672 + 
3673 +                 Device (LNKA)
3674 +                 {
3675 +                     Name (_HID, EisaId ("PNP0C0F"))
3676 +                     Name (_UID, One)
3677 +                     Method (_DIS, 0, Serialized)
3678 +                     {
3679 +                         Store (0x80, PARC)
3680 +                     }
3681 + 
3682 +                     Name (_PRS, ResourceTemplate ()
3683 +                     {
3684 +                         IRQ (Level, ActiveLow, Shared)
3685 +                             {1,3,4,5,6,7,10,12,14,15}
3686 +                     })
3687 +                     Method (_CRS, 0, Serialized)
3688 +                     {
3689 +                         Name (RTLA, ResourceTemplate ()
3690 +                         {
3691 +                             IRQ (Level, ActiveLow, Shared)
3692 +                                 {}
3693 +                         })
3694 +                         CreateWordField (RTLA, One, IRQ0)
3695 +                         Store (Zero, IRQ0)
3696 +                         ShiftLeft (One, And (PARC, 0x0F), IRQ0)
3697 +                         Return (RTLA)
3698 +                     }
3699 + 
3700 +                     Method (_SRS, 1, Serialized)
3701 +                     {
3702 +                         CreateWordField (Arg0, One, IRQ0)
3703 +                         FindSetRightBit (IRQ0, Local0)
3704 +                         Decrement (Local0)
3705 +                         Store (Local0, PARC)
3706 +                     }
3707 + 
3708 +                     Method (_STA, 0, Serialized)
3709 +                     {
3710 +                         If (And (PARC, 0x80))
3711 +                         {
3712 +                             Return (0x09)
3713 +                         }
3714 +                         Else
3715 +                         {
3716 +                             Return (0x0B)
3717 +                         }
3718 +                     }
3719 +                 }
3720 + 
3721 +                 Device (LNKB)
3722 +                 {
3723 +                     Name (_HID, EisaId ("PNP0C0F"))
3724 +                     Name (_UID, 0x02)
3725 +                     Method (_DIS, 0, Serialized)
3726 +                     {
3727 +                         Store (0x80, PBRC)
3728 +                     }
3729 + 
3730 +                     Name (_PRS, ResourceTemplate ()
3731 +                     {
3732 +                         IRQ (Level, ActiveLow, Shared)
3733 +                             {1,3,4,5,6,7,11,12,14,15}
3734 +                     })
3735 +                     Method (_CRS, 0, Serialized)
3736 +                     {
3737 +                         Name (RTLB, ResourceTemplate ()
3738 +                         {
3739 +                             IRQ (Level, ActiveLow, Shared)
3740 +                                 {}
3741 +                         })
3742 +                         CreateWordField (RTLB, One, IRQ0)
3743 +                         Store (Zero, IRQ0)
3744 +                         ShiftLeft (One, And (PBRC, 0x0F), IRQ0)
3745 +                         Return (RTLB)
3746 +                     }
3747 + 
3748 +                     Method (_SRS, 1, Serialized)
3749 +                     {
3750 +                         CreateWordField (Arg0, One, IRQ0)
3751 +                         FindSetRightBit (IRQ0, Local0)
3752 +                         Decrement (Local0)
3753 +                         Store (Local0, PBRC)
3754 +                     }
3755 + 
3756 +                     Method (_STA, 0, Serialized)
3757 +                     {
3758 +                         If (And (PBRC, 0x80))
3759 +                         {
3760 +                             Return (0x09)
3761 +                         }
3762 +                         Else
3763 +                         {
3764 +                             Return (0x0B)
3765 +                         }
3766 +                     }
3767 +                 }
3768 + 
3769 +                 Device (LNKC)
3770 +                 {
3771 +                     Name (_HID, EisaId ("PNP0C0F"))
3772 +                     Name (_UID, 0x03)
3773 +                     Method (_DIS, 0, Serialized)
3774 +                     {
3775 +                         Store (0x80, PCRC)
3776 +                     }
3777 + 
3778 +                     Name (_PRS, ResourceTemplate ()
3779 +                     {
3780 +                         IRQ (Level, ActiveLow, Shared)
3781 +                             {1,3,4,5,6,7,10,12,14,15}
3782 +                     })
3783 +                     Method (_CRS, 0, Serialized)
3784 +                     {
3785 +                         Name (RTLC, ResourceTemplate ()
3786 +                         {
3787 +                             IRQ (Level, ActiveLow, Shared)
3788 +                                 {}
3789 +                         })
3790 +                         CreateWordField (RTLC, One, IRQ0)
3791 +                         Store (Zero, IRQ0)
3792 +                         ShiftLeft (One, And (PCRC, 0x0F), IRQ0)
3793 +                         Return (RTLC)
3794 +                     }
3795 + 
3796 +                     Method (_SRS, 1, Serialized)
3797 +                     {
3798 +                         CreateWordField (Arg0, One, IRQ0)
3799 +                         FindSetRightBit (IRQ0, Local0)
3800 +                         Decrement (Local0)
3801 +                         Store (Local0, PCRC)
3802 +                     }
3803 + 
3804 +                     Method (_STA, 0, Serialized)
3805 +                     {
3806 +                         If (And (PCRC, 0x80))
3807 +                         {
3808 +                             Return (0x09)
3809 +                         }
3810 +                         Else
3811 +                         {
3812 +                             Return (0x0B)
3813 +                         }
3814 +                     }
3815 +                 }
3816 + 
3817 +                 Device (LNKD)
3818 +                 {
3819 +                     Name (_HID, EisaId ("PNP0C0F"))
3820 +                     Name (_UID, 0x04)
3821 +                     Method (_DIS, 0, Serialized)
3822 +                     {
3823 +                         Store (0x80, PDRC)
3824 +                     }
3825 + 
3826 +                     Name (_PRS, ResourceTemplate ()
3827 +                     {
3828 +                         IRQ (Level, ActiveLow, Shared)
3829 +                             {1,3,4,5,6,7,11,12,14,15}
3830 +                     })
3831 +                     Method (_CRS, 0, Serialized)
3832 +                     {
3833 +                         Name (RTLD, ResourceTemplate ()
3834 +                         {
3835 +                             IRQ (Level, ActiveLow, Shared)
3836 +                                 {}
3837 +                         })
3838 +                         CreateWordField (RTLD, One, IRQ0)
3839 +                         Store (Zero, IRQ0)
3840 +                         ShiftLeft (One, And (PDRC, 0x0F), IRQ0)
3841 +                         Return (RTLD)
3842 +                     }
3843 + 
3844 +                     Method (_SRS, 1, Serialized)
3845 +                     {
3846 +                         CreateWordField (Arg0, One, IRQ0)
3847 +                         FindSetRightBit (IRQ0, Local0)
3848 +                         Decrement (Local0)
3849 +                         Store (Local0, PDRC)
3850 +                     }
3851 + 
3852 +                     Method (_STA, 0, Serialized)
3853 +                     {
3854 +                         If (And (PDRC, 0x80))
3855 +                         {
3856 +                             Return (0x09)
3857 +                         }
3858 +                         Else
3859 +                         {
3860 +                             Return (0x0B)
3861 +                         }
3862 +                     }
3863 +                 }
3864 + 
3865 +                 Device (LNKE)
3866 +                 {
3867 +                     Name (_HID, EisaId ("PNP0C0F"))
3868 +                     Name (_UID, 0x05)
3869 +                     Method (_DIS, 0, Serialized)
3870 +                     {
3871 +                         Store (0x80, PERC)
3872 +                     }
3873 + 
3874 +                     Name (_PRS, ResourceTemplate ()
3875 +                     {
3876 +                         IRQ (Level, ActiveLow, Shared)
3877 +                             {1,3,4,5,6,7,10,12,14,15}
3878 +                     })
3879 +                     Method (_CRS, 0, Serialized)
3880 +                     {
3881 +                         Name (RTLE, ResourceTemplate ()
3882 +                         {
3883 +                             IRQ (Level, ActiveLow, Shared)
3884 +                                 {}
3885 +                         })
3886 +                         CreateWordField (RTLE, One, IRQ0)
3887 +                         Store (Zero, IRQ0)
3888 +                         ShiftLeft (One, And (PERC, 0x0F), IRQ0)
3889 +                         Return (RTLE)
3890 +                     }
3891 + 
3892 +                     Method (_SRS, 1, Serialized)
3893 +                     {
3894 +                         CreateWordField (Arg0, One, IRQ0)
3895 +                         FindSetRightBit (IRQ0, Local0)
3896 +                         Decrement (Local0)
3897 +                         Store (Local0, PERC)
3898 +                     }
3899 + 
3900 +                     Method (_STA, 0, Serialized)
3901 +                     {
3902 +                         If (And (PERC, 0x80))
3903 +                         {
3904 +                             Return (0x09)
3905 +                         }
3906 +                         Else
3907 +                         {
3908 +                             Return (0x0B)
3909 +                         }
3910 +                     }
3911 +                 }
3912 + 
3913 +                 Device (LNKF)
3914 +                 {
3915 +                     Name (_HID, EisaId ("PNP0C0F"))
3916 +                     Name (_UID, 0x06)
3917 +                     Method (_DIS, 0, Serialized)
3918 +                     {
3919 +                         Store (0x80, PFRC)
3920 +                     }
3921 + 
3922 +                     Name (_PRS, ResourceTemplate ()
3923 +                     {
3924 +                         IRQ (Level, ActiveLow, Shared)
3925 +                             {1,3,4,5,6,7,11,12,14,15}
3926 +                     })
3927 +                     Method (_CRS, 0, Serialized)
3928 +                     {
3929 +                         Name (RTLF, ResourceTemplate ()
3930 +                         {
3931 +                             IRQ (Level, ActiveLow, Shared)
3932 +                                 {}
3933 +                         })
3934 +                         CreateWordField (RTLF, One, IRQ0)
3935 +                         Store (Zero, IRQ0)
3936 +                         ShiftLeft (One, And (PFRC, 0x0F), IRQ0)
3937 +                         Return (RTLF)
3938 +                     }
3939 + 
3940 +                     Method (_SRS, 1, Serialized)
3941 +                     {
3942 +                         CreateWordField (Arg0, One, IRQ0)
3943 +                         FindSetRightBit (IRQ0, Local0)
3944 +                         Decrement (Local0)
3945 +                         Store (Local0, PFRC)
3946 +                     }
3947 + 
3948 +                     Method (_STA, 0, Serialized)
3949 +                     {
3950 +                         If (And (PFRC, 0x80))
3951 +                         {
3952 +                             Return (0x09)
3953 +                         }
3954 +                         Else
3955 +                         {
3956 +                             Return (0x0B)
3957 +                         }
3958 +                     }
3959 +                 }
3960 + 
3961 +                 Device (LNKG)
3962 +                 {
3963 +                     Name (_HID, EisaId ("PNP0C0F"))
3964 +                     Name (_UID, 0x07)
3965 +                     Method (_DIS, 0, Serialized)
3966 +                     {
3967 +                         Store (0x80, PGRC)
3968 +                     }
3969 + 
3970 +                     Name (_PRS, ResourceTemplate ()
3971 +                     {
3972 +                         IRQ (Level, ActiveLow, Shared)
3973 +                             {1,3,4,5,6,7,10,12,14,15}
3974 +                     })
3975 +                     Method (_CRS, 0, Serialized)
3976 +                     {
3977 +                         Name (RTLG, ResourceTemplate ()
3978 +                         {
3979 +                             IRQ (Level, ActiveLow, Shared)
3980 +                                 {}
3981 +                         })
3982 +                         CreateWordField (RTLG, One, IRQ0)
3983 +                         Store (Zero, IRQ0)
3984 +                         ShiftLeft (One, And (PGRC, 0x0F), IRQ0)
3985 +                         Return (RTLG)
3986 +                     }
3987 + 
3988 +                     Method (_SRS, 1, Serialized)
3989 +                     {
3990 +                         CreateWordField (Arg0, One, IRQ0)
3991 +                         FindSetRightBit (IRQ0, Local0)
3992 +                         Decrement (Local0)
3993 +                         Store (Local0, PGRC)
3994 +                     }
3995 + 
3996 +                     Method (_STA, 0, Serialized)
3997 +                     {
3998 +                         If (And (PGRC, 0x80))
3999 +                         {
4000 +                             Return (0x09)
4001 +                         }
4002 +                         Else
4003 +                         {
4004 +                             Return (0x0B)
4005 +                         }
4006 +                     }
4007 +                 }
4008 + 
4009 +                 Device (LNKH)
4010 +                 {
4011 +                     Name (_HID, EisaId ("PNP0C0F"))
4012 +                     Name (_UID, 0x08)
4013 +                     Method (_DIS, 0, Serialized)
4014 +                     {
4015 +                         Store (0x80, PHRC)
4016 +                     }
4017 + 
4018 +                     Name (_PRS, ResourceTemplate ()
4019 +                     {
4020 +                         IRQ (Level, ActiveLow, Shared)
4021 +                             {3,4,5,6,7,11,12,14,15}
4022 +                     })
4023 +                     Method (_CRS, 0, Serialized)
4024 +                     {
4025 +                         Name (RTLH, ResourceTemplate ()
4026 +                         {
4027 +                             IRQ (Level, ActiveLow, Shared)
4028 +                                 {}
4029 +                         })
4030 +                         CreateWordField (RTLH, One, IRQ0)
4031 +                         Store (Zero, IRQ0)
4032 +                         ShiftLeft (One, And (PHRC, 0x0F), IRQ0)
4033 +                         Return (RTLH)
4034 +                     }
4035 + 
4036 +                     Method (_SRS, 1, Serialized)
4037 +                     {
4038 +                         CreateWordField (Arg0, One, IRQ0)
4039 +                         FindSetRightBit (IRQ0, Local0)
4040 +                         Decrement (Local0)
4041 +                         Store (Local0, PHRC)
4042 +                     }
4043 + 
4044 +                     Method (_STA, 0, Serialized)
4045 +                     {
4046 +                         If (And (PHRC, 0x80))
4047 +                         {
4048 +                             Return (0x09)
4049 +                         }
4050 +                         Else
4051 +                         {
4052 +                             Return (0x0B)
4053 +                         }
4054 +                     }
4055 +                 }
4056 + 
4057 +                 Device (H_EC)
4058 +                 {
4059 +                     Name (_HID, EisaId ("PNP0C09"))
4060 +                     Name (_UID, One)
4061 +                     Method (_CRS, 0, NotSerialized)
4062 +                     {
4063 +                         Name (BFFR, ResourceTemplate ()
4064 +                         {
4065 +                             IO (Decode16,
4066 +                                 0x0062,             // Address Range Minimum
4067 +                                 0x0062,             // Address Range Maximum
4068 +                                 0x00,               // Address Alignment
4069 +                                 0x01,               // Address Length
4070 +                                 )
4071 +                             IO (Decode16,
4072 +                                 0x0066,             // Address Range Minimum
4073 +                                 0x0066,             // Address Range Maximum
4074 +                                 0x00,               // Address Alignment
4075 +                                 0x01,               // Address Length
4076 +                                 )
4077 +                         })
4078 +                         Return (BFFR)
4079 +                     }
4080 + 
4081 +                     OperationRegion (ECF2, EmbeddedControl, Zero, 0xFF)
4082 +                     Field (ECF2, ByteAcc, Lock, Preserve)
4083 +                     {
4084 +                         Offset (0x01),
4085 +                         DTMP,   8,
4086 +                         LTMP,   8,
4087 +                         RPWR,   1,
4088 +                             ,   2,
4089 +                         CFAN,   1,
4090 +                             ,   2,
4091 +                         LSTE,   1,
4092 +                         Offset (0x04),
4093 +                         SPTR,   8,
4094 +                         SSTS,   8,
4095 +                         SADR,   8,
4096 +                         SCMD,   8,
4097 +                         SBFR,   256,
4098 +                         SCNT,   8,
4099 +                         Offset (0x2F),
4100 +                         CTMP,   8,
4101 +                             ,   3,
4102 +                         PBNS,   1,
4103 +                         VPWR,   1,
4104 +                         Offset (0x31),
4105 +                         SCAN,   8,
4106 +                         B1ST,   8,
4107 +                         B1CR,   8,
4108 +                         B1CC,   8,
4109 +                         B1VT,   8,
4110 +                         B2ST,   8,
4111 +                         B2CR,   8,
4112 +                         B2CC,   8,
4113 +                         B2VT,   8,
4114 +                         CMDR,   8,
4115 +                         LUXH,   8,
4116 +                         LUXL,   8,
4117 +                         ACH0,   8,
4118 +                         ACH1,   8
4119 +                     }
4120 + 
4121 +                     Device (ALSD)
4122 +                     {
4123 +                         Name (_HID, "ACPI0008")
4124 +                         Method (_STA, 0, NotSerialized)
4125 +                         {
4126 +                             If (LEqual (ALSE, 0x02))
4127 +                             {
4128 +                                 Return (0x0F)
4129 +                             }
4130 + 
4131 +                             Return (Zero)
4132 +                         }
4133 + 
4134 +                         Method (_ALI, 0, NotSerialized)
4135 +                         {
4136 +                             Return (Or (ShiftLeft (LHIH, 0x08), LLOW))
4137 +                         }
4138 + 
4139 +                         Name (_ALR, Package (0x05)
4140 +                         {
4141 +                             Package (0x02)
4142 +                             {
4143 +                                 0x46,
4144 +                                 Zero
4145 +                             },
4146 + 
4147 +                             Package (0x02)
4148 +                             {
4149 +                                 0x49,
4150 +                                 0x0A
4151 +                             },
4152 + 
4153 +                             Package (0x02)
4154 +                             {
4155 +                                 0x55,
4156 +                                 0x50
4157 +                             },
4158 + 
4159 +                             Package (0x02)
4160 +                             {
4161 +                                 0x64,
4162 +                                 0x012C
4163 +                             },
4164 + 
4165 +                             Package (0x02)
4166 +                             {
4167 +                                 0x96,
4168 +                                 0x03E8
4169 +                             }
4170 +                         })
4171 +                         Method (ALA, 1, NotSerialized)
4172 +                         {
4173 +                             Store (Arg0, ALAF)
4174 +                             BRTW (BRTL)
4175 +                         }
4176 +                     }
4177 + 
4178 +                     Device (EMAD)
4179 +                     {
4180 +                         Name (_HID, "ACPIEMAD")
4181 +                         OperationRegion (PRVT, SystemIO, 0x06A0, 0x08)
4182 +                         Field (PRVT, ByteAcc, NoLock, Preserve)
4183 +                         {
4184 +                             PVT0,   8,
4185 +                             Offset (0x04),
4186 +                             PVT1,   8
4187 +                         }
4188 + 
4189 +                         Method (_STA, 0, NotSerialized)
4190 +                         {
4191 +                             If (EMAE)
4192 +                             {
4193 +                                 Return (0x0F)
4194 +                             }
4195 + 
4196 +                             Return (Zero)
4197 +                         }
4198 + 
4199 +                         Method (BLKW, 3, Serialized)
4200 +                         {
4201 +                             If (PIBC (0x1388))
4202 +                             {
4203 +                                 Return (Zero)
4204 +                             }
4205 + 
4206 +                             Store (Zero, EMAP)
4207 +                             If (LLess (SizeOf (Arg2), 0x20))
4208 +                             {
4209 +                                 Store (SizeOf (Arg2), EMAL)
4210 +                             }
4211 +                             Else
4212 +                             {
4213 +                                 Store (0x20, EMAL)
4214 +                             }
4215 + 
4216 +                             While (LLess (EMAP, SizeOf (Arg2)))
4217 +                             {
4218 +                                 Store (0xAC, PVT0)
4219 +                                 If (IBFC (0x03E8))
4220 +                                 {
4221 +                                     Return (Zero)
4222 +                                 }
4223 + 
4224 +                                 Store (Arg0, PVT0)
4225 +                                 If (IBFC (0x03E8))
4226 +                                 {
4227 +                                     Return (Zero)
4228 +                                 }
4229 + 
4230 +                                 Store (Arg1, PVT0)
4231 +                                 If (IBFC (0x03E8))
4232 +                                 {
4233 +                                     Return (Zero)
4234 +                                 }
4235 + 
4236 +                                 Store (EMAL, PVT0)
4237 +                                 If (IBFC (0x03E8))
4238 +                                 {
4239 +                                     Return (Zero)
4240 +                                 }
4241 + 
4242 +                                 Store (Zero, Local0)
4243 +                                 While (LLess (Local0, EMAL))
4244 +                                 {
4245 +                                     Store (DerefOf (Index (Arg2, EMAP)), PVT0)
4246 +                                     If (IBFC (0x03E8))
4247 +                                     {
4248 +                                         Return (Zero)
4249 +                                     }
4250 + 
4251 +                                     Increment (Local0)
4252 +                                     Increment (EMAP)
4253 +                                 }
4254 + 
4255 +                                 If (PIBC (0x1388))
4256 +                                 {
4257 +                                     Return (Zero)
4258 +                                 }
4259 + 
4260 +                                 If (LGreater (Add (EMAP, EMAL), SizeOf (Arg2)))
4261 +                                 {
4262 +                                     Subtract (SizeOf (Arg2), EMAP, EMAL)
4263 +                                 }
4264 +                             }
4265 + 
4266 +                             Return (One)
4267 +                         }
4268 + 
4269 +                         Method (GSTS, 1, Serialized)
4270 +                         {
4271 +                             If (PIBC (0x1388))
4272 +                             {
4273 +                                 Return (0xFFFF)
4274 +                             }
4275 + 
4276 +                             Store (0xAD, PVT0)
4277 +                             If (IBFC (0x03E8))
4278 +                             {
4279 +                                 Return (0xFFFF)
4280 +                             }
4281 + 
4282 +                             Store (Arg0, PVT0)
4283 +                             If (IBFC (0x03E8))
4284 +                             {
4285 +                                 Return (0xFFFF)
4286 +                             }
4287 + 
4288 +                             If (OBFC (0x09C4))
4289 +                             {
4290 +                                 Return (PVT0)
4291 +                             }
4292 +                             Else
4293 +                             {
4294 +                                 Return (0xFFFF)
4295 +                             }
4296 +                         }
4297 + 
4298 +                         Method (IBFC, 1, Serialized)
4299 +                         {
4300 +                             Store (Arg0, Local0)
4301 +                             While (LAnd (And (PVT1, 0x02), Local0))
4302 +                             {
4303 +                                 Decrement (Local0)
4304 +                                 Stall (One)
4305 +                             }
4306 + 
4307 +                             Return (And (PVT1, 0x02))
4308 +                         }
4309 + 
4310 +                         Method (OBFC, 1, Serialized)
4311 +                         {
4312 +                             Store (Arg0, Local0)
4313 +                             While (LAnd (LEqual (And (PVT1, One), Zero), Local0))
4314 +                             {
4315 +                                 Decrement (Local0)
4316 +                                 Stall (0x0A)
4317 +                             }
4318 + 
4319 +                             Return (And (PVT1, One))
4320 +                         }
4321 + 
4322 +                         Method (PIBC, 1, Serialized)
4323 +                         {
4324 +                             Store (Arg0, Local0)
4325 +                             While (LAnd (And (PVT1, 0x04), Local0))
4326 +                             {
4327 +                                 Decrement (Local0)
4328 +                                 Stall (0x64)
4329 +                             }
4330 + 
4331 +                             Return (And (PVT1, 0x04))
4332 +                         }
4333 +                     }
4334 + 
4335 +                     Device (MEFD)
4336 +                     {
4337 +                         Name (_HID, "AWY0001")
4338 +                         Method (_STA, 0, NotSerialized)
4339 +                         {
4340 +                             If (MEFE)
4341 +                             {
4342 +                                 Return (0x0F)
4343 +                             }
4344 + 
4345 +                             Return (Zero)
4346 +                         }
4347 + 
4348 +                         Method (ARPB, 0, Serialized)
4349 +                         {
4350 +                             If (ECON)
4351 +                             {
4352 +                                 Store (0x73, CMDR)
4353 +                                 Return (One)
4354 +                             }
4355 + 
4356 +                             Return (Zero)
4357 +                         }
4358 + 
4359 +                         Method (DAPB, 0, Serialized)
4360 +                         {
4361 +                             If (ECON)
4362 +                             {
4363 +                                 Store (0x74, CMDR)
4364 +                                 Return (One)
4365 +                             }
4366 + 
4367 +                             Return (Zero)
4368 +                         }
4369 + 
4370 +                         Method (GPBS, 0, Serialized)
4371 +                         {
4372 +                             If (ECON)
4373 +                             {
4374 +                                 Return (XOr (PBNS, One))
4375 +                             }
4376 + 
4377 +                             Return (Zero)
4378 +                         }
4379 + 
4380 +                         Method (SMOD, 1, Serialized)
4381 +                         {
4382 +                             If (Arg0)
4383 +                             {
4384 +                                 P8XH (Zero, 0x55)
4385 +                                 P8XH (One, 0x55)
4386 +                             }
4387 +                             Else
4388 +                             {
4389 +                                 P8XH (Zero, 0xAA)
4390 +                                 P8XH (One, 0xAA)
4391 +                             }
4392 +                         }
4393 +                     }
4394 + 
4395 +                     Method (_REG, 2, NotSerialized)
4396 +                     {
4397 +                         If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
4398 +                         {
4399 +                             Store (One, ECON)
4400 +                             If (LEqual (Zero, ACTT))
4401 +                             {
4402 +                                 Store (Zero, CFAN)
4403 +                             }
4404 + 
4405 +                             Store (LUXH, LHIH)
4406 +                             Store (LUXL, LLOW)
4407 +                             If (LAnd (LEqual (ALSE, One), IGDS))
4408 +                             {
4409 +                                 TRAP (0x13)
4410 +                             }
4411 + 
4412 +                             If (LNot (LEqual (LSTE, LIDS)))
4413 +                             {
4414 +                                 Store (LSTE, LIDS)
4415 +                                 If (IGDS)
4416 +                                 {
4417 +                                     LSDS (LIDS)
4418 +                                 }
4419 +                                 Else
4420 +                                 {
4421 +                                     TRAP (0x2A)
4422 +                                 }
4423 + 
4424 +                                 Notify (LID0, 0x80)
4425 +                             }
4426 + 
4427 +                             Store (Zero, BNUM)
4428 +                             Or (BNUM, ShiftRight (And (B1ST, 0x08), 0x03), BNUM)
4429 +                             Or (BNUM, ShiftRight (And (B2ST, 0x08), 0x02), BNUM)
4430 +                             If (LEqual (BNUM, Zero))
4431 +                             {
4432 +                                 Store (VPWR, PWRS)
4433 +                             }
4434 +                             Else
4435 +                             {
4436 +                                 Store (RPWR, PWRS)
4437 +                             }
4438 + 
4439 +                             TRAP (0x2B)
4440 +                             PNOT ()
4441 +                         }
4442 +                     }
4443 + 
4444 +                     Name (_GPE, 0x17)
4445 +                     Method (_Q30, 0, NotSerialized)
4446 +                     {
4447 +                         P8XH (Zero, 0x30)
4448 +                         Store (One, PWRS)
4449 +                         TRAP (0x2B)
4450 +                         PNOT ()
4451 +                     }
4452 + 
4453 +                     Method (_Q31, 0, NotSerialized)
4454 +                     {
4455 +                         P8XH (Zero, 0x31)
4456 +                         Store (Zero, PWRS)
4457 +                         TRAP (0x2B)
4458 +                         PNOT ()
4459 +                     }
4460 + 
4461 +                     Method (_Q32, 0, NotSerialized)
4462 +                     {
4463 +                         P8XH (Zero, 0x32)
4464 +                         PNOT ()
4465 +                     }
4466 + 
4467 +                     Method (_Q33, 0, NotSerialized)
4468 +                     {
4469 +                         P8XH (Zero, 0x33)
4470 +                         Store (Zero, BNUM)
4471 +                         Or (BNUM, ShiftRight (And (B1ST, 0x08), 0x03), BNUM)
4472 +                         Or (BNUM, ShiftRight (And (B2ST, 0x08), 0x02), BNUM)