This website requires JavaScript.
f3e87bc838
make mkdir crash-safer, as noticed by many students on midterm
kolya
2008-10-16 15:18:49 +0000
e1626709d6
free the indirect block
kolya
2008-10-16 15:00:23 +0000
e670a48358
as rtm noticed, avoid doubly-freeing pipe page
kolya
2008-10-15 17:42:56 +0000
deca9fef83
indent
kolya
2008-10-15 05:15:32 +0000
c100d9ee2d
cleaner swtch.S
kolya
2008-10-15 05:14:10 +0000
228e500a0c
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.
kolya
2008-10-15 05:01:39 +0000
15ce79de14
check cp->killed before returning to user from a timer interrupt
kolya
2008-10-15 04:57:02 +0000
00ce31c09c
update .cvsignore
kolya
2008-10-15 04:54:24 +0000
289bbef733
minor cleanup
kolya
2008-10-12 20:19:16 +0000
f73b81205e
minor cleanup with STUB macro
kolya
2008-10-12 19:54:11 +0000
c780dbf967
include explicitly initialized globals (int x = 0;) in cross-refs, also thanks to greg price.
kolya
2008-10-12 18:45:30 +0000
6186836d28
fix: when two names only differed in case, crossrefs only included one of them. thanks to greg price.
kolya
2008-10-12 18:33:14 +0000
2ce40d7088
be clear what the root i-number is
rtm
2008-10-08 18:57:13 +0000
be38c8413e
document lock->locked=0 vs xchg(&lock->locked, 0)
rtm
2008-09-28 10:53:54 +0000
0159c8bb94
trap 9 does not push ec: fix from Greg Price <price@mit.edu>
kolya
2008-09-24 18:20:56 +0000
c7317d4dc7
always save and restore %fs, %gs to ensure old segment entries are never accessible to user from the hidden CPU segment registers.
kolya
2008-09-24 01:48:31 +0000
adcd16c3f7
restore std toolprefix
rtm
2008-09-11 10:22:01 +0000
4651d04ad1
omit *.d from tar file
rtm
2008-09-11 10:20:40 +0000
e9ae6f5cbe
add copyright notice
kaashoek
2008-09-09 11:42:44 +0000
f68317533e
make bochsrc work for bochs 2.2.6
kolya
2008-09-03 14:10:47 +0000
35a6cf84ec
make pdf, ps, tarball
kolya
2008-09-03 14:05:52 +0000
e87dca5cc5
nits in index.txt add slides for shell, x86 intro, x86 virtual memory (deleted JOS from slides)
kaashoek
2008-09-03 12:29:44 +0000
f53494c28e
DO NOT MAIL: xv6 web pages
rsc
2008-09-03 04:50:04 +0000
ee3f75f229
simplify growproc
rtm
2008-08-28 17:57:47 +0000
98754d687e
avoid a bug w/ exit()
rtm
2008-08-28 00:53:24 +0000
56082468ea
the old explanation of AP startup might have been correct, but I understand this one.
rtm
2008-08-28 00:52:05 +0000
02cc595f28
clean up circular buffers, so pipe can queue 512 bytes rather than 511
kolya
2008-08-22 00:26:22 +0000
5c5470a2fa
fix obvious printf nits after reading through code
kolya
2008-08-21 23:24:02 +0000
1808b2f1b3
now rev2
rsc
2008-08-20 18:00:35 +0000
150785a1fd
add nice font
rsc
2008-08-20 18:00:24 +0000
9b62657ecd
formatting updates
rsc
2008-08-20 18:00:13 +0000
5b7f8cbe7c
bochs faster
rsc
2008-08-20 17:59:29 +0000
174729fc55
xv6: latest (as of January 2008)
rsc
2008-08-20 17:46:32 +0000
eadbd55af2
oops - wrong bit (vic zandy)
rsc
2007-12-20 18:27:07 +0000
c2258bf4d2
fork minibug
rsc
2007-11-28 20:47:22 +0000
4f06ae0d42
More complete lapic startup (thanks Silas)
rsc
2007-11-28 20:47:10 +0000
a6c4711a38
bda[0xE] is a 16-bit segment number, not a real address. So shift 4.
rsc
2007-11-28 20:17:04 +0000
fd6b029401
proc_wait -> wait
rtm
2007-10-20 18:25:38 +0000
949352af66
Model verifying that wakeup really can be called after release without causing deadlock.
rsc
2007-10-12 04:21:04 +0000
943fd378a1
Incorporate new understanding of/with Intel SMP spec.
rsc
2007-10-01 20:43:15 +0000
9fd9f80431
Re: why cpuid() in locking code?
rsc
2007-09-30 14:30:04 +0000
c840f3ecdc
tricks
rsc
2007-09-30 14:20:47 +0000
af7366c945
interrupts during system calls
rsc
2007-09-27 21:37:45 +0000
ab08960f64
Final word on the locking fiasco?
rsc
2007-09-27 21:25:37 +0000
f97f0d2b3d
cleaner
rsc
2007-09-27 21:02:03 +0000
c95bde8163
yank out stack overflow checking ugliness
rsc
2007-09-27 20:38:53 +0000
4f74de0edc
okay, that was long enough - revert
rsc
2007-09-27 20:32:45 +0000
ce2e751555
test: store curproc at top of stack
rsc
2007-09-27 20:29:50 +0000
aefc13f8ba
nit
rsc
2007-09-27 20:25:32 +0000
3807c1f20b
rename splhi/spllo to pushcli/popcli
rsc
2007-09-27 20:09:40 +0000
39c3fb1b15
overkill: use segments to catch stack overflow (delete before next year)
rsc
2007-09-27 19:39:10 +0000
8c8b748a2f
now spllo is okay
rsc
2007-09-27 19:35:25 +0000
b5dcebdbeb
better lapic writes, suggested by cliff
rsc
2007-09-27 19:33:46 +0000
4721271961
use larger, allocated cpu stacks
rsc
2007-09-27 19:32:43 +0000
0fe118f3f6
don't call it ss - that's the stack segment
rsc
2007-09-27 16:47:50 +0000
c8919e6537
kernel SMP interruptibility fixes.
rsc
2007-09-27 12:58:42 +0000
75506c6655
use console lock
rsc
2007-09-27 12:29:25 +0000
d522571068
make slow bigdir last test
rsc
2007-09-27 12:29:06 +0000
ad12b487b5
changes since two days ago:
rsc
2007-09-27 11:27:04 +0000
b30ab3f5af
use standard bios location
rsc
2007-09-27 05:14:25 +0000
666f58c711
believe it or not, this was working
rsc
2007-09-27 05:13:10 +0000
90d975e9c8
comment bochs nonsense
rsc
2007-09-26 23:32:47 +0000
fbaa7b428e
various comment and print tweaks
rsc
2007-09-26 23:32:00 +0000
56c1a151d2
debugging prints
rsc
2007-09-26 23:24:23 +0000
d5596cd61d
Apparently the initial interrupt count lapic[TICR] must be set *after* initializing the lapic[TIMER] vector.
rsc
2007-09-26 20:34:12 +0000
355073ea9e
oops, interrupts on in syscall traps doesn't work after all
rtm
2007-09-25 16:15:05 +0000
3eda2714e6
tell SETGATE to leave interrupts on for T_SYSCALL panic if unknown fault with CPL=0 (i.e. in kernel)
rtm
2007-09-25 15:23:44 +0000
d7a90d3b5c
This should fix building on FreeBSD
nelhage
2007-09-19 23:49:52 +0000
6197c04208
Fix compilation on 64-bit machines (thanks to andersk for patch)
nelhage
2007-09-18 00:41:34 +0000
411ee74127
fix comments
rtm
2007-09-15 20:05:47 +0000
e9f8419fbe
sh
rsc
2007-09-05 15:55:43 +0000
ab4cedb593
continuous quality management
rtm
2007-08-31 19:55:27 +0000
ef2185247d
symlink implementation
rsc
2007-08-30 18:36:38 +0000
e51ae8a272
do not toss .ps
rsc
2007-08-30 18:33:48 +0000
9863fea78c
clumsy cd
rsc
2007-08-30 18:30:26 +0000
fbd8857d4d
make new Homework 8 work
rtm
2007-08-30 18:21:35 +0000
37321196a4
oops - broke circular buffer
rsc
2007-08-30 18:20:53 +0000
71d5bf4d08
oops - broke arg counting
rsc
2007-08-30 18:19:52 +0000
de1329dda2
longjmp -> swtch in comments
rtm
2007-08-30 17:39:56 +0000
05109382d6
tweak
rsc
2007-08-30 14:12:19 +0000
42f3c3f7be
DO NOT MAIL: xv6-rev1
rsc
2007-08-30 14:11:21 +0000
55401f2adb
final xv6 for 2007
rsc
2007-08-30 14:09:14 +0000
febdc07c35
bootothers now in main
rsc
2007-08-29 19:20:49 +0000
bc54fa3915
spelling
rtm
2007-08-29 18:18:57 +0000
bf2932a686
final nits
rsc
2007-08-28 19:39:49 +0000
68a2d5373d
match README
rsc
2007-08-28 19:30:29 +0000
f040060092
nits
rsc
2007-08-28 19:30:23 +0000
cffa954301
nits
rsc
2007-08-28 19:25:04 +0000
5573c8f296
delete proc_ on proc_exit, proc_wait, proc_kill
rsc
2007-08-28 19:14:43 +0000
eb52c7de1d
comments; rename irq_ to pic_
rsc
2007-08-28 19:04:36 +0000
5516be1fed
spaces around else for rtm
rsc
2007-08-28 18:37:41 +0000
e4d6a21165
more consistent spacing
rsc
2007-08-28 18:32:08 +0000
c1b100e930
nits
rsc
2007-08-28 18:23:48 +0000
3e1eaf226d
fix offsets
rsc
2007-08-28 18:04:43 +0000
a491dba00c
more cmain -> bootmain
rsc
2007-08-28 18:02:49 +0000
d844f0f9d9
Change dev read/write functions to take inode* instead of minor number.
rsc
2007-08-28 17:49:49 +0000
e3f271e880
oops
rsc
2007-08-28 17:48:44 +0000
c35c064e04
cmain -> bootmain
rsc
2007-08-28 13:01:10 +0000
fc21046754
nit
rsc
2007-08-28 12:52:14 +0000
818fc0125e
replace setjmp/longjmp with swtch
rsc
2007-08-28 12:48:33 +0000