Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-31 | Read curproc from cpu structure, but be careful because after a schedule event | Frans Kaashoek | 1 | -9/+14 | |
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. | |||||
2017-01-31 | Start of an experiment to remove the use of gs for cpu local variables. | Frans Kaashoek | 1 | -10/+11 | |
2016-09-26 | fix memory region validation in argptr() | MikeCAT | 1 | -1/+1 | |
2016-09-25 | Typo (Thanks to Austin Liew) | Frans Kaashoek | 1 | -1/+1 | |
2016-08-25 | Remove trailing white space with: | Frans Kaashoek | 1 | -1/+1 | |
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick) | |||||
2012-08-22 | Remove left-over from some logging plan making complete syscalls atomic | Frans Kaashoek | 1 | -3/+1 | |
0 is not a system call (thanks to Peter Froehlich) | |||||
2012-02-17 | Make fetchint and fetchstr use proc instead of taking a struct proc | Austin Clements | 1 | -9/+9 | |
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. | |||||
2011-08-22 | Remove sys_init syscall | Frans Kaashoek | 1 | -9/+0 | |
Invoke initlog from forkret on first user process | |||||
2011-08-12 | log write() data | Robert Morris | 1 | -2/+0 | |
usertest for big write()s push begin_trans/commit_trans down into syscalls | |||||
2011-07-29 | Map kernel high | Frans Kaashoek | 1 | -0/+1 | |
Very important to give qemu memory through PHYSTOP :( | |||||
2011-07-27 | Dirt simple logging | Frans Kaashoek | 1 | -18/+31 | |
Passes usertests and stressfs Seems to recover correctly in a number of simple cases | |||||
2011-02-28 | fixes from Peter Froehlich | Russ Cox | 1 | -1/+1 | |
2011-01-11 | make new code like old code | Russ Cox | 1 | -5/+4 | |
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. | |||||
2010-09-01 | Remove the stack guard page. Processes are now contiguous from 0 to ↵ | Austin Clements | 1 | -4/+1 | |
proc->sz, which means our syscall argument validation is correct. Add a pointer validation test and remove the stack test, which tested for the guard page. | |||||
2010-08-11 | uptime() sys call for benchmarking | Robert Morris | 1 | -0/+2 | |
increase PHYSTOP | |||||
2010-07-02 | nits | Frans Kaashoek | 1 | -4/+2 | |
2010-07-02 | Initial version of single-cpu xv6 with page tables | Frans Kaashoek | 1 | -5/+11 | |
2009-08-30 | assorted fixes: | Russ Cox | 1 | -8/+8 | |
* rename c/cp to cpu/proc * rename cpu.context to cpu.scheduler * fix some comments * formatting for printout | |||||
2007-08-28 | spaces around else for rtm | rsc | 1 | -1/+1 | |
2007-08-28 | more consistent spacing | rsc | 1 | -1/+1 | |
2007-08-27 | make code match comment | rsc | 1 | -1/+1 | |
2007-08-27 | make code match comment | rsc | 1 | -7/+6 | |
2007-08-27 | delete unnecessary #include lines | rsc | 1 | -10/+1 | |
2007-08-27 | Replace yield system call with sleep. | rsc | 1 | -2/+2 | |
2007-08-24 | nits | rsc | 1 | -2/+3 | |
2007-08-24 | Add yield system call, for zombie test program (bad idea?). | rsc | 1 | -0/+2 | |
2007-08-24 | simplify ide queuing | rtm | 1 | -1/+1 | |
nits in comments | |||||
2007-08-21 | Various cleanup: | rsc | 1 | -1/+0 | |
- Got rid of dummy proc[0]. Now proc[0] is init. - Added initcode.S to exec /init, so that /init is just a regular binary. - Moved exec out of sysfile to exec.c - Moved code dealing with fs guts (like struct inode) from sysfile.c to fs.c. Code dealing with system call arguments stays in sysfile.c - Refactored directory routines in fs.c; should be simpler. - Changed iget to return *unlocked* inode structure. This solves the lookup-then-use race in namei without introducing deadlocks. It also enabled getting rid of the dummy proc[0]. | |||||
2007-08-14 | formatting | rsc | 1 | -0/+1 | |
2007-08-10 | Make cp a magic symbol. | rsc | 1 | -4/+1 | |
2007-08-09 | try to use cp only for curproc[cpu()] | rsc | 1 | -9/+9 | |
2007-08-08 | convert syscall dispatch to table | rsc | 1 | -64/+28 | |
2006-09-07 | refactor syscall code | rsc | 1 | -32/+39 | |
2006-09-07 | comment fixes | rsc | 1 | -1/+1 | |
2006-09-06 | for vs while | rsc | 1 | -1/+1 | |
2006-09-06 | fd.* -> file.* | rsc | 1 | -1/+1 | |
2006-09-06 | split syscall.c into sysfile.c and sysproc.c | rsc | 1 | -517/+19 | |
2006-09-06 | writeable => writable | rsc | 1 | -3/+3 | |
2006-09-06 | no /* */ comments | rsc | 1 | -14/+10 | |
2006-09-06 | standardize various * conventions | rsc | 1 | -25/+25 | |
2006-08-30 | complain if no disk 1 | rtm | 1 | -10/+1 | |
lots of cleanup | |||||
2006-08-29 | clear killed flag in exit | rtm | 1 | -3/+0 | |
idecref cwd in exit | |||||
2006-08-29 | prune unneeded panics and debug output | rtm | 1 | -1/+1 | |
2006-08-29 | i broke sbrk, fix it | rtm | 1 | -2/+3 | |
2006-08-29 | clean up stale error checks and panics | rtm | 1 | -3/+3 | |
delete unused functions a few comments | |||||
2006-08-26 | consistently ignore more than 14 chars in path component | rtm | 1 | -8/+22 | |
forbid create or write of existing directory mkdir("d1/d2/d3"), .. should refer to d2, not cwd mkdir increase parent link count | |||||
2006-08-26 | mkdir check error from mknod | rtm | 1 | -2/+4 | |
chdir return -1 if target not a dir | |||||
2006-08-25 | inode addrs[NDIRECT] -> NADDRS | rtm | 1 | -11/+21 | |
fix race in mknod / creat use last component in dirent in mknod, not path | |||||
2006-08-24 | user-level malloc (untested) | kaashoek | 1 | -19/+5 | |
nit in sbrk indirect block fix dup to share fd struct | |||||
2006-08-23 | i/o redirection in sh | kaashoek | 1 | -0/+29 | |
better parsing of sh commands (copied from jos sh) cat: read from 1 if no args sbrk system call, but untested getpid system call moved locks in keyboard intr, but why do we get intr w. null characters from keyboard? |