aboutsummaryrefslogtreecommitdiff
path: root/kernel/src/filesystem/inode.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-11-24 16:21:50 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-11-24 16:21:50 +0100
commit1a9ac159d5ba5d440326884e74706beb22afc552 (patch)
treeca6ae206b082a831a31494d6a7ac62a33380eaba /kernel/src/filesystem/inode.cpp
parent2b2fb619966bf63c0c862a35d769ca48a1ed98b3 (diff)
downloadkernel-fmorgner/pci-device-tree.tar.xz
kernel-fmorgner/pci-device-tree.zip
kernel/devices: enable function ecam space mappingfmorgner/pci-device-tree
This change extends the ecam_segment class to support mapping of the configuration space of individual PCI functions based on their address. The new function, ecam_segment::map_function, allows callers to define the access mode (read-only or writable) for the mapping. This function is a building block for the upcoming PCI device/driver support, as it allows a driver to obtain access to the configuration space of a single function for each binding of the driver. Additionally, this change adds tests for the function, including rejection tests of invalid function addresses. A function address is considered invalid if it names a function outside the segment.
Diffstat (limited to 'kernel/src/filesystem/inode.cpp')
0 files changed, 0 insertions, 0 deletions