aboutsummaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)AuthorFilesLines
36 hourskernel/filesystem: add bigger fat32 image to test and adjust teststest/fat32-real-imagefa26/developmanuel8-204/+890
3 dayskernel/filesystems: fix mount stack-overflowrefactor/fat32bbuerge3-10/+17
3 dayskernel/filesystems: fix main wrong ram diskbbuerge3-6/+6
4 dayskernel/filesystems: refactored directory-entrybbuerge12-231/+288
7 dayskernel/filesystems: refactored fs-infobbuerge13-104/+156
8 dayskernel/filesystems: cleanup boot-sectorbbuerge5-70/+49
9 dayskernel/filesystems: refactored boot-sectorbbuerge15-268/+330
11 dayskernel/filesystems: renamed boot-sector fieldsbbuerge9-66/+72
11 dayskernel/filesystems: implement fat32 write filesmanuel12-8/+981
11 dayskernel/filesystems: fix clang-format issues in fat32 drivermanuel7-37/+47
2026-11-05kernel/filesystems: revert probe changesmanuel2-61/+46
2026-11-05kernel/filesystem: Add inode:readmanuel10-146/+1104
2026-11-02kernel/filesystem: fix broken tests from rebasebbuerge3-2/+5
2026-11-01kernel/filesystem: custom err code unsupported fs, fix validatebbuerge4-12/+11
2026-11-01kernel/filesystem: added fat12-16 probe integration testsbbuerge3-2/+40
2026-11-01kernel/filesystem: extracted boot-sector validation, fixed testsbbuerge4-48/+43
2026-11-01kernel/filesystem: added function to detect fat-typebbuerge2-0/+47
2026-10-22kernel/filesystem: Tests for directory_iterator and more for file allocation ↵manuel4-0/+528
table
2026-10-22kernel/filesystems: add fat32 directory iterator and cluster chain readsmanuel11-5/+525
2026-10-22kernel/filesystem: Add TODO in main to remove unneeded dependencies latermanuel1-0/+1
2026-10-22kernel/filesystem: Add tests for FAT and more tests for filesystem FAT32manuel4-19/+399
2026-10-22kernel/filesystem: fix inode test and add isDirectory Entry testsmanuel1-1/+25
2026-10-22kernel/filesystems: mount fat32 and read file allocation table entriesmanuel11-22/+415
2026-10-22kernel/filesystems: add tests for probe and better NOLINT commentsmanuel3-3/+55
2026-10-22kernel/filesystems: read entire boot sector fat32 and printmanuel3-21/+97
2026-10-22added fat32 img, wip parse bootsectorbbuerge8-3/+185
2026-10-22kernel/filesystems: rename test to fix test errormanuel1-4/+4
2026-10-22kernel/filesystems: copy and rename rootfs to fat32manuel8-0/+282
2026-09-29kapi/interrupts: add testsFelix Morgner2-0/+254
2026-09-29kapi/interrupts: tests: fix state data raceFelix Morgner1-14/+3
2026-09-29kapi/interrupts: tests: make IRQ state thread specificFelix Morgner1-3/+12
2026-09-29kapi/interrupt: rework enablement APIFelix Morgner2-3/+15
2026-09-10kapi/system: reduce panic buffer sizeFelix Morgner1-5/+85
Previously, we allocated a 512-byte buffer for every call of the formatted panic function. This was heavily increasing the stack size for a number of functions. We now don't print to a statically allocated buffer, but rather use the iterator-based formatting facility and a proxy iterator with a small, self-flushing buffer. This reduces that static overhead of the formatted panic function to by almost 500 bytes, while increasing possible message fidelity, since we are not longer arbitrarily limited by the buffer.
2026-09-10kernel: replace some more plain pointersFelix Morgner10-35/+41
2026-09-10kernel/vfs: reduce number registry pruningFelix Morgner2-8/+1
Previously, the number registry did a pruning pass whenever elements, either all or a filtered subset, were queried by a consumer. This meant, that every access to elements did an additional O(n) scan of the entire registry, to ensure no expired devices were still registered. This used to be necessary, when the ownership model for devices was still in flux. With the established device ownership model, this has become obsolete. Additionally, devices get numbered automatically when a device gains a facet the is observed by the device number registry. Since registering this type of facet is the responsibility of the device driver, since only a driver can know how to implement that facet for any given device, it also becomes the responsibility of the driver to revoke that facet if and when a device is detached from the system. Any device is always owned by the bus it is attached to. This means it is the bus' responsibility to inform drivers about devices disappearing. This closes the chain of responsibility cleanly, meaning the device number registry will never have to prune itself in any accessors. Instead, it will be informed by the facet registry that a facet for a device has been revoked, allowing it to un-number that device if applicable.
2026-09-10x86_64: replace raw pointers with observer_ptrFelix Morgner5-21/+27
2026-09-09chore: replace some naked pointersFelix Morgner19-61/+71
The coding guidelines explicitly prohibit the use of "naked"/C-style pointers. However, there were some prominent examples in the kapi and the core kernel source. This changeset replaces them with the appropriate smart pointer types.
2026-09-03fs, devices: fix undefined behavior in registrationFelix Morgner2-10/+28
2026-09-03chore: fix header guardsFelix Morgner1-1/+1
2026-09-03chore: fix message prefixesFelix Morgner2-45/+43
2026-09-03chore: add missing [[nodiscard]] attributesFelix Morgner8-16/+23
2026-09-01kernel: fix broken readme symlinkFelix Morgner1-1/+1
2026-09-01chore: clean up facet idsFelix Morgner5-38/+41
2026-08-31chore: minor stylistic cleanupsFelix Morgner4-15/+16
2026-08-29chore: normalize panic messagesFelix Morgner18-50/+50
2026-08-29chore: apply stylistic cleanupsFelix Morgner30-209/+216
2026-08-28kernel/vfs: implement read_directory fixups.Felix Morgner6-2/+134
POSIX requires that the data returned by the readdir() function shows the inode number of the root of a mounted filesystem for its mount point. Additionally, the inode number of the '..' reference in the mounted filesystem must show the inode number of the mount point. We perform this fixup when computing the entries during read_directory on the fly. The implementation of the upward fixup will need to be revised once the kernel supports bind mounts.
2026-08-28kernel/fs: devfs: fix inode encodingFelix Morgner1-2/+1
2026-08-28fixup! kernel/fs: ext2: fix block allocation on 1 KiB fsFelix Morgner3-7/+12
2026-08-28fixup! kernel/vfs: add identity based mount removalFelix Morgner1-1/+1