2010-09-02 07:57:20 +00:00
|
|
|
sheet1: left
|
|
|
|
|
2010-09-02 08:03:42 +00:00
|
|
|
# "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
|
2010-09-02 21:03:19 +00:00
|
|
|
# the two pages. "right" means it must start on the second of the two
|
2010-09-02 08:03:42 +00:00
|
|
|
# pages. The file may start in either column.
|
|
|
|
#
|
|
|
|
# "even" and "odd" specify which column a file must start on. "even"
|
2011-02-20 02:17:55 +00:00
|
|
|
# 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).
|
2010-09-02 21:03:19 +00:00
|
|
|
#
|
|
|
|
# You'd think these would be the other way around.
|
2010-09-02 08:03:42 +00:00
|
|
|
|
2007-08-22 06:01:32 +00:00
|
|
|
# types.h either
|
|
|
|
# param.h either
|
|
|
|
# defs.h either
|
|
|
|
# x86.h either
|
|
|
|
# asm.h either
|
|
|
|
# mmu.h either
|
|
|
|
# elf.h either
|
|
|
|
# mp.h either
|
|
|
|
|
|
|
|
even: bootasm.S # mild preference
|
|
|
|
even: bootother.S # mild preference
|
2010-09-02 08:15:17 +00:00
|
|
|
even: bootmain.c # mild preference
|
2007-08-14 18:42:34 +00:00
|
|
|
even: main.c
|
2007-08-22 06:01:32 +00:00
|
|
|
# mp.c don't care at all
|
2009-08-08 08:07:30 +00:00
|
|
|
# even: initcode.S
|
|
|
|
# odd: init.c
|
2007-08-22 06:01:32 +00:00
|
|
|
|
|
|
|
# spinlock.h either
|
2010-09-02 08:15:17 +00:00
|
|
|
left: spinlock.h # mild preference
|
|
|
|
even: spinlock.h # mild preference
|
|
|
|
|
|
|
|
# This gets struct proc and allocproc on the same spread
|
2011-02-20 02:17:55 +00:00
|
|
|
left: proc.h
|
|
|
|
even: proc.h
|
2009-08-08 08:07:30 +00:00
|
|
|
|
|
|
|
# goal is to have two action-packed 2-page spreads,
|
|
|
|
# one with
|
2010-09-02 08:15:17 +00:00
|
|
|
# userinit growproc fork exit wait
|
2009-08-08 08:07:30 +00:00
|
|
|
# and another with
|
|
|
|
# scheduler sched yield forkret sleep wakeup1 wakeup
|
2011-02-20 02:17:55 +00:00
|
|
|
right: proc.c # VERY important
|
|
|
|
even: proc.c # VERY important
|
2009-08-08 08:07:30 +00:00
|
|
|
|
2010-09-02 20:23:15 +00:00
|
|
|
# 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
|
2011-02-20 02:17:55 +00:00
|
|
|
left: vm.c
|
2010-09-02 20:23:15 +00:00
|
|
|
odd: vm.c
|
|
|
|
|
2007-08-22 06:01:32 +00:00
|
|
|
# kalloc.c either
|
|
|
|
|
|
|
|
# syscall.h either
|
|
|
|
# trapasm.S either
|
|
|
|
# traps.h either
|
2009-08-08 08:07:30 +00:00
|
|
|
# even: trap.c
|
2007-08-22 06:01:32 +00:00
|
|
|
# vectors.pl either
|
|
|
|
# syscall.c either
|
|
|
|
# sysproc.c either
|
|
|
|
|
|
|
|
# buf.h either
|
|
|
|
# dev.h either
|
|
|
|
# fcntl.h either
|
|
|
|
# stat.h either
|
|
|
|
# file.h either
|
|
|
|
# fs.h either
|
|
|
|
# fsvar.h either
|
2011-02-20 02:17:55 +00:00
|
|
|
# left: ide.c # mild preference
|
2010-09-02 22:36:06 +00:00
|
|
|
even: ide.c
|
2007-08-22 06:01:32 +00:00
|
|
|
# odd: bio.c
|
2011-02-20 02:17:55 +00:00
|
|
|
|
|
|
|
# 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
|
2007-08-22 06:01:32 +00:00
|
|
|
odd: fs.c # VERY important
|
2011-02-20 02:17:55 +00:00
|
|
|
left: fs.c # mild preference
|
2007-08-22 06:01:32 +00:00
|
|
|
# file.c either
|
|
|
|
# exec.c either
|
|
|
|
# sysfile.c either
|
|
|
|
|
2007-08-28 05:01:04 +00:00
|
|
|
# even: pipe.c # mild preference
|
2007-08-22 06:01:32 +00:00
|
|
|
# string.c either
|
2011-02-20 02:17:55 +00:00
|
|
|
# left: kbd.h # mild preference
|
2010-09-02 22:36:06 +00:00
|
|
|
even: kbd.h
|
2007-08-28 04:26:55 +00:00
|
|
|
even: console.c
|
|
|
|
odd: sh.c
|