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

« back to all changes in this revision

Viewing changes to fwts-test/disassemble-0001/SSDT2.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           0x0000025F (607)
 
11
 *     Revision         0x01
 
12
 *     Checksum         0xC8
 
13
 *     OEM ID           "PmRef"
 
14
 *     OEM Table ID     "Cpu0Tst"
 
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", "Cpu0Tst", 0x00003000)
 
20
{
 
21
 
 
22
    External (_PR_.CPU0, DeviceObj)
 
23
    External (_PSS, IntObj)
 
24
    External (CFGD)
 
25
    External (PDC0)
 
26
 
 
27
    Scope (\_PR.CPU0)
 
28
    {
 
29
        Name (_TPC, 0x00)  // _TPC: Throttling Present Capabilities
 
30
        Method (_PTC, 0, NotSerialized)  // _PTC: Processor Throttling Control
 
31
        {
 
32
            If (And (PDC0, 0x04))
 
33
            {
 
34
                Return (Package (0x02)
 
35
                {
 
36
                    ResourceTemplate ()
 
37
                    {
 
38
                        Register (FFixedHW, 
 
39
                            0x00,               // Bit Width
 
40
                            0x00,               // Bit Offset
 
41
                            0x0000000000000000, // Address
 
42
                            ,)
 
43
                    }, 
 
44
 
 
45
                    ResourceTemplate ()
 
46
                    {
 
47
                        Register (FFixedHW, 
 
48
                            0x00,               // Bit Width
 
49
                            0x00,               // Bit Offset
 
50
                            0x0000000000000000, // Address
 
51
                            ,)
 
52
                    }
 
53
                })
 
54
            }
 
55
 
 
56
            Return (Package (0x02)
 
57
            {
 
58
                ResourceTemplate ()
 
59
                {
 
60
                    Register (SystemIO, 
 
61
                        0x04,               // Bit Width
 
62
                        0x01,               // Bit Offset
 
63
                        0x0000000000001010, // Address
 
64
                        ,)
 
65
                }, 
 
66
 
 
67
                ResourceTemplate ()
 
68
                {
 
69
                    Register (SystemIO, 
 
70
                        0x04,               // Bit Width
 
71
                        0x01,               // Bit Offset
 
72
                        0x0000000000001010, // Address
 
73
                        ,)
 
74
                }
 
75
            })
 
76
        }
 
77
 
 
78
        Name (TSSI, Package (0x08)
 
79
        {
 
80
            Package (0x05)
 
81
            {
 
82
                0x64, 
 
83
                0x03E8, 
 
84
                0x00, 
 
85
                0x00, 
 
86
                0x00
 
87
            }, 
 
88
 
 
89
            Package (0x05)
 
90
            {
 
91
                0x58, 
 
92
                0x036B, 
 
93
                0x00, 
 
94
                0x0F, 
 
95
                0x00
 
96
            }, 
 
97
 
 
98
            Package (0x05)
 
99
            {
 
100
                0x4B, 
 
101
                0x02EE, 
 
102
                0x00, 
 
103
                0x0E, 
 
104
                0x00
 
105
            }, 
 
106
 
 
107
            Package (0x05)
 
108
            {
 
109
                0x3F, 
 
110
                0x0271, 
 
111
                0x00, 
 
112
                0x0D, 
 
113
                0x00
 
114
            }, 
 
115
 
 
116
            Package (0x05)
 
117
            {
 
118
                0x32, 
 
119
                0x01F4, 
 
120
                0x00, 
 
121
                0x0C, 
 
122
                0x00
 
123
            }, 
 
124
 
 
125
            Package (0x05)
 
126
            {
 
127
                0x26, 
 
128
                0x0177, 
 
129
                0x00, 
 
130
                0x0B, 
 
131
                0x00
 
132
            }, 
 
133
 
 
134
            Package (0x05)
 
135
            {
 
136
                0x19, 
 
137
                0xFA, 
 
138
                0x00, 
 
139
                0x0A, 
 
140
                0x00
 
141
            }, 
 
142
 
 
143
            Package (0x05)
 
144
            {
 
145
                0x0D, 
 
146
                0x7D, 
 
147
                0x00, 
 
148
                0x09, 
 
149
                0x00
 
150
            }
 
151
        })
 
152
        Name (TSSM, Package (0x08)
 
153
        {
 
154
            Package (0x05)
 
155
            {
 
156
                0x64, 
 
157
                0x03E8, 
 
158
                0x00, 
 
159
                0x00, 
 
160
                0x00
 
161
            }, 
 
162
 
 
163
            Package (0x05)
 
164
            {
 
165
                0x58, 
 
166
                0x036B, 
 
167
                0x00, 
 
168
                0x1E, 
 
169
                0x00
 
170
            }, 
 
171
 
 
172
            Package (0x05)
 
173
            {
 
174
                0x4B, 
 
175
                0x02EE, 
 
176
                0x00, 
 
177
                0x1C, 
 
178
                0x00
 
179
            }, 
 
180
 
 
181
            Package (0x05)
 
182
            {
 
183
                0x3F, 
 
184
                0x0271, 
 
185
                0x00, 
 
186
                0x1A, 
 
187
                0x00
 
188
            }, 
 
189
 
 
190
            Package (0x05)
 
191
            {
 
192
                0x32, 
 
193
                0x01F4, 
 
194
                0x00, 
 
195
                0x18, 
 
196
                0x00
 
197
            }, 
 
198
 
 
199
            Package (0x05)
 
200
            {
 
201
                0x26, 
 
202
                0x0177, 
 
203
                0x00, 
 
204
                0x16, 
 
205
                0x00
 
206
            }, 
 
207
 
 
208
            Package (0x05)
 
209
            {
 
210
                0x19, 
 
211
                0xFA, 
 
212
                0x00, 
 
213
                0x14, 
 
214
                0x00
 
215
            }, 
 
216
 
 
217
            Package (0x05)
 
218
            {
 
219
                0x0D, 
 
220
                0x7D, 
 
221
                0x00, 
 
222
                0x12, 
 
223
                0x00
 
224
            }
 
225
        })
 
226
        Name (TSSF, 0x00)
 
227
        Method (_TSS, 0, NotSerialized)  // _TSS: Throttling Supported States
 
228
        {
 
229
            If (LAnd (LNot (TSSF), CondRefOf (_PSS)))
 
230
            {
 
231
                Store (_PSS, Local0)
 
232
                Store (SizeOf (Local0), Local1)
 
233
                Decrement (Local1)
 
234
                Store (DerefOf (Index (DerefOf (Index (Local0, Local1)), 0x01)), 
 
235
                    Local2)
 
236
                Store (0x00, Local3)
 
237
                While (LLess (Local3, SizeOf (TSSI)))
 
238
                {
 
239
                    Store (Divide (Multiply (Local2, Subtract (0x08, Local3)), 0x08, 
 
240
                        ), Local4)
 
241
                    Store (Local4, Index (DerefOf (Index (TSSI, Local3)), 0x01))
 
242
                    Store (Local4, Index (DerefOf (Index (TSSM, Local3)), 0x01))
 
243
                    Increment (Local3)
 
244
                }
 
245
 
 
246
                Store (Ones, TSSF)
 
247
            }
 
248
 
 
249
            If (And (PDC0, 0x04))
 
250
            {
 
251
                Return (TSSM)
 
252
            }
 
253
 
 
254
            Return (TSSI)
 
255
        }
 
256
 
 
257
        Method (_TSD, 0, NotSerialized)  // _TSD: Throttling State Dependencies
 
258
        {
 
259
            If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC0, 0x04
 
260
                ))))
 
261
            {
 
262
                Return (Package (0x01)
 
263
                {
 
264
                    Package (0x05)
 
265
                    {
 
266
                        0x05, 
 
267
                        0x00, 
 
268
                        0x00, 
 
269
                        0xFD, 
 
270
                        0x02
 
271
                    }
 
272
                })
 
273
            }
 
274
 
 
275
            Return (Package (0x01)
 
276
            {
 
277
                Package (0x05)
 
278
                {
 
279
                    0x05, 
 
280
                    0x00, 
 
281
                    0x00, 
 
282
                    0xFC, 
 
283
                    0x01
 
284
                }
 
285
            })
 
286
        }
 
287
    }
 
288
}
 
289