xhy/202302520026
d687730d8a
实现基本的功能,但是children过不了
2 months ago
xhy/202302520026
c7c13ef290
Task3: 实现 sysinfo 系统调用(包含系统信息收集、用户态拷贝等功能)
2 months ago
Frans Kaashoek
cc486ddee0
Help students read this C syntax
3 years ago
Frans Kaashoek
2a391ebc8b
Make argint() and argaddr() of type void (thanks Harry Porter)
3 years ago
Frans Kaashoek
7a6d57235c
Costmestic change (thanks Harry Porter)
3 years ago
Frans Kaashoek
62bc610424
cosmetic changes (thanks Harry Porter)
3 years ago
Robert Morris
5494c91705
rename p->tf to p->trapframe, for consistency with p->context
6 years ago
Robert Morris
57e40a0204
nits
6 years ago
Robert Morris
0c10cbe829
syscall lab nits
7 years ago
Robert Morris
6507da772d
argptr no longer needed, since copyin checks
7 years ago
Robert Morris
cc1a303d09
fetchint isn't used any more
7 years ago
Frans Kaashoek
b924e44f06
Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
7 years ago
Frans Kaashoek
ce53416f49
Delete x86 comment
7 years ago
Robert Morris
5eb1685700
have kill() lock before looking at p->pid
...
document wait()'s use of np->parent w/o holding lock.
7 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