|
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 |
|
|
d46c341aaf
|
use Mutex instead of Spinlock
|
2023-10-30 19:35:13 -06:00 |
|
|
bc8aa35180
|
add generic Lock struct and println macro
|
2023-10-30 19:15:58 -06:00 |
|
|
b3be1f8d47
|
Implement basic queue type for convenience
|
2023-10-30 18:03:19 -06:00 |
|
|
6a41a4e8b8
|
rewrite pipe.c
|
2023-10-30 16:45:02 -06:00 |
|
|
a240d29135
|
Make UART good
|
2023-10-29 15:25:17 -06:00 |
|
|
585da48917
|
Move sleep_lock and sleep_mutex functionality as methods of Spinlock and SpinMutex
|
2023-10-29 14:45:47 -06:00 |
|
|
9f23b68c00
|
Refactor sleeplock to remove raw pointers
|
2023-10-29 14:12:17 -06:00 |
|
|
36d7724fb8
|
Rewrite spinlock to remove raw pointers
|
2023-10-29 13:57:23 -06:00 |
|
|
41b7bc7555
|
Add guards for log operations and inode locking
|
2023-10-28 22:31:29 -06:00 |
|
|
9b7eb552d0
|
Rewrite file.c into fs::file
|
2023-10-28 22:16:35 -06:00 |
|
|
dd9cf556cb
|
Rewrite vm.c in mem::virtual_memory.
|
2023-10-28 20:28:37 -06:00 |
|
|
a1f88ff034
|
Move push_off()/pop_off() into trap.rs and rename to push_intr_off() and pop_intr_off()
|
2023-10-28 16:17:14 -06:00 |
|
|
c593250549
|
upgrade panic info
|
2023-10-22 15:21:07 -06:00 |
|
|
2d51463c56
|
restructure makefile into multiple files
|
2023-10-22 13:44:37 -06:00 |
|
|
16924f75fd
|
Add shutdown syscall and program
|
2023-10-22 11:18:07 -06:00 |
|
|
9f10ec36b3
|
move things around
|
2023-10-21 23:24:33 -06:00 |
|
|
d06d271c9e
|
rename sleep to sleep_lock
|
2023-10-21 22:44:06 -06:00 |
|
|
38e44e020b
|
implement guards for spinlock and sleeplock
|
2023-10-21 22:13:46 -06:00 |
|
|
f468ba9e48
|
restructure sleeplock.rs
|
2023-10-21 21:56:23 -06:00 |
|
|
548be7daea
|
rename spinlock.lock() to spinlock.lock_unguarded()
|
2023-10-21 21:42:02 -06:00 |
|
|
de4815dd5e
|
rewrite virtio_disk.h
|
2023-10-21 21:32:37 -06:00 |
|
|
572545cb8f
|
rewrite trap.c
|
2023-10-20 17:45:34 -06:00 |
|
|
96cfda564c
|
make a spinmutex (and other things)
|
2023-10-20 16:29:26 -06:00 |
|
|
29878e42e6
|
changes
|
2023-10-16 17:28:59 -06:00 |
|
|
9c3dc94bd7
|
Implement all asm instructions in riscv.h
|
2023-10-15 13:16:35 -06:00 |
|
|
709ec3a50f
|
Rewrite spinlock.c
|
2023-10-15 12:51:16 -06:00 |
|
|
b30ea849d1
|
Move Rust into Cargo project
|
2023-10-14 16:49:24 -06:00 |
|
|
79ecd97c76
|
Restructure and include basic Rust
|
2023-10-14 16:21:21 -06:00 |
|
Robert Morris
|
ed101befee
|
comment the sfences
|
2022-08-24 13:47:47 -04:00 |
|
Robert Morris
|
581bc4cbd1
|
sfence before enabling paging
|
2022-08-24 13:42:59 -04:00 |
|
Robert Morris
|
29ce3161f8
|
Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
|
2022-08-24 13:24:37 -04:00 |
|
Robert Morris
|
9c1b8a4eb0
|
sfence before writing satp, as well as after
|
2022-08-24 13:24:24 -04:00 |
|
Frans Kaashoek
|
cc486ddee0
|
Help students read this C syntax
|
2022-08-24 08:57:56 -04:00 |
|
Robert Morris
|
96047832c6
|
Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
|
2022-08-23 12:26:39 -04:00 |
|
Robert Morris
|
7c1810e1ae
|
tolerate running out of inodes
|
2022-08-23 12:26:26 -04:00 |
|
Frans Kaashoek
|
ac8c0bb177
|
x
|
2022-08-23 11:56:29 -04:00 |
|
Frans Kaashoek
|
858fc68bdf
|
Linker script makes binaries bigger; use larger disk so that usertests
can run.
Must assumed_free in badwrite() be adjusted?
|
2022-08-23 11:19:33 -04:00 |
|
Frans Kaashoek
|
ccb7bd14c7
|
Merge branch 'riscv' into uvm-perm
|
2022-08-23 11:01:06 -04:00 |
|
Frans Kaashoek
|
4cd4d194b8
|
Use simple linker script to force data segment to be page aligned
|
2022-08-23 10:54:40 -04:00 |
|
Robert Morris
|
8621be8f3d
|
tolerate out of disk when creating . and .. in mkdir()
|
2022-08-23 08:52:15 -04:00 |
|
Robert Morris
|
dc405cdb7b
|
don't panic if out of disk space when extending a directory.
|
2022-08-23 08:23:12 -04:00 |
|
Frans Kaashoek
|
cd6207a972
|
Merge branch 'riscv-killed' into riscv
|
2022-08-23 07:31:08 -04:00 |
|
Frans Kaashoek
|
2f0b4d698b
|
Use pp instead of np to be more consistent
|
2022-08-22 19:58:33 -04:00 |
|