]> Devi Nivas Git - cs3210-lab1.git/log
cs3210-lab1.git
15 years agoTab police
Austin Clements [Wed, 1 Sep 2010 04:32:27 +0000 (00:32 -0400)]
Tab police

15 years agoMerge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6
Austin Clements [Wed, 1 Sep 2010 04:31:04 +0000 (00:31 -0400)]
Merge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6

15 years agoFix similar leak in copyuvm
Austin Clements [Wed, 1 Sep 2010 04:27:12 +0000 (00:27 -0400)]
Fix similar leak in copyuvm

15 years agoCleanup if allocuvm fails to alloc. Add a test.
Austin Clements [Wed, 1 Sep 2010 01:49:49 +0000 (21:49 -0400)]
Cleanup if allocuvm fails to alloc.  Add a test.

15 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris [Tue, 31 Aug 2010 23:21:52 +0000 (19:21 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6

15 years agooops. last minute simplicifaction to kalloc().
Robert Morris [Tue, 31 Aug 2010 23:21:33 +0000 (19:21 -0400)]
oops. last minute simplicifaction to kalloc().

15 years agoPage break kalloc.c
Austin Clements [Tue, 31 Aug 2010 21:52:03 +0000 (17:52 -0400)]
Page break kalloc.c

15 years agoOur proc.c alignment is perfect. Since ksegment/usegment went away, we get a column...
Austin Clements [Tue, 31 Aug 2010 21:49:47 +0000 (17:49 -0400)]
Our proc.c alignment is perfect.  Since ksegment/usegment went away, we get a column back, so we get our two action-packed spreads.

15 years agoMake it possible to express half-page preferences
Austin Clements [Tue, 31 Aug 2010 21:46:30 +0000 (17:46 -0400)]
Make it possible to express half-page preferences

15 years agoGot the meat of spinlocks on one spread
Austin Clements [Tue, 31 Aug 2010 21:40:21 +0000 (17:40 -0400)]
Got the meat of spinlocks on one spread

15 years agoSwap bootmain.c and bootother.S. This puts the whole boot process on one spread...
Austin Clements [Tue, 31 Aug 2010 21:35:17 +0000 (17:35 -0400)]
Swap bootmain.c and bootother.S.  This puts the whole boot process on one spread, though it separates the two asm files.

15 years agoSheet 1 is a right page now because of the (much) longer cross-ref
Austin Clements [Tue, 31 Aug 2010 21:33:04 +0000 (17:33 -0400)]
Sheet 1 is a right page now because of the (much) longer cross-ref

15 years agoprint depends on runoff.spec
Austin Clements [Tue, 31 Aug 2010 21:30:31 +0000 (17:30 -0400)]
print depends on runoff.spec

15 years agoWe don't use lesp/lebp and using them at all from C would be fraught with peril....
Austin Clements [Tue, 31 Aug 2010 21:07:54 +0000 (17:07 -0400)]
We don't use lesp/lebp and using them at all from C would be fraught with peril.  Keep resp/rebp, but fix their code style.

15 years agoPage breaking of mmu.h
Austin Clements [Tue, 31 Aug 2010 20:54:50 +0000 (16:54 -0400)]
Page breaking of mmu.h

15 years agoStart PDE defs on new page
Austin Clements [Tue, 31 Aug 2010 20:47:50 +0000 (16:47 -0400)]
Start PDE defs on new page

15 years agoFollow xv6 code style. Also fixes indexing for these functions
Austin Clements [Tue, 31 Aug 2010 20:43:41 +0000 (16:43 -0400)]
Follow xv6 code style.  Also fixes indexing for these functions

15 years agoRearrange for better page breaking
Austin Clements [Tue, 31 Aug 2010 20:42:05 +0000 (16:42 -0400)]
Rearrange for better page breaking

15 years agoFix too-long lines
Austin Clements [Tue, 31 Aug 2010 20:26:08 +0000 (16:26 -0400)]
Fix too-long lines

15 years agoRebalance TOC
Austin Clements [Tue, 31 Aug 2010 20:18:44 +0000 (16:18 -0400)]
Rebalance TOC

15 years agoAcknowledge patches
Austin Clements [Tue, 31 Aug 2010 20:13:20 +0000 (16:13 -0400)]
Acknowledge patches

15 years agoHopefully get the printf size spec right, regardless of compiler.
Austin Clements [Tue, 31 Aug 2010 20:01:38 +0000 (16:01 -0400)]
Hopefully get the printf size spec right, regardless of compiler.

15 years agono more pminit, or ELF header at 0x10000
Robert Morris [Tue, 31 Aug 2010 19:39:25 +0000 (15:39 -0400)]
no more pminit, or ELF header at 0x10000
kinit() knows about end and PHYSTOP
map all of kernel read/write (rather than r/o instructions)
thanks, austin

15 years agomkfs must be compiled 32-bit. Fix mkfs warnings
Austin Clements [Tue, 31 Aug 2010 19:11:10 +0000 (15:11 -0400)]
mkfs must be compiled 32-bit.  Fix mkfs warnings

15 years agoInfer qemu path, just like in JOS
Austin Clements [Tue, 31 Aug 2010 19:05:27 +0000 (15:05 -0400)]
Infer qemu path, just like in JOS

15 years agoInfer TOOLPREFIX, just like in JOS
Austin Clements [Tue, 31 Aug 2010 19:01:26 +0000 (15:01 -0400)]
Infer TOOLPREFIX, just like in JOS

15 years agokalloc/kfree now only a page at a time
Robert Morris [Tue, 31 Aug 2010 16:54:47 +0000 (12:54 -0400)]
kalloc/kfree now only a page at a time
do not keep sorted contiguous free list

15 years agoMerge remote branch 'origin/master' into page
Robert Morris [Mon, 30 Aug 2010 19:30:53 +0000 (15:30 -0400)]
Merge remote branch 'origin/master' into page

15 years agoFix for gdbstub argument change in qemu 0.11. Rename qemu-gdb-nox target to qemu...
Austin Clements [Mon, 30 Aug 2010 16:22:08 +0000 (12:22 -0400)]
Fix for gdbstub argument change in qemu 0.11.  Rename qemu-gdb-nox target to qemu-nox-gdb because you frequently want to add the gdb part, but rarely the nox part.

15 years agooops ended up with 2x vm.c
Robert Morris [Mon, 30 Aug 2010 15:17:54 +0000 (11:17 -0400)]
oops ended up with 2x vm.c

15 years agoMerge remote branch 'origin/page' into page
Robert Morris [Mon, 30 Aug 2010 14:23:27 +0000 (10:23 -0400)]
Merge remote branch 'origin/page' into page

15 years agoxx
Robert Morris [Mon, 30 Aug 2010 14:13:49 +0000 (10:13 -0400)]
xx

15 years agono more xv6.pdf .ps
Robert Morris [Mon, 30 Aug 2010 11:26:54 +0000 (07:26 -0400)]
no more xv6.pdf .ps

15 years agowe don't need CR0_WP
Robert Morris [Mon, 30 Aug 2010 10:48:48 +0000 (06:48 -0400)]
we don't need CR0_WP

15 years agoset only PG and WP in vminit; the rest don't seem to be needed and are confusing
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

15 years agoMerge commit 'origin/page' into page
Frans Kaashoek [Thu, 26 Aug 2010 12:03:18 +0000 (08:03 -0400)]
Merge commit 'origin/page' into page

15 years agoadd vm.c
Frans Kaashoek [Thu, 26 Aug 2010 11:51:08 +0000 (07:51 -0400)]
add vm.c

15 years agouptime() sys call for benchmarking
Robert Morris [Wed, 11 Aug 2010 18:34:45 +0000 (14:34 -0400)]
uptime() sys call for benchmarking
increase PHYSTOP

15 years agoallow sbrk(-x) to de-allocate user memory
Robert Morris [Tue, 10 Aug 2010 21:08:41 +0000 (17:08 -0400)]
allow sbrk(-x) to de-allocate user memory

15 years agofix corner cases in exec of ELF
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

15 years agoadd some comments
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

15 years agoremove some unused vm #defines
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

15 years agomove jkstack to main.c
Robert Morris [Thu, 5 Aug 2010 18:15:03 +0000 (14:15 -0400)]
move jkstack to main.c
replace jstack with asm()s

15 years agofix allocuvm() to handle sbrk() with non-page-granularity argument
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)

15 years agokill TLB shoot down code
Frans Kaashoek [Wed, 28 Jul 2010 18:38:05 +0000 (14:38 -0400)]
kill TLB shoot down code

15 years agomore cleanup
Frans Kaashoek [Mon, 26 Jul 2010 12:10:02 +0000 (08:10 -0400)]
more cleanup

15 years agosome cleanup
Frans Kaashoek [Mon, 26 Jul 2010 00:30:21 +0000 (20:30 -0400)]
some cleanup

15 years agoa few nits
Frans Kaashoek [Fri, 23 Jul 2010 16:52:50 +0000 (12:52 -0400)]
a few nits
passes all tests on two-processor smp

15 years agooops, vm.c
Frans Kaashoek [Fri, 23 Jul 2010 16:52:35 +0000 (12:52 -0400)]
oops, vm.c

15 years agoCheckpoint page-table version for SMP
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)

