xhy/202302520026
d687730d8a
实现基本的功能,但是children过不了
2 months ago
xhy/202302520026
c7c13ef290
Task3: 实现 sysinfo 系统调用(包含系统信息收集、用户态拷贝等功能)
2 months ago
Robert Morris
463ae0abc3
handle negative arguments to sleep() a little better
3 years ago
Frans Kaashoek
cd6207a972
Merge branch 'riscv-killed' into riscv
3 years ago
Frans Kaashoek
2a391ebc8b
Make argint() and argaddr() of type void (thanks Harry Porter)
3 years ago
Frans Kaashoek
1d4c437ea1
Use uint64 (thanks carlclone and Harry Porter)
3 years ago
Frans Kaashoek
8bd04852c9
Delete rtcdate, which is a left-over from an old lab (thanks Harry Porter)
3 years ago
Frans Kaashoek
975f3b31d3
Clean up using killed()
3 years ago
Frans Kaashoek
4087a6e7fc
Read and write p->killed using atomics
3 years ago
Frans Kaashoek
7e6c37e67e
Support exit status for exit/wait
...
One test case for returning a exit status
Passes usertests, but haven't used it to simplify tests
6 years ago
Frans Kaashoek
1e4d7065d6
Merge branch 'riscv' into riscv-proc
7 years ago
Frans Kaashoek
67702cf706
Checkpoint switching to per-process locks, in attempt clarify xv6's
...
locking plan, which is a difficult to understand because ptable lock
protects many invariants. This implementation has a bug: once in a
while xv6 unlocks a proc lock that is locked by another core.
7 years ago
Robert Morris
18e76a6c47
sbrk() returns a pointer, so it should be 64 bits
7 years ago
Robert Morris
5753553213
separate source into kernel/ user/ mkfs/
7 years ago