-
在 8.2 Lazy page allocation节中:
> 当调用sbrk时,它的参数是整数,代表了你想要申请的page数量。sbrk会扩展heap的上边界(也就是会扩大heap)。
sbrk的参数含义好像是想要allocate或shrink的字节数,不是page数,只是xv6只会以page为单位分配和释放。
Opadc updated
3 years ago
-
# 2022年开源操作系统训练营学习笔记 | Cascades
之前一直就想完完整整地做一次操作系统的Lab,但值得学习的课程资料实在是太多了,经典的xv6,modern的OSTEP,包括IPADS的ChCore…不过借着清华这样一次开源操作系统训练营的机会,就从rCore开始吧,这篇博客用来记录我在训练营中的笔记
[https://cascades-sjtu.github.io/posts/…
-
Hi,
I tried to build and run the code, It seems there are two problems as shown in the logs
```bash
aarch64-os git:(main) ✗ make qemu
toolchain/aarch64-linux-gnu-gcc -Wall -Og -g -MD -ffreest…
-
I am writing an actual effortpost here for a major suggestion to make OC2 a bit more... usable. Right now, there is currently only one option for an OS to load onto a computer, and that is a Linux + B…
-
請寫『姓名:到』!
-
I suspect that there's a deadlock condition that the tests aren't triggering.
-
execute make run , the output is :
```
qemu-system-riscv64 -machine virt -m 128M -nographic -serial mon:stdio -kernel kernel -bios none
Hello World :)
[INFO] Threads initialized.
[INFO] UART i…
-
Cannot create files or directories more than `struct superblock.ninodes`.
This value is set at creation of fs.img.
-
Hi, very good work!
As i written in the title there are plans for `mmap` support in rv6 kernel?
Keep it up!
Cicognani Marco
-
The instructions mentioned [here](https://pdos.csail.mit.edu/6.828/2022/tools.html) are not enough to enable `gdb` with `tui` on Ubuntu 20.04 LTS.
The steps need to be updated. Here is what I had to …