-CONF=pcf
-CONFLIST=pcf pccpuf
-CRAPLIST=pc pccpu pccd pcflop
+CONF=pc
+CONFLIST=pc pcf pccpuf
EXTRACOPIES=
#EXTRACOPIES=lookout boundary # copy to these servers on install
p=9
# must match mem.h
-APBOOTSTRAP=0xF0003000
KTZERO=0xF0100020
+APBOOTSTRAP=0xF0007000
+REBOOTADDR=0x11000
DEVS=`{rc ../port/mkdevlist $CONF}
proc.$O\
qio.$O\
qlock.$O\
+ random.$O\
rdb.$O\
rebootcmd.$O\
segment.$O\
- swap.$O\
syscallfmt.$O\
sysfile.$O\
sysproc.$O\
memory.$O\
mmu.$O\
trap.$O\
- pcrandom.$O\
+ bootargs.$O\
$CONF.root.$O\
$CONF.rootc.$O\
$DEVS\
/$objtype/lib/libmp.a\
/$objtype/lib/libfis.a\
/$objtype/lib/libaml.a\
+ /$objtype/lib/libdtracy.a\
ETHER=`{echo devether.c ether*.c | sed 's/\.c/.'$O'/g'}
AUDIO=`{echo devaudio.c audio*.c | sed 's/\.c/.'$O'/g'}
<../port/portmkfile
<|../port/mkbootrules $CONF
-$ETHER: etherif.h ../port/netif.h
+$ETHER: ../port/etherif.h ../port/netif.h
$AUDIO: ../port/audioif.h
ether8003.$O ether8390.$O: ether8390.h
etheryuk.$O: yukdump.h
main.$O: init.h reboot.h
wavelan.$O: wavelan.c ../pc/wavelan.c ../pc/wavelan.h
etherwavelan.$O: etherwavelan.c ../pc/wavelan.h
-devusb.$O usbuhci.$O usbohci.$O usbehci.$O: ../port/usb.h
+devusb.$O usbuhci.$O usbohci.$O usbehci.$O usbehcipc.$O usbxhci.$O: ../port/usb.h
usbehci.$O usbehcipc.$O: usbehci.h
trap.$O: /sys/include/tos.h
uartaxp.$O: uartaxp.i
+ether8169.$O: ../port/ethermii.h
+etherdp83820.$O: ../port/ethermii.h
+etherigbe.$O: ../port/ethermii.h
+ethervgbe.$O: ../port/ethermii.h
+ethervt6102.$O: ../port/ethermii.h
+ethervt6105m.$O: ../port/ethermii.h
etherm10g.$O: etherm10g2k.i etherm10g4k.i
-etheriwl.$O: wifi.h
-etherwpi.$O: wifi.h
-etherrt2860.$O: wifi.h
-wifi.$O: wifi.h
+etheriwl.$O: ../port/wifi.h
+etherwpi.$O: ../port/wifi.h
+etherrt2860.$O: ../port/wifi.h
init.h:D: ../port/initcode.c init9.c
$CC ../port/initcode.c
sed -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
echo '};'} > init.h
-reboot.h:D: rebootcode.s
+reboot.h:D: rebootcode.s mem.h
$AS rebootcode.s
- $LD -l -s -T0x11000 -R4 -o reboot.out rebootcode.$O
+ $LD -l -s -T$REBOOTADDR -R4 -o reboot.out rebootcode.$O
{echo 'uchar rebootcode[]={'
xd -1x reboot.out |
sed -e '1,2d' -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
echo '};'} > reboot.h
-apbootstrap.h: apbootstrap.s mem.h
+apbootstrap.h:D: apbootstrap.s mem.h
$AS $prereq
$LD -o apbootstrap.out -T$APBOOTSTRAP -R4 -l -s apbootstrap.$O
{echo 'uchar apbootstrap[]={'