History log of /xv6-public/vm.c (Results 51 – 75 of 80)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4655d42e 27-Sep-2010 Robert Morris <rtm@csail.mit.edu>

copyout() copies data to a va in a pagetable, for exec() &c
usertest that passes too many arguments, break exec


# a9183883 20-Sep-2010 Robert Morris <rtm@csail.mit.edu>

map kernel instructions r/o


# faad047a 13-Sep-2010 Robert Morris <rtm@csail.mit.edu>

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()


Revision tags: xv6-2010, xv6-rev4
# 79cd8b3e 02-Sep-2010 Austin Clements <amdragon@mit.edu>

Simplify allocuvm/deallocuvm to operate in a contiguous memory model. This makes their interface match up better with proc->sz and also simplifies the callers (it even gets the main body of exec on

Simplify allocuvm/deallocuvm to operate in a contiguous memory model. This makes their interface match up better with proc->sz and also simplifies the callers (it even gets the main body of exec on one page).

show more ...


# 9a4670a1 02-Sep-2010 Austin Clements <amdragon@mit.edu>

Comment inituvm and loaduvm


# 93a1e4cb 02-Sep-2010 Austin Clements <amdragon@mit.edu>

Fix comment capitalization


# f25a3f9a 02-Sep-2010 Austin Clements <amdragon@mit.edu>

Rearrange vm.c so it's in logical order and prints nicely. Shorten a few functions in uninteresting ways to make them fit.


# f53e6110 02-Sep-2010 Austin Clements <amdragon@mit.edu>

Simplify inituvm and userinit by assuming initcode fits on a page


# b3cfd7fc 02-Sep-2010 Austin Clements <amdragon@mit.edu>

Simplify freevm using deallocuvm


# d3ecf3eb 01-Sep-2010 Austin Clements <amdragon@mit.edu>

Slight simplification of copyuvm. We could simplify other things now that processes are contiguous, but we'd have to think harder about the error paths.


# b0751a3e 01-Sep-2010 Austin Clements <amdragon@mit.edu>

Space police


# 5efca905 01-Sep-2010 Austin Clements <amdragon@mit.edu>

Tab police


# ba04b3e7 01-Sep-2010 Austin Clements <amdragon@mit.edu>

Fix similar leak in copyuvm


# dd645ef1 01-Sep-2010 Austin Clements <amdragon@mit.edu>

Cleanup if allocuvm fails to alloc. Add a test.


# 8d774afb 31-Aug-2010 Robert Morris <rtm@csail.mit.edu>

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


# 7d7dc933 31-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

kalloc/kfree now only a page at a time
do not keep sorted contiguous free list


# ac090078 30-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

xx


# 8d8d6c7b 30-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

we don't need CR0_WP


# 5ab868fd 30-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

set only PG and WP in vminit; the rest don't seem to be needed and are confusing


# 789b508d 11-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

uptime() sys call for benchmarking
increase PHYSTOP


# 83d2db91 10-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

allow sbrk(-x) to de-allocate user memory


# c4cc10da 06-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

fix corner cases in exec of ELF
put an invalid page below the stack
have fork() handle invalid pages


# 1afc9d3f 06-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

add some comments
find out the hard way why user and kernel must have separate segment descriptors


# c9959978 05-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

remove some unused vm #defines
fix corner cases with alignment when mapping kernel ELF file


# 2cf6b32d 05-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

move jkstack to main.c
replace jstack with asm()s


1234