Corrects order of UART RX/TX interrupt enable bits
Matt Harvey
2020-09-14 14:49:57 -07:00
2055fe13acbetter grind error messages
Robert Morris
2020-09-06 14:20:18 -04:00
e23d53f27fDelete doc dir because they take much space in student submissions
Frans Kaashoek
2020-08-28 16:21:07 -04:00
79899c7479Delete doc dir because they take much space in student submissions
Frans Kaashoek
2020-08-28 16:21:07 -04:00
490f91ab53move panicked check to uart.c
Robert Morris
2020-08-28 05:51:48 -04:00
748809e1b3suppress write() output after panic()
Robert Morris
2020-08-28 05:44:09 -04:00
de434fd933Remove obselete ifdef that shouldn't have been there ever
Frans Kaashoek
2020-08-27 07:05:13 -04:00
0b4e78f3a9fix usertests to pass all the riscv-sol-fall20 solutions.
Robert Morris
2020-08-27 06:21:10 -04:00
ffb2ee074amove panicked check to uart.c
Robert Morris
2020-08-28 05:51:48 -04:00
db067d24dasuppress write() output after panic()
Robert Morris
2020-08-28 05:44:09 -04:00
2ec9c6ed66Remove obselete ifdef that shouldn't have been there ever
Frans Kaashoek
2020-08-27 07:05:13 -04:00
d7e5f26910fix usertests to pass all the riscv-sol-fall20 solutions.
Robert Morris
2020-08-27 06:21:10 -04:00
0bb2533f73Adjust a few prototypes to be explicit that they don't take arguments
Frans Kaashoek
2020-08-21 10:55:34 -04:00
2a4a8764a5touch sbrk()-allocated memory to make sure it exists
Robert Morris
2020-08-19 13:10:14 -04:00
5860dcd07dusertest for exec() out of memory recovery and fix a few exec() bugs
Robert Morris
2020-08-19 12:35:14 -04:00
d4d487731aUse the major number defined in file.h. The minor number is ignored; might as well use 0.
Frans Kaashoek
2020-08-18 20:48:53 -04:00
3c25112f38Delete some obselete stuff
Frans Kaashoek
2020-08-17 14:25:12 -04:00
efaa7b8e2aAdjust a few prototypes to be explicit that they don't take arguments
Frans Kaashoek
2020-08-21 10:55:34 -04:00
59a9863a17touch sbrk()-allocated memory to make sure it exists
Robert Morris
2020-08-19 13:10:14 -04:00
aefa2697d7usertest for exec() out of memory recovery and fix a few exec() bugs
Robert Morris
2020-08-19 12:35:14 -04:00
b33574df38Use the major number defined in file.h. The minor number is ignored; might as well use 0.
Frans Kaashoek
2020-08-18 20:48:53 -04:00
740d363736Delete some obselete stuff
Frans Kaashoek
2020-08-17 14:25:12 -04:00
95dad4c061x
Robert Morris
2020-08-15 05:46:32 -04:00
f2ec6777bdfix a bug in the out-of-memory handling code in exec
Robert Morris
2020-08-13 14:10:58 -04:00
8dc71a257dhandle another out-of-memory in fork(). the policy here is not consistent, since other calls (e.g. exec()) panic on out of memory.
Robert Morris
2020-08-13 10:22:07 -04:00
bc51626aabtry to handle a few of the possible out-of-memory errors in fork()
Robert Morris
2020-08-13 09:19:23 -04:00
a8dd44cf59modify uvmunmap() to be in aligned pages fix a bug in fork() recovering from out of memory
Robert Morris
2020-08-13 08:46:28 -04:00
e283514ad0pa isn't needed in the uvmunmap() loop
Robert Morris
2020-08-13 08:04:56 -04:00
b154cf091cx
Robert Morris
2020-08-15 05:46:32 -04:00
4a87a0ae8bfix a bug in the out-of-memory handling code in exec
Robert Morris
2020-08-13 14:10:58 -04:00
adee82c3e7handle another out-of-memory in fork(). the policy here is not consistent, since other calls (e.g. exec()) panic on out of memory.
Robert Morris
2020-08-13 10:22:07 -04:00
4c22c54480try to handle a few of the possible out-of-memory errors in fork()
Robert Morris
2020-08-13 09:19:23 -04:00
70c6fe861emodify uvmunmap() to be in aligned pages fix a bug in fork() recovering from out of memory
Robert Morris
2020-08-13 08:46:28 -04:00
e1a2cd59faMerge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
Robert Morris
2020-08-13 08:05:13 -04:00
d32eac366fpa isn't needed in the uvmunmap() loop
Robert Morris
2020-08-13 08:04:56 -04:00
56e7cebdb9Update to the latest specs
Frans Kaashoek
2020-08-10 20:28:12 -04:00
315c37c0f1Update to the latest specs
Frans Kaashoek
2020-08-10 20:28:12 -04:00
468946781fcopyright and 6.S081
Frans Kaashoek
2020-08-10 19:41:57 -04:00
84dcf8a738copyright and 6.S081
Frans Kaashoek
2020-08-10 19:41:57 -04:00
fa71d7fca2Ack bug finders.
Frans Kaashoek
2020-08-10 16:42:33 -04:00
5dace67371Typo (thanks yt <jaichenhengjie@qq.com>)
Frans Kaashoek
2020-08-10 16:25:51 -04:00
737bd3a55dAck bug finders.
Frans Kaashoek
2020-08-10 16:42:33 -04:00
2db95f08b1Typo (thanks yt <jaichenhengjie@qq.com>)
Frans Kaashoek
2020-08-10 16:25:51 -04:00
f14aa421c4Generate initcode without compressed extensions
Frans Kaashoek
2020-08-10 13:55:26 -04:00
c24844714bupdate initcode to avoid using the compressed extension
Asami Doi
2020-03-20 12:33:32 +09:00
9eff4b0871Write interrupt ack register in virtio_disk_intr()
Takahiro
2020-04-18 14:49:54 -07:00
b557e7c32eUpdate ramdisk.c
Jonathan Kimmitt
2020-01-16 15:05:27 +00:00
ffcb883adfFix minor typos
Fumiya Shigemitsu
2019-10-21 21:01:07 +09:00
96a20b0c0fGenerate initcode without compressed extensions
Frans Kaashoek
2020-08-10 13:55:26 -04:00
Merge branch 'riscv' into riscv
Frans Kaashoek
2020-08-10 13:05:17 -04:00
d8fe1773b2test string system call arguments that cross over the end of the last page.
Robert Morris
2020-08-07 16:56:00 -04:00
76d6c57edetest copyinstr()'s handling of the terminating null
Robert Morris
2020-08-07 16:39:56 -04:00
e3b7058907streamline 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
a93321cb25test pointer checking in copyin, copyout, copyinstr
Robert Morris
2020-08-07 14:34:39 -04:00
1f555198d6Change tf -> trapframe in a few comments
Frans Kaashoek
2020-08-06 20:30:43 -04:00
7f35d7a14emodify each page in usertests countfree() get rid of static for walk() and freewalk()
Robert Morris
2020-08-07 05:32:48 -04:00
2ae9c8e272defines for UART register bits
Robert Morris
2020-07-23 06:27:20 -04:00
0f50e9527cfix printf() in interrupts
Robert Morris
2020-07-22 10:31:46 -04:00
27057bc9b4interrupt-driven uart output, hopefully a nice example for teaching.
Robert Morris
2020-07-20 06:59:26 -04:00
1e72d5ca08cpu->scheduler -> cpu->context to reduce confusion
Robert Morris
2020-07-17 16:40:57 -04:00
5494c91705rename p->tf to p->trapframe, for consistency with p->context
Robert Morris
2020-07-17 16:29:52 -04:00
82981fab6bdrop QEMUEXTRA
Robert Morris
2020-07-17 16:29:43 -04:00