summaryrefslogtreecommitdiff
path: root/user.h
AgeCommit message (Collapse)Author
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris
2018-08-31thanks tyfkdaFrans Kaashoek
2014-09-12cmosgetdate() for system-call homeworkCody Cutler
the day of reckoning has come for the debug port "Shutdown" hack. instead of mucking with ACPI or using a new hack, the student will now write sys_date() using the cmosgetdate() helper.
2011-01-11make new code like old codeRuss Cox
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-08-30set only PG and WP in vminit; the rest don't seem to be needed and are confusingRobert Morris
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
2007-08-28add struct stat declrsc
2007-08-27Replace yield system call with sleep.rsc
2007-08-24Remove struct uinode.rsc
Remove type arg to mknod (assume T_DEV).
2007-08-24Remove puts in favor of printf.rsc
Allow multiple arguments to ls.
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc
Various changes made while offline. + bwrite sector argument is redundant; use b->sector. + reformatting of files for nicer PDF page breaks + distinguish between locked, unlocked inodes in type signatures + change FD_FILE to FD_INODE + move userinit (nee proc0init) to proc.c + move ROOTDEV to param.h + always parenthesize sizeof argument
2007-08-08standardize on not using unsigned keywordrsc
2007-08-08atoi, for killrsc
2006-09-06standardize various * conventionsrsc
2006-09-06nitskaashoek
2006-08-24bug in sbrkkaashoek
test malloc
2006-08-24user-level malloc (untested)kaashoek
nit in sbrk indirect block fix dup to share fd struct
2006-08-23i/o redirection in shkaashoek
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?
2006-08-20removed block system callkaashoek
renumber system calls (run gmake clean!) skeleton for dup system call
2006-08-19chdirkaashoek
cd in shell nits in mkdir, ls, etc.
2006-08-14start on mkdirkaashoek
stat
2006-08-13link()rtm
2006-08-12fix getblk to actually lock the blockrtm
no more cons_put system calls usertests tests two processes writing files
2006-08-12fstatkaashoek
primitive ls
2006-08-11init creates console, opens 0/1/2, runs shrtm
sh accepts 0-argument commands (like userfs) reads from console
2006-08-10printfkaashoek
convert userfs to use printf bfree ifree writei start on unlink
2006-08-08fix race in holding() check in acquire()rtm
give cpu1 a TSS and gdt for when it enters scheduler() and a pseudo proc[] entry for each cpu cpu0 waits for each other cpu to start up read() for files
2006-08-08mknod,ialloc,iupdatekaashoek
2006-07-16add %s to cprintf for cons_putsrsc
2006-07-16Add user.h for prototypes.rsc
Add cons_puts for cleaner output.