converterSample.asl revision 1.1.1.2 1 /*
2 * top of the
3 * definition block
4 */
5 DefinitionBlock(
6 "converterSample.aml", /* These comments */
7 "DSDT", /* within the */
8 0x02, /* definition block header */
9 "Intel", /* are not retained. */
10 "Many", /* They will be */
11 0x00000001 /* Discarded */)
12 {
13
14 /* first comment of named object b */
15 Name (b, 5)
16 Name(p008, Package()
17 {
18 0, 0,
19 0, 0xffffffff,
20 0x00012345, 0x00007abc,
21 0x00000012, 0x00000034,
22 0x00000001, 0x000000ff,
23 0x00000001, 0x0000ffff,
24 0x00000001, 0xffffffff,
25
26 // bit-size of multiplicand
27 0x67812345, 2,
28
29 // bit-size of multiplier
30 3, 0x45678123,
31
32 0xffffffff, 0xffffffff,
33
34 // ACPI: Overflow conditions are ignored and results are undefined.
35 })
36
37 Method(MAIN) {
38 /**********************************************************************
39 * *
40 * This is a long *
41 * multi-line *
42 * comment *
43 * *
44 **********************************************************************/
45 //c12
46 if(1==1)//c13
47 { //c14
48 Name(b,0);
49 } //c15
50 }
51
52 //c16
53 Name (a,
54 Package(3)
55 {/*c20*/
56 0x04, /*c21*/
57 /*c22*/
58 0x05, /*c23*/
59 0x06 /*c24*/
60 }/*c25*/
61 )/*c26*/
62
63
64 //c34
65 Method(SCOP)
66 {
67 //c35
68 Name (a1, 0x04)
69 }
70
71 OperationRegion(GNVS,SystemMemory,0xFFFF0000,0xAA55)
72
73 Field(GNVS,AnyAcc,Lock,Preserve)
74 {
75 //c36
76 Offset(0),//c37
77 OSYS, 8//c38
78 }
79
80
81 } //c39
82 /*ending
83 comment*/
84