15 years agonits
Frans Kaashoek [Fri, 2 Jul 2010 21:45:37 +0000 (17:45 -0400)]
nits

15 years agoInitial version of single-cpu xv6 with page tables
Frans Kaashoek [Fri, 2 Jul 2010 18:51:53 +0000 (14:51 -0400)]
Initial version of single-cpu xv6 with page tables

16 years agoanother rev2 -> rev3
Russ Cox [Sat, 6 Feb 2010 21:08:06 +0000 (16:08 -0500)]
another rev2 -> rev3

16 years agopoint at rev3
Russ Cox [Sat, 6 Feb 2010 20:55:09 +0000 (12:55 -0800)]
point at rev3

16 years ago8ae0 instead of 8e00, thanks yandong
Frans Kaashoek [Tue, 1 Dec 2009 19:07:12 +0000 (14:07 -0500)]
8ae0 instead of 8e00, thanks yandong

16 years agoAdd stressfs and gdbutil to dist
Austin Clements [Mon, 23 Nov 2009 22:50:58 +0000 (17:50 -0500)]
Add stressfs and gdbutil to dist

16 years agoGDB utilities
Austin Clements [Mon, 23 Nov 2009 22:47:57 +0000 (17:47 -0500)]
GDB utilities

16 years agoAdd the test we used in lecture to creash the IDE system when the
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.

