Repository navigation
Expand file tree
/
Copy path70EA14C29A69
More file actions
8231 lines (7451 loc) · 290 KB
/
Copy path70EA14C29A69
File metadata and controls
8231 lines (7451 loc) · 290 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Intel ACPI Component Architecture
ACPI Binary Table Extraction Utility version 20230628
Copyright (c) 2000 - 2023 Intel Corporation
Signature Length Version Oem Oem Oem Compiler Compiler
Id TableId RevisionId Name Revision
_________ __________ ____ ________ __________ __________ _______ __________
01) APIC 0x00000068 0x02 "APPLE " "Apple00 " 0x00000001 "Loki" 0x0000005F
02) MCFG 0x0000003C 0x01 "APPLE " "Apple00 " 0x00000001 "Loki" 0x0000005F
03) ASF! 0x000000A5 0x20 "APPLE " "Apple00 " 0x00000001 "Loki" 0x0000005F
04) ECDT 0x00000053 0x01 "APPLE " "Apple00 " 0x00000001 "Loki" 0x0000005F
05) SSDT 0x000004DC 0x01 "APPLE " "CpuPm " 0x00003000 "INTL" 0x20061109
06) DSDT 0x00005B9E 0x01 "APPLE " "MacBookP" 0x00050005 "INTL" 0x20061109
07) SBST 0x00000030 0x01 "APPLE " "Apple00 " 0x00000001 "Loki" 0x0000005F
08) APIC 0x00000068 0x01 "APPLE " "Apple00 " 0x00000001 "Loki" 0x0000005F
09) FACP 0x000000F4 0x04 "APPLE " "Apple00 " 0x000000AC "Loki" 0x0000005F
10) SSDT 0x0000023A 0x00 " PLE " "SataAhci" 0x00001000 "INTL" 0x20061109
11) HPET 0x00000038 0x01 "APPLE " "Apple00 " 0x00000001 "Loki" 0x0000005F
12) FACS 0x00000040 0x01
13) SSDT 0x000002AD 0x01 "APPLE " "Cpu0Cst " 0x00003001 "INTL" 0x20061109
14) SSDT 0x000000C8 0x01 "APPLE " "Cpu1Ist " 0x00003000 "INTL" 0x20061109
15) SSDT 0x000002BC 0x01 "APPLE " "Cpu0Ist " 0x00003000 "INTL" 0x20061109
16) SSDT 0x00000085 0x01 "APPLE " "Cpu1Cst " 0x00003000 "INTL" 0x20061109
Found 16 ACPI tables in acpidump
APIC1
-----
[000h 0000 004h] Signature : "APIC" [Multiple APIC Description Table (MADT)]
[004h 0004 004h] Table Length : 00000068
[008h 0008 001h] Revision : 02
[009h 0009 001h] Checksum : 8D
[00Ah 0010 006h] Oem ID : "APPLE "
[010h 0016 008h] Oem Table ID : "Apple00"
[018h 0024 004h] Oem Revision : 00000001
[01Ch 0028 004h] Asl Compiler ID : "Loki"
[020h 0032 004h] Asl Compiler Revision : 0000005F
[024h 0036 004h] Local Apic Address : FEE00000
[028h 0040 004h] Flags (decoded below) : 00000001
PC-AT Compatibility : 1
[02Ch 0044 001h] Subtable Type : 00 [Processor Local APIC]
[02Dh 0045 001h] Length : 08
[02Eh 0046 001h] Processor ID : 00
[02Fh 0047 001h] Local Apic ID : 00
[030h 0048 004h] Flags (decoded below) : 00000001
Processor Enabled : 1
Runtime Online Capable : 0
[034h 0052 001h] Subtable Type : 00 [Processor Local APIC]
[035h 0053 001h] Length : 08
[036h 0054 001h] Processor ID : 01
[037h 0055 001h] Local Apic ID : 01
[038h 0056 004h] Flags (decoded below) : 00000001
Processor Enabled : 1
Runtime Online Capable : 0
[03Ch 0060 001h] Subtable Type : 01 [I/O APIC]
[03Dh 0061 001h] Length : 0C
[03Eh 0062 001h] I/O Apic ID : 01
[03Fh 0063 001h] Reserved : 00
[040h 0064 004h] Address : FEC00000
[044h 0068 004h] Interrupt : 00000000
[048h 0072 001h] Subtable Type : 02 [Interrupt Source Override]
[049h 0073 001h] Length : 0A
[04Ah 0074 001h] Bus : 00
[04Bh 0075 001h] Source : 00
[04Ch 0076 004h] Interrupt : 00000002
[050h 0080 002h] Flags (decoded below) : 0000
Polarity : 0
Trigger Mode : 0
[052h 0082 001h] Subtable Type : 02 [Interrupt Source Override]
[053h 0083 001h] Length : 0A
[054h 0084 001h] Bus : 00
[055h 0085 001h] Source : 09
[056h 0086 004h] Interrupt : 00000009
[05Ah 0090 002h] Flags (decoded below) : 000D
Polarity : 1
Trigger Mode : 3
[05Ch 0092 001h] Subtable Type : 04 [Local APIC NMI]
[05Dh 0093 001h] Length : 06
[05Eh 0094 001h] Processor ID : 00
[05Fh 0095 002h] Flags (decoded below) : 0005
Polarity : 1
Trigger Mode : 1
[061h 0097 001h] Interrupt Input LINT : 01
[062h 0098 001h] Subtable Type : 04 [Local APIC NMI]
[063h 0099 001h] Length : 06
[064h 0100 001h] Processor ID : 01
[065h 0101 002h] Flags (decoded below) : 0005
Polarity : 1
Trigger Mode : 1
[067h 0103 001h] Interrupt Input LINT : 01
Raw Table Data: Length 104 (0x68)
0000: 41 50 49 43 68 00 00 00 02 8D 41 50 50 4C 45 20 // APICh.....APPLE
0010: 41 70 70 6C 65 30 30 00 01 00 00 00 4C 6F 6B 69 // Apple00.....Loki
0020: 5F 00 00 00 00 00 E0 FE 01 00 00 00 00 08 00 00 // _...............
0030: 01 00 00 00 00 08 01 01 01 00 00 00 01 0C 01 00 // ................
0040: 00 00 C0 FE 00 00 00 00 02 0A 00 00 02 00 00 00 // ................
0050: 00 00 02 0A 00 09 09 00 00 00 0D 00 04 06 00 05 // ................
0060: 00 01 04 06 01 05 00 01 // ........
APIC2
-----
[000h 0000 004h] Signature : "APIC" [Multiple APIC Description Table (MADT)]
[004h 0004 004h] Table Length : 00000068
[008h 0008 001h] Revision : 01
[009h 0009 001h] Checksum : 8E
[00Ah 0010 006h] Oem ID : "APPLE "
[010h 0016 008h] Oem Table ID : "Apple00"
[018h 0024 004h] Oem Revision : 00000001
[01Ch 0028 004h] Asl Compiler ID : "Loki"
[020h 0032 004h] Asl Compiler Revision : 0000005F
[024h 0036 004h] Local Apic Address : FEE00000
[028h 0040 004h] Flags (decoded below) : 00000001
PC-AT Compatibility : 1
[02Ch 0044 001h] Subtable Type : 00 [Processor Local APIC]
[02Dh 0045 001h] Length : 08
[02Eh 0046 001h] Processor ID : 00
[02Fh 0047 001h] Local Apic ID : 00
[030h 0048 004h] Flags (decoded below) : 00000001
Processor Enabled : 1
Runtime Online Capable : 0
[034h 0052 001h] Subtable Type : 00 [Processor Local APIC]
[035h 0053 001h] Length : 08
[036h 0054 001h] Processor ID : 01
[037h 0055 001h] Local Apic ID : 01
[038h 0056 004h] Flags (decoded below) : 00000001
Processor Enabled : 1
Runtime Online Capable : 0
[03Ch 0060 001h] Subtable Type : 01 [I/O APIC]
[03Dh 0061 001h] Length : 0C
[03Eh 0062 001h] I/O Apic ID : 01
[03Fh 0063 001h] Reserved : 00
[040h 0064 004h] Address : FEC00000
[044h 0068 004h] Interrupt : 00000000
[048h 0072 001h] Subtable Type : 02 [Interrupt Source Override]
[049h 0073 001h] Length : 0A
[04Ah 0074 001h] Bus : 00
[04Bh 0075 001h] Source : 00
[04Ch 0076 004h] Interrupt : 00000002
[050h 0080 002h] Flags (decoded below) : 0000
Polarity : 0
Trigger Mode : 0
[052h 0082 001h] Subtable Type : 02 [Interrupt Source Override]
[053h 0083 001h] Length : 0A
[054h 0084 001h] Bus : 00
[055h 0085 001h] Source : 09
[056h 0086 004h] Interrupt : 00000009
[05Ah 0090 002h] Flags (decoded below) : 000D
Polarity : 1
Trigger Mode : 3
[05Ch 0092 001h] Subtable Type : 04 [Local APIC NMI]
[05Dh 0093 001h] Length : 06
[05Eh 0094 001h] Processor ID : 00
[05Fh 0095 002h] Flags (decoded below) : 0005
Polarity : 1
Trigger Mode : 1
[061h 0097 001h] Interrupt Input LINT : 01
[062h 0098 001h] Subtable Type : 04 [Local APIC NMI]
[063h 0099 001h] Length : 06
[064h 0100 001h] Processor ID : 01
[065h 0101 002h] Flags (decoded below) : 0005
Polarity : 1
Trigger Mode : 1
[067h 0103 001h] Interrupt Input LINT : 01
Raw Table Data: Length 104 (0x68)
0000: 41 50 49 43 68 00 00 00 01 8E 41 50 50 4C 45 20 // APICh.....APPLE
0010: 41 70 70 6C 65 30 30 00 01 00 00 00 4C 6F 6B 69 // Apple00.....Loki
0020: 5F 00 00 00 00 00 E0 FE 01 00 00 00 00 08 00 00 // _...............
0030: 01 00 00 00 00 08 01 01 01 00 00 00 01 0C 01 00 // ................
0040: 00 00 C0 FE 00 00 00 00 02 0A 00 00 02 00 00 00 // ................
0050: 00 00 02 0A 00 09 09 00 00 00 0D 00 04 06 00 05 // ................
0060: 00 01 04 06 01 05 00 01 // ........
ASF!
----
[000h 0000 004h] Signature : "ASF!" [Alert Standard Format Table]
[004h 0004 004h] Table Length : 000000A5
[008h 0008 001h] Revision : 20
[009h 0009 001h] Checksum : B6
[00Ah 0010 006h] Oem ID : "APPLE "
[010h 0016 008h] Oem Table ID : "Apple00"
[018h 0024 004h] Oem Revision : 00000001
[01Ch 0028 004h] Asl Compiler ID : "Loki"
[020h 0032 004h] Asl Compiler Revision : 0000005F
[024h 0036 001h] Subtable Type : 00 [ASF Information]
[025h 0037 001h] Reserved : 00
[026h 0038 002h] Length : 0010
[028h 0040 001h] Minimum Reset Value : 05
[029h 0041 001h] Minimum Polling Interval : FF
[02Ah 0042 002h] System ID : 0001
[02Ch 0044 004h] Manufacturer ID : BE110000
[030h 0048 001h] Flags : 00
[031h 0049 003h] Reserved : 000000
[034h 0052 001h] Subtable Type : 01 [ASF Alerts]
[035h 0053 001h] Reserved : 00
[036h 0054 002h] Length : 002C
[038h 0056 001h] AssertMask : 00
[039h 0057 001h] DeassertMask : 00
[03Ah 0058 001h] Alert Count : 03
[03Bh 0059 001h] Alert Data Length : 0C
[03Ch 0060 001h] Address : 89
[03Dh 0061 001h] Command : 04
[03Eh 0062 001h] Mask : 01
[03Fh 0063 001h] Value : 01
[040h 0064 001h] SensorType : 05
[041h 0065 001h] Type : 6F
[042h 0066 001h] Offset : 00
[043h 0067 001h] SourceType : 68
[044h 0068 001h] Severity : 08
[045h 0069 001h] SensorNumber : 88
[046h 0070 001h] Entity : 17
[047h 0071 001h] Instance : 00
[048h 0072 001h] Address : 89
[049h 0073 001h] Command : 04
[04Ah 0074 001h] Mask : 04
[04Bh 0075 001h] Value : 04
[04Ch 0076 001h] SensorType : 07
[04Dh 0077 001h] Type : 6F
[04Eh 0078 001h] Offset : 00
[04Fh 0079 001h] SourceType : 68
[050h 0080 001h] Severity : 20
[051h 0081 001h] SensorNumber : 88
[052h 0082 001h] Entity : 03
[053h 0083 001h] Instance : 00
[054h 0084 001h] Address : 89
[055h 0085 001h] Command : 05
[056h 0086 001h] Mask : 01
[057h 0087 001h] Value : 01
[058h 0088 001h] SensorType : 19
[059h 0089 001h] Type : 6F
[05Ah 0090 001h] Offset : 00
[05Bh 0091 001h] SourceType : 68
[05Ch 0092 001h] Severity : 20
[05Dh 0093 001h] SensorNumber : 88
[05Eh 0094 001h] Entity : 22
[05Fh 0095 001h] Instance : 00
[060h 0096 001h] Subtable Type : 02 [ASF Remote Control]
[061h 0097 001h] Reserved : 00
[062h 0098 002h] Length : 0018
[064h 0100 001h] Control Count : 04
[065h 0101 001h] Control Data Length : 04
[066h 0102 002h] Reserved : 0000
[068h 0104 001h] Function : 00
[069h 0105 001h] Address : 88
[06Ah 0106 001h] Command : 00
[06Bh 0107 001h] Value : 03
[06Ch 0108 001h] Function : 01
[06Dh 0109 001h] Address : 88
[06Eh 0110 001h] Command : 00
[06Fh 0111 001h] Value : 02
[070h 0112 001h] Function : 02
[071h 0113 001h] Address : 88
[072h 0114 001h] Command : 00
[073h 0115 001h] Value : 01
[074h 0116 001h] Function : 03
[075h 0117 001h] Address : 88
[076h 0118 001h] Command : 00
[077h 0119 001h] Value : 04
[078h 0120 001h] Subtable Type : 03 [ASF RMCP Boot Options]
[079h 0121 001h] Reserved : 00
[07Ah 0122 002h] Length : 0017
[07Ch 0124 007h] Capabilities : 20 F8 00 00 00 1F F0
[083h 0131 001h] Completion Code : 00
[084h 0132 004h] Enterprise ID : BE110000
[088h 0136 001h] Command : 00
[089h 0137 002h] Parameter : 0000
[08Bh 0139 002h] Boot Options : 0100
[08Dh 0141 002h] Oem Parameters : 0000
[08Fh 0143 001h] Subtable Type : 84 [ASF Address]
[090h 0144 001h] Reserved : 00
[091h 0145 002h] Length : 0016
[093h 0147 001h] Eprom Address : 00
[094h 0148 001h] Device Count : 10
[095h 0149 001h] Addresses : 5C 68 88 C2 D2 DC A0 A2 A4 A6 C8 00 00 00 00 00
Raw Table Data: Length 165 (0xA5)
0000: 41 53 46 21 A5 00 00 00 20 B6 41 50 50 4C 45 20 // ASF!.... .APPLE
0010: 41 70 70 6C 65 30 30 00 01 00 00 00 4C 6F 6B 69 // Apple00.....Loki
0020: 5F 00 00 00 00 00 10 00 05 FF 01 00 00 00 11 BE // _...............
0030: 00 00 00 00 01 00 2C 00 00 00 03 0C 89 04 01 01 // ......,.........
0040: 05 6F 00 68 08 88 17 00 89 04 04 04 07 6F 00 68 // .o.h.........o.h
0050: 20 88 03 00 89 05 01 01 19 6F 00 68 20 88 22 00 // ........o.h .".
0060: 02 00 18 00 04 04 00 00 00 88 00 03 01 88 00 02 // ................
0070: 02 88 00 01 03 88 00 04 03 00 17 00 20 F8 00 00 // ............ ...
0080: 00 1F F0 00 00 00 11 BE 00 00 00 00 01 00 00 84 // ................
0090: 00 16 00 00 10 5C 68 88 C2 D2 DC A0 A2 A4 A6 C8 // .....\h.........
00A0: 00 00 00 00 00 // .....
DSDT
----
DefinitionBlock ("", "DSDT", 1, "APPLE ", "MacBookP", 0x00050005)
{
External (_SB_.PCI0.SATA.PRT1, UnknownObj)
External (PDC0, UnknownObj)
External (PDC1, UnknownObj)
OperationRegion (PRT0, SystemIO, 0x80, 0x02)
Field (PRT0, WordAcc, Lock, Preserve)
{
P80H, 16
}
OperationRegion (SPRT, SystemIO, 0x052E, 0x02)
Field (SPRT, ByteAcc, Lock, Preserve)
{
SSMP, 8
}
OperationRegion (IO_T, SystemIO, 0x0800, 0x10)
Field (IO_T, ByteAcc, NoLock, Preserve)
{
TRPI, 16,
Offset (0x04),
Offset (0x06),
Offset (0x08),
TRP0, 8,
TRPC, 8,
Offset (0x0B),
Offset (0x0C),
Offset (0x0D),
Offset (0x0E),
Offset (0x0F),
Offset (0x10)
}
OperationRegion (IO_D, SystemIO, 0x0810, 0x08)
Field (IO_D, ByteAcc, NoLock, Preserve)
{
TRPD, 8
}
OperationRegion (PMIO, SystemIO, 0x0400, 0x80)
Field (PMIO, ByteAcc, NoLock, Preserve)
{
Offset (0x20),
, 2,
SPST, 1,
Offset (0x42),
, 1,
GPEC, 1
}
OperationRegion (GNVS, SystemMemory, 0xBFED5A98, 0x0100)
Field (GNVS, AnyAcc, Lock, Preserve)
{
OSYS, 16,
SMIF, 8,
PRM0, 8,
PRM1, 8,
SCIF, 8,
PRM2, 8,
PRM3, 8,
LCKF, 8,
PRM4, 8,
PRM5, 8,
P80D, 32,
LIDS, 8,
PWRS, 8,
DBGS, 8,
LINX, 8,
Offset (0x14),
ACTT, 8,
PSVT, 8,
TC1V, 8,
TC2V, 8,
TSPV, 8,
CRTT, 8,
DTSE, 8,
DTS1, 8,
DTS2, 8,
DTSF, 8,
BNUM, 8,
B0SC, 8,
B1SC, 8,
B2SC, 8,
B0SS, 8,
B1SS, 8,
B2SS, 8,
Offset (0x28),
APIC, 8,
MPEN, 8,
PCP0, 8,
PCP1, 8,
PPCM, 8,
PPMF, 32,
Offset (0x32),
NATP, 8,
CMAP, 8,
CMBP, 8,
LPTP, 8,
FDCP, 8,
CMCP, 8,
CIRP, 8,
Offset (0x3C),
IGDS, 8,
TLST, 8,
CADL, 8,
PADL, 8,
CSTE, 16,
NSTE, 16,
SSTE, 16,
NDID, 8,
DID1, 32,
DID2, 32,
DID3, 32,
DID4, 32,
DID5, 32,
BDSP, 8,
PTY1, 8,
PTY2, 8,
PSCL, 8,
TVF1, 8,
TVF2, 8,
Offset (0x63),
GOPB, 32,
BLCS, 8,
BRTL, 8,
ALSE, 8,
ALAF, 8,
LLOW, 8,
LHIH, 8,
Offset (0x6E),
EMAE, 8,
EMAP, 16,
EMAL, 16,
Offset (0x74),
MEFE, 8,
Offset (0x82),
GTF0, 56,
GTF2, 56,
IDEM, 8,
GTF1, 56,
GTF3, 56,
GTF4, 56,
GTF5, 56
}
Name (\GBRD, 0x01)
OperationRegion (NVSB, SystemIO, 0x0500, 0x0100)
Field (NVSB, ByteAcc, NoLock, Preserve)
{
Offset (0x08),
GP01, 1,
GP02, 1,
GP03, 1,
GP04, 1,
GP05, 1,
GP06, 1,
GP07, 1,
GP08, 1,
GP09, 1,
GP10, 1,
GP11, 1,
GP12, 1,
GP13, 1,
GP14, 1,
GP15, 1,
GP16, 1,
GP17, 1,
GP18, 1,
GP19, 1,
GP20, 1,
GP21, 1,
GP22, 1,
GP23, 1,
GP24, 1,
GP25, 1,
GP26, 1,
GP27, 1,
GP28, 1,
GP29, 1,
GP30, 1,
GP31, 1,
GP32, 1,
GP33, 1,
GP34, 1,
GP35, 1,
GP36, 1,
GP37, 1,
GP38, 1,
GP39, 1,
GP40, 1,
GP41, 1,
GP42, 1,
GP43, 1,
GP44, 1,
GP45, 1,
GP46, 1,
GP47, 1,
GP48, 1,
GP49, 1,
GP50, 1,
GP51, 1,
GP52, 1,
GP53, 1,
GP54, 1,
GP55, 1,
GP56, 1,
GP57, 1,
GP58, 1,
GP59, 1,
GP60, 1,
GP61, 1,
GP62, 1,
GP63, 1,
GP64, 1,
Offset (0xC4),
GI05, 8,
Offset (0xD0),
GI17, 8,
Offset (0xE5),
GI38, 8,
Offset (0xFF),
, 2,
APPS, 1,
Offset (0x100)
}
Mutex (MUTX, 0x00)
Scope (\_PR)
{
Processor (CPU0, 0x00, 0x00000410, 0x06){}
Processor (CPU1, 0x01, 0x00000410, 0x06){}
}
Name (\DSEN, 0x01)
Name (\ECON, 0x00)
Name (\GPIC, 0x00)
Name (\CTYP, 0x00)
Name (\VFN0, 0x00)
Method (OSDW, 0, NotSerialized)
{
If ((OSYS == 0x2710))
{
Return (0x01)
}
Else
{
Return (0x00)
}
}
Method (PINI, 0, NotSerialized)
{
If (CondRefOf (_OSI, Local0))
{
If (_OSI ("Darwin"))
{
OSYS = 0x2710
}
ElseIf (_OSI ("Linux"))
{
OSYS = 0x03E8
}
ElseIf (_OSI ("Windows 2006"))
{
OSYS = 0x07D6
}
ElseIf (_OSI ("Windows 2001 SP2"))
{
OSYS = 0x07D2
}
ElseIf (_OSI ("Windows 2001 SP1"))
{
OSYS = 0x07D1
}
ElseIf (_OSI ("Windows 2001"))
{
OSYS = 0x07D1
}
}
Else
{
OSYS = 0x07D0
}
}
Method (\_PIC, 1, NotSerialized) // _PIC: Interrupt Model
{
GPIC = Arg0
}
Method (DTGP, 5, NotSerialized)
{
If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b") /* Unknown UUID */))
{
If ((Arg1 == One))
{
If ((Arg2 == Zero))
{
Arg4 = Buffer (0x01)
{
0x03 // .
}
Return (One)
}
If ((Arg2 == One))
{
Return (One)
}
}
}
Arg4 = Buffer (0x01)
{
0x00 // .
}
Return (Zero)
}
Name (_S0, Package (0x03) // _S0_: S0 System State
{
0x00,
0x00,
0x00
})
Name (_S3, Package (0x03) // _S3_: S3 System State
{
0x05,
0x05,
0x00
})
Name (_S4, Package (0x03) // _S4_: S4 System State
{
0x06,
0x06,
0x00
})
Name (_S5, Package (0x03) // _S5_: S5 System State
{
0x07,
0x07,
0x00
})
Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
{
P80D = 0x00
P8XH (0x00, Arg0)
\_SB.PCI0.LPCB.EC.ECSS = Arg0
GP61 = 0x01
}
Method (_WAK, 1, NotSerialized) // _WAK: Wake
{
P8XH (0x00, 0x00)
\_SB.PCI0.LPCB.EC.ECSS = 0x00
If (OSDW ())
{
\_SB.PCI0.SBUS.ENAB ()
}
LIDS = \_SB.PCI0.LPCB.EC.LSTE
PWRS = \_SB.PCI0.LPCB.EC.RPWR
PNOT ()
Return (Package (0x02)
{
0x00,
0x00
})
}
Scope (\_GPE)
{
Method (_L02, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
{
GPEC = 0x00
}
Method (_L11, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
{
Notify (\_SB.PCI0.RP04, 0x02) // Device Wake
Notify (\_SB.PCI0.RP05, 0x02) // Device Wake
Notify (\_SB.PWRB, 0x02) // Device Wake
}
Method (_L14, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
{
Notify (\_SB.PCI0.RP04, 0x00) // Bus Check
Notify (\_SB.PCI0.RP05, 0x00) // Bus Check
Notify (\_SB.PWRB, 0x02) // Device Wake
}
}
Method (P8XH, 2, Serialized)
{
If ((Arg0 == 0x00))
{
P80D = ((P80D & 0xFFFFFF00) | Arg1)
}
If ((Arg0 == 0x01))
{
P80D = ((P80D & 0xFFFF00FF) | (Arg1 << 0x08))
}
If ((Arg0 == 0x02))
{
P80D = ((P80D & 0xFF00FFFF) | (Arg1 << 0x10))
}
If ((Arg0 == 0x03))
{
P80D = ((P80D & 0x00FFFFFF) | (Arg1 << 0x18))
}
P80H = P80D /* \P80D */
}
Method (PNOT, 0, Serialized)
{
If (MPEN)
{
If ((PDC0 & 0x08))
{
Notify (\_PR.CPU0, 0x80) // Performance Capability Change
If ((PDC0 & 0x10))
{
If ((0x01 != OSDW ()))
{
Sleep (0x64)
}
Notify (\_PR.CPU0, 0x81) // C-State Change
}
}
If ((PDC1 & 0x08))
{
Notify (\_PR.CPU1, 0x80) // Performance Capability Change
If ((PDC1 & 0x10))
{
If ((0x01 != OSDW ()))
{
Sleep (0x64)
}
Notify (\_PR.CPU1, 0x81) // C-State Change
}
}
}
Else
{
Notify (\_PR.CPU0, 0x80) // Performance Capability Change
If ((0x01 != OSDW ()))
{
Sleep (0x64)
}
Notify (\_PR.CPU0, 0x81) // C-State Change
}
}
Method (TRAP, 2, Serialized)
{
SMIF = Arg1
If ((Arg0 == 0x01))
{
TRP0 = 0x00
Return (SMIF) /* \SMIF */
}
If ((Arg0 == 0x02))
{
TRPD = 0x00
Return (SMIF) /* \SMIF */
}
Return (0x01)
}
Method (CREV, 0, NotSerialized)
{
Return (\_SB.PCI0.LPCB.REVI)
}
Scope (\_SB)
{
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
PINI ()
}
Device (ADP1)
{
Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x3E,
0x03
})
Method (_PSR, 0, NotSerialized) // _PSR: Power Source
{
Return (PWRS) /* \PWRS */
}
Method (_PCL, 0, NotSerialized) // _PCL: Power Consumer List
{
Return (\_SB)
}
Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
{
If (OSDW ())
{
If (\_SB.PCI0.LPCB.EC.ECOK)
{
If (Arg0)
{
\_SB.PCI0.LPCB.EC.ACWK = 0x01
}
Else
{
\_SB.PCI0.LPCB.EC.ACWK = 0x00
}
}
}
}
}
Device (LID0)
{
Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x3E,
0x03
})
Method (_LID, 0, NotSerialized) // _LID: Lid Status
{
Return (LIDS) /* \LIDS */
}
Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
{
If (\_SB.PCI0.LPCB.EC.ECOK)
{
If (Arg0)
{
\_SB.PCI0.LPCB.EC.LWAK = 0x01
}
Else
{
\_SB.PCI0.LPCB.EC.LWAK = 0x00
}
}
}
}
Device (PNLF)
{
Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID
Name (_CID, "backlight") // _CID: Compatible ID
Name (_UID, 0x0A) // _UID: Unique ID
Name (_STA, 0x0B) // _STA: Status
}
Device (PWRB)
{
Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
}
Device (SLPB)
{
Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */) // _HID: Hardware ID
Name (_STA, 0x0B) // _STA: Status
}
Device (PCI0)
{
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
If (OSDW ())
{
\_SB.PCI0.SBUS.ENAB ()
}
}
Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
{
Return (0x03)
}
Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
{
Return (0x03)
}
Name (_ADR, 0x00) // _ADR: Address
Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID
Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Device (MCHC)
{
Name (_ADR, 0x00) // _ADR: Address
}
Device (MCH2)
{
Name (_ADR, 0x01) // _ADR: Address
}
Name (BUF0, ResourceTemplate ()
{
WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
0x0000, // Granularity
0x0000, // Range Minimum
0x00FF, // Range Maximum
0x0000, // Translation Offset
0x0100, // Length
,, )
IO (Decode16,
0x0CF8, // Range Minimum
0x0CFF, // Range Maximum
0x01, // Alignment
0x08, // Length
)
WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
0x0000, // Granularity
0x0000, // Range Minimum
0x0CF7, // Range Maximum
0x0000, // Translation Offset
0x0CF8, // Length
,, , TypeStatic, DenseTranslation)
WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
0x0000, // Granularity
0x0D00, // Range Minimum
0xFFFF, // Range Maximum
0x0000, // Translation Offset
0xF300, // Length
,, , TypeStatic, DenseTranslation)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000A0000, // Range Minimum
0x000BFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00020000, // Length
,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000C0000, // Range Minimum
0x000C3FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000C4000, // Range Minimum
0x000C7FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000C8000, // Range Minimum
0x000CBFFF, // Range Maximum
0x00000000, // Translation Offset