aboutsummaryrefslogtreecommitdiff
path: root/kernel/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-11-24 17:51:00 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-11-24 17:51:00 +0100
commitd3cfbac184d684de8a5fa8b3e808bfc7c2fd5870 (patch)
tree03bfdd59c1921389aaffcf2f2a6f6e7ecea798d9 /kernel/CMakeLists.txt
parent04a2ef0f6a10f9f94409f816cbd958168a5244cc (diff)
downloadkernel-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.txt1
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"