diff options
author | Frans Kaashoek <[email protected]> | 2011-07-27 20:49:45 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2011-07-27 20:49:45 -0400 |
commit | dccb915282854476ce47752df6631dcce3b8f661 (patch) | |
tree | a84aa8ed35618f99c3d7e8cdd466d22ae7bad597 /runoff.spec | |
parent | 9acdfe0d04f3fcf95c6e392e08afb45bdfe16c20 (diff) | |
parent | 13a96baefc0ff5d8262c4bc8c797bee4b157443c (diff) | |
download | xv6-labs-dccb915282854476ce47752df6631dcce3b8f661.tar.gz xv6-labs-dccb915282854476ce47752df6631dcce3b8f661.tar.bz2 xv6-labs-dccb915282854476ce47752df6631dcce3b8f661.zip |
Merge commit 'origin/master' into page
Diffstat (limited to 'runoff.spec')
-rw-r--r-- | runoff.spec | 50 |
1 files changed, 42 insertions, 8 deletions
diff --git a/runoff.spec b/runoff.spec index e4cfd42..4d00038 100644 --- a/runoff.spec +++ b/runoff.spec @@ -1,3 +1,16 @@ +sheet1: left + +# "left" and "right" specify which page of a two-page spread a file +# must start on. "left" means that a file must start on the first of +# the two pages. "right" means it must start on the second of the two +# pages. The file may start in either column. +# +# "even" and "odd" specify which column a file must start on. "even" +# means it must start in the left of the two columns (00). "odd" means it +# must start in the right of the two columns (50). +# +# You'd think these would be the other way around. + # types.h either # param.h either # defs.h either @@ -9,25 +22,36 @@ even: bootasm.S # mild preference even: bootother.S # mild preference -# bootmain.c either +even: bootmain.c # mild preference even: main.c # mp.c don't care at all # even: initcode.S # odd: init.c # spinlock.h either -# spinlock.c either -even: proc.h # mild preference +left: spinlock.h # mild preference +even: spinlock.h # mild preference + +# This gets struct proc and allocproc on the same spread +left: proc.h +even: proc.h # goal is to have two action-packed 2-page spreads, # one with -# ksegment usegment allocproc userinit growproc fork +# userinit growproc fork exit wait # and another with # scheduler sched yield forkret sleep wakeup1 wakeup right: proc.c # VERY important +even: proc.c # VERY important + +# A few more action packed spreads +# page table creation and process loading +# walkpgdir mappages setupkvm vmenable switch[ku]vm inituvm loaduvm +# process memory management +# allocuvm deallocuvm freevm +left: vm.c +odd: vm.c -# setjmp.S either -# vm.c either # kalloc.c either # syscall.h either @@ -45,15 +69,25 @@ right: proc.c # VERY important # file.h either # fs.h either # fsvar.h either -left: ide.c +# left: ide.c # mild preference +even: ide.c # odd: bio.c + +# with fs.c starting on 2nd column of a left page, we get these 2-page spreads: +# ialloc iupdate iget idup ilock iunlock iput iunlockput +# bmap itrunc stati readi writei +# namecmp dirlookup dirlink skipelem namex namei +# fielinit filealloc filedup fileclose filestat fileread filewrite +# starting on 2nd column of a right page is not terrible either odd: fs.c # VERY important +left: fs.c # mild preference # file.c either # exec.c either # sysfile.c either # even: pipe.c # mild preference # string.c either -left: kbd.h +# left: kbd.h # mild preference +even: kbd.h even: console.c odd: sh.c |