1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-28 04:13:31 +04:00
Commit Graph

124 Commits

Author SHA1 Message Date
Stephen Marz
58ab3f3b6f Don't let init sleep. This will cause us to hang in the scheduler. 2020-04-24 18:46:31 -04:00
Stephen Marz
73636c1de1 Updates to add a process for a file system read in the system call. 2020-04-24 18:37:48 -04:00
Stephen Marz
2e48b86656 Auto-drop processes, and added delete process. 2020-04-24 15:22:57 -04:00
Stephen Marz
a60d84ed98 Start adding block device stuff and file system stuff. Added test for block driver as a process. 2020-04-24 14:39:56 -04:00
Stephen Marz
599627b74a Updated to allow for system calls that change process state 2020-04-24 14:39:33 -04:00
Stephen Marz
625df1cf46 Added testing shell, no testing, yet. 2020-04-21 20:30:09 -04:00
Stephen Marz
8b2b670deb Add testing shell 2020-04-21 20:25:39 -04:00
Stephen Marz
b3e99659de Initial fix 2020-04-21 20:23:39 -04:00
Stephen Marz
f9572be05a Add options in Cargo.toml for lto and optimizer 2020-04-21 20:21:56 -04:00
Stephen Marz
e6d9807c11 Short instructions for building. 2020-04-21 20:13:51 -04:00
Stephen Marz
1c329244ce Use Rust out-of-the-box now that it has full support for RISC-V. We need
cargo-binutils and so forth to run these. But, for now all we need is to
run cargo run and it should invoke qemu for us based on .cargo/config
2020-04-21 19:49:23 -04:00
Stephen Marz
86018d30a3 Added assembly module so that Rust will import RISC-V assembly code
without using GNU tools
2020-04-21 19:48:19 -04:00
Stephen Marz
abd3048afa Use Rust's global_asm to import assembly files 2020-04-21 19:47:38 -04:00
Stephen Marz
4767b6d698 Fixed used index and available index. These are modded by the queue size in the ring only. The index continues to increase until it naturally wraps at the data size 2020-04-12 21:37:06 -04:00
Stephen Marz
fb3a9ccdae Test block device 2020-03-31 11:41:32 -04:00
Stephen Marz
ce5e8b17b2 Fixed C++ isms when translating to Rust 2020-03-28 21:06:31 -04:00
Stephen Marz
55bcc79736 Added MmioDevice structure to put a structure to the MMIO virtio address space. 2020-03-28 21:05:45 -04:00
Stephen Marz
d2ab4a1ad7 Rename inode to node for a more generic filesystem. 2020-03-18 22:37:12 -04:00
Stephen Marz
61d8ace581 Added more FS stuff. 2020-03-18 22:01:05 -04:00
Stephen Marz
e033feee2b Documentation says 0x80000, but I left off a zero :( Thanks to QiuhaoLi 2020-03-18 10:41:57 -04:00
Stephen Marz
b39db75cf4 Add fs and minix 2020-03-18 10:40:27 -04:00
Stephen Marz
d6bf3d2685 Remove testing code, change comments 2020-03-16 15:05:04 -04:00
Stephen Marz
40977c2e45 Add global entropy device list 2020-03-16 14:02:28 -04:00
Stephen Marz
c184aae307 Add rng.rs for ch9 and overall 2020-03-15 20:18:46 -04:00