Robert Morris
2e59046362
log write() data
...
usertest for big write()s
push begin_trans/commit_trans down into syscalls
2011-08-12 09:25:39 -04:00
Frans Kaashoek
e577a62f0d
Some comments
2011-08-12 07:31:52 -04:00
Frans Kaashoek
bd71a45046
Make AP processors boot using bootpgdir
...
Remove device mapping from bootpgdir
Remove unnecessary vmenable
Set CPUS back to 2 in Makefile
Passes all usertests
2011-08-11 12:25:10 -04:00
Frans Kaashoek
673b739d31
One more low address
2011-08-09 23:22:48 -04:00
Frans Kaashoek
8a9933a200
Tiny bit of cleanup
2011-08-09 21:56:43 -04:00
Frans Kaashoek
22c73411ca
Shorten boot assembly
2011-08-09 21:51:17 -04:00
Frans Kaashoek
5460667c9c
x
2011-08-09 21:49:13 -04:00
Frans Kaashoek
832af025a3
Remove jmpkstack
2011-08-09 21:47:40 -04:00
Frans Kaashoek
66ba8079c7
Use static page table for boot, mapping first 4Mbyte; no more segment trick
...
Allocate proper kernel page table immediately in main using boot allocator
Remove pginit
Simplify address space layout a tiny bit
More to come (e.g., superpages to simplify static table)
2011-08-09 21:37:35 -04:00
Frans Kaashoek
3a03810643
Use kernel virtual addresses for BIOS memory, etc.
2011-08-09 21:33:59 -04:00
Frans Kaashoek
b23d8329e7
Allow gas to use / as divide (instead of comment)
...
Maybe not necessary, but don't want to waste time figuring this out again
2011-08-09 16:09:15 -04:00
Frans Kaashoek
a56c8d609b
One definition of several macros and constants
2011-08-08 13:30:08 -04:00
Frans Kaashoek
11b7438b10
Speedup sbrk tst a bit (forking 100Mbyte processes is slow)
2011-08-08 09:20:29 -04:00
Frans Kaashoek
6479766334
Adjust sbrk test for large user address spaces
...
All tests pass
2011-08-07 23:03:48 -04:00
Frans Kaashoek
67d4254d15
oops
2011-08-07 12:30:34 -04:00
Frans Kaashoek
547c28fc1e
Don't map IO space in the user part of the address space
...
Passes all tests now (but need to update usertests to allow for more than 640k)
2011-07-31 21:27:02 -04:00
Frans Kaashoek
9aa0337dc1
Map kernel high
...
Very important to give qemu memory through PHYSTOP :(
2011-07-29 07:31:27 -04:00
Frans Kaashoek
dccb915282
Merge commit 'origin/master' into page
2011-07-27 20:49:45 -04:00
Frans Kaashoek
13a96baefc
Dirt simple logging
...
Passes usertests and stressfs
Seems to recover correctly in a number of simple cases
2011-07-27 20:35:46 -04:00
Austin Clements
97657d703f
Add -fno-omit-frame-pointer to compile flags.
...
At some point between gcc 4.4 and 4.6, omitting the frame pointer
became default if any -O is specified. getcallerpcs relies on the
frame pointer, so bring it back.
2011-06-24 14:22:19 -04:00
Nickolai Zeldovich
96b7da5f03
do not run past the end of the disk!
...
[ cherry-picked de6075ff0978108daea1d658425bcb37663a98a0 ]
Conflicts:
fs.c
2011-06-24 05:26:57 -04:00
Frans Kaashoek
f70ef994dc
Russ's fix for panic remap
2011-04-28 08:01:36 -04:00
Russ Cox
ae603ff5e7
rebuild xv6-rev5.tar.gz
...
does not affect line numbers
2011-02-28 09:32:54 -05:00
Russ Cox
c5f5387351
fixes from Peter Froehlich
2011-02-28 09:32:20 -05:00
Russ Cox
a6cd7509c4
web: rev5
2011-02-19 21:21:49 -05:00
Russ Cox
688b5c03dd
updated book pdfs
2011-02-19 21:19:58 -05:00
Russ Cox
cf4b1ad90b
xv6: formatting, cleanup, rev5 (take 2)
2011-02-19 21:17:55 -05:00
Russ Cox
9c4fe7ba10
xv6: formatting, cleanup, rev5
2011-02-19 21:16:54 -05:00
Russ Cox
97b21b5838
xv6: refresh from 2010 page
2011-02-19 10:36:14 -05:00
Russ Cox
08864affaa
xv6: link to xv6-rev4
2011-02-19 10:23:19 -05:00
Russ Cox
4fa8614db0
missing file memide.c
2011-01-11 13:54:23 -05:00
Russ Cox
417c37115e
more trivial cleanup
2011-01-11 13:51:40 -05:00
Russ Cox
89bfdd4db1
multiboot support and memory-only (no disk) kernel
2011-01-11 13:27:45 -05:00
Russ Cox
af6a6a4775
mp: do not panic on surprising hw
2011-01-11 13:16:28 -05:00
Russ Cox
1a81e38b17
make new code like old code
...
Variable declarations at top of function,
separate from initialization.
Use == 0 instead of ! for checking pointers.
Consistent spacing around {, *, casts.
Declare 0-parameter functions as (void) not ().
Integer valued functions return -1 on failure, 0 on success.
2011-01-11 13:01:13 -05:00
Russ Cox
240679608c
mkfs: avoid clash with system struct stat
2011-01-10 10:43:40 -05:00
Russ Cox
e92fd6142d
mkfs: avoid out of bounds access to sb in wsect
2011-01-02 17:59:57 -05:00
Robert Morris
2ea6c764c3
even more fabulous exec
2010-09-29 14:12:26 -04:00
Robert Morris
06feabecee
check exec() arg length
...
fix double iunlockput
2010-09-27 16:17:57 -04:00
Robert Morris
4655d42e3b
copyout() copies data to a va in a pagetable, for exec() &c
...
usertest that passes too many arguments, break exec
2010-09-27 16:14:33 -04:00
Robert Morris
a9183883b8
map kernel instructions r/o
2010-09-20 06:00:22 -04:00
Robert Morris
26d11ee8dc
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
2010-09-19 13:48:22 -04:00
Robert Morris
05d66b0629
my comment is wrong, exec handles BSS fine
2010-09-19 13:47:52 -04:00
Robert Morris
4587b35847
exec questions
2010-09-19 07:18:42 -04:00
Austin Clements
4c274cef74
Simplify boot loader by removing some JOS'isms
2010-09-15 16:15:07 -04:00
Robert Morris
faad047ab2
change some comments, maybe more informative
...
delete most comments from bootother.S (since copy of bootasm.S)
ksegment() -> seginit()
move more stuff from main() to mainc()
2010-09-13 15:34:44 -04:00
Austin Clements
124fe7e457
Rev 4
2010-09-03 15:47:28 -04:00
Austin Clements
cc21c06e3b
Update example in TOC footer
2010-09-02 19:03:48 -04:00
Austin Clements
588644f472
Consistent style in defs.h
2010-09-02 19:01:25 -04:00
Austin Clements
8440dbfee1
Get consoleintr back on one page
2010-09-02 18:54:50 -04:00