genode/repos/os/src/drivers/acpi
Adrian-Ken Rueegsegger c2ff0ae9d4 Minor cleanup fixes
- Fix spelling errors
- Remove extra semicolons
- Remove extra spaces

Fixes #1650
2015-08-21 11:00:59 +02:00
..
x86 Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
acpi.cc Minor cleanup fixes 2015-08-21 11:00:59 +02:00
acpi.h x86: use report_rom for acpi and pci driver 2015-06-09 11:00:12 +02:00
main.cc x86: use report_rom for acpi and pci driver 2015-06-09 11:00:12 +02:00
memory.h acpi: amend handling MMIO regions for ACPI tables 2015-02-27 11:40:59 +01:00
README pci: convert to platform_drv 2015-06-22 14:43:34 +02:00

This directory contains an implementation of a simple ACPI parser

Behavior
--------

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
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.

Usage
-----

!<start name="acpi_drv">
!  <resource name="RAM" quantum="2M"/>
!</start>
!
!<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>
!</start>
!
!<start name="platform_drv">
!  ...