NetBSD/sys/dev/acpi/acpica
jmcneill 6f25f8641b Add support for Arm N1 SDP PCIe host controller.
The N1 SDP has a few bugs that we need to work around:
 - PCIe root port config space lives in a non-standard location.
 - Access to PCIe config space of devices that do not exist results in
   an sync SError. Firmware creates a "known devices" table at a fixed
   physical address that we use to filter PCI conf access to only known
   devices.

This change splits the Arm ACPI PCI quirks into separate files for each
host controller, and allows per-segment quirks to be applied.

These changes exposed some bugs in the MI ACPI layer related to
multi-segment support. The MI ACPI PCI code was using a shared PCI
chipset tag to access devices, and these accesses can happen before our
PCI host bridge drivers are attached! The global chipset tag is now gone,
and an MD callback can provide a custom tag on a per-segment basis.
2020-01-17 17:06:32 +00:00
..
acpi_func.h Implement ACPI_FLUSH_CPU_CACHE on aarch64. 2018-10-12 21:36:24 +00:00
files.acpica
OsdEnvironment.c
OsdHardware.c Add support for Arm N1 SDP PCIe host controller. 2020-01-17 17:06:32 +00:00
OsdInterrupt.c
OsdMemory.c
OsdMisc.c
OsdSchedule.c
OsdStream.c
OsdSynch.c
README

#	$NetBSD: README,v 1.6 2014/01/18 09:51:08 apb Exp $

This is the Intel ACPI Component Architecture, Intel's reference
implementation of the core operating system ACPI support.  The
portion in the acpica/ subdirectory is provided by the operating
system as the glue between the OS and the ACPICA.

Please, do not import an updated ACPICA snapshot from Intel unless
you absolutely know what you're doing -- The Intel directory layout
changes from release to release, and we must munge it (by hand) into
something sane that we can use. The current version of munge is:

	mv source/* .
	rmdir source
	mv components/* .
	rmdir components

Please also update ACPI_DATE in include/acapps.h.

The routines that the operating system must provide are documented
in the following document:

	Intel Corp., ACPI Component Architecture Programmer Reference

Copies of the document may be retrieved from:

	http://www.acpica.org/download/acpica-reference.pdf

Structure:

sys/external/bsd/acpica/dist	The imported source
sys/external/bsd/acpica/conf	The config glue
sys/dev/acpi			Device drivers
sys/dev/acpica			OS dependent functions that are required