-
## 이슈 상태 (2020-08-31 13:27)
- [ ] WaitChannel 타입을 만들고 WaitChannel::sleep(&self, lockguard) 와 WaitChannel::wakeup(&self) API 를 노출 https://github.com/kaist-cp/rv6/issues/176#issuecomment-683541735
- […
-
- e.g., in riscv.rs
```
TODO: used directly in oter function e.g., uvmalloc in vm.rs
#define PGROUNDUP(sz) (((sz)+PGSIZE-1) & ~(PGSIZE-1))
#define PGROUNDDOWN(a) (((a)) & ~(PGSIZE-1))
```
-
I get the following output when I run the gdb installed and none of the gdb commands succeed.
Also tried searching for the directory that this outputs `/usr/local/Cellar/riscv-gnu-toolchain/gnu/share…
-
riscv-pk has M-mode operator, so we should remove M-mode code from xv6-riscv.
-
I'll implement the following xv6 syscalls: `open`, `close`, `read`, `write`, `dup`.
A new trait `File` will be introduced. A file is one of a pipe, an on-disk file or a device. And each of them wi…
skyzh updated
4 years ago
-
This is a super cool project. I am curious how difficult it would be to support other operating systems (specifically curious about [TockOS](https://github.com/tock/tock), which increasingly runs on R…
-
I modified the xv6 code to add getreadcount(), which for now just returns 42. However I'm having a problem with the testing script(s):
```
$ ./test-getreadcount.sh
doing one-time pre-test (use -s…
-
* https://github.com/rust-embedded/rust-raspi3-OS-tutorials
* https://github.com/bztsrc/raspi3-tutorial/
* https://os.phil-opp.com/
* http://osblog.stephenmarz.com/
* https://github.com/mit-pdos/x…
skyzh updated
4 years ago
-
I found implementation of sleep lock in Rust is much harder than it is in C. The reasons are:
* Acquiring sleep lock requires unlocking another spinlock and enabling interrupt.
* Lost wake-up issu…
skyzh updated
4 years ago
-
Hi all. I made [RISC-V software emulator in Rust](https://github.com/takahirox/riscv-rust) and also compile it to WebAssembly so that you can also run [the RISC-V port xv6 (UNIX V6 rewritten by MIT fo…