Initial FAT32 interface

Include code page 437

This is now moved to a better location

Fixed initrd doc for allocator


Added test files

 Plus minor extras

Created initial FAT32 filesystem

This initial FAT32 filesystem will parse a stream, which could be a HDD or a in memory filesystem and produce a FAT32 filesystem. This will check if the raw bytes is a valid FAT32 filesystem as descibed in the spec.

This is only a skeleton with no open, read or write functionality.

Part of #216

logger -> log


Fmt


Removed 'zero_' from struct fields


number_free_cluster -> number_free_clusters


Return non allocated FAT32FS


prefix test_


Added doc comment for boot sector arrays


Moved code_page.zig


info -> debug for init FAT32


Abstracted getting code page table
This commit is contained in:
DrDeano 2020-11-22 21:37:15 +00:00
parent 7b2599c964
commit fab372a6cf
No known key found for this signature in database
GPG key ID: 96188600582B9ED7
21 changed files with 2042 additions and 7 deletions

View file

@ -42,7 +42,7 @@ pub const InitrdFS = struct {
/// The underlying file system
fs: *vfs.FileSystem,
/// The allocator used for allocating memory for opening and reading.
/// The allocator used for allocating memory for opening files.
allocator: *Allocator,
/// The list of files in the ram disk. These will be pointers into the raw ramdisk to save on