Stephen Marz
|
c649947707
|
Added Registers to CPU so we don't have to hardcode the register number. This makes it easier to read and figure out what's happening
|
2020-05-15 12:48:05 -04:00 |
|
Stephen Marz
|
e1b2150f1b
|
Reduce stack size to 5 pages
|
2020-05-15 10:54:02 -04:00 |
|
Stephen Marz
|
6367e064cf
|
Reworked file system, still much to do, however, now we can get a file by its name instead of inode number.
|
2020-05-15 10:34:37 -04:00 |
|
Stephen Marz
|
532b246f7b
|
Added locking to the scheduler. Since this is invoked so often, it causes a race with the test_elf process.
|
2020-04-26 21:08:29 -04:00 |
|
Stephen Marz
|
a1f9d2c6cd
|
Add Mutex to process list.
|
2020-04-26 20:11:01 -04:00 |
|
Stephen Marz
|
7dfe0b8182
|
Run cargo fix
|
2020-04-26 15:53:26 -04:00 |
|
Stephen Marz
|
1627cc7733
|
Read and start a process...Added userspace library...will switch this to newlib later.
|
2020-04-25 21:23:00 -04:00 |
|
Stephen Marz
|
cbff6afeca
|
Added comments.
|
2020-04-25 19:51:27 -04:00 |
|
Stephen Marz
|
cb06702afa
|
Act more like Rust by adding _mut() for those functions that return mutable references or pointers.
|
2020-04-25 19:36:58 -04:00 |
|
Stephen Marz
|
e5f3eb7f6b
|
Removed mapping the kernel memory into a process' virtual address space.
|
2020-04-25 19:34:20 -04:00 |
|
Stephen Marz
|
c2fb6cf90d
|
Fix system calls. Size always comes first now, followed by offset.
|
2020-04-25 14:16:03 -04:00 |
|
Stephen Marz
|
a113db700a
|
Added RA to call syscall_exit for kernel processes.
|
2020-04-24 19:16:45 -04:00 |
|
Stephen Marz
|
8081863709
|
Fix inits loop. We will use WFI to avoid hogging resources.
|
2020-04-24 18:48:19 -04:00 |
|
Stephen Marz
|
e0a8be5522
|
Don't let init sleep. This will cause us to hang in the scheduler.
|
2020-04-24 18:47:49 -04:00 |
|
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
|
599627b74a
|
Updated to allow for system calls that change process state
|
2020-04-24 14:39:33 -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
|
c184aae307
|
Add rng.rs for ch9 and overall
|
2020-03-15 20:18:46 -04:00 |
|