summaryrefslogtreecommitdiff
path: root/string.c
AgeCommit message (Collapse)Author
2009-10-07Remove memcpy prototypes at Russ' request to prevent code from callingAustin Clements
memcpy directly.
2009-10-07Provide memcpy for compatibility with older versions of gccAustin Clements
2009-03-08xv6: use stosb for memsetrsc
2007-08-28spaces around else for rtmrsc
2007-08-28more consistent spacingrsc
2007-08-27delete unnecessary #include linesrsc
2007-08-24first ever correct use of strncpyrsc
2007-08-21Various cleanup:rsc
- 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-10avoid assignments in declarationsrsc
2007-08-08add safestrcpyrsc
2006-09-06standardize various * conventionsrsc
2006-09-06spacing fixes: no tabs, 2-space indents (for rtm)rsc
2006-08-30complain if no disk 1rtm
lots of cleanup
2006-07-20uint32_t -> uint &crtm
2006-07-17add uint and standardize on typedefs instead of unsignedrsc
2006-07-16Attempt to clean up newproc somewhat.rsc
Also remove all calls to memcpy in favor of memmove, which has defined semantics when the ranges overlap. The fact that memcpy was working in console.c to scroll the screen is not guaranteed by all implementations.
2006-07-05timer interruptskaashoek
disk interrupts (assuming bochs has a bug)
2006-06-22checkpoint. booting second processor. stack is messed up, but thanks to cliffkaashoek
and plan 9 code, at least boots and gets into C code.
2006-06-21start on MP; detect MP configurationkaashoek
2006-06-15primitive fork and exit system callsrtm
2006-06-12importrtm