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
|
/* in progress */
Name (Z160, 0xA0)
Method (M600, 0, Serialized)
{
Name (TS, "m600")
Name (I000, 0xABCD0000)
Method (M000, 1, NotSerialized)
{
I000 = 0x11223344
If ((Arg0 != 0xABCD0000))
{
ERR (TS, Z160, 0x0D, 0x00, 0x00, Arg0, 0xABCD0000)
}
}
M000 (I000)
If ((I000 != 0x11223344))
{
ERR (TS, Z160, 0x14, 0x00, 0x00, I000, 0x11223344)
}
}
/*
do these
Method(m003)
{
Name(i000, 0x00000001)
Method(m001, 1)
{
Store(0x00000020, i000)
Return (arg0)
}
Store(Add(i000, m001(i000)), Local0)
if (LNotEqual(Local0, 0x00000002)) {
Store("Error 2", Debug)
Store(Local0, Debug)
} else {
Store("Ok 2", Debug)
}
if (LNotEqual(i000, 0x00000020)) {
Store("Error 3", Debug)
} else {
Store("Ok 3", Debug)
}
}
*/
Method (N006, 0, NotSerialized)
{
If (0x01)
{
SRMT ("m600")
M600 ()
}
Else
{
SRMT ("m600")
M600 ()
}
}
|