]>
Devi Nivas Git - cs3210-lab1.git/log
Robert Morris [Mon, 30 Aug 2010 10:38:58 +0000 (06:38 -0400)]
set only PG and WP in vminit; the rest don't seem to be needed and are confusing
Robert Morris [Wed, 11 Aug 2010 18:34:45 +0000 (14:34 -0400)]
uptime() sys call for benchmarking
increase PHYSTOP
Robert Morris [Tue, 10 Aug 2010 21:08:41 +0000 (17:08 -0400)]
allow sbrk(-x) to de-allocate user memory
Robert Morris [Fri, 6 Aug 2010 15:12:18 +0000 (11:12 -0400)]
fix corner cases in exec of ELF
put an invalid page below the stack
have fork() handle invalid pages
Robert Morris [Fri, 6 Aug 2010 01:16:55 +0000 (21:16 -0400)]
add some comments
find out the hard way why user and kernel must have separate segment descriptors
Robert Morris [Thu, 5 Aug 2010 20:00:59 +0000 (16:00 -0400)]
remove some unused vm #defines
fix corner cases with alignment when mapping kernel ELF file
Robert Morris [Thu, 5 Aug 2010 18:15:03 +0000 (14:15 -0400)]
move jkstack to main.c
replace jstack with asm()s
Robert Morris [Thu, 5 Aug 2010 16:10:54 +0000 (12:10 -0400)]
fix allocuvm() to handle sbrk() with non-page-granularity argument
(maybe this never worked, but it works now)
Frans Kaashoek [Wed, 28 Jul 2010 18:38:05 +0000 (14:38 -0400)]
kill TLB shoot down code
Frans Kaashoek [Mon, 26 Jul 2010 12:10:02 +0000 (08:10 -0400)]
more cleanup
Frans Kaashoek [Mon, 26 Jul 2010 00:30:21 +0000 (20:30 -0400)]
some cleanup
Frans Kaashoek [Fri, 23 Jul 2010 16:52:50 +0000 (12:52 -0400)]
a few nits
passes all tests on two-processor smp
Frans Kaashoek [Fri, 23 Jul 2010 16:52:35 +0000 (12:52 -0400)]
oops, vm.c
Frans Kaashoek [Fri, 23 Jul 2010 11:41:13 +0000 (07:41 -0400)]
Checkpoint page-table version for SMP
Includes code for TLB shootdown (which actually seems unnecessary for xv6)
Frans Kaashoek [Fri, 2 Jul 2010 21:45:37 +0000 (17:45 -0400)]
nits
Frans Kaashoek [Fri, 2 Jul 2010 18:51:53 +0000 (14:51 -0400)]
Initial version of single-cpu xv6 with page tables
Russ Cox [Sat, 6 Feb 2010 21:08:06 +0000 (16:08 -0500)]
another rev2 -> rev3
Russ Cox [Sat, 6 Feb 2010 20:55:09 +0000 (12:55 -0800)]
point at rev3
Frans Kaashoek [Tue, 1 Dec 2009 19:07:12 +0000 (14:07 -0500)]
8ae0 instead of 8e00, thanks yandong
Austin Clements [Mon, 23 Nov 2009 22:50:58 +0000 (17:50 -0500)]
Add stressfs and gdbutil to dist
Austin Clements [Mon, 23 Nov 2009 22:47:57 +0000 (17:47 -0500)]
GDB utilities
Austin Clements [Mon, 23 Nov 2009 22:27:26 +0000 (17:27 -0500)]
Add the test we used in lecture to creash the IDE system when the
locks were moved around.
Austin Clements [Sun, 25 Oct 2009 01:31:08 +0000 (21:31 -0400)]
Merge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6
Austin Clements [Sun, 25 Oct 2009 01:31:01 +0000 (21:31 -0400)]
Comment typo
Frans Kaashoek [Wed, 7 Oct 2009 21:42:25 +0000 (17:42 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Frans Kaashoek [Wed, 7 Oct 2009 21:42:14 +0000 (17:42 -0400)]
fine-tune comment
Frans Kaashoek [Wed, 7 Oct 2009 19:31:55 +0000 (15:31 -0400)]
fine tune comment
Austin Clements [Wed, 7 Oct 2009 17:06:55 +0000 (13:06 -0400)]
Remove memcpy prototypes at Russ' request to prevent code from calling
memcpy directly.
Austin Clements [Wed, 7 Oct 2009 16:05:56 +0000 (12:05 -0400)]
Provide memcpy for compatibility with older versions of gcc
Austin Clements [Mon, 5 Oct 2009 17:20:23 +0000 (13:20 -0400)]
Record debug info for assmebly code
Austin Clements [Thu, 1 Oct 2009 02:32:50 +0000 (22:32 -0400)]
Handle backspace on serial input and output better. Better solutions are welcome.
Austin Clements [Thu, 1 Oct 2009 02:09:48 +0000 (22:09 -0400)]
Be consistent with JOS make targets
Austin Clements [Mon, 21 Sep 2009 03:09:59 +0000 (23:09 -0400)]
Hack to make newlines on the serial port work
Austin Clements [Mon, 21 Sep 2009 03:08:36 +0000 (23:08 -0400)]
Use the symbol file
Austin Clements [Mon, 21 Sep 2009 03:07:59 +0000 (23:07 -0400)]
xv6 runs the console on the serial port, not the parallel port
Frans Kaashoek [Mon, 21 Sep 2009 00:19:58 +0000 (20:19 -0400)]
nit in comment
Silas Boyd-Wickizer [Tue, 15 Sep 2009 23:15:59 +0000 (19:15 -0400)]
add .gdbinit.tmpl to dist
Silas Boyd-Wickizer [Tue, 15 Sep 2009 23:15:48 +0000 (19:15 -0400)]
add uart.c
Silas Boyd-Wickizer [Tue, 15 Sep 2009 21:21:14 +0000 (17:21 -0400)]
rev3
Silas Boyd-Wickizer [Tue, 15 Sep 2009 21:21:02 +0000 (17:21 -0400)]
ignore .gitignore
Silas Boyd-Wickizer [Tue, 15 Sep 2009 21:15:36 +0000 (17:15 -0400)]
qemu-gdb target and script
Russ Cox [Thu, 3 Sep 2009 07:46:28 +0000 (00:46 -0700)]
new pdf
Russ Cox [Thu, 3 Sep 2009 07:46:15 +0000 (00:46 -0700)]
formatting tweaks
Russ Cox [Wed, 2 Sep 2009 17:09:34 +0000 (10:09 -0700)]
can set just %gs now.
Russ Cox [Wed, 2 Sep 2009 17:07:59 +0000 (10:07 -0700)]
another attempt at cpu-local variables.
this time do it ourselves instead of piggybacking on TLS.
add -fno-pic to Makefile; pic code breaks our fake TLS.
Russ Cox [Wed, 2 Sep 2009 17:06:37 +0000 (10:06 -0700)]
lapic: disable microdelay because it makes Bochs slow
Russ Cox [Wed, 2 Sep 2009 14:59:24 +0000 (07:59 -0700)]
fix TLS again;
still not quite but a lot better.
Russ Cox [Wed, 2 Sep 2009 14:41:08 +0000 (07:41 -0700)]
Fix TLS for PIC systems
Nickolai Zeldovich [Wed, 2 Sep 2009 06:03:46 +0000 (02:03 -0400)]
fix bootblock build with gcc 4.4
Russ Cox [Mon, 31 Aug 2009 06:02:08 +0000 (23:02 -0700)]
assorted fixes:
* rename c/cp to cpu/proc
* rename cpu.context to cpu.scheduler
* fix some comments
* formatting for printout
Russ Cox [Sat, 8 Aug 2009 08:07:30 +0000 (01:07 -0700)]
shuffle and tweak for formatting.
pdf has very good page breaks now.
would be a good copy for fall 2009.
Russ Cox [Mon, 13 Jul 2009 16:34:45 +0000 (09:34 -0700)]
exec tweaks
Russ Cox [Mon, 13 Jul 2009 02:07:30 +0000 (19:07 -0700)]
remove //DOC in the right place
Russ Cox [Mon, 13 Jul 2009 01:56:00 +0000 (18:56 -0700)]
strip //DOC comments during printing
Russ Cox [Mon, 13 Jul 2009 01:39:07 +0000 (18:39 -0700)]
merge
Russ Cox [Mon, 13 Jul 2009 01:33:37 +0000 (18:33 -0700)]
more doc tweaks
Silas Boyd-Wickizer [Sun, 12 Jul 2009 19:28:14 +0000 (15:28 -0400)]
undo
Silas Boyd-Wickizer [Sun, 12 Jul 2009 19:17:29 +0000 (15:17 -0400)]
test commit email
Russ Cox [Sun, 12 Jul 2009 02:28:29 +0000 (19:28 -0700)]
initproc, usegment, swtch tweaks
Russ Cox [Sun, 12 Jul 2009 02:26:51 +0000 (19:26 -0700)]
spinlock: rename parameter lock -> lk
Russ Cox [Sun, 12 Jul 2009 02:26:29 +0000 (19:26 -0700)]
mmu.h: unused SEG_NULL
Russ Cox [Sun, 12 Jul 2009 02:26:01 +0000 (19:26 -0700)]
rearrangements and cleanup for text
Russ Cox [Sun, 12 Jul 2009 02:24:56 +0000 (19:24 -0700)]
trap cleanup
IRQ_OFFSET -> T_IRQ0 (a trap number not an IRQ number)
T_SYSCALL 0x30 -> 0x40 (move out of IRQ range)
Russ Cox [Sun, 12 Jul 2009 02:15:32 +0000 (19:15 -0700)]
bootasm cleanup
Russ Cox [Sun, 12 Jul 2009 01:17:32 +0000 (18:17 -0700)]
s/IRQ_OFFSET/T_IRQ0/: it's a trap number, not an irq number.
move the SYSCALL number up, so does not overlap the IRQ traps.
rsc [Sun, 31 May 2009 05:13:51 +0000 (05:13 +0000)]
compile fixes
rsc [Sun, 31 May 2009 05:12:21 +0000 (05:12 +0000)]
group locks into structs they protect.
few naming nits.
rsc [Sun, 31 May 2009 02:14:04 +0000 (02:14 +0000)]
usys.S: put before init.c, STUB -> SYSCALL
rsc [Sun, 31 May 2009 02:11:27 +0000 (02:11 +0000)]
exec sanity check
rsc [Sun, 31 May 2009 02:07:51 +0000 (02:07 +0000)]
simplify
rsc [Sun, 31 May 2009 02:07:26 +0000 (02:07 +0000)]
use ftable like btable and itable
rsc [Sun, 31 May 2009 01:53:08 +0000 (01:53 +0000)]
fix bug fix
rsc [Sun, 31 May 2009 01:44:20 +0000 (01:44 +0000)]
tidy fs.c; bmap callers always expected allocation
rsc [Sun, 31 May 2009 01:34:46 +0000 (01:34 +0000)]
inode reuse bug.
Suppose an inode has been used and freed.
It is left marked I_VALID (the bug).
Now ialloc comes along and reuses the
inode. It writes the new inode type to disk
and returns iget(dev, inum) to get the
cache entry. Iget sees that the inode is valid
and doesn't bother refreshing from disk.
Now when the caller iupdates, it will write
out a zero type and the file or directory has
disappeared.
rsc [Sun, 31 May 2009 01:29:17 +0000 (01:29 +0000)]
bio.c: use struct like icache does
rsc [Sun, 31 May 2009 01:29:01 +0000 (01:29 +0000)]
ide.c: make names more regular
rsc [Sun, 31 May 2009 01:12:08 +0000 (01:12 +0000)]
clean up %fs %gs use
rsc [Sun, 31 May 2009 01:00:38 +0000 (01:00 +0000)]
sync with c; .text is implied
rsc [Sun, 31 May 2009 00:59:37 +0000 (00:59 +0000)]
drop NADDRS and INDIRECT; too many names
rsc [Sun, 31 May 2009 00:39:17 +0000 (00:39 +0000)]
tab police
rsc [Sun, 31 May 2009 00:38:51 +0000 (00:38 +0000)]
move fork into proc.c
rsc [Sun, 31 May 2009 00:31:20 +0000 (00:31 +0000)]
missed this file in last checkin
rsc [Sun, 31 May 2009 00:28:45 +0000 (00:28 +0000)]
Some proc cleanup, moving some of copyproc into allocproc.
Also, an experiment: use "thread-local" storage for c and cp
instead of the #define macro for curproc[cpu()].
rsc [Sun, 31 May 2009 00:26:10 +0000 (00:26 +0000)]
move T_DIR etc into stat.h; move type up
rsc [Sun, 31 May 2009 00:24:11 +0000 (00:24 +0000)]
Add serial port input/output.
Delete parallel port output.
Works well with qemu -nographic mode.
rsc [Sun, 31 May 2009 00:23:00 +0000 (00:23 +0000)]
slight rearrangement; sleep on b not buf.
rsc [Tue, 26 May 2009 16:58:33 +0000 (16:58 +0000)]
Add MIT license file; update xv6-rev2.tar.gz with LICENSE.
Other files unchanged.
rsc [Sun, 8 Mar 2009 22:07:13 +0000 (22:07 +0000)]
be consistent: no underscores in function names
rsc [Sun, 8 Mar 2009 21:41:30 +0000 (21:41 +0000)]
xv6: boot loader adjustments
do Bochs breakpoint and spin in bootasm.S.
not needed in bootmain too.
fix readseg bug (rounding of va).
zero segments when memsz > filesz.
no need to clear BSS in kernel main.
make bootother.S like bootasm.S
rsc [Sun, 8 Mar 2009 21:38:30 +0000 (21:38 +0000)]
xv6: use stosb for memset
rsc [Sun, 8 Mar 2009 21:27:57 +0000 (21:27 +0000)]
xv6/x86.h: add stosb, fix bugs in insl/outsl (rep not repne)
rsc [Sun, 8 Mar 2009 20:56:38 +0000 (20:56 +0000)]
xv6/x86.h: inline assembly cleanup
rtm [Mon, 20 Oct 2008 18:05:48 +0000 (18:05 +0000)]
Explain why itrunc() is OK w.r.t. crashes.
kolya [Fri, 17 Oct 2008 12:42:13 +0000 (12:42 +0000)]
try harder to get directory refcounts right
kolya [Thu, 16 Oct 2008 15:18:49 +0000 (15:18 +0000)]
make mkdir crash-safer, as noticed by many students on midterm
kolya [Thu, 16 Oct 2008 15:00:23 +0000 (15:00 +0000)]
free the indirect block
kolya [Wed, 15 Oct 2008 17:42:56 +0000 (17:42 +0000)]
as rtm noticed, avoid doubly-freeing pipe page
kolya [Wed, 15 Oct 2008 05:15:32 +0000 (05:15 +0000)]
indent
kolya [Wed, 15 Oct 2008 05:14:10 +0000 (05:14 +0000)]
cleaner swtch.S
kolya [Wed, 15 Oct 2008 05:01:39 +0000 (05:01 +0000)]
save cpus.intena in sched(), so we get the right EFLAGS.IF value once a
timer-preempted kernel thread resumes execution in trap() after yield().
otherwise the kernel could get an arbitrary number of nested timer intrs.