2011-09-05 19:30:14 +00:00
|
|
|
# Is sheet 01 (after the TOC) a left sheet or a right sheet?
|
2014-08-29 21:06:49 +00:00
|
|
|
sheet1: left
|
2010-09-02 07:57:20 +00:00
|
|
|
|
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
|
|
|
|
|
2011-09-02 19:36:23 +00:00
|
|
|
even: entry.S # mild preference
|
|
|
|
even: entryother.S # 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
|
|
|
|
2011-09-02 19:36:23 +00:00
|
|
|
left: spinlock.h
|
|
|
|
even: spinlock.h
|
2010-09-02 08:15:17 +00:00
|
|
|
|
|
|
|
# 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
|
2011-09-02 19:36:23 +00:00
|
|
|
# walkpgdir mappages setupkvm switch[ku]vm inituvm (loaduvm)
|
2010-09-02 20:23:15 +00:00
|
|
|
# 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
|
|
|
|
2011-09-02 19:36:23 +00:00
|
|
|
even: kalloc.c # mild preference
|
2007-08-22 06:01:32 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
2011-09-02 19:36:23 +00:00
|
|
|
# log.c fits nicely in a spread
|
|
|
|
even: log.c
|
|
|
|
left: log.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
|
2011-09-02 19:36:23 +00:00
|
|
|
# fileinit filealloc filedup fileclose filestat fileread filewrite
|
2011-02-20 02:17:55 +00:00
|
|
|
# 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
|
|
|
|
|
2011-09-02 19:36:23 +00:00
|
|
|
# Mild preference, but makes spreads of mp.c, lapic.c, and ioapic.c+picirq.c
|
|
|
|
even: mp.c
|
|
|
|
left: mp.c
|
|
|
|
|
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
|
2011-09-02 19:36:23 +00:00
|
|
|
|
|
|
|
even: bootasm.S # mild preference
|
|
|
|
even: bootmain.c # mild preference
|