Edward Dean
1e834edd15
Merge pull request #264 from ZystemOS/feature/initial-fat32
...
Feature/initial fat32
2020-11-22 21:42:25 +00:00
DrDeano
fab372a6cf
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
2020-11-22 21:37:39 +00:00
Sam Tebbs
7b2599c964
Merge pull request #266 from ZystemOS/feature/vmm-copy-data-from
...
Rework copyDataToVMM to work in both directions
2020-11-22 20:45:07 +00:00
Sam Tebbs
6bbdadfa94
Rework copyDataToVMM to work in both directions
2020-11-20 17:44:01 +00:00
Edward Dean
a0c2bf758b
Merge pull request #262 from ZystemOS/feature/rename-log-to-logger
...
Rename the logger to log to make is all consistent
2020-11-13 19:20:30 +00:00
DrDeano
788bef5029
Rename the logger to log to make is all consistent
...
Move to `log`
Fixed kmain log
2020-11-13 19:16:25 +00:00
Edward Dean
ea6a0b7a9f
Merge pull request #263 from ZystemOS/feature/mkfat32-any-stream
...
mkFAT32 use a anytype stream
2020-11-11 16:58:59 +00:00
DrDeano
4f47409af6
mkFAT32 use a anytype stream
...
This allows mkFAT32 to work on a File or a fixedBufferStream or any streram that allows for reader(), writer() or seekableStream() interfaces.
2020-11-09 19:06:31 +00:00
Sam Tebbs
d9e776e898
Merge pull request #228 from ZystemOS/feature/user-mode
...
Add user mode
2020-11-07 09:04:08 +00:00
Sam Tebbs
307ea7a52e
Add user mode
2020-11-07 09:00:10 +00:00
Sam Tebbs
fee4b27f14
Merge pull request #258 from ZystemOS/feature/use-testing-allocator
...
Check for memory leaks in all tests that allocate memory
2020-11-05 18:54:27 +00:00
Sam Tebbs
238e050c8c
Check for memory leaks in all tests that allocate memory
2020-11-05 18:50:55 +00:00
Sam Tebbs
374e95f322
Merge pull request #257 from ZystemOS/vfs-symlinks
...
Add symlink support
2020-11-05 18:26:25 +00:00
Sam Tebbs
1453540bae
Add symlink support
2020-11-05 18:21:13 +00:00
Sam Tebbs
6d65e6f0b3
Merge pull request #260 from ZystemOS/feature/zig-update
...
Update to zig master
2020-11-02 19:10:46 +00:00
Sam Tebbs
08cd95d592
Update to zig master
2020-11-02 18:21:15 +00:00
Sam Tebbs
182f96f628
Merge pull request #254 from iamgweej/feature/vfs-redesign
...
Feature/vfs redesign
2020-10-26 17:45:25 +00:00
iamgweej
e96c3165a2
Converted Read and Write from silce returning to slice accepting
2020-10-26 17:38:54 +00:00
Edward Dean
f71ad1d32d
Merge pull request #253 from ZystemOS/feature/gitignore-refactor
...
Improved gitignore
2020-10-19 09:14:48 +01:00
DrDeano
8f0961bb3f
imported gitignore
...
Added binaries
2020-10-19 09:09:03 +01:00
Sam Tebbs
035ae21c42
Merge pull request #256 from ZystemOS/feature/zig-update
...
Update to zig master
2020-10-18 22:43:09 +01:00
Sam Tebbs
9005cce68b
Update to zig master
2020-10-18 18:59:20 +01:00
Edward Dean
39b857df5c
Merge pull request #249 from ZystemOS/feature/pci
...
Initial PCI interface
2020-10-12 11:53:42 +01:00
DrDeano
abc712233b
Initial PCI interface
...
Closes #244
Move PCI to arch
Plus spelling
Added new out and in functions
Added new out and in to mocking
Return pci devices as a list
Improved comment
Removed mask for the return
Removed type for OUT
Added new types
2020-10-10 00:35:20 +01:00
Edward Dean
dacba0ca03
Merge pull request #251 from ZystemOS/feature/generate-mocking-types
...
Generate the mocking framework (a bit)
2020-10-10 00:29:29 +01:00
DrDeano
7cafcec49e
Generate the mocking framework (a bit)
...
Instead of adding new types in 5 different places, this adds a generation tool that you add the type once and it will be populated in the framework for you.
This is defo one of those over engineered projects, but I had fun making it.
Replaces empty spaces with const
Refactor spaces
2020-10-10 00:25:09 +01:00
Edward Dean
ccef3e2eb4
Merge pull request #238 from ZystemOS/feature/fat32_image_builder
...
Create a blank FAT32 image
2020-10-03 12:22:57 +01:00
DrDeano
c9a9be8182
Create a blank FAT32 image
...
This will be used for testing the FAT32 driver for the kernel and will be integrated into the OS as a mkfs.fat32 program.
Plus typos
Fixed dependencies
Removed `fat32_` in options
Plus fixed doc comment
Removed the DefaultOrValue
Also reordered some stuff
Removed the serial time for more parameters
Moved writer() and seekableStream() to variables
Refactored mkFAT32
2020-09-27 20:58:18 +01:00
Edward Dean
403fb1668f
Merge pull request #239 from ZystemOS/feature/tidy-mocking-framework
...
Tidy up the mocking framwork
2020-09-24 21:30:22 +01:00
DrDeano
c60efc5239
Tidy up the mocking framwork
...
Closes #69
Lol 69, I am a child
2020-09-23 15:58:47 +01:00
Sam Tebbs
0e0c6bf29b
Merge pull request #233 from ZystemOS/feature/zig-update
...
Update to zig master
2020-09-13 09:50:53 +01:00
Sam Tebbs
1616ec19a4
Update to zig master
2020-09-07 17:06:12 +01:00
Sam Tebbs
ddfc983bdb
Merge pull request #232 from iamgweej/feature/tests-bugfix
...
Minor change: reorder destroy() and deinit()
2020-08-31 09:54:01 +01:00
iamgweej
24a5e7c135
Minor change: reorder destroy() and deinit()
2020-08-29 18:33:45 +03:00
Sam Tebbs
3625c996cf
Merge pull request #227 from ZystemOS/bugfix/paging-virtToPhys
...
Use vmm.virtToPhys in x86 paging instead of mem.virtToPhys
2020-08-25 17:54:35 +01:00
Sam Tebbs
1a74b085b8
Use vmm.virtToPhys in x86 paging
2020-08-25 17:43:07 +01:00
Sam Tebbs
028dd60a60
Merge pull request #225 from ZystemOS/feature/zig-update
...
Update to zig master
2020-08-23 14:58:54 +01:00
Sam Tebbs
b7c3084f09
Fix for TailQueue and std.log changes
2020-08-23 14:42:56 +01:00
Sam Tebbs
fb66e2795f
Merge pull request #221 from iamgweej/bugfix/vfs
...
Added file closing in VFS functions
2020-08-16 11:47:19 +01:00
iamgweej
34bc8d0ae1
Added file closing in VFS functions
2020-08-16 11:43:29 +01:00
Sam Tebbs
4cdc6e47ce
Merge pull request #222 from ZystemOS/feature/zig-update
...
Add new parameters for resize and alloc
2020-08-15 21:39:22 +01:00
Sam Tebbs
95885f4407
Add new parameters for resize and alloc
2020-08-15 21:35:31 +01:00
Sam Tebbs
651e07146d
Merge pull request #204 from ZystemOS/feature/x86-keyboard
...
Keyboard
2020-08-06 19:45:23 +01:00
Sam Tebbs
73d0b2fd3d
Add keyboard and an x86 driver
2020-08-06 19:40:24 +01:00
Edward Dean
b8a47d6e08
Merge pull request #219 from ZystemOS/feature/initrd-use-FixedBufferStream
...
Feature/initrd use fixed buffer stream
2020-08-06 18:17:33 +01:00
DrDeano
7b5f921d9f
File system files to new folder and use FixedBufferStream for initrd
...
Fixed non-header aligned sizes
When allocating a size that isn't aligned to the Header, then we get a incorrect alignment.
To fix this, added additional alignment padding to the next free header.
Fixed adding strings to build options
2020-08-06 18:13:53 +01:00
Sam Tebbs
f9244c63cd
Merge pull request #213 from ZystemOS/feature/vmm-convert-addr
...
Add physToVirt and virtToPhys to VMM
2020-08-03 17:56:10 +01:00
Sam Tebbs
e914841ade
Add virtToPhys and physToVirt
2020-07-30 09:18:01 +01:00
Sam Tebbs
80e80da830
Merge pull request #210 from ZystemOS/bugfix/map_dir_entry-override-attrs
...
Don't override attributes when creating a new paging table
2020-07-26 19:34:20 +01:00
Sam Tebbs
154f7c6d6c
Don't override attributes when creating a new paging table
2020-07-26 14:30:52 +01:00