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

	/*
	 * ACPICA API Test Suite
	 * SSDT table #1
	 */

	Name(i901, 0x9010)
	Name(s901, "String SSDT1")
	Name(p901, Package(1){"Package SSDT1"})

	Method(m901)
	{
		Method(m000)
		{
			Name(i000, 0x9011)

			Return (i000)
		}

		Store(p901, Debug)
		Store("String replace Package SSDT1", p901)
		Store(p901, Debug)

		Store(m000(), Debug)
	}
}