Gregory Burd
55caa76834
I found: http://osdir.com/ml/grub-devel-gnu/2010-12/msg00015.html
...
"""
On Thu, Dec 02, 2010 at 01:15:10PM -0800, Seth Goldberg wrote:
When assembling grub-core/kern/i386/pc/startup.S, gas on some platforms
chokes on this line:
movl $((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecx
Because on non i386-linux targets, '/' is used as a comment delimiter
for compatibility purposes. This can be overridden with the --divide
switch.
Since the default for gas on these platforms is to use he division
operator as a comment delimiter, the "-Wa,--divide" flags need to be
passed on the gcc command line when assembling such files.
Can we just use>> 1 instead?
Sure, that works for me :).
"""
Which led to two thoughts, 1) we're not using gas to assemble this code so we don't need this compile time option, and 2) for both portability speed where we do divide by 2 the bit shift operator is a much better solution. So I've removed the compiler flag.
2013-09-11 09:34:24 -04:00
Gregory Burd
f818648e75
Add some information about the ASM .code16 directive and LLVM/clang.
2013-09-11 09:32:54 -04:00
Gregory Burd
1627777b4a
Merge remote-tracking branch 'origin/master' into clang
2013-03-12 21:52:01 -04: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
Gregory Burd
9bac395221
use of GNU 'missing =' extension in designator
2012-09-29 13:36:06 -04:00
Gregory Burd
80ce790881
comparison of unsigned enum expression >= 0 is always true
2012-09-29 13:30:46 -04:00
Gregory Burd
8ae9d2f294
use of GNU 'missing =' extension in designator
2012-09-29 13:26:19 -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