diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2011-04-13 18:18:52 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2011-04-13 18:18:52 +0000 |
commit | 997de4e17cf02a81027df8d01a4fcefe25da3796 (patch) | |
tree | f5abd67cc9e3ada1ae289fe7cf2e23d9abf07fcc /tests | |
parent | 4d8fe534b7309d798d941e14e51985eed6b511bc (diff) | |
download | src-997de4e17cf02a81027df8d01a4fcefe25da3796.tar.gz src-997de4e17cf02a81027df8d01a4fcefe25da3796.zip |
Import ACPICA 20110413.vendor/acpica/20110413
Notes
Notes:
svn path=/vendor-sys/acpica/dist/; revision=220604
svn path=/vendor-sys/acpica/20110413/; revision=220605; tag=vendor/acpica/20110413
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc/badcode.asl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/misc/badcode.asl b/tests/misc/badcode.asl index 59e8e2434437..4e90eac312d4 100644 --- a/tests/misc/badcode.asl +++ b/tests/misc/badcode.asl @@ -116,6 +116,11 @@ DefinitionBlock ("badcode.aml", "DSDT", 1, "Intel", "Example", 0x00000001) Store (MTH2 (), Local0) } + // Method MTH4 does not explicitly return a value + + Method (MTH4) {Return} + Method (MTH5) {Store (MTH4(), Local0)} + // Invalid _HID values Device (H1) @@ -188,6 +193,16 @@ DefinitionBlock ("badcode.aml", "DSDT", 1, "Intel", "Example", 0x00000001) Return ("Unexpected Return Value") } + // _REG must have a corresponding Operation Region declaration + // within the same scope + + Device (EC) + { + Method (_REG, 2) + { + } + } + /* * Resource Descriptor error checking */ |