16 years agoMerge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6
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

16 years agoComment typo
Austin Clements [Sun, 25 Oct 2009 01:31:01 +0000 (21:31 -0400)]
Comment typo

16 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
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

16 years agofine-tune comment
Frans Kaashoek [Wed, 7 Oct 2009 21:42:14 +0000 (17:42 -0400)]
fine-tune comment

16 years agofine tune comment
Frans Kaashoek [Wed, 7 Oct 2009 19:31:55 +0000 (15:31 -0400)]
fine tune comment

16 years agoRemove memcpy prototypes at Russ' request to prevent code from calling
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.

16 years agoProvide memcpy for compatibility with older versions of gcc
Austin Clements [Wed, 7 Oct 2009 16:05:56 +0000 (12:05 -0400)]
Provide memcpy for compatibility with older versions of gcc

16 years agoRecord debug info for assmebly code
Austin Clements [Mon, 5 Oct 2009 17:20:23 +0000 (13:20 -0400)]
Record debug info for assmebly code

16 years agoHandle backspace on serial input and output better. Better solutions are welcome.
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.

16 years agoBe consistent with JOS make targets
Austin Clements [Thu, 1 Oct 2009 02:09:48 +0000 (22:09 -0400)]
Be consistent with JOS make targets

16 years agoHack to make newlines on the serial port work
Austin Clements [Mon, 21 Sep 2009 03:09:59 +0000 (23:09 -0400)]
Hack to make newlines on the serial port work

16 years agoUse the symbol file
Austin Clements [Mon, 21 Sep 2009 03:08:36 +0000 (23:08 -0400)]
Use the symbol file

16 years agoxv6 runs the console on the serial port, not the parallel port
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

16 years agonit in comment
Frans Kaashoek [Mon, 21 Sep 2009 00:19:58 +0000 (20:19 -0400)]
nit in comment

16 years agoadd .gdbinit.tmpl to dist
Silas Boyd-Wickizer [Tue, 15 Sep 2009 23:15:59 +0000 (19:15 -0400)]
add .gdbinit.tmpl to dist

