Stephen Marz
|
26947251be
|
Add warnings
|
2020-05-15 12:32:39 -04:00 |
|
Stephen Marz
|
3dd49c615e
|
Use global cache. fs::init will now check to see if the global cache is good or not. If it is already good, do nothing, otherwise cache the inodes.
|
2020-05-15 12:29:59 -04:00 |
|
Stephen Marz
|
8e414c62be
|
Use Result instead of Option with LoadErrors
|
2020-05-15 12:11:28 -04:00 |
|
Stephen Marz
|
1de325b325
|
Add load_proc to load an ELF and give a process.
|
2020-05-15 12:01:03 -04:00 |
|
Stephen Marz
|
c74316adb5
|
Added ELF loader in elf.rs
|
2020-05-15 11:46:51 -04:00 |
|
Stephen Marz
|
f8fad1804f
|
Updated file string to avoid creating strings twice in test.
|
2020-05-15 10:40:37 -04:00 |
|
Stephen Marz
|
5b5e5d9e2b
|
Fix warnings
|
2020-05-15 10:37:40 -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
|
21f16b4754
|
Resolved
|
2020-05-01 19:10:56 -04:00 |
|
Stephen Marz
|
6cd64c84bf
|
Do not spin lock in an interrupt context, and also add feedback to the caller.
|
2020-05-01 19:02:58 -04:00 |
|
Stephen Marz
|
fe5a909335
|
Create a system call to add a process to prevent data race with the process list.
|
2020-05-01 18:59:38 -04:00 |
|
Stephen Marz
|
a1f9d2c6cd
|
Add Mutex to process list.
|
2020-04-26 20:11:01 -04:00 |
|
Stephen Marz
|
29100f10ae
|
Updated comments
|
2020-04-26 14:05:50 -04:00 |
|
Stephen Marz
|
d62d3f3816
|
Added more rigorous test, fixed bug in ELF loader
|
2020-04-26 09:26:41 -04:00 |
|
Stephen Marz
|
bc6ef9d689
|
Fixed ELF loader and added offset.
|
2020-04-26 09:19:07 -04:00 |
|
Stephen Marz
|
8f61253aea
|
Removed old code and added comments.
|
2020-04-26 08:51:25 -04:00 |
|
Stephen Marz
|
cc3b78973c
|
Rearranged code, added comments.
|
2020-04-26 08:43:03 -04:00 |
|
Stephen Marz
|
42c14bf930
|
Check and use permission bits in ELF for user pages.
|
2020-04-26 08:40:43 -04:00 |
|
Stephen Marz
|
074dc9547a
|
Now we read ELF files instead of raw binaries
|
2020-04-26 08:33:49 -04:00 |
|
Stephen Marz
|
58b73e2208
|
Added tons of comments.
|
2020-04-25 22:25:32 -04:00 |
|
Stephen Marz
|
f771883cb0
|
Added satp_fence. Probably don't need this since we don't reuse pids.
|
2020-04-25 21:44:05 -04:00 |
|
Stephen Marz
|
eab4a20a61
|
Added calculations to helloworld
|
2020-04-25 21:35:32 -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
|
0de9b23b17
|
Change test and added comments
|
2020-04-25 16:06:29 -04:00 |
|
Stephen Marz
|
080a529f01
|
Reading up to indirect pointers
|
2020-04-25 15:15:25 -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
|
bb74161466
|
Remove use
|
2020-04-24 19:58:29 -04:00 |
|
Stephen Marz
|
2eb8acabd7
|
Remove syscall_exit, kernel processes will return via RA
|
2020-04-24 19:55:49 -04:00 |
|
Stephen Marz
|
0d924e6fab
|
Fixed not waking up the process who made the request.
|
2020-04-24 19:26:44 -04:00 |
|
Stephen Marz
|
4c31f8c563
|
Add inode number to fs_read
|
2020-04-24 19:22:27 -04:00 |
|
Stephen Marz
|
8ae5ebb085
|
Added syscall_block_read and syscall_fs_read.
|
2020-04-24 18:56:32 -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
|
625df1cf46
|
Added testing shell, no testing, yet.
|
2020-04-21 20:30:09 -04:00 |
|