| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 24 hours | kernel/devices: extract bus scanning implementationfmorgner/pcie-scan | Felix Morgner | 1 | -0/+1 | |
| This change extracts the PCI bus scanning logic, which previously was hidden inside an anonymous namespace, into a dedicated function. This allows for the implementation to be tested independently. | |||||
| 24 hours | kernel/devices: introduce PCI ecam_segment abstraction | Felix Morgner | 1 | -1/+2 | |
| Previously, ECAM access was implemented "in-place" inside the PCI scan function. This meant that any checks were ad-hoc and not easily reusable or testable. Therefore, this change introduces a dedicated, reusable abstraction for ECAM segment access. It validates segment descriptors received from the platform and ensures no out-of-bounds buses are accessed at runtime. Construction of an ecam_segment will always succeed. If the firmware or platform data does not describe a valid segment, the ecam_segment will behave as if it had a size of zero, with a kernel log indicating the invalid segment. Attempting to map a bus that is out-of-bounds for a given ecam_segment will return a runtime error. If the system's MMIO space is insufficient to accommodate the mapping of a valid bus in an ecam_segment, a runtime error will be returned. Furthermore, this change introduces the kernel::devices::pci namespace. PCI initialization and scanning functionality, previously hosted in kernel/kernel/devices/pci_express.{cpp,hpp}, has been relocated and renamed to kernel/kernel/devices/pci/init.{cpp,hpp}. The initialization function of the PCI subsystem has been renamed from kernel::devices::init_pci_express_devices to kernel::devices::pci::init. The observable behavior of the PCI scan remains unchanged. Tests have been added to validate the behavior of ecam_segment against its contract. | |||||
| 24 hours | kapi/memory: replace mmio_region API with mmio_window | Felix Morgner | 1 | -0/+1 | |
| Previously, allocation and mapping of MMIO regions was a multi-step process. The MMIO region API required its users to track and manage the lifetime of an MMIO region allocation manually. The new MMIO window API simplifies this by providing a single-step mapping interface and automatic lifetime management. Additionally, the new API adds strict bounds and alignment checks, to ensure that all MMIO accesses are within the requested range. The new API enforces these constraints at runtime via a system panic. Other contract violations, such as zero-sized mappings, are handled via runtime error codes. The new kapi::memory::mmio_window preserves the in-page offset of the hardware base within the window and bases all accesses on this offset. This means no user intervention is required to handle hardware ranges that are not aligned to a natural page boundary. The original pointer adjustment logic has been moved into the mmio_window class. Previous consumers of the region API (x86_64 LAPIC, PCIe) have been updated to the new mmio_window API. The behavior of the PCIe scan implementation has changed in that no windows are kept alive beyond the execution of the scan, since there are no consumers that would require persistent MMIO windows. Tests for the new infrastructure have been added, including a test support seam to allow for deinitialization of the MMIO subsystem in tests. | |||||
| 24 hours | dev/pcie: implement initial detection | Felix Morgner | 1 | -0/+1 | |
| 11 days | build: fix test executables | Felix Morgner | 1 | -0/+4 | |
| 11 days | libs/acpi: extend MCFG table interface | Felix Morgner | 1 | -18/+0 | |
| 11 days | test: apply review feedback for Catch2 string makers | manuel | 1 | -1/+1 | |
| - restrict the -include force-include flag to GCC and Clang - drop the redundant explicit include in the kernel string maker tests - apply clang-format Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> | |||||
| 11 days | kernel: add Catch2 string makers for printable test output | manuel | 1 | -0/+4 | |
| Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> | |||||
| 2026-08-28 | kernel/vfs: replace owning_mount with driver_state | Felix Morgner | 1 | -0/+1 | |
| 2026-08-26 | kernel: split vfs and filesystem drivers | Felix Morgner | 1 | -27/+27 | |
| 2026-08-26 | kernel/fs: vfs: make file descriptor polymorphic | Felix Morgner | 1 | -0/+2 | |
| 2026-08-26 | kernel/fs: ext2: add a simple write batching type | Felix Morgner | 1 | -0/+1 | |
| 2026-08-26 | kernel/fs: ext2: simplify directory iteration | Felix Morgner | 1 | -0/+1 | |
| 2026-08-26 | kernel/fs: extract module registrations | Felix Morgner | 1 | -0/+3 | |
| 2026-08-26 | kernel/fs: rework filesystem probing | Felix Morgner | 1 | -2/+1 | |
| 2026-08-20 | build: clean up header set verification | Felix Morgner | 1 | -5/+1 | |
| 2026-08-20 | build: improve linting exclusions for tests | Felix Morgner | 1 | -27/+12 | |
| 2026-08-17 | kapi: add power management support to drivers | Felix Morgner | 1 | -0/+1 | |
| 2026-08-16 | build: don't predicate tests on general sanitizers | Felix Morgner | 1 | -4/+4 | |
| 2026-07-30 | kernel: implement dev zero and null | Felix Morgner | 1 | -4/+7 | |
| 2026-07-28 | x86_64: split lapic according to UDM | Felix Morgner | 1 | -1/+0 | |
| 2026-07-26 | build: separate normal from stress tests | Felix Morgner | 1 | -6/+12 | |
| 2026-07-26 | build: add tsan build | Felix Morgner | 1 | -1/+1 | |
| 2026-07-26 | kapi: implement a simple, tracked mutex | Felix Morgner | 1 | -0/+1 | |
| 2026-07-26 | chore: replace "interface" with "facet" | Felix Morgner | 1 | -1/+1 | |
| 2026-07-24 | kernel: move root bus | Felix Morgner | 1 | -1/+1 | |
| 2026-07-24 | kernel: remove boot modules registry | Felix Morgner | 1 | -2/+5 | |
| 2026-07-24 | kapi: extract real boot module registry singleton | Felix Morgner | 1 | -1/+1 | |
| 2026-07-24 | kapi: formally extract device registry | Felix Morgner | 1 | -0/+1 | |
| 2026-07-24 | kernel: restructure devices and drivers | Felix Morgner | 1 | -1/+4 | |
| 2026-07-24 | kernel: generalize test fix | Felix Morgner | 1 | -0/+1 | |
| 2026-07-23 | kernel: port ram disk to new driver architecture | Felix Morgner | 1 | -2/+2 | |
| 2026-07-23 | kapi: add driver registry | Felix Morgner | 1 | -0/+1 | |
| 2026-07-23 | kapi: introduce driver and bus protocol | Felix Morgner | 1 | -0/+2 | |
| 2026-07-23 | kerne: attach storage hierarchy to device tree | Felix Morgner | 1 | -2/+1 | |
| 2026-07-17 | kernel: introduce device_number abstraction | Felix Morgner | 1 | -0/+1 | |
| 2026-07-16 | chore: move system error implementation out of line | Felix Morgner | 1 | -0/+2 | |
| 2026-07-16 | kernel: dissolve block device in favour of kapi | Felix Morgner | 1 | -1/+0 | |
| 2026-07-16 | kapi: introduce device interfaces | Felix Morgner | 1 | -0/+1 | |
| 2026-07-09 | cmake: extract test target creation | Felix Morgner | 1 | -58/+6 | |
| 2026-07-03 | kernel: fix test image path | Felix Morgner | 1 | -1/+1 | |
| 2026-07-03 | kernel: rearrange sources according to p1204 | Felix Morgner | 1 | -69/+69 | |
| 2026-06-15 | build: fix test reporter configuration | Felix Morgner | 1 | -1/+1 | |
| 2026-06-15 | bht: improve test resporting | Felix Morgner | 1 | -1/+8 | |
| 2026-06-02 | kernel/vfs: add type registry tests | Felix Morgner | 1 | -0/+1 | |
| 2026-06-02 | kernel/vfs: extract fs type registry | Felix Morgner | 1 | -0/+1 | |
| 2026-05-19 | build: clean up dependencies | Felix Morgner | 1 | -0/+3 | |
| 2026-05-18 | ci: enable jUnit style test reports | Felix Morgner | 1 | -1/+1 | |
| 2026-05-05 | Add tests for path utility | Marcel Braun | 1 | -0/+1 | |
| 2026-04-26 | rename file_descriptor_table to open_file_table | Lukas Oesch | 1 | -2/+2 | |
