aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-04-20 23:39:48 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-04-20 23:39:48 +0000
commitb43c4dd5abdb09fe2e7f73f186586b962c9dc9f5 (patch)
tree79677aa8d9d6e5b97246264fe36dcad25ae471a1 /tests
parent9fd6e3caab6c4754f50b66bcc8bdbf7ef8397f74 (diff)
downloadsrc-b43c4dd5abdb09fe2e7f73f186586b962c9dc9f5.tar.gz
src-b43c4dd5abdb09fe2e7f73f186586b962c9dc9f5.zip
Import ACPICA 20120420.vendor/acpica/20120420
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=234518 svn path=/vendor-sys/acpica/20120420/; revision=234519; tag=vendor/acpica/20120420
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/grammar.asl14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/misc/grammar.asl b/tests/misc/grammar.asl
index 9d1a31254994..6300e26cac58 100644
--- a/tests/misc/grammar.asl
+++ b/tests/misc/grammar.asl
@@ -9322,6 +9322,7 @@ DefinitionBlock (
{
Store (SMIX, Local0)
+ Notify (\_SB_, 0x29)
If (And (Local0, 0x01))
{ Notify (\_SB_.SMIS, 0x21)}
@@ -9336,6 +9337,17 @@ DefinitionBlock (
} // End Method EVNT
+ Method (NTFY)
+ {
+ Notify (\_SB_, 1)
+ Notify (\_TZ_.TZ1, 2)
+ Notify (\_PR_.CPU0, 3)
+
+ Notify (\_SB_, 0x81)
+ Notify (\_TZ_.TZ1, 0x82)
+ Notify (\_PR_.CPU0, 0x83)
+ }
+
Device (SMIS)
{
Method (BINK)
@@ -9375,6 +9387,7 @@ DefinitionBlock (
// Expect EVNT to generate Notify value we just previously
// stored in BYTE
+
Store (0x20, BYTE)
EVNT ()
Store (0x21, BYTE)
@@ -9384,6 +9397,7 @@ DefinitionBlock (
Store (0x23, BYTE)
EVNT ()
+ NTFY ()
Return (0) // pass
} // End Method TEST
} // Device SMIS