b62d4d412bmore grind
Robert Morris
2019-11-07 09:46:20 -05:00
897f6f34ddyet another toolchain name
rtm
2019-11-07 06:43:38 -05:00
6cb6764bb1test string system call arguments that cross over the end of the last page.
Robert Morris
2020-08-07 16:56:00 -04:00
234391b6bftest copyinstr()'s handling of the terminating null
Robert Morris
2020-08-07 16:39:56 -04:00
354adfdafcstreamline copyin/copyout code in usertests fix bugs in read/write return values when there's an error
Robert Morris
2020-08-07 15:06:43 -04:00
f01b1a8b71test pointer checking in copyin, copyout, copyinstr
Robert Morris
2020-08-07 14:34:39 -04:00
e4b9346679Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
Robert Morris
2020-08-07 05:33:23 -04:00
8b9b799937modify each page in usertests countfree() get rid of static for walk() and freewalk()
Robert Morris
2020-08-07 05:32:48 -04:00
6c3099d314Change tf -> trapframe in a few comments
Frans Kaashoek
2020-08-06 20:30:43 -04:00
050a69610adefines for UART register bits
Robert Morris
2020-07-23 06:27:20 -04:00
db0f092ae4fix printf() in interrupts
Robert Morris
2020-07-22 10:31:46 -04:00
823864099dinterrupt-driven uart output, hopefully a nice example for teaching.
Robert Morris
2020-07-20 06:59:26 -04:00
3b053f5d58cpu->scheduler -> cpu->context to reduce confusion
Robert Morris
2020-07-17 16:40:57 -04:00
d6dad42aafrename p->tf to p->trapframe, for consistency with p->context
Robert Morris
2020-07-17 16:29:52 -04:00
7a7cd1adefdrop QEMUEXTRA
Robert Morris
2020-07-17 16:29:43 -04:00
deaff5d8a6no buf->qnext
Robert Morris
2019-09-24 14:41:51 -04:00
9ead904afefix major validation
Xi Wang
2019-09-19 10:31:04 -07:00
37df68e5destory is more complex than I thought.
Robert Morris
2019-09-23 07:24:41 -04:00
d175beadf5bug fix: reparent() sometimes deadlocked bug fix: exit() sometimes released a different parent lock than it acquired usertests
Robert Morris
2019-09-23 06:50:25 -04:00
843ce77765Stress copyin for the full allocated page (good for lazy lab).
Frans Kaashoek
2019-09-21 14:20:21 -04:00
d940fd122ddon't leak memory if exec() arguments are invalid.
Robert Morris
2019-09-21 04:54:25 -04:00
6b79ee69b7Refactor big sbrk test in smaller, easier-to-understand tests
Frans Kaashoek
2019-09-21 02:07:24 -04:00
ee67dbd211Not much: factor sbrksimple from big sbrktest
Frans Kaashoek
2019-09-20 17:07:41 -04:00
7c7ed20822don't leak a file system block if the buf argument to write is invalid and a usertest
Robert Morris
2019-09-20 13:09:26 -04:00
e1a37303c8yet another sbrk() bug fix, and usertest
Robert Morris
2019-09-20 12:13:57 -04:00
4de161f973don't panic if a program frees all its memory with sbrk(). if a program sbrk()'s to a non-page-boundary, don't free that page. corresponding usertests.
Robert Morris
2019-09-20 11:35:27 -04:00
ca30cac702more incorrect cast to uint
Robert Morris
2019-09-20 10:27:03 -04:00
402e7b5605fix a potential kernel crash add a regression test for it
Robert Morris
2019-09-20 09:41:03 -04:00
57e40a0204nits
Robert Morris
2019-09-20 06:02:47 -04:00
ba1c42849aprint name at start of test
Frans Kaashoek
2019-09-19 15:39:05 -04:00
25e6803e17a comment
Frans Kaashoek
2019-09-19 15:22:45 -04:00
3f6e372a29make exec test self contained
Frans Kaashoek
2019-09-19 15:14:52 -04:00
f6a37c17f2Standarize the way tests are run and report errors Support running one test, by specifying the name as a command argument to usertests
Frans Kaashoek
2019-09-19 06:58:28 -04:00
0d01de2a32Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
Robert Morris
2019-09-17 06:08:10 -04:00
2df42355f7all of PTE_FLAGS
Robert Morris
2019-09-17 06:07:58 -04:00
b150908354add `-bios none' to silence qemu
Xi Wang
2019-09-14 01:13:21 +08:00
036b5edf12set architecture riscv:rv64 -- fix gdb trampoline disassembly, thanks jonathan
Robert Morris
2019-09-12 10:48:48 -04:00
35010f0d0ferror exit status is 1
Robert Morris
2019-09-11 10:04:40 -04:00
7e6c37e67eSupport exit status for exit/wait One test case for returning a exit status Passes usertests, but haven't used it to simplify tests
Frans Kaashoek
2019-09-10 12:30:10 -04:00
035cca95feMake the end variable be really at the end of bss, and delete + 4096 in freerange()
Frans Kaashoek
2019-09-08 15:18:38 -04:00
e5b7fa62ccthanks to Anthony Coulter
Robert Morris
2019-09-08 06:51:58 -04:00
fc337af2b6fix a grep bug
Robert Morris
2019-09-05 16:50:55 -04:00
c0beeccb1bhave echo use FD 1 for clarity
Robert Morris
2019-09-04 10:12:53 -04:00
25e113138dsfence.vma in trampoline as well
Robert Morris
2019-09-03 16:29:48 -04:00
9b9e2dd0f2fix sfence_vma comment
Robert Morris
2019-09-03 16:25:11 -04:00
86a1d4b295sfence_vma after satp
Robert Morris
2019-09-03 15:45:07 -04:00
64b93d175auser printf(1 -> printf(
Robert Morris
2019-08-27 13:13:03 -04:00
a3f6d9fd1ecow moved to xv6-riscv-fall19
Frans Kaashoek
2019-08-26 21:16:33 -04:00
92c3c02098RISC-V port doesn't borrow this code
Frans Kaashoek
2019-08-26 08:49:50 -04:00
510bcde894Add major/minor/mkdev Maybe apply this change to master
Frans Kaashoek
2019-08-15 10:35:59 -04:00
7241838b4cMove labs into 6.828 repo. The lab text isn't dependent on specific xv6 code. Lab submission instructions etc. are likely going to be more MIT 6.828 specific.
Frans Kaashoek
2019-08-20 20:23:18 -04:00
c612d452fdvalidateint doesn't test something interesting on RISC-V; delete it.
Frans Kaashoek
2019-08-20 13:04:12 -04:00
b564fca246Rationalize some constants in usertests
Frans Kaashoek
2019-08-20 12:58:00 -04:00
d98ddadd79Also release buffer on failed copyout
Frans Kaashoek
2019-08-20 12:46:56 -04:00
6005ef5a1cRelease buffer also when copyin fails
Frans Kaashoek
2019-08-20 11:57:24 -04:00
d9818b89e1512 -> BSIZE
Frans Kaashoek
2019-08-20 11:56:56 -04:00
a825f22cf8Merge remote-tracking branch 'origin/master' into riscv
Frans Kaashoek
2019-08-19 19:27:29 -04:00
82638c019cAvoid rereading the superblock in bfree
Dan Cross
2019-03-20 17:28:13 +00:00
21ad8c76bcA few now unused DOC
Frans Kaashoek
2019-08-19 18:12:19 -04:00
ce565ae04adan cross
Frans Kaashoek
2019-08-19 14:46:33 -04:00
e10f797762Merge remote-tracking branch 'origin/master' into riscv
Frans Kaashoek
2019-08-19 13:35:47 -04:00
0581c37bafRemoved unused dirlookup argument in create
Dan Cross
2019-03-21 01:15:38 +00:00
2501560cd6Cosmetic cleanup: fsinit reads sb and calls loginit. initialize icache in main.c and don't make it disk specific; the icache is shared. This doesn't matter since we have only one disk, but conceptually cleaner and maybe helpful to students for mount lab.
Frans Kaashoek
2019-08-18 14:35:11 -04:00
a9953236ccx
Frans Kaashoek
2019-08-17 12:52:25 -04:00
e61377bf8aUpdate write up to reflect new test cases.
Frans Kaashoek
2019-08-17 12:33:32 -04:00
5498ee2e92Draft mount/umount lab as an alternative lab for fs.html
Frans Kaashoek
2019-08-12 10:25:55 -04:00
e398a9815cWrap state of disk driver in a struct so that it is easier to support several disks (e.g., in a mount lab).
Frans Kaashoek
2019-08-12 07:20:32 -04:00
d96a8c5661add alarmtest.c to the repository they don't have to modify alarmtest.c, so we can use the original version to test, to make it harder to cheat.
Robert Morris
2019-08-05 02:04:44 -04:00
deec67f05dalarm stuff
Robert Morris
2019-08-03 07:12:00 -04:00
fdea265489two notes
Frans Kaashoek
2019-08-02 16:42:55 -04:00
564d10bb22Add simple crash recovery assignment to fs lab
Frans Kaashoek
2019-08-02 16:28:55 -04:00
c5163e4a42nits
Robert Morris
2019-08-02 16:22:56 -04:00
3bee885ed7some XXX questions
Robert Morris
2019-08-02 14:51:04 -04:00
e788af9b81oops, back to alarm()
Robert Morris
2019-08-02 13:25:57 -04:00
0b5c01d429Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
Robert Morris
2019-08-02 13:18:37 -04:00
9110f40b7dsigalarm
Robert Morris
2019-08-02 13:18:26 -04:00