16 years agoadd uart.c
Silas Boyd-Wickizer [Tue, 15 Sep 2009 23:15:48 +0000 (19:15 -0400)]
add uart.c

16 years agorev3
Silas Boyd-Wickizer [Tue, 15 Sep 2009 21:21:14 +0000 (17:21 -0400)]
rev3

16 years agoignore .gitignore
Silas Boyd-Wickizer [Tue, 15 Sep 2009 21:21:02 +0000 (17:21 -0400)]
ignore .gitignore

16 years agoqemu-gdb target and script
Silas Boyd-Wickizer [Tue, 15 Sep 2009 21:15:36 +0000 (17:15 -0400)]
qemu-gdb target and script

16 years agonew pdf
Russ Cox [Thu, 3 Sep 2009 07:46:28 +0000 (00:46 -0700)]
new pdf

16 years agoformatting tweaks
Russ Cox [Thu, 3 Sep 2009 07:46:15 +0000 (00:46 -0700)]
formatting tweaks

16 years agocan set just %gs now.
Russ Cox [Wed, 2 Sep 2009 17:09:34 +0000 (10:09 -0700)]
can set just %gs now.

16 years agoanother attempt at cpu-local variables.
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.

16 years agolapic: disable microdelay because it makes Bochs slow
Russ Cox [Wed, 2 Sep 2009 17:06:37 +0000 (10:06 -0700)]
lapic: disable microdelay because it makes Bochs slow

16 years agofix TLS again;
Russ Cox [Wed, 2 Sep 2009 14:59:24 +0000 (07:59 -0700)]
fix TLS again;
still not quite but a lot better.

16 years agoFix TLS for PIC systems
Russ Cox [Wed, 2 Sep 2009 14:41:08 +0000 (07:41 -0700)]
Fix TLS for PIC systems

16 years agofix bootblock build with gcc 4.4
Nickolai Zeldovich [Wed, 2 Sep 2009 06:03:46 +0000 (02:03 -0400)]
fix bootblock build with gcc 4.4

16 years agoassorted fixes:
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

16 years agoshuffle and tweak for formatting.
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.

16 years agoexec tweaks
Russ Cox [Mon, 13 Jul 2009 16:34:45 +0000 (09:34 -0700)]
exec tweaks

16 years agoremove //DOC in the right place
Russ Cox [Mon, 13 Jul 2009 02:07:30 +0000 (19:07 -0700)]
remove //DOC in the right place

16 years agostrip //DOC comments during printing
Russ Cox [Mon, 13 Jul 2009 01:56:00 +0000 (18:56 -0700)]
strip //DOC comments during printing

16 years agomerge
Russ Cox [Mon, 13 Jul 2009 01:39:07 +0000 (18:39 -0700)]
merge

16 years agomore doc tweaks
Russ Cox [Mon, 13 Jul 2009 01:33:37 +0000 (18:33 -0700)]
more doc tweaks

16 years agoundo
Silas Boyd-Wickizer [Sun, 12 Jul 2009 19:28:14 +0000 (15:28 -0400)]
undo

16 years agotest commit email
Silas Boyd-Wickizer [Sun, 12 Jul 2009 19:17:29 +0000 (15:17 -0400)]
test commit email

16 years agoinitproc, usegment, swtch tweaks
Russ Cox [Sun, 12 Jul 2009 02:28:29 +0000 (19:28 -0700)]
initproc, usegment, swtch tweaks

16 years agospinlock: rename parameter lock -> lk
Russ Cox [Sun, 12 Jul 2009 02:26:51 +0000 (19:26 -0700)]
spinlock: rename parameter lock -> lk

16 years agommu.h: unused SEG_NULL
Russ Cox [Sun, 12 Jul 2009 02:26:29 +0000 (19:26 -0700)]
mmu.h: unused SEG_NULL

16 years agorearrangements and cleanup for text
Russ Cox [Sun, 12 Jul 2009 02:26:01 +0000 (19:26 -0700)]
rearrangements and cleanup for text

16 years agotrap cleanup
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)

16 years agobootasm cleanup
Russ Cox [Sun, 12 Jul 2009 02:15:32 +0000 (19:15 -0700)]
bootasm cleanup