551c2f3576Merge branch 'master' of g.csail.mit.edu:xv6-dev
Frans Kaashoek
2016-09-08 21:20:26 -0400
1b8ccf9482x
Frans Kaashoek
2016-09-08 21:20:17 -0400
34c2efc1d0use asm() for lock release, not a C assignment
Robert Morris
2016-09-08 14:45:20 -0400
d63ac118e8this might fix the reported deadlock, though I can't reproduce it.
Robert Morris
2016-09-08 14:22:38 -0400
761ea5471fBe a bit more explicit what kind of suggestions are are interested.
Frans Kaashoek
2016-09-08 13:09:09 -0400
5bf3fbee00Make runoff happy
Frans Kaashoek
2016-09-02 15:27:28 -0400
b7fed77b7bFix a few lines that runoff is complaining about that they are too long
Frans Kaashoek
2016-09-02 14:59:00 -0400
5f03799f84ack xi
Frans Kaashoek
2016-09-02 08:43:33 -0400
b8fd4cba13Merge branch 'master' of g.csail.mit.edu:xv6-dev
Frans Kaashoek
2016-09-02 08:36:14 -0400
ae15515d80APIC IDs may not be consecutive and start from zero, so we cannot really use it as a direct index into cpus. Record apicid in struct cpu and have cpunum() look for it. Replace cpu->id with cpunum() everywhere, and replace cpu->id with cpu->apicid. Thanks to Xi Wang.
Frans Kaashoek
2016-09-02 08:31:13 -0400
bc8221a59ccomment about sched() saving/restoring cpu->intena
Robert Morris
2016-09-02 05:40:54 -0400
4b2152cc2dcurproc -> proc in a comment
Robert Morris
2016-09-01 17:21:37 -0400
37939f24c2better comment
Frans Kaashoek
2016-08-26 08:46:13 -0400
27ff70dc08ack
Frans Kaashoek
2016-08-26 08:22:24 -0400
aff0c8d5c7set iomb to forbid i/o instructions from user space add to test that they indeed trap in user space thanks to pablogventura@gmail.com and nwolovick@gmail.com
Frans Kaashoek
2016-08-26 08:20:11 -0400
745a4d31a6x
Frans Kaashoek
2016-08-25 09:14:52 -0400
7894fcd217Remove trailing white space with: for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick)
Frans Kaashoek
2016-08-25 09:13:00 -0400
6de6a3c952ack mikecat
Frans Kaashoek
2016-08-25 07:12:33 -0400
5625ae4973add check for wrapping of address + size in exec()
MikeCAT
2015-12-20 00:04:52 +0900
67a7f9597eadd alignment check of virtual address to exec()
MikeCAT
2015-12-19 23:43:56 +0900
a7c03bd914p2v -> P2V
Robert Morris
2016-08-24 13:40:06 -0400
7a77375d64x
Frans Kaashoek
2016-08-19 07:20:08 -0400
1fc87f367cCoding style (thanks to phf).
Frans Kaashoek
2016-08-18 21:02:05 -0400
5faed8ba64Fixed QEMU command line avoids raw image warning.
Peter H. Froehlich
2015-09-26 17:38:04 -0400
0f3d9d9d68It will be for 2016
Frans Kaashoek
2016-08-18 14:00:48 -0400
987064cb12Update based on a scan of my 6828 folder
Frans Kaashoek
2016-08-18 13:37:32 -0400
2a117310b5Removed useless variable.
Peter H. Froehlich
2015-10-03 04:43:05 -0400
216fdf846fAgain, QEMU command line to avoid image warning.
Peter H. Froehlich
2015-10-03 01:55:43 -0400
1ccb5a6fcaRemove unused variable, nits.
Peter H. Froehlich
2015-09-26 23:10:25 -0400
2c60b7f31fRemoved useless function and prototypes.
Peter H. Froehlich
2015-09-26 18:47:39 -0400
09396a801aThanks to Warren Toomey for RDMUL and WRMUL.
Frans Kaashoek
2016-08-18 07:42:13 -0400
4a3576b810Small change to support RWMUL and WRMUL. Now xv6 truly works with a block size that is a multiple of the sector size.
Frans Kaashoek
2016-08-18 07:39:03 -0400
19f65413bdhold ptable.lock for the entire process creation however, processes still modify their own p->* without locking
Robert Morris
2016-08-13 03:44:13 -0400
20d05d4411separate atomic test-and-set from memory barrier. * use xchg only for its atomicness. * use __sync_synchronize() for both CPU and compiler barrier.
Robert Morris
2016-08-12 07:03:35 -0400
9c65b32d9enothing much
Robert Morris
2016-08-11 15:41:53 -0400
c779cc2be1main comments
Robert Morris
2016-08-11 13:55:13 -0400
241188276cnits
Robert Morris
2016-08-10 12:06:02 -0400
3431cd4927more comments in entryother.S
Robert Morris
2016-08-10 11:35:28 -0400
0a69dc9b17even more explicit that entry.S is linked into kernel, unlike bootasm.S.
Robert Morris
2016-08-10 11:22:36 -0400
858475e4dftiny clarifications to some gdt code.
Robert Morris
2016-08-10 10:51:14 -0400
0a4a4230a3shell nits fix Regehr complaint
Robert Morris
2016-08-08 13:06:38 -0400
50edfe1412nits
Frans Kaashoek
2015-11-15 13:40:42 -0500
b67ed0902dUpdate memide to reflect recent changes to fs and buf
Frans Kaashoek
2015-06-27 13:38:03 -0400
8320d61be5Pick up where i left off in april: - move log into metadata part of disk, so that marking that the log's blocks are in use falls out for free - superblock describes the whole disk (sizes and offets) - sizes and offsets are computed in one place (mkfs) and the rest of the code refers to the superblock for these values, instead of recomputing them.
Frans Kaashoek
2015-06-27 12:39:13 -0400
de4af193c8One ide command for nsector_per_block generates nsector_per_block interrupts, instead of 1. ideintr() should wait for nsector_per_block interrupts before waking up the reader; now it wakes up the reader after 1 interrupt, which apparently means that the first sector is available of the command instead of all. For now keep BSIZE to 512.
Frans Kaashoek
2015-04-10 20:39:40 -0400
895af77fe6check blockno passed to idestart
Frans Kaashoek
2015-04-10 07:15:06 -0400
c24ac5d763Disentangle block size from the disk's sector size. Set block size to 1024 to show that they can be different. Clean up mkfs, simplifying specifying fs parameters, remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks in the file system blocks instead of sectors. Passes usertests for different block sizes.
Frans Kaashoek
2015-04-03 08:22:02 -0400
7443b9649aFix missing NUL-terminator in grep
Austin Clements
2015-03-24 20:54:39 -0400
3d2dedd427fix buf where concurrent fs syscalls race on log entries
Cody Cutler
2015-02-19 11:51:47 -0500
41f16c2183Increase VM memory when running qemu-memfs
Austin Clements
2014-10-03 09:44:26 -0400
8e54196355Make kernelmemfs depend on kernel.ld
Austin Clements
2014-10-03 09:43:44 -0400
86188d9d49newer versions of qemu have different binary names (per Joel Nider <joel@nider.org>)
Frans Kaashoek
2014-07-31 11:08:28 -0400
ff2783442eCorrect a security bug in copyuvm()
Stephen Tu
2013-03-04 16:16:54 -0500
241c068066Prevent extra rebuild of fs.img by keeping intermediate object files.
Cam Tenny
2012-10-24 18:52:40 -0400
c440b5cd97Use static assert instead of _LP64 (thanks Eddie!)
Frans Kaashoek
2012-09-10 21:58:18 -0400
cf57e525c1Remove -m32 flag from native gcc compiler But check that mkfs.c is building with LP64
Frans Kaashoek
2012-09-07 17:39:04 -0400
2ae8392a5cmake the book happy
Robert Morris
2012-08-28 14:41:08 -0400
792d83cad1nits
Robert Morris
2012-08-28 14:11:23 -0400
c1ee7eb4d3Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris
2012-08-28 12:57:13 -0400
8960f60b30junk
Robert Morris
2012-08-28 12:57:05 -0400
951b77f7ecVarious fixes and improvements to printpcs
Austin Clements
2012-08-24 14:51:52 -0400
020acb4f10For the convenience of students
Frans Kaashoek
2012-08-23 09:35:00 -0400
6650cc934aUse addr2line (or i386-jos-elf-addr2line, if you cross compile)
Frans Kaashoek
2012-08-22 21:25:19 -0400
3fb7eceea7Runoff still complaints these lines are too long, but it is now ok on printout
Frans Kaashoek
2012-08-22 21:24:13 -0400
f3f4b0fd88chmod +x
Frans Kaashoek
2012-08-22 20:54:47 -0400
c2d393df13Decode getcallerpcs() (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:51:29 -0400
95692c4a8cRemove left-over from some logging plan making complete syscalls atomic 0 is not a system call (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:28:58 -0400
432acbaf9eMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Frans Kaashoek
2012-08-22 20:20:17 -0400
4ce832ddd2Remove unused argument to setupkvm (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:19:37 -0400
70c555574aRemove unused argument from lapicinit (thanks to Peter Froehlich)
Frans Kaashoek
2012-08-22 20:13:43 -0400
b08d16f61dFix from Peter Froehlich
Frans Kaashoek
2012-08-22 20:07:04 -0400
9d59eb0151Make fetchint and fetchstr use proc instead of taking a struct proc
Austin Clements
2012-02-17 23:20:13 -0500
12abb1a561don't let dirty blocks be evicted from cache!
Robert Morris
2011-10-14 10:23:23 -0400
38eee5bca7more FS comment clarification
Robert Morris
2011-10-11 10:11:53 -0400