aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-11-16 17:32:59 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-11-22 14:20:36 +0100
commit0dfdb6c4f4aa428d6e1951958edafd82b87a0af8 (patch)
tree4e4045f69f870c99912b3ca0e4aec993e3408a17 /docs
parenta42ab28f65e3ef5926137ddf4c62b188c33ca440 (diff)
downloadkernel-0dfdb6c4f4aa428d6e1951958edafd82b87a0af8.tar.xz
kernel-0dfdb6c4f4aa428d6e1951958edafd82b87a0af8.zip
kernel/devices: introduce PCI function_address
A PCI function is identified system-wide by its segment group, bus, device and function number. This identifier is represented by the new function_address type. It encapsulates the identifying 4-tuple (segment group, bus, device, function). This allows the kernel to reference a specific PCI function unambiguously within the system. The type is comparable and ordered by that tuple and formats as 'ssss:bb:dd.f'. The ordering is lexicographical based on the tuple (segment group, bus, device, function). Unit tests for the API surface of function_address are included.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions