~ubuntu-branches/ubuntu/vivid/fwts/vivid-proposed

« back to all changes in this revision

Viewing changes to fwts-test/disassemble-0001/SSDT4.dsl.original

  • Committer: Package Import Robot
  • Author(s): Ivan Hu, Colin Ian King, Keng-Yu Lin
  • Date: 2014-03-17 15:13:44 UTC
  • mfrom: (34.2.14)
  • Revision ID: package-import@ubuntu.com-20140317151344-fb63b5b0or2h6261
Tags: 14.03.00-0ubuntu1
[Colin Ian King]
* acpi: fwts_acpi_tables: fix up missing FACS (LP: #1284097)
* acpi: acpidump: provide table provenance (LP: #1284205)
* apci: acpiinfo: enable for non-x86 arches (LP: #1284557)
* Add utility to dump _PLD (Physical Device Location) information
  (LP: #1281835)
* acpi: add in a tool to dump GPE information (LP: #1283473)
* lib: fwts_acpi_tables: handle zero 64 bit addrs in FADT (LP: #1285167)
* bios: hda_audio: skip the test if audio devices don't exist (LP: #1285571)
* Remove copy-acpica.sh script, it is no longer used
* acpi: checksum: print RSDP checksum correctly (LP: #1287815)
* lib: fwts_acpi_tables: update RSDP checksum on fixed-up RSDP (LP: #1287852)
* acpi: acpitables: remove irrelevant test case (LP: #1287891)
* uefi: uefidump: small re-working of uefi GUID lookup
* fwts-test: update acpidump-0001
* fwts-test: acpitables-0002: sync with recent table fixing
* fwts-test: syntaxcheck-0001: update to sync with fwts
* fwts-test: arg-show-tests-0001: keep in sync with fwts
* fwts-test: arg-show-tests-full-0001: keep in sync with fwts
* fwts-test: checksum-0001: update due to fwts formatting fixes
* fwts-test: arg-table-path-0001: sync with fwts changes
* fwts-test: acpitables-0003: update to sync with fwts
* fwts-test: acpitables-0004: update test
* fwts-test: acpitables-0005: update test
* fwts-test: acpitables-0006: update test
* fwts-test: acpitables-0007: update test
* fwts-test: acpitables-0008: update test
* fwts-test: skip some tests on non-x86 builds
* fwts-test: fix tests not to compare against date (LP: #1289225)
* fwts-test: arg-help-0001: fix up some tests issues
* fwts-test: arg-log-format-0001: make test less pedandic on line numbers
* fwts-test: arg-show-progress-dialog: remove version from test
* acpica: ppc64el needs to be built as a 64 bit architecture
* debian: limit architectures to i386 amd64 armel armhf arm64 ppc64 ppc64el

[Keng-Yu Lin]
* fwts-test: Copy all files from fwts-test git tree (LP: #1201250)
* lib: Make --disassemble-aml accept the outputdir argument (LP: #1201250)
* fwts-test: Update disassemble-0001 test (LP: #1201250)
* fwts-test: Update the test scripts for new test environment (LP: #1201250)
* lib: fwts_args: determine tty width from stdin
* fwts-test: disassemble-0001: rename *.orig to *.original

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Intel ACPI Component Architecture
 
3
 * AML Disassembler version 20130418-64 [May  2 2013]
 
4
 * Copyright (c) 2000 - 2014 Intel Corporation
 
5
 * 
 
6
 * Disassembly of /tmp/fwts_iasl_12884_SSDT.dat, Fri May  3 09:41:56 2013
 
7
 *
 
8
 * Original Table Header:
 
9
 *     Signature        "SSDT"
 
10
 *     Length           0x000004E6 (1254)
 
11
 *     Revision         0x01
 
12
 *     Checksum         0xDF
 
13
 *     OEM ID           "PmRef"
 
14
 *     OEM Table ID     "CpuPm"
 
15
 *     OEM Revision     0x00003000 (12288)
 
16
 *     Compiler ID      "INTL"
 
17
 *     Compiler Version 0x20050624 (537200164)
 
18
 */
 
19
DefinitionBlock ("/tmp/fwts_iasl_12884_SSDT.aml", "SSDT", 1, "PmRef", "CpuPm", 0x00003000)
 
20
{
 
21
 
 
22
    External (_PR_.CPU0, DeviceObj)
 
23
    External (_PR_.CPU1, DeviceObj)
 
24
    External (PCP0)
 
25
    External (PCP1)
 
26
 
 
27
    Scope (\)
 
28
    {
 
29
        Name (SSDT, Package (0x0C)
 
30
        {
 
31
            "CPU0IST ", 
 
32
            0xBF6D959E, 
 
33
            0x000001B4, 
 
34
            "CPU1IST ", 
 
35
            0xBF6D9752, 
 
36
            0x000000C8, 
 
37
            "CPU0CST ", 
 
38
            0xBF6D906F, 
 
39
            0x000004AA, 
 
40
            "CPU1CST ", 
 
41
            0xBF6D9519, 
 
42
            0x00000085
 
43
        })
 
44
        Name (CFGD, 0x113F69F1)
 
45
        Name (\PDC0, 0x80000000)
 
46
        Name (\PDC1, 0x80000000)
 
47
        Name (\SDTL, 0x00)
 
48
    }
 
49
 
 
50
    Scope (\_PR.CPU0)
 
51
    {
 
52
        Name (HI0, 0x00)
 
53
        Name (HC0, 0x00)
 
54
        Method (_PDC, 1, NotSerialized)  // _PDC: Processor Driver Capabilities
 
55
        {
 
56
            CreateDWordField (Arg0, 0x00, REVS)
 
57
            CreateDWordField (Arg0, 0x04, SIZE)
 
58
            Store (SizeOf (Arg0), Local0)
 
59
            Store (Subtract (Local0, 0x08), Local1)
 
60
            CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
 
61
            Name (STS0, Buffer (0x04)
 
62
            {
 
63
                 0x00, 0x00, 0x00, 0x00
 
64
            })
 
65
            Concatenate (STS0, TEMP, Local2)
 
66
            _OSC (Buffer (0x10)
 
67
                {
 
68
                    /* 0000 */   0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
 
69
                    /* 0008 */   0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
 
70
                }, REVS, SIZE, Local2)
 
71
        }
 
72
 
 
73
        Method (_OSC, 4, NotSerialized)  // _OSC: Operating System Capabilities
 
74
        {
 
75
            CreateDWordField (Arg3, 0x00, STS0)
 
76
            CreateDWordField (Arg3, 0x04, CAP0)
 
77
            CreateDWordField (Arg0, 0x00, IID0)
 
78
            CreateDWordField (Arg0, 0x04, IID1)
 
79
            CreateDWordField (Arg0, 0x08, IID2)
 
80
            CreateDWordField (Arg0, 0x0C, IID3)
 
81
            Name (UID0, Buffer (0x10)
 
82
            {
 
83
                /* 0000 */   0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
 
84
                /* 0008 */   0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
 
85
            })
 
86
            CreateDWordField (UID0, 0x00, EID0)
 
87
            CreateDWordField (UID0, 0x04, EID1)
 
88
            CreateDWordField (UID0, 0x08, EID2)
 
89
            CreateDWordField (UID0, 0x0C, EID3)
 
90
            If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), 
 
91
                LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
 
92
            {
 
93
                Store (0x06, STS0)
 
94
                Return (Arg3)
 
95
            }
 
96
 
 
97
            If (LNotEqual (Arg1, 0x01))
 
98
            {
 
99
                Store (0x0A, STS0)
 
100
                Return (Arg3)
 
101
            }
 
102
 
 
103
            Or (And (PDC0, 0x7FFFFFFF), CAP0, PDC0)
 
104
            Store (And (PDC0, 0xFF), PCP0)
 
105
            If (And (CFGD, 0x01))
 
106
            {
 
107
                If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (PDC0, 
 
108
                    0x09), 0x09)), LNot (And (SDTL, 0x01))))
 
109
                {
 
110
                    Or (SDTL, 0x01, SDTL)
 
111
                    OperationRegion (IST0, SystemMemory, DerefOf (Index (SSDT, 0x01)), DerefOf (Index (SSDT, 0x02
 
112
                        )))
 
113
                    Load (IST0, HI0)
 
114
                }
 
115
            }
 
116
 
 
117
            If (And (CFGD, 0xF0))
 
118
            {
 
119
                If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC0, 0x18
 
120
                    )), LNot (And (SDTL, 0x02))))
 
121
                {
 
122
                    Or (SDTL, 0x02, SDTL)
 
123
                    OperationRegion (CST0, SystemMemory, DerefOf (Index (SSDT, 0x07)), DerefOf (Index (SSDT, 0x08
 
124
                        )))
 
125
                    Load (CST0, HC0)
 
126
                }
 
127
            }
 
128
 
 
129
            Return (Arg3)
 
130
        }
 
131
    }
 
132
 
 
133
    Scope (\_PR.CPU1)
 
134
    {
 
135
        Name (HI1, 0x00)
 
136
        Name (HC1, 0x00)
 
137
        Method (_PDC, 1, NotSerialized)  // _PDC: Processor Driver Capabilities
 
138
        {
 
139
            CreateDWordField (Arg0, 0x00, REVS)
 
140
            CreateDWordField (Arg0, 0x04, SIZE)
 
141
            Store (SizeOf (Arg0), Local0)
 
142
            Store (Subtract (Local0, 0x08), Local1)
 
143
            CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
 
144
            Name (STS1, Buffer (0x04)
 
145
            {
 
146
                 0x00, 0x00, 0x00, 0x00
 
147
            })
 
148
            Concatenate (STS1, TEMP, Local2)
 
149
            _OSC (Buffer (0x10)
 
150
                {
 
151
                    /* 0000 */   0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
 
152
                    /* 0008 */   0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
 
153
                }, REVS, SIZE, Local2)
 
154
        }
 
155
 
 
156
        Method (_OSC, 4, NotSerialized)  // _OSC: Operating System Capabilities
 
157
        {
 
158
            CreateDWordField (Arg3, 0x00, STS1)
 
159
            CreateDWordField (Arg3, 0x04, CAP1)
 
160
            CreateDWordField (Arg0, 0x00, IID0)
 
161
            CreateDWordField (Arg0, 0x04, IID1)
 
162
            CreateDWordField (Arg0, 0x08, IID2)
 
163
            CreateDWordField (Arg0, 0x0C, IID3)
 
164
            Name (UID1, Buffer (0x10)
 
165
            {
 
166
                /* 0000 */   0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
 
167
                /* 0008 */   0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
 
168
            })
 
169
            CreateDWordField (UID1, 0x00, EID0)
 
170
            CreateDWordField (UID1, 0x04, EID1)
 
171
            CreateDWordField (UID1, 0x08, EID2)
 
172
            CreateDWordField (UID1, 0x0C, EID3)
 
173
            If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), 
 
174
                LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
 
175
            {
 
176
                Store (0x06, STS1)
 
177
                Return (Arg3)
 
178
            }
 
179
 
 
180
            If (LNotEqual (Arg1, 0x01))
 
181
            {
 
182
                Store (0x0A, STS1)
 
183
                Return (Arg3)
 
184
            }
 
185
 
 
186
            Or (And (PDC1, 0x7FFFFFFF), CAP1, PDC1)
 
187
            Store (And (PDC1, 0xFF), PCP1)
 
188
            If (And (CFGD, 0x01))
 
189
            {
 
190
                If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (PDC1, 
 
191
                    0x09), 0x09)), LNot (And (SDTL, 0x10))))
 
192
                {
 
193
                    Or (SDTL, 0x10, SDTL)
 
194
                    OperationRegion (IST1, SystemMemory, DerefOf (Index (SSDT, 0x04)), DerefOf (Index (SSDT, 0x05
 
195
                        )))
 
196
                    Load (IST1, HI1)
 
197
                }
 
198
            }
 
199
 
 
200
            If (And (CFGD, 0xF0))
 
201
            {
 
202
                If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC1, 0x18
 
203
                    )), LNot (And (SDTL, 0x20))))
 
204
                {
 
205
                    Or (SDTL, 0x20, SDTL)
 
206
                    OperationRegion (CST1, SystemMemory, DerefOf (Index (SSDT, 0x0A)), DerefOf (Index (SSDT, 0x0B
 
207
                        )))
 
208
                    Load (CST1, HC1)
 
209
                }
 
210
            }
 
211
 
 
212
            Return (Arg3)
 
213
        }
 
214
    }
 
215
}
 
216