Debian Codegraph @

tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/DECL.asl

raw
1 /*
2 To be investigated.
3 Many Outstanding allocations on Reference ASLTS test run:
4 Outstanding: 0xDB allocations after execution
5 ACPI Error (utalloc-1053): 100(64) Outstanding allocations [20060127]
6 .............. Output of test:
7 (.......)
8 [ACPI Debug] String: [0x25] ":STST:functional:reference:m26a:PASS:"
9 [ACPI Debug] String: [0x3A] ":STST:functional:reference:m26b:FAIL:Errors # 11 00 00 00:"
10 [ACPI Debug] String: [0x25] ":STST:functional:reference:m26c:PASS:"
11 [ACPI Debug] String: [0x25] ":STST:functional:reference:m26d:PASS:"
12 [ACPI Debug] String: [0x3A] ":STST:functional:reference:m26e:FAIL:Errors # 01 00 00 00:"
13 [ACPI Debug] String: [0x25] ":STST:functional:reference:m26f:PASS:"
14 [ACPI Debug] String: [0x25] ":STST:functional:reference:m270:PASS:"
15 [ACPI Debug] String: [0x25] ":STST:functional:reference:m276:PASS:"
16 [ACPI Debug] String: [0x0E] "========= END."
17 [ACPI Debug] String: [0x5B] "TEST ACPICA: 64-bit : FAIL : Errors # 0x0000000000000016, Failed tests # 0x0000000000000004"
18 Outstanding: 0xDB allocations after execution
19 Execution of \MAIN returned object 00326E38 Buflen 10
20 [Integer] = 0000000000000001
21 - q
22 0049CCB8 Len 0028 utcache-407 [Operand] Integer R1
23 00495CB8 Len 0005 dsobject-333 [UNDEFINED]
24 0048C488 Len 0028 utcache-407 [Operand] Integer R1
25 0047F068 Len 0028 utcache-407 [Operand] BankField R1
26 0047C108 Len 0028 utcache-407 [Operand] RegionField R1
27 0047D178 Len 0028 utcache-407 [Operand] IndexField R1
28 0047EB88 Len 0028 utcache-407 [Operand] BufferField R1
29 0047CF68 Len 0028 utcache-407 [Operand] RegionField R1
30 0047E5B8 Len 0028 utcache-407 [Operand] Extra R1
31 0047FFC8 Len 0028 utcache-407 [Operand] RegionField R1
32 0047CE98 Len 0028 utcache-407 [Operand] RegionField R1
33 0047CAB8 Len 0028 utcache-407 [Operand] IndexField R1
34 0047FDD8 Len 0028 utcache-407 [Operand] BankField R1
35 0047D748 Len 0028 utcache-407 [Operand] RegionField R1
36 0046A2A8 Len 0028 utcache-407 [Operand] RegionField R1
37 00459598 Len 0028 utcache-407 [Operand] RegionField R1
38 00452F68 Len 0028 utcache-407 [Operand] RegionField R1
39 00452FC8 Len 0028 utcache-407 [Operand] Extra R1
40 004511B8 Len 0005 dsobject-333 [UNDEFINED]
41 004532F8 Len 0028 utcache-407 [Operand] BufferField R1
42 00451098 Len 0028 utcache-407 [Operand] Buffer R1
43 00472138 Len 0028 utcache-407 [Operand] Buffer R1
44 00495748 Len 0028 utcache-407 [Operand] Extra R1
45 004934A8 Len 0028 utcache-407 [Node] ????
46 00495058 Len 0028 utcache-407 [Node] ????
47 004950B8 Len 0028 utcache-407 [Operand] Extra R1
48 004951D8 Len 0028 utcache-407 [Operand] Region R5
49 00495298 Len 0028 utcache-407 [Node] ????
50 00495358 Len 0028 utcache-407 [Node] ????
51 00490C88 Len 0028 utcache-407 [Node] ????
52 00495C58 Len 0028 utcache-407 [Operand] Region R5
53 0048F4D8 Len 0028 utcache-407 [Node] ????
54 0048CB78 Len 0028 utcache-407 [Node] ????
55 00497DE8 Len 0028 utcache-407 [Node] ????
56 00497F08 Len 0028 utcache-407 [Node] ????
57 00493B68 Len 0028 utcache-407 [Node] ????
58 00493BC8 Len 0028 utcache-407 [Node] ????
59 00493E68 Len 0028 utcache-407 [Node] ????
60 00492278 Len 0028 utcache-407 [Node] ????
61 00492528 Len 0028 utcache-407 [Node] ????
62 00492AF8 Len 0028 utcache-407 [Node] ????
63 00492CD8 Len 0028 utcache-407 [Node] ????
64 00496F68 Len 0028 utcache-407 [Node] ????
65 004972B8 Len 0028 utcache-407 [Node] ????
66 004973D8 Len 0028 utcache-407 [Node] ????
67 0048CAB8 Len 0028 utcache-407 [Node] ????
68 0048F7F8 Len 0028 utcache-407 [Node] ????
69 0048F398 Len 0028 utcache-407 [Node] ????
70 0048B068 Len 0028 utcache-407 [Node] ????
71 0047B198 Len 0028 utcache-407 [Node] ????
72 004914E8 Len 0028 utcache-407 [Node] ????
73 00491EA8 Len 0028 utcache-407 [Node] ????
74 00491F08 Len 0028 utcache-407 [Node] ????
75 00481F08 Len 0028 utcache-407 [Node] ????
76 0047D358 Len 0005 dsobject-333 [UNDEFINED]
77 00494468 Len 0028 utcache-407 [Node] ????
78 0048F458 Len 0028 utcache-407 [Node] ????
79 0048F858 Len 0028 utcache-407 [Operand] BankField R1
80 0048F8F8 Len 0028 utcache-407 [Operand] RegionField R1
81 0048F958 Len 0028 utcache-407 [Operand] IndexField R1
82 0048FA08 Len 0028 utcache-407 [Operand] BufferField R1
83 0048FAA8 Len 0028 utcache-407 [Operand] RegionField R1
84 0048FB58 Len 0028 utcache-407 [Operand] Extra R1
85 0048FBB8 Len 0028 utcache-407 [Operand] RegionField R1
86 0048FC68 Len 0028 utcache-407 [Operand] RegionField R1
87 0048FCC8 Len 0028 utcache-407 [Operand] IndexField R1
88 0048FDC8 Len 0028 utcache-407 [Operand] BankField R1
89 0048FE78 Len 0028 utcache-407 [Operand] RegionField R1
90 0048FED8 Len 0028 utcache-407 [Operand] RegionField R1
91 0048E0C8 Len 0028 utcache-407 [Operand] RegionField R1
92 0048E128 Len 0028 utcache-407 [Operand] RegionField R1
93 0048E188 Len 0028 utcache-407 [Operand] Extra R1
94 0048E238 Len 0005 dsobject-333 [UNDEFINED]
95 0048E278 Len 0028 utcache-407 [Operand] BufferField R1
96 0048E368 Len 0028 utcache-407 [Operand] Buffer R1
97 0048E528 Len 0028 utcache-407 [Operand] Buffer R1
98 0048E898 Len 0028 utcache-407 [Node] ????
99 0048ED08 Len 0028 utcache-407 [Node] ????
100 0048EF18 Len 0028 utcache-407 [Operand] Extra R1
101 0048EFC8 Len 0028 utcache-407 [Operand] Region R5
102 0048D0E8 Len 0028 utcache-407 [Operand] Region R5
103 0048C938 Len 0028 utcache-407 [Operand] Extra R1
104 0048BB48 Len 0028 utcache-407 [Node] ????
105 00489648 Len 0028 utcache-407 [Node] ????
106 00489708 Len 0028 utcache-407 [Node] ????
107 00489828 Len 0028 utcache-407 [Node] ????
108 00489B88 Len 0028 utcache-407 [Node] ????
109 0047E948 Len 0005 dsobject-333 [UNDEFINED]
110 00471428 Len 0028 utcache-407 [Operand] AddrHandler R5
111 0046E618 Len 0028 utcache-407 [Operand] IndexField R4
112 0046E678 Len 0028 utcache-407 [Operand] BankField R4
113 0046E6D8 Len 0028 utcache-407 [Operand] RegionField R4
114 0046E738 Len 0028 utcache-407 [Operand] RegionField R4
115 0046E798 Len 0028 utcache-407 [Operand] RegionField R4
116 0046E7F8 Len 0028 utcache-407 [Operand] RegionField R4
117 0046E858 Len 0028 utcache-407 [Operand] Extra R1
118 0046E8B8 Len 0028 utcache-407 [Operand] BufferField R4
119 0046E968 Len 0028 utcache-407 [Operand] Buffer R4
120 00459C68 Len 0028 utcache-407 [Operand] Extra R1
121 00459CC8 Len 0028 utcache-407 [Operand] Region R20
122 ACPI Error (utalloc-1053): 100(64) Outstanding allocations [20060127]
123 #
124 ..............................
125 */
126 /*
127 * Some or all of this work - Copyright (c) 2006 - 2021, Intel Corp.
128 * All rights reserved.
129 *
130 * Redistribution and use in source and binary forms, with or without modification,
131 * are permitted provided that the following conditions are met:
132 *
133 * Redistributions of source code must retain the above copyright notice,
134 * this list of conditions and the following disclaimer.
135 * Redistributions in binary form must reproduce the above copyright notice,
136 * this list of conditions and the following disclaimer in the documentation
137 * and/or other materials provided with the distribution.
138 * Neither the name of Intel Corporation nor the names of its contributors
139 * may be used to endorse or promote products derived from this software
140 * without specific prior written permission.
141 *
142 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
143 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
144 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
145 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
146 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
147 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
148 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
149 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
150 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
151 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
152 */
153 /*
154 * Bug 203 (local-bugzilla-348):
155 *
156 * SUMMARY: ObjectType operation falls into infinite loop for ring of RefOf references
157 *
158 * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
159 */
160 Method (M813, 0, NotSerialized)
161 {
162 Method (M000, 0, NotSerialized)
163 {
164 Local1 = RefOf (Local0)
165 Local2 = RefOf (Local1)
166 Local0 = RefOf (Local2)
167 Local7 = ObjectType (Local0)
168 /* ? */
169
170 If ((Local7 != C008))
171 {
172 ERR (__METHOD__, ZFFF, __LINE__, 0x00, 0x00, Local7, C008)
173 }
174 /* or RING_OF_REFS_EXCEPTION? */
175 }
176
177 M000 ()
178 }