genode/repos/os/src/drivers
Reto Buerki 47724c68c2 platform_drv/x86: Switch to ECAM/MMCONF
Switch port I/O based PCI config space access to memory-mapped IO.  The
base address of the PCI configuration space is acquired by mapping the
ACPI ROM and reading the first <bdf> node. An exception is thrown if the
first <bdf> node is not for PCI domain zero or if multiple <bdf> nodes
exist. This is to reduce complexity and also because multiple PCI
domains are rare.

The PCI configuration space is accessed via I/O mem dataspace which is
created in the platform_drv root and then passed on to the PCI session,
device components and finally to the actual PCI config access instances.

The memory access code is implemented in a way to make it work with Muen
subject monitor (SM) device emulation and also general x86 targets. On
Muen, the simplified device emulation code (which works also for Linux)
always returns 0xffff in EAX to indicate a non-existing device.
Therefore, EAX is enforced in the assembly templates.

Fixes #2547
2018-03-29 14:59:04 +02:00
..
acpi apci_drv: ignore invalid ACPI tables 2018-03-08 12:05:10 +01:00
ahci ahci: enable pci config command memory access 2018-02-09 13:34:18 +01:00
audio/spec/linux Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
framebuffer Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
gpio/spec Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
gpu/intel gpu: the Intel multiplexer is only for x86_64 2018-01-17 12:14:43 +01:00
input Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
nic/spec Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
platform/spec platform_drv/x86: Switch to ECAM/MMCONF 2018-03-29 14:59:04 +02:00
rtc/spec/x86 Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
sd_card Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
timer nova: abandon hypervisor_info_page ROM 2018-03-08 14:24:05 +01:00
uart terminal session: propagate resize events 2018-02-14 20:41:03 +01:00
usb_block Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00