diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-11-24 17:51:00 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-11-24 17:51:00 +0100 |
| commit | d3cfbac184d684de8a5fa8b3e808bfc7c2fd5870 (patch) | |
| tree | 03bfdd59c1921389aaffcf2f2a6f6e7ecea798d9 /kernel/CMakeLists.txt | |
| parent | 04a2ef0f6a10f9f94409f816cbd958168a5244cc (diff) | |
| download | kernel-d3cfbac184d684de8a5fa8b3e808bfc7c2fd5870.tar.xz kernel-d3cfbac184d684de8a5fa8b3e808bfc7c2fd5870.zip | |
kernel/devices: add PCI endpoint device support
This change introduces the first PCI device-model type, endpoint, which
represents a single, non-bridge function on a PCI bus. An endpoint uses
a function_access object to provide access to the configuration space as
well as to identify the device for driver matching.
This change also includes a new PCI facet type, pci_config_access, which
allows drivers to obtain access to an MMIO window into the endpoint's
configuration space.
Diffstat (limited to 'kernel/CMakeLists.txt')
| -rw-r--r-- | kernel/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/CMakeLists.txt b/kernel/CMakeLists.txt index 9feab671..92c731fe 100644 --- a/kernel/CMakeLists.txt +++ b/kernel/CMakeLists.txt @@ -44,6 +44,7 @@ target_sources("kernel_lib" PRIVATE "kernel/devices/block_device_utils.cpp" "kernel/devices/init.cpp" "kernel/devices/pci/ecam_segment.cpp" + "kernel/devices/pci/endpoint.cpp" "kernel/devices/pci/function_access.cpp" "kernel/devices/pci/init.cpp" "kernel/devices/pci/scan.cpp" |
