Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
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.
|
|
|
|
memcpy directly.
|
|
|
|
|
|
|
|
Remove type arg to mknod (assume T_DEV).
|
|
Allow multiple arguments to ls.
|
|
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
|
|
|
|
|
|
|
|
|
|
test malloc
|
|
nit in sbrk
indirect block
fix dup to share fd struct
|
|
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?
|
|
renumber system calls (run gmake clean!)
skeleton for dup system call
|
|
cd in shell
nits in mkdir, ls, etc.
|
|
stat
|
|
|
|
no more cons_put system calls
usertests tests two processes writing files
|
|
primitive ls
|
|
sh accepts 0-argument commands (like userfs)
reads from console
|
|
convert userfs to use printf
bfree
ifree
writei
start on unlink
|
|
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
|
|
|
|
|
|
Add cons_puts for cleaner output.
|