Commit graph

852 commits

Author SHA1 Message Date
b28eba04a8 Incrase file size to around 8MB
Use 10 direct block numbers, 2 indirect block numbers and one double
indirect block number to increase the maximum file size to around 8MB.

Using this scheme, we can address a total of blocks
10 + 2 * 128 + 128 * 128 = 16650 blocks or just over 8MB.
2015-04-13 23:07:31 +05:30
Michael Lee
83a632b1b2 Fixing provisioning of gdbinit 2014-09-25 01:38:07 -05:00
Michael Lee
4376508c63 Ignoring .vagrant directory 2014-09-24 07:35:35 -05:00
Michael Lee
051f910f4d Adding Vagrantfile 2014-09-24 07:25:02 -05:00
Michael Lee
6e0d8f2ef6 Readying for CS 450 xv6 assignment 2013-06-25 19:46:06 -05:00
Michael Lee
0ae596828b Updating Makefile to work with Macports tools 2013-05-28 20:39:02 -05:00
Stephen Tu
ff2783442e Correct a security bug in copyuvm()
copyuvm() should not allow new copied pages to inherit more
permissions than the original pages.
2013-03-04 16:16:54 -05:00
Cam Tenny
241c068066 Prevent extra rebuild of fs.img by keeping intermediate object files. 2012-10-24 18:52:40 -04:00
Frans Kaashoek
c440b5cd97 Use static assert instead of _LP64 (thanks Eddie!) 2012-09-10 21:58:18 -04:00
Frans Kaashoek
cf57e525c1 Remove -m32 flag from native gcc compiler
But check that mkfs.c is building with LP64
2012-09-07 17:39:04 -04:00
Robert Morris
2ae8392a5c make the book happy 2012-08-28 14:41:08 -04:00
Robert Morris
792d83cad1 nits 2012-08-28 14:11:23 -04:00
Robert Morris
c1ee7eb4d3 Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 2012-08-28 12:57:13 -04:00
Robert Morris
8960f60b30 junk 2012-08-28 12:57:05 -04:00
Austin Clements
951b77f7ec Various fixes and improvements to printpcs
Search for an addr2line that supports elf32-i386.  Don't print the
path of addr2line as a side-effect of which.  Don't uselessly pipe
"grep '^ '" to addr2line's stdin.  Enable as many pretty-printing and
otherwise helpful options as possible (this makes the output *much*
more pleasant on modern addr2lines).
2012-08-24 14:51:52 -04:00
Frans Kaashoek
020acb4f10 For the convenience of students 2012-08-23 09:35:00 -04:00
Frans Kaashoek
6650cc934a Use addr2line (or i386-jos-elf-addr2line, if you cross compile) 2012-08-22 21:25:19 -04:00
Frans Kaashoek
3fb7eceea7 Runoff still complaints these lines are too long, but it is now ok on printout 2012-08-22 21:24:13 -04:00
Frans Kaashoek
f3f4b0fd88 chmod +x 2012-08-22 20:54:47 -04:00
Frans Kaashoek
c2d393df13 Decode getcallerpcs() (thanks to Peter Froehlich) 2012-08-22 20:51:29 -04:00
Frans Kaashoek
95692c4a8c Remove left-over from some logging plan making complete syscalls atomic
0 is not a system call (thanks to Peter Froehlich)
2012-08-22 20:28:58 -04:00
Frans Kaashoek
432acbaf9e Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 2012-08-22 20:20:17 -04:00
Frans Kaashoek
4ce832ddd2 Remove unused argument to setupkvm (thanks to Peter Froehlich) 2012-08-22 20:19:37 -04:00
Frans Kaashoek
70c555574a Remove unused argument from lapicinit (thanks to Peter Froehlich) 2012-08-22 20:13:43 -04:00
Frans Kaashoek
b08d16f61d Fix from Peter Froehlich 2012-08-22 20:07:04 -04:00
Austin Clements
9d59eb0151 Make fetchint and fetchstr use proc instead of taking a struct proc
Previously, these were inconsistent: they used their struct proc
argument for bounds checking, but always copied the argument from the
current address space (and hence the current process).  Drop the
struct proc argument and always use the current proc.

Suggested by Carmi Merimovich.
2012-02-17 23:20:13 -05:00
Robert Morris
12abb1a561 don't let dirty blocks be evicted from cache! 2011-10-14 10:23:23 -04:00
Robert Morris
38eee5bca7 more FS comment clarification 2011-10-11 10:11:53 -04:00
Robert Morris
a5fbfe418a clarify some FS comments 2011-10-11 06:41:37 -04:00
Austin Clements
d73dd097a5 Fix compile error on newer gcc's 2011-09-30 15:28:33 -04:00
Frans Kaashoek
0ca1c0407d Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 2011-09-27 13:00:20 -04:00
Frans Kaashoek
9b972c06b1 Update stressfs to trigger race now the logging code serializes writes 2011-09-27 12:59:47 -04:00
Austin Clements
1e6f0146d2 Use | instead of + for entrypgdir. Linker doesn't get in our way here. 2011-09-14 13:47:04 -04:00
Robert Morris
c092540e39 eliminate enter_alloc -- use kalloc for everything 2011-09-13 13:14:52 -04:00
Robert Morris
7e7cb106d0 more regular kmap[] and description 2011-09-13 12:28:45 -04:00
Robert Morris
90a81b3228 comment nits 2011-09-12 14:27:14 -04:00
Austin Clements
9b59dc44dc Remove unused 'state' variable that broke the build in recent gcc's 2011-09-07 16:39:27 -04:00
Austin Clements
e64c661ae8 Rev 6 2011-09-07 12:42:09 -04:00
Austin Clements
8bfcffeae1 Remove nice font from master 2011-09-07 12:40:02 -04:00
Austin Clements
5c87802de2 Fetch nice font from font branch, if possible 2011-09-07 12:38:24 -04:00
Austin Clements
5304c854a4 Move xv6 release tars/pdfs in to 6.828 repo 2011-09-07 11:57:41 -04:00
Austin Clements
01a6c054d5 Remove web directory; all cruft or moved to 6.828 repo 2011-09-07 11:49:14 -04:00
Austin Clements
64a03bd7aa Make web page refer to git releases 2011-09-07 11:36:53 -04:00
Austin Clements
b81aadf093 Remove old book chapters 2011-09-07 10:05:52 -04:00
Austin Clements
09b1909163 Re-alphabetize OBJS 2011-09-05 23:45:04 -04:00
Austin Clements
03f48901f0 Note about the meaning of sheet1 in runoff.spec 2011-09-05 21:52:50 -04:00
Frans Kaashoek
861cc158be sources -> sources and text 2011-09-05 20:56:48 -04:00
Frans Kaashoek
5f46b272fe Shorten history of xv6
Cut section about commentary
Add (failing) link to xv6 source section pointing to the text.
Delete the incorrect/incomplete list of universities using jos/xv6
2011-09-05 20:54:25 -04:00
Austin Clements
79bc8be8de Setting indent-tabs-mode nil everywhere is dangerous 2011-09-05 15:22:16 -04:00
Austin Clements
b1c66ca899 Sync up clean and gitignore better 2011-09-05 15:21:40 -04:00