| 1 |
/* in progress */ |
| 2 |
|
| 3 |
Name (Z160, 0xA0) |
| 4 |
Method (M600, 0, Serialized) |
| 5 |
{ |
| 6 |
Name (I000, 0xABCD0000) |
| 7 |
Method (M000, 1, NotSerialized) |
| 8 |
{ |
| 9 |
I000 = 0x11223344 |
| 10 |
If ((Arg0 != 0xABCD0000)) |
| 11 |
{ |
| 12 |
ERR (__METHOD__, Z160, __LINE__, 0x00, 0x00, Arg0, 0xABCD0000) |
| 13 |
} |
| 14 |
} |
| 15 |
|
| 16 |
M000 (I000) |
| 17 |
If ((I000 != 0x11223344)) |
| 18 |
{ |
| 19 |
ERR (__METHOD__, Z160, __LINE__, 0x00, 0x00, I000, 0x11223344) |
| 20 |
} |
| 21 |
} |
| 22 |
|
| 23 |
/* |
| 24 |
do these |
| 25 |
Method(m003) |
| 26 |
{ |
| 27 |
Name(i000, 0x00000001) |
| 28 |
Method(m001, 1) |
| 29 |
{ |
| 30 |
Store(0x00000020, i000) |
| 31 |
Return (arg0) |
| 32 |
} |
| 33 |
Store(Add(i000, m001(i000)), Local0) |
| 34 |
if (LNotEqual(Local0, 0x00000002)) { |
| 35 |
Store("Error 2", Debug) |
| 36 |
Store(Local0, Debug) |
| 37 |
} else { |
| 38 |
Store("Ok 2", Debug) |
| 39 |
} |
| 40 |
if (LNotEqual(i000, 0x00000020)) { |
| 41 |
Store("Error 3", Debug) |
| 42 |
} else { |
| 43 |
Store("Ok 3", Debug) |
| 44 |
} |
| 45 |
} |
| 46 |
*/ |
| 47 |
Method (N006, 0, NotSerialized) |
| 48 |
{ |
| 49 |
If (0x01) |
| 50 |
{ |
| 51 |
SRMT ("m600") |
| 52 |
M600 () |
| 53 |
} |
| 54 |
Else |
| 55 |
{ |
| 56 |
SRMT ("m600") |
| 57 |
M600 () |
| 58 |
} |
| 59 |
} |