ACPI works through descriptive tables (Differentiated System Description Table) who liaise between the calls of the OS and associated equipment. These tables are compiled using the compiler and stored in the ACPI BIOS, are written in a specific language called AML (ACPI Machine Language), which reads in part (here, for the description of different energy states of processor).
Code:
Processor (
\ _SB.CPU0, / / Processor Name
One, / / ACPI Processor ID
0x120,
6)
(Name (_CST, Package ()
(3
Package () (ResourceTemplate () (Register (FFixedHW, 0, 0, 0)), 1, 20, 1000),
Package () (ResourceTemplate () (Register (SystemIO, 8, 0, 0x161)), 2, 40, 750),
Package () (ResourceTemplate () (Register (SystemIO, 8, 0, 0x162)), 3, 60, 500)
))
Name (_CSD, Package ()
(Package () (6, 0, 0, 0xFD, 2, 1),
Package () 6 (, 0, 0, 0xFD, 2, 2)
)))
Bookmarks