1581 Commits

Author SHA1 Message Date
999c738862
Clean up project 2024-07-22 10:42:41 -06:00
6ef3df9177
move similar components into new hal module 2024-02-23 02:39:17 -07:00
4ea64e0b6b
restructure uart to compile correctly 2024-02-23 00:06:59 -07:00
ca962854c5
change u64 to usize where makes sense 2023-11-15 21:05:58 -07:00
e6c0bfc581
finally finish rewriting proc.c 2023-11-12 15:36:46 -07:00
931884f6df
wait_lock and initproc 2023-11-12 14:30:51 -07:00
7c79dbddf5
userinit 2023-11-12 14:25:47 -07:00
d730a83b3e
forkret 2023-11-12 14:05:33 -07:00
50b6016144
either_copyin and either_copyout 2023-11-12 13:47:22 -07:00
c39b98dd02
proc_mapstacks 2023-11-12 13:35:43 -07:00
320180764f
procinit in rust 2023-11-12 13:22:22 -07:00
089e6d2cc1
extract inode into new module 2023-11-09 22:39:34 -07:00
52cad30dad
refactor file.rs 2023-11-09 22:29:41 -07:00
f3e31d869a
implement clone on the sync primitives 2023-11-09 22:18:09 -07:00
765598c80c
support multiple UART interfaces 2023-11-09 21:16:55 -07:00
49584f0f26
extract device drivers into new module 2023-11-09 21:03:21 -07:00
9693d83bde
finish arch 2023-11-09 20:55:46 -07:00
8edb4c2427
arch trap 2023-11-09 20:48:10 -07:00
cbea3a19f4
arch mem 2023-11-09 20:24:58 -07:00
934dc13f96
arch cpu_id 2023-11-09 19:02:16 -07:00
1e12ccddb3
arch power 2023-11-09 18:56:39 -07:00
b64809e9b5
move start and timer into arch 2023-11-09 18:49:52 -07:00
20071883ab
fix makefile requiring wrong readme 2023-11-09 18:30:24 -07:00
d3d9526ffa
restructure interrupt handling to be architecture-specific 2023-11-09 18:29:34 -07:00
33e1f3d318
update readme and license 2023-11-06 23:39:16 -07:00
42a3ff4c24
procdump 2023-11-04 17:17:03 -06:00
54753062e4
rename Process member fields and remove name 2023-11-03 21:54:51 -06:00
954db4c998
wakeup 2023-11-03 21:11:07 -06:00
8dc10d24f0
wait 2023-11-03 21:05:01 -06:00
0a1e889d54
scheduler 2023-11-03 20:45:16 -06:00
a168c989cf
exit 2023-11-03 20:36:10 -06:00
badd35b3f9
fork() 2023-11-03 20:14:57 -06:00
6342f66cd3
proc_pagetable and proc_freepagetable 2023-11-03 19:59:21 -06:00
1c3e73ba3f
implement allocproc in rust 2023-11-03 19:43:40 -06:00
3de7d1c829
move growproc to assoc fn 2023-11-03 19:23:31 -06:00
87b00c924f
extract scheduler functions into new module 2023-11-03 19:14:38 -06:00
71f9a49704
rename Proc to Process 2023-11-03 19:05:26 -06:00
791b68aaa7
move free to assoc. function 2023-11-03 18:55:55 -06:00
bae37aa507
move nextpid into atomic i32 in rust 2023-11-03 18:48:55 -06:00
50448eb307
move process killing to associated functions 2023-11-03 18:44:03 -06:00
0e753e8ba5
implement myproc as an associated function of the Proc struct 2023-11-03 18:31:07 -06:00
73e3ab9ebc
rewrite to remove Cpu::current_raw() 2023-11-03 18:03:48 -06:00
ec9c0cbe4d
move cpu-related functions into associated methods of the Cpu struct 2023-11-03 17:57:06 -06:00
87caccf623
separate proc.rs into multiple modules 2023-11-03 17:44:27 -06:00
4cb940606c
fix clippy lint errors 2023-10-31 17:32:24 -06:00
6e5520f481
rewrite more syscalls 2023-10-31 17:29:50 -06:00
f0c0f26beb
refactor pipe.rs 2023-10-31 16:12:40 -06:00
fa9daf279b
remove unnecessary "extern "C"" annotations 2023-10-31 15:28:28 -06:00
ac33c19b5f
move riscv module into arch module 2023-10-30 21:22:19 -06:00
6d9a0a34e1
use mutex instead of static mut spinlocks 2023-10-30 19:51:08 -06:00