Skip to content

FAT Driver#24

Merged
oberrow merged 15 commits into
masterfrom
fat32-driver
Sep 1, 2024
Merged

FAT Driver#24
oberrow merged 15 commits into
masterfrom
fat32-driver

Conversation

@oberrow

@oberrow oberrow commented Sep 1, 2024

Copy link
Copy Markdown
Collaborator

Implements a FAT driver, and also fixes many bugs in the VFS (mostly related to the pagecache).

oberrow added 15 commits August 26, 2024 19:27
…rsing, and some other helper functions/macros. Note: This is untested

VFS: Fix bugs with partition block devices. Note: This is untested
Drv: Export some more functions. Implement --load-modules when an InitRD is specified.
Other: Fix bugs with partitions
AHCI: Fix a bug with the algorithm used to populate the PRDT.
Mm: Fix a use-after free
Core: Fixes a bug in WaitOnObject which caused hanging.
Core: Fix a bug with mutexes.
Temporarily adds a mount call in the partition prober.
Some other changes as well.
FAT: Implement FAT table parsing. TODO: Make read_sync use the FAT cluster chains.
Vfs: A lot of bug fixes related to page caches, reading, and writing.
klog.c: Fix file header to say oboskrnl/klog.c instead of klog.h
Fat: Rename driver to slowfat, as a parody of 'fastfat', Window's FAT driver.
NOTE: This commit is very buggy, and it is likely to have a lot of code that will be changed drastically in upcoming commits.
Drv: Add a truncate file callback.
Misc: Fix a typo in OBOS_PartProbeDrive
FAT: Fix a bug with writing.
AHCI: Fix a bug with populate_physical_regions.
Mm: Make reserved pages not count towards any stats but the 'reserved' stat.
…ey're supposed to be followed (e.g., read_sync). Implement LFN entry creation. Implement 8.3 filename creation from a long node.
@oberrow oberrow added the enhancement New feature or request label Sep 1, 2024
@oberrow
oberrow merged commit 9cefe01 into master Sep 1, 2024
@oberrow
oberrow deleted the fat32-driver branch September 1, 2024 00:53
oberrow added a commit that referenced this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant