Revision tags: xv6-rev11 |
|
#
fbb4c094 |
| 01-Feb-2017 |
Frans Kaashoek <kaashoek@mit.edu> |
Read curproc from cpu structure, but be careful because after a schedule event myproc() points to a different thread.
myproc(); sched(); myproc(); // this proc maybe different than the one
Read curproc from cpu structure, but be careful because after a schedule event myproc() points to a different thread.
myproc(); sched(); myproc(); // this proc maybe different than the one before sched
Thus, in a function that operates on one thread better to retrieve the current process once at the start of the function.
show more ...
|
#
abf847a0 |
| 31-Jan-2017 |
Frans Kaashoek <kaashoek@mit.edu> |
Start of an experiment to remove the use of gs for cpu local variables.
|
#
e916d668 |
| 27-Sep-2016 |
Peter H. Froehlich <peter.hans.froehlich@gmail.com> |
Fix unsigned conversion bug.
Since readi() returns -1 for errors, checking with < against an unsigned value is inadvisable. Checking with != works as intended however.
|
#
33188666 |
| 15-Sep-2016 |
Frans Kaashoek <kaashoek@mit.edu> |
Delete two left-over print statements
|
#
6670d3b5 |
| 11-Sep-2016 |
Frans Kaashoek <kaashoek@mit.edu> |
Straight replacement of B_BUSY with a sleeping lock.
|
Revision tags: xv6-rev9 |
|
#
5625ae49 |
| 19-Dec-2015 |
MikeCAT <mikecat@users.noreply.github.com> |
add check for wrapping of address + size in exec()
|
#
67a7f959 |
| 19-Dec-2015 |
MikeCAT <mikecat@users.noreply.github.com> |
add alignment check of virtual address to exec()
|
Revision tags: xv6-rev8 |
|
#
71453f72 |
| 27-Aug-2014 |
Robert Morris <rtm@csail.mit.edu> |
a start at concurrent FS system calls
|
#
2c565472 |
| 04-Aug-2014 |
Robert Morris <rtm@csail.mit.edu> |
every iput() and namei() must be inside a transaction
|
Revision tags: xv6-rev7 |
|
#
4ce832dd |
| 23-Aug-2012 |
Frans Kaashoek <kaashoek@mit.edu> |
Remove unused argument to setupkvm (thanks to Peter Froehlich)
|
Revision tags: osdi12-submit, xv6-rev6 |
|
#
549c62cc |
| 03-Sep-2011 |
Austin Clements <amdragon@mit.edu> |
I can't do math; fix bug introduced in 5a9761
|
#
5a97613b |
| 02-Sep-2011 |
Austin Clements <amdragon@mit.edu> |
Fit exec on a page. Again
|
#
2eb214c9 |
| 02-Sep-2011 |
Austin Clements <amdragon@mit.edu> |
clear_pte_u -> clearpteu
|
#
371ab7fa |
| 01-Sep-2011 |
Robert Morris <rtm@csail.mit.edu> |
inaccessible page under the user stack page, to help exec deal w/ too-large args
|
#
fa81545f |
| 18-Aug-2011 |
Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local> |
Make elf proghdr fields match what objdump prints
|
#
66ba8079 |
| 10-Aug-2011 |
Frans Kaashoek <kaashoek@42.sub-75-251-87.myvzw.com> |
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 ti
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)
show more ...
|
#
9aa0337d |
| 29-Jul-2011 |
Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local> |
Map kernel high Very important to give qemu memory through PHYSTOP :(
|
Revision tags: xv6-rev5 |
|
#
cf4b1ad9 |
| 20-Feb-2011 |
Russ Cox <rsc@swtch.com> |
xv6: formatting, cleanup, rev5 (take 2)
|
#
1a81e38b |
| 11-Jan-2011 |
Russ Cox <rsc@swtch.com> |
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-p
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.
show more ...
|
#
2ea6c764 |
| 29-Sep-2010 |
Robert Morris <rtm@csail.mit.edu> |
even more fabulous exec
|
#
06feabec |
| 27-Sep-2010 |
Robert Morris <rtm@csail.mit.edu> |
check exec() arg length fix double iunlockput
|
#
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
|
#
05d66b06 |
| 19-Sep-2010 |
Robert Morris <rtm@csail.mit.edu> |
my comment is wrong, exec handles BSS fine
|
#
4587b358 |
| 19-Sep-2010 |
Robert Morris <rtm@csail.mit.edu> |
exec questions
|
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 ...
|