From d3cfbac184d684de8a5fa8b3e808bfc7c2fd5870 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 24 Nov 2026 17:51:00 +0100 Subject: 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. --- kernel/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/CMakeLists.txt') 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" -- cgit v1.2.3