History log of /xv6-public/user.h (Results 1 – 25 of 30)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: xv6-rev11
# 308a3b88 31-Aug-2018 Frans Kaashoek <kaashoek@mit.edu>

thanks tyfkda


Revision tags: xv6-rev9
# aae4e749 12-Sep-2014 Cody Cutler <ccutler@mat.lcs.mit.edu>

cmosgetdate() for system-call homework

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

cmosgetdate() for system-call homework

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.

show more ...


Revision tags: xv6-rev8, xv6-rev7, osdi12-submit, xv6-rev6, xv6-rev5
# 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 ...


Revision tags: xv6-2010, xv6-rev4
# 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


# 2c536bff 07-Oct-2009 Austin Clements <amdragon@mit.edu>

Remove memcpy prototypes at Russ' request to prevent code from calling
memcpy directly.


# 6639ce56 07-Oct-2009 Austin Clements <amdragon@mit.edu>

Provide memcpy for compatibility with older versions of gcc


Revision tags: xv6-rev3, xv6-2008, xv6-2007, xv6-rev1
# a1af3665 28-Aug-2007 rsc <rsc>

add struct stat decl


# efc12b8e 27-Aug-2007 rsc <rsc>

Replace yield system call with sleep.


# 07090dd7 24-Aug-2007 rsc <rsc>

Remove struct uinode.
Remove type arg to mknod (assume T_DEV).


# 1b789e1d 24-Aug-2007 rsc <rsc>

Remove puts in favor of printf.
Allow multiple arguments to ls.


# eaea18cb 22-Aug-2007 rsc <rsc>

PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf

Various changes made while offline.

+ bwrite sector argument is redundant; use b->sector.
+ reformatting of files for nicer PDF page breaks
+ distinguis

PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf

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

show more ...


# 115e1774 08-Aug-2007 rsc <rsc>

standardize on not using unsigned keyword


# e204d0a1 08-Aug-2007 rsc <rsc>

atoi, for kill


Revision tags: symlinks, xv6-2006, xv6-rev0
# 9e9bcaf1 06-Sep-2006 rsc <rsc>

standardize various * conventions


# d49a2d53 06-Sep-2006 kaashoek <kaashoek>

nits


# 81d52199 24-Aug-2006 kaashoek <kaashoek>

bug in sbrk
test malloc


# ea2909b6 24-Aug-2006 kaashoek <kaashoek>

user-level malloc (untested)
nit in sbrk
indirect block
fix dup to share fd struct


# 8b58e810 23-Aug-2006 kaashoek <kaashoek>

i/o redirection in sh
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

i/o redirection in sh
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?

show more ...


# 16083d44 20-Aug-2006 kaashoek <kaashoek>

removed block system call
renumber system calls (run gmake clean!)
skeleton for dup system call


# 8787cd01 19-Aug-2006 kaashoek <kaashoek>

chdir
cd in shell
nits in mkdir, ls, etc.


# d15f0d10 14-Aug-2006 kaashoek <kaashoek>

start on mkdir
stat


# 9e5970d5 13-Aug-2006 rtm <rtm>

link()


# 43572072 12-Aug-2006 rtm <rtm>

fix getblk to actually lock the block
no more cons_put system calls
usertests tests two processes writing files


# 1f544842 12-Aug-2006 kaashoek <kaashoek>

fstat
primitive ls


# 17a85657 11-Aug-2006 rtm <rtm>

init creates console, opens 0/1/2, runs sh
sh accepts 0-argument commands (like userfs)
reads from console


12