Difference between revisions of "ACPI"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
Set the '''PMIO base address''' to some known address, and set up the desired ACPI IRQ (usually IRQ9; sometimes it is called the SCI interrupt). | Set the '''PMIO base address''' to some known address, and set up the desired ACPI IRQ (usually IRQ9; sometimes it is called the SCI interrupt). | ||
== | == Fixed ACPI Description Table (FADT) == | ||
You may skip this section if your SB has it already. Just call it from your MB ACPI setup code (check M2V-MX SE for details). | You may skip this section if your SB has it already. Just call it from your MB ACPI setup code (check M2V-MX SE for details). | ||
Line 29: | Line 29: | ||
In this example the ACPI IRQ is 9, and the '''PM1A event block''' starts at VT8237R_ACPI_IO_BASE. You may obtain some values from '''cat /proc/ioport''' if running with the proprietary BIOS. Not all blocks are necessary—usually only PM1A PMTMR and GPE0 are used. Please note that this table has the I/O port information stored twice using different formats. Please consult the ACPI specification for details. Most settings in '''fadt.c''' can use their default values. | In this example the ACPI IRQ is 9, and the '''PM1A event block''' starts at VT8237R_ACPI_IO_BASE. You may obtain some values from '''cat /proc/ioport''' if running with the proprietary BIOS. Not all blocks are necessary—usually only PM1A PMTMR and GPE0 are used. Please note that this table has the I/O port information stored twice using different formats. Please consult the ACPI specification for details. Most settings in '''fadt.c''' can use their default values. | ||
== | == Differentiated System Description Table (DSDT) == | ||
The '''DSDT table''' contains a bytecode that is executed by a driver in the kernel. This table stores also '''ACPI routing information''' in '''_PRT''' methods. You may add those _PRT methods later. | The '''DSDT table''' contains a bytecode that is executed by a driver in the kernel. This table stores also '''ACPI routing information''' in '''_PRT''' methods. You may add those _PRT methods later. |