2012-02-25 21:40:23 +01:00
|
|
|
This directory contains an implementation of a simple ACPI parser
|
|
|
|
|
|
|
|
Behavior
|
|
|
|
--------
|
|
|
|
|
2015-05-15 13:15:41 +02:00
|
|
|
This server should be used when using a kernel (like Fiasco.OC, Nova,
|
|
|
|
base_hw x86_64) that takes advantage of x86's APIC. The server traverses the
|
2015-06-08 09:05:32 +02:00
|
|
|
ACPI tables and reports the interrupt line of devices within the PCI config
|
|
|
|
space of GSIs found in the ACPI tables. The 'MADT' table is parsed by the
|
|
|
|
server as well, enabling clients to use the correct IRQ when
|
|
|
|
'Interrupt Override' structures are found within the table. All information
|
|
|
|
are reported to a report_rom service as "acpi" report. The report can be
|
|
|
|
consumed by any interested party, e.g. the platform driver. Please consult
|
|
|
|
the platform driver README for more details.
|
2012-02-25 21:40:23 +01:00
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
2015-05-15 13:15:41 +02:00
|
|
|
!<start name="acpi_drv">
|
2015-06-08 09:05:32 +02:00
|
|
|
! <resource name="RAM" quantum="2M"/>
|
2012-02-25 21:40:23 +01:00
|
|
|
!</start>
|
2012-03-15 16:50:09 +01:00
|
|
|
!
|
2015-06-08 09:05:32 +02:00
|
|
|
!<start name="report_rom">
|
|
|
|
! <resource name="RAM" quantum="2M"/>
|
|
|
|
! <provides>
|
|
|
|
! <service name="ROM" />
|
|
|
|
! <service name="Report" />
|
|
|
|
! </provides>
|
|
|
|
! <config>
|
|
|
|
! <rom>
|
|
|
|
! <policy label="platform_drv -> acpi" report="acpi_drv -> acpi"/>
|
|
|
|
! </rom>
|
|
|
|
! </config>
|
2012-03-15 16:50:09 +01:00
|
|
|
!</start>
|
2015-06-08 09:05:32 +02:00
|
|
|
!
|
|
|
|
!<start name="platform_drv">
|
|
|
|
! ...
|