2011-09-02 21:36:23 +02:00
|
|
|
sheet1: right
|
2010-09-02 09:57:20 +02:00
|
|
|
|
2010-09-02 10:03:42 +02: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 23:03:19 +02:00
|
|
|
# the two pages. "right" means it must start on the second of the two
|
2010-09-02 10:03:42 +02:00
|
|
|
# pages. The file may start in either column.
|
|
|
|
#
|
|
|
|
# "even" and "odd" specify which column a file must start on. "even"
|
2011-02-20 03:17:55 +01: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 23:03:19 +02:00
|
|
|
#
|
|
|
|
# You'd think these would be the other way around.
|
2010-09-02 10:03:42 +02:00
|
|
|
|
2007-08-22 08:01:32 +02: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 21:36:23 +02:00
|
|
|
even: entry.S # mild preference
|
|
|
|
even: entryother.S # mild preference
|
2007-08-14 20:42:34 +02:00
|
|
|
even: main.c
|
2007-08-22 08:01:32 +02:00
|
|
|
# mp.c don't care at all
|
2009-08-08 10:07:30 +02:00
|
|
|
# even: initcode.S
|
|
|
|
# odd: init.c
|
2007-08-22 08:01:32 +02:00
|
|
|
|
2011-09-02 21:36:23 +02:00
|
|
|
left: spinlock.h
|
|
|
|
even: spinlock.h
|
2010-09-02 10:15:17 +02:00
|
|
|
|
|
|
|
# This gets struct proc and allocproc on the same spread
|
2011-02-20 03:17:55 +01:00
|
|
|
left: proc.h
|
|
|
|
even: proc.h
|
2009-08-08 10:07:30 +02:00
|
|
|
|
|
|
|
# goal is to have two action-packed 2-page spreads,
|
|
|
|
# one with
|
2010-09-02 10:15:17 +02:00
|
|
|
# userinit growproc fork exit wait
|
2009-08-08 10:07:30 +02:00
|
|
|
# and another with
|
|
|
|
# scheduler sched yield forkret sleep wakeup1 wakeup
|
2011-02-20 03:17:55 +01:00
|
|
|
right: proc.c # VERY important
|
|
|
|
even: proc.c # VERY important
|
2009-08-08 10:07:30 +02:00
|
|
|
|
2010-09-02 22:23:15 +02:00
|
|
|
# A few more action packed spreads
|
|
|
|
# page table creation and process loading
|
2011-09-02 21:36:23 +02:00
|
|
|
# walkpgdir mappages setupkvm switch[ku]vm inituvm (loaduvm)
|
2010-09-02 22:23:15 +02:00
|
|
|
# process memory management
|
|
|
|
# allocuvm deallocuvm freevm
|
2011-02-20 03:17:55 +01:00
|
|
|
left: vm.c
|
2010-09-02 22:23:15 +02:00
|
|
|
|
2011-09-02 21:36:23 +02:00
|
|
|
even: kalloc.c # mild preference
|
2007-08-22 08:01:32 +02:00
|
|
|
|
|
|
|
# syscall.h either
|
|
|
|
# trapasm.S either
|
|
|
|
# traps.h either
|
2009-08-08 10:07:30 +02:00
|
|
|
# even: trap.c
|
2007-08-22 08:01:32 +02: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 03:17:55 +01:00
|
|
|
# left: ide.c # mild preference
|
2010-09-03 00:36:06 +02:00
|
|
|
even: ide.c
|
2007-08-22 08:01:32 +02:00
|
|
|
# odd: bio.c
|
2011-02-20 03:17:55 +01:00
|
|
|
|
2011-09-02 21:36:23 +02:00
|
|
|
# log.c fits nicely in a spread
|
|
|
|
even: log.c
|
|
|
|
left: log.c
|
|
|
|
|
2011-02-20 03:17:55 +01: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 21:36:23 +02:00
|
|
|
# fileinit filealloc filedup fileclose filestat fileread filewrite
|
2011-02-20 03:17:55 +01:00
|
|
|
# starting on 2nd column of a right page is not terrible either
|
2007-08-22 08:01:32 +02:00
|
|
|
odd: fs.c # VERY important
|
2011-02-20 03:17:55 +01:00
|
|
|
left: fs.c # mild preference
|
2007-08-22 08:01:32 +02:00
|
|
|
# file.c either
|
|
|
|
# exec.c either
|
|
|
|
# sysfile.c either
|
|
|
|
|
2011-09-02 21:36:23 +02: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 07:01:04 +02:00
|
|
|
# even: pipe.c # mild preference
|
2007-08-22 08:01:32 +02:00
|
|
|
# string.c either
|
2011-02-20 03:17:55 +01:00
|
|
|
# left: kbd.h # mild preference
|
2010-09-03 00:36:06 +02:00
|
|
|
even: kbd.h
|
2007-08-28 06:26:55 +02:00
|
|
|
even: console.c
|
|
|
|
odd: sh.c
|
2011-09-02 21:36:23 +02:00
|
|
|
|
|
|
|
even: bootasm.S # mild preference
|
|
|
|
even: bootmain.c # mild preference
|