History log of /xv6-public/defs.h (Results 101 – 125 of 162)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3b95801a 29-Aug-2006 rtm <rtm>

i broke sbrk, fix it


# 2b19190c 29-Aug-2006 rtm <rtm>

clean up stale error checks and panics
delete unused functions
a few comments


# 5051da6d 25-Aug-2006 rtm <rtm>

inode addrs[NDIRECT] -> NADDRS
fix race in mknod / creat
use last component in dirent in mknod, not path


# 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 ...


# f18ab5c0 20-Aug-2006 kaashoek <kaashoek>

compiling, but untested dup


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

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


# e958c538 15-Aug-2006 kaashoek <kaashoek>

commented out code for cwd


# 211ff0c6 13-Aug-2006 rtm <rtm>

namei returns locked parent dir inode for create / unlink
don't hold fd table lock across idecref() (latter does block i/o)
idecref calls iput() in case last ref -> freeing inode
dir size is 512 * #

namei returns locked parent dir inode for create / unlink
don't hold fd table lock across idecref() (latter does block i/o)
idecref calls iput() in case last ref -> freeing inode
dir size is 512 * # blocks, so readi/writei &c work
unlink deletes dirent even if ip->nlink > 0

show more ...


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

link()


# 05e97551 12-Aug-2006 rtm <rtm>

zero out all of dirent.name when creating
don't increase length of directory


# 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


# 0633b971 12-Aug-2006 kaashoek <kaashoek>

unlink,mknod,create with multi-component pathnames should work now
remove console init code from userfs


# 24437cd5 11-Aug-2006 kaashoek <kaashoek>

fix deadlock---iput(dp) asap
working unlink, but doesn't free dir blocks that become empty
remove out-of-date comment in ioapic


# 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


# 5be0039c 10-Aug-2006 rtm <rtm>

interrupts could be recursive since lapic_eoi() called before rti
so fast interrupts overflow the kernel stack
fix: cli() before lapic_eoi()


# 8a8be1b8 10-Aug-2006 rtm <rtm>

low-level keyboard input (not hooked up to /dev yet)
fix acquire() to cli() *before* incrementing nlock
make T_SYSCALL a trap gate, not an interrupt gate
sadly, various crashes if you hold down a key

low-level keyboard input (not hooked up to /dev yet)
fix acquire() to cli() *before* incrementing nlock
make T_SYSCALL a trap gate, not an interrupt gate
sadly, various crashes if you hold down a keyboard key...

show more ...


# 28d9ef04 10-Aug-2006 kaashoek <kaashoek>

printf
convert userfs to use printf
bfree
ifree
writei
start on unlink


# 6fa5ffb5 09-Aug-2006 kaashoek <kaashoek>

devsw
checkpoint: write(fd,"hello\n",6) where fd is a console dev almost works


# e8d11c2e 08-Aug-2006 kaashoek <kaashoek>

mknod,ialloc,iupdate


# 10420772 07-Aug-2006 kaashoek <kaashoek>

bwrite


# 8ec6530f 06-Aug-2006 kaashoek <kaashoek>

generalize async read to support write too


# 36618921 04-Aug-2006 kaashoek <kaashoek>

nit


# c8b29f6d 04-Aug-2006 kaashoek <kaashoek>

better interrupt plan---this one appears to work
ioapic


1234567