summaryrefslogtreecommitdiff
path: root/tests/aapits/asl/nmsp0012.asl
blob: bff40f5a0102d78de319a7313e7c08e3c5f7676d (plain)
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
DefinitionBlock(
	"nmsp0012.aml",   // Output filename
	"DSDT",     // Signature
	0x02,       // DSDT Revision
	"Intel",    // OEMID
	"Many",     // TABLE ID
	0x00000001  // OEM Revision
	) {

	/*
	 * ACPICA API Test Suite
	 * Namespace test 0012
	 */

	// Device
	Device(DEV0) {Name(s000, "DEV0")}

	Name(I000, 0)
	Name(I001, 0)

	Method(M000)
	{
		M001(DEV0)
		Increment(I000)
	}

	Method(M001, 1)
	{
		Add(Arg0, 1, Local0)
		Increment(I001)
	}
}