63ef3b8c9fslightly better comments
Robert Morris
2022-08-22 13:49:15 -04:00
f2ee8690adx
Frans Kaashoek
2022-08-17 20:38:11 -04:00
1d4c437ea1Use uint64 (thanks carlclone and Harry Porter)
Frans Kaashoek
2022-08-17 20:37:22 -04:00
cef1b57d4aCompile user binary to map text without W and data without X Use the flags in elf header to set vm permissions Modify pgbug() so that usertests text segment is without W Add test to check app cannot write text segment
Frans Kaashoek
2022-08-15 19:02:19 -04:00
2175c6b0b6Run tests in the order in which they appear in the file
Frans Kaashoek
2022-08-15 19:01:34 -04:00
7a6d57235cCostmestic change (thanks Harry Porter)
Frans Kaashoek
2022-08-12 14:59:30 -04:00
899cc02660Experiment with being more precise setting permissions for user pages. Growing adds R|W pages (without X). Exec() marks the stack only R|W.
Frans Kaashoek
2022-08-12 13:22:10 -04:00
8f58cc7df9Cosmetic change (thanks Harry Porter)
Frans Kaashoek
2022-08-12 12:59:33 -04:00
62bc610424cosmetic changes (thanks Harry Porter)
Frans Kaashoek
2022-08-12 11:47:39 -04:00
dd5a720044cosmetic changes (thanks Harry Porter)
Frans Kaashoek
2022-08-12 10:57:16 -04:00
8bd04852c9Delete rtcdate, which is a left-over from an old lab (thanks Harry Porter)
Frans Kaashoek
2022-08-12 09:43:18 -04:00
48d1a7ffa5Add USED to states (thanks Harry Porter)
Frans Kaashoek
2022-08-12 09:14:54 -04:00
4f716c8550Use p->lock to read p->killed
Frans Kaashoek
2022-08-11 14:22:00 -04:00
429c7b717eUse atomic store_n and load_n
Frans Kaashoek
2022-08-11 08:42:52 -04:00
975f3b31d3Clean up using killed()
Frans Kaashoek
2022-08-11 07:23:17 -04:00
4087a6e7fcRead and write p->killed using atomics
Frans Kaashoek
2022-08-10 20:35:42 -04:00
b1fd09335aMerge remote-tracking branch 'g/riscv' into riscv
Frans Kaashoek
2022-08-10 10:31:54 -04:00
e67cb408d4x
Robert Morris
2022-08-10 07:06:49 -04:00
07cf0eb255have sh print prompt with write, not printf, to make system call lecture a little clearer.
Robert Morris
2022-08-10 06:42:17 -04:00
c908d20132put walk() in defs.h so it's clear students can call it
Robert Morris
2022-08-10 06:41:00 -04:00
143cde639dMerge remote-tracking branch 'github/riscv' into riscv
Frans Kaashoek
2022-08-10 07:18:39 -04:00
e606f95459x
Robert Morris
2022-08-10 07:06:49 -04:00
c3a17f454ahave sh print prompt with write, not printf, to make system call lecture a little clearer.
Robert Morris
2022-08-10 06:42:17 -04:00
311479ceb7put walk() in defs.h so it's clear students can call it
Robert Morris
2022-08-10 06:41:00 -04:00
76ad8e974favoid user-level segfault if a process doesn't call exit()
Robert Morris
2022-08-10 06:37:21 -04:00
872fa88e8atolerate running out of disk blocks
Robert Morris
2022-08-10 06:13:52 -04:00
7d573bae2aMerge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
Robert Morris
2022-08-10 06:00:57 -04:00
f4b3edf5abcomment nits
Robert Morris
2022-08-10 06:00:40 -04:00
535f1797f0nothing much
Robert Morris
2022-08-09 15:11:25 -04:00
2462656f21[user/ls]: List specific device file
John Jolly
2021-11-06 04:47:37 +00:00
9f3673c4dafix 'kfree' comment in kalloc.c
WaheedHafez
2021-11-19 18:45:49 +02:00
c1c16269b1fix comment in mkfs.c
mrm
2021-12-28 07:06:14 +09:00
62d8da06cd[user/ls]: List specific device file
John Jolly
2021-11-06 04:47:37 +00:00
96da76a728fix 'kfree' comment in kalloc.c
WaheedHafez
2021-11-19 18:45:49 +02:00
f33f0d8622fix comment in mkfs.c
mrm
2021-12-28 07:06:14 +09:00
7d8bfdcbe3nothing much
Robert Morris
2022-08-09 15:11:25 -04:00
dd431c400aREADME: Fix formatting in acknowledgements
olf
2022-01-20 23:27:06 +01:00
7c958af782enable reading memory using gdb
Rahul Thomas
2022-07-16 01:47:13 -07:00
27a669ef25comment nits
Robert Morris
2022-08-09 14:17:46 -04:00
af9abaca05Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
Robert Morris
2022-08-09 13:41:51 -04:00
3abd7a16ddcomment
Robert Morris
2022-08-09 13:41:45 -04:00
cf0c095721sscratch cleanup
Robert Morris
2022-08-09 12:14:29 -04:00
9fc9f755e1adopt github PR98 (No need to store TRAPFRAME in sscratch register)
Robert Morris
2022-08-09 11:44:02 -04:00
ca6fc54934tweak virtio comments
Robert Morris
2022-08-08 11:10:54 -04:00
84fb6f3dc2Merge branch 'virtio' into riscv
Frans Kaashoek
2022-08-02 11:44:40 -04:00
1b02b08db1Mark runcmd with attribute noreturn, since it doesn't return
Frans Kaashoek
2022-08-02 09:38:22 -04:00
84a1bdb5aaRevert "Not treat infinite-recursion as error"
Frans Kaashoek
2022-08-02 09:37:30 -04:00
759bb34113Not treat infinite-recursion as error
Dezhi Wu
2022-06-08 21:02:50 +08:00
cd00a8233aport virtio_disk to virtio spec 1.0+
Xi Wang
2021-10-17 22:33:39 -07:00
a1da53a5a1update
Frans Kaashoek
2021-09-01 07:31:22 -04:00
8ca56e9e0bmemmove(dst, src, 0) leads to overflow in while(n-- > 0) as n is uint64 (thanks Matúš Jókay <matus.jokay@stuba.sk>)
Frans Kaashoek
2021-09-01 07:29:12 -04:00