Browse Source

Plan 9 from Bell Labs 2005-11-07

David du Colombier 14 years ago
parent
commit
c0a86e3567
100 changed files with 5253 additions and 3112 deletions
  1. 248 247
      dist/replica/_plan9.db
  2. 247 246
      dist/replica/plan9.db
  3. 273 0
      dist/replica/plan9.log
  4. 22 19
      sys/include/a.out.h
  5. 59 55
      sys/include/mach.h
  6. 21 5
      sys/lib/acid/leak
  7. 17 5
      sys/man/1/strip
  8. 6 3
      sys/man/3/vga
  9. 9 1
      sys/man/4/factotum
  10. 14 0
      sys/man/8/plan9.ini
  11. 13 10
      sys/man/8/statusbar
  12. 0 1
      sys/man/8/vga
  13. 1 1
      sys/src/9/alphapc/apc
  14. 11 4
      sys/src/9/alphapc/dat.h
  15. 1 4
      sys/src/9/alphapc/devvga.c
  16. 3 1
      sys/src/9/alphapc/fns.h
  17. 7 7
      sys/src/9/alphapc/main.c
  18. 21 7
      sys/src/9/alphapc/mmu.c
  19. 20 7
      sys/src/9/alphapc/screen.h
  20. 0 2
      sys/src/9/alphapc/sd53c8xx.c
  21. 12 4
      sys/src/9/bitsy/dat.h
  22. 19 1
      sys/src/9/bitsy/devpenmouse.c
  23. 38 49
      sys/src/9/bitsy/main.c
  24. 1 1
      sys/src/9/bitsy/mkfile
  25. 1 21
      sys/src/9/bitsy/sdata.c
  26. 3 1
      sys/src/9/boot/bootauth.c
  27. 11 5
      sys/src/9/mtx/dat.h
  28. 3 7
      sys/src/9/mtx/main.c
  29. 10 10
      sys/src/9/pc/apbootstrap.s
  30. 13 0
      sys/src/9/pc/apic.c
  31. 2 0
      sys/src/9/pc/apm.c
  32. 2 0
      sys/src/9/pc/archmp.c
  33. 19 7
      sys/src/9/pc/dat.h
  34. 2 0
      sys/src/9/pc/devarch.c
  35. 4 5
      sys/src/9/pc/devether.c
  36. 5 3
      sys/src/9/pc/devlml.c
  37. 8 6
      sys/src/9/pc/devpccard.c
  38. 13 13
      sys/src/9/pc/devtv.c
  39. 33 5
      sys/src/9/pc/devvga.c
  40. 3 4
      sys/src/9/pc/dma.c
  41. 0 3
      sys/src/9/pc/ether79c970.c
  42. 17 17
      sys/src/9/pc/ether8139.c
  43. 8 7
      sys/src/9/pc/ether8169.c
  44. 6 6
      sys/src/9/pc/ether82543gc.c
  45. 10 10
      sys/src/9/pc/ether82557.c
  46. 2 0
      sys/src/9/pc/ether83815.c
  47. 3 3
      sys/src/9/pc/ether8390.c
  48. 5 5
      sys/src/9/pc/etherdp83820.c
  49. 4 4
      sys/src/9/pc/etherelnk3.c
  50. 6 6
      sys/src/9/pc/etherga620.c
  51. 10 8
      sys/src/9/pc/etherigbe.c
  52. 1 1
      sys/src/9/pc/ethervt6102.c
  53. 6 5
      sys/src/9/pc/etherwavelan.c
  54. 24 10
      sys/src/9/pc/fns.h
  55. 15 0
      sys/src/9/pc/i8259.c
  56. 269 21
      sys/src/9/pc/l.s
  57. 42 17
      sys/src/9/pc/main.c
  58. 36 25
      sys/src/9/pc/mem.h
  59. 364 88
      sys/src/9/pc/memory.c
  60. 38 17
      sys/src/9/pc/mkfile
  61. 656 282
      sys/src/9/pc/mmu.c
  62. 10 5
      sys/src/9/pc/mp.c
  63. 2 0
      sys/src/9/pc/mp.h
  64. 2 0
      sys/src/9/pc/pc
  65. 4 1
      sys/src/9/pc/pcauth
  66. 1 0
      sys/src/9/pc/pccd
  67. 2 0
      sys/src/9/pc/pccpu
  68. 2 0
      sys/src/9/pc/pccpuf
  69. 2 0
      sys/src/9/pc/pcdisk
  70. 2 0
      sys/src/9/pc/pcf
  71. 2 0
      sys/src/9/pc/pcflop
  72. 19 0
      sys/src/9/pc/pci.c
  73. 132 0
      sys/src/9/pc/realmode.c
  74. 0 7
      sys/src/9/pc/reboot.h
  75. 339 28
      sys/src/9/pc/screen.c
  76. 25 7
      sys/src/9/pc/screen.h
  77. 190 68
      sys/src/9/pc/sd53c8xx.c
  78. 0 773
      sys/src/9/pc/sd53c8xx.i
  79. 36 25
      sys/src/9/pc/sd53c8xx.n
  80. 103 91
      sys/src/9/pc/sdata.c
  81. 1346 0
      sys/src/9/pc/sdmv50xx.c
  82. 1 7
      sys/src/9/pc/sdmylex.c
  83. 0 20
      sys/src/9/pc/sdscsi.c
  84. 39 10
      sys/src/9/pc/trap.c
  85. 12 3
      sys/src/9/pc/vga.c
  86. 23 80
      sys/src/9/pc/vga3dfx.c
  87. 2 1
      sys/src/9/pc/vgaark2000pv.c
  88. 1 0
      sys/src/9/pc/vgabt485.c
  89. 4 30
      sys/src/9/pc/vgaclgd542x.c
  90. 29 87
      sys/src/9/pc/vgaclgd546x.c
  91. 2 1
      sys/src/9/pc/vgact65545.c
  92. 17 39
      sys/src/9/pc/vgacyber938x.c
  93. 2 1
      sys/src/9/pc/vgaet4000.c
  94. 15 61
      sys/src/9/pc/vgahiqvideo.c
  95. 38 88
      sys/src/9/pc/vgai81x.c
  96. 13 53
      sys/src/9/pc/vgamach64xx.c
  97. 22 73
      sys/src/9/pc/vgamga2164w.c
  98. 41 93
      sys/src/9/pc/vgamga4xx.c
  99. 27 84
      sys/src/9/pc/vganeomagic.c
  100. 29 74
      sys/src/9/pc/vganvidia.c

File diff suppressed because it is too large
+ 248 - 247
dist/replica/_plan9.db


+ 247 - 246
dist/replica/plan9.db

@@ -1,25 +1,25 @@
 386 - 20000000775 sys sys 1010957353 0
-386/9load - 775 sys sys 1112757508 215872
-386/9loaddebug - 775 sys sys 1126926546 310558
-386/9loadlite - 775 sys sys 1112757508 135244
-386/9loadlitedebug - 775 sys sys 1126926546 198805
-386/9pc - 775 sys sys 1130961222 1855993
-386/9pc.gz - 664 sys sys 1126005796 645747
-386/9pccpu - 775 sys sys 1130961225 1519780
-386/9pccpu.gz - 664 sys sys 1126005799 530959
-386/9pcdisk - 775 sys sys 1130961229 2047043
-386/9pcdisk.gz - 664 sys sys 1126005804 736406
-386/9pcf - 775 sys sys 1130961234 2390000
-386/9pcf.gz - 664 sys sys 1126005809 888685
-386/9pxeload - 775 sys sys 1112757508 215872
+386/9load - 775 sys sys 1131317303 216948
+386/9loaddebug - 775 sys sys 1131317308 311884
+386/9loadlite - 775 sys sys 1131317306 135668
+386/9loadlitedebug - 775 sys sys 1131317312 200131
+386/9pc - 775 sys sys 1131327135 1881573
+386/9pc.gz - 664 sys sys 1131327137 658788
+386/9pccpu - 775 sys sys 1131327140 1555849
+386/9pccpu.gz - 664 sys sys 1131327141 552578
+386/9pcdisk - 775 sys sys 1131327146 2072564
+386/9pcdisk.gz - 664 sys sys 1131327148 746868
+386/9pcf - 775 sys sys 1131327153 2415653
+386/9pcf.gz - 664 sys sys 1131327156 900998
+386/9pxeload - 775 sys sys 1131317321 216948
 386/_9pcdisk.gz - 664 sys sys 1039764191 695837
 386/bin - 20000000775 sys sys 1018897690 0
 386/bin/8a - 775 sys sys 1130594690 116001
-386/bin/8c - 775 sys sys 1131163700 358353
+386/bin/8c - 775 sys sys 1131296671 358395
 386/bin/8l - 775 sys sys 1130384229 115712
 386/bin/9660srv - 775 sys sys 1130594690 104069
 386/bin/aan - 775 sys sys 1130594690 130742
-386/bin/acid - 775 sys sys 1130594691 390519
+386/bin/acid - 775 sys sys 1131296672 400034
 386/bin/acme - 775 sys sys 1131109821 428636
 386/bin/ape - 20000000775 sys sys 1016944144 0
 386/bin/ape/basename - 775 sys sys 1127360557 132862
@@ -38,7 +38,7 @@
 386/bin/ape/tar - 775 sys sys 1130594693 61935
 386/bin/ape/uname - 775 sys sys 1127360563 132691
 386/bin/aquarela - 775 sys sys 1064598027 319170
-386/bin/ar - 775 sys sys 1130594693 110870
+386/bin/ar - 775 sys sys 1131296672 111983
 386/bin/archfs - 775 sys sys 1130731906 141206
 386/bin/ascii - 775 sys sys 1130594693 64691
 386/bin/astro - 775 sys sys 1130384233 138837
@@ -53,7 +53,7 @@
 386/bin/auth/debug - 775 sys sys 1130594696 101087
 386/bin/auth/disable - 775 sys sys 1020319057 146
 386/bin/auth/enable - 775 sys sys 1020319057 134
-386/bin/auth/factotum - 775 sys sys 1130731907 312978
+386/bin/auth/factotum - 775 sys sys 1131296673 313125
 386/bin/auth/fgui - 775 sys sys 1131109822 217996
 386/bin/auth/guard.srv - 775 sys sys 1130594697 142873
 386/bin/auth/iam - 775 sys sys 1085076981 50791
@@ -117,18 +117,18 @@
 386/bin/aux/mklatinkbd - 775 sys sys 1130594709 64202
 386/bin/aux/mnihongo - 775 sys sys 1131109822 139403
 386/bin/aux/mouse - 775 sys sys 1130384253 44044
-386/bin/aux/ms2 - 775 sys sys 1130594710 85700
+386/bin/aux/ms2 - 775 sys sys 1131296673 87464
 386/bin/aux/msexceltables - 775 sys sys 1130594710 81256
 386/bin/aux/mswordstrings - 775 sys sys 1130594710 65340
 386/bin/aux/na - 775 sys sys 1130594710 154218
 386/bin/aux/nfsmount - 775 sys sys 1130594711 234124
-386/bin/aux/nfsserver - 775 sys sys 1130594711 185436
+386/bin/aux/nfsserver - 775 sys sys 1131296673 185439
 386/bin/aux/olefs - 775 sys sys 1130731910 143686
 386/bin/aux/p9bitpost - 775 sys sys 1104121982 127974
 386/bin/aux/pcmcia - 775 sys sys 1130384255 46923
-386/bin/aux/pcnfsd - 775 sys sys 1130594712 129362
+386/bin/aux/pcnfsd - 775 sys sys 1131296674 129365
 386/bin/aux/portmap - 775 sys sys 1130594713 143642
-386/bin/aux/portmapper - 775 sys sys 1130594713 128248
+386/bin/aux/portmapper - 775 sys sys 1131296674 128251
 386/bin/aux/postgif - 775 sys sys 1087442507 175380
 386/bin/aux/postprint - 775 sys sys 1087442507 160041
 386/bin/aux/postreverse - 775 sys sys 1087442508 164726
@@ -188,7 +188,7 @@
 386/bin/cpu - 775 sys sys 1130594724 139130
 386/bin/crop - 775 sys sys 1130594724 116040
 386/bin/date - 775 sys sys 1130384272 43279
-386/bin/db - 775 sys sys 1130594725 336349
+386/bin/db - 775 sys sys 1131302428 345503
 386/bin/dc - 775 sys sys 1130594725 99051
 386/bin/dd - 775 sys sys 1130384273 45416
 386/bin/deroff - 775 sys sys 1130594726 74267
@@ -225,7 +225,7 @@
 386/bin/faces - 775 sys sys 1131109826 193479
 386/bin/factor - 775 sys sys 1130594733 61498
 386/bin/fcp - 775 sys sys 1131163702 82218
-386/bin/file - 775 sys sys 1130594733 119129
+386/bin/file - 775 sys sys 1131296674 121021
 386/bin/fmt - 775 sys sys 1130594733 65324
 386/bin/fortune - 775 sys sys 1130594734 67159
 386/bin/fossil - 20000000775 sys sys 1042005470 0
@@ -313,8 +313,8 @@
 386/bin/join - 775 sys sys 1130594758 114123
 386/bin/jpg - 775 sys sys 1130594758 174551
 386/bin/kbmap - 775 sys sys 1131109830 143398
-386/bin/kprof - 775 sys sys 1130594758 102550
-386/bin/ktrace - 775 sys sys 1130594759 116639
+386/bin/kprof - 775 sys sys 1131296675 105507
+386/bin/ktrace - 775 sys sys 1131296675 121949
 386/bin/lens - 775 sys sys 1131109830 150495
 386/bin/lex - 775 sys sys 1130594760 98687
 386/bin/lnfs - 775 sys sys 1130594760 99472
@@ -322,7 +322,7 @@
 386/bin/ls - 775 sys sys 1130594760 82503
 386/bin/mc - 775 sys sys 1130594760 133643
 386/bin/md5sum - 775 sys sys 1130594761 61297
-386/bin/mk - 775 sys sys 1130594761 144071
+386/bin/mk - 775 sys sys 1131302428 144690
 386/bin/mkdir - 775 sys sys 1130594761 60996
 386/bin/mkpaqfs - 775 sys sys 1130594762 94532
 386/bin/mntgen - 775 sys sys 1130731913 139629
@@ -346,7 +346,7 @@
 386/bin/netstat - 775 sys sys 1130594767 84696
 386/bin/news - 775 sys sys 1130594767 71692
 386/bin/nfs - 775 sys sys 1130731913 315832
-386/bin/nm - 775 sys sys 1130594769 121826
+386/bin/nm - 775 sys sys 1131296675 125784
 386/bin/nntpfs - 775 sys sys 1130731914 161341
 386/bin/ns - 775 sys sys 1130594769 65283
 386/bin/p - 775 sys sys 1130594769 65013
@@ -364,7 +364,7 @@
 386/bin/ppm - 775 sys sys 1130594773 149370
 386/bin/pr - 775 sys sys 1130594773 77431
 386/bin/primes - 775 sys sys 1130384322 38811
-386/bin/prof - 775 sys sys 1130594773 107968
+386/bin/prof - 775 sys sys 1131296676 110924
 386/bin/proof - 775 sys sys 1131109832 178492
 386/bin/ps - 775 sys sys 1130594774 68017
 386/bin/pwd - 775 sys sys 1130384323 36915
@@ -393,10 +393,10 @@
 386/bin/sed - 775 sys sys 1130594781 89546
 386/bin/seq - 775 sys sys 1130384331 38414
 386/bin/sha1sum - 775 sys sys 1130594782 61165
-386/bin/size - 775 sys sys 1130594782 77006
+386/bin/size - 775 sys sys 1131296676 78794
 386/bin/sleep - 775 sys sys 1085077097 3413
-386/bin/snap - 775 sys sys 1130594783 303743
-386/bin/snapfs - 775 sys sys 1130731915 373001
+386/bin/snap - 775 sys sys 1131302429 310917
+386/bin/snapfs - 775 sys sys 1131302430 380175
 386/bin/sniffer - 775 sys sys 1038443185 99028
 386/bin/snoopy - 775 sys sys 1130594784 168241
 386/bin/sort - 775 sys sys 1130594784 82308
@@ -409,13 +409,13 @@
 386/bin/sshnet - 775 sys sys 1130731916 283308
 386/bin/stats - 775 sys sys 1131109834 190360
 386/bin/strings - 775 sys sys 1130594787 62147
-386/bin/strip - 775 sys sys 1130594787 62013
+386/bin/strip - 775 sys sys 1131296676 80766
 386/bin/sum - 775 sys sys 1130384338 39488
 386/bin/swap - 775 sys sys 1130594787 62126
 386/bin/syscall - 775 sys sys 1130594788 73568
 386/bin/tail - 775 sys sys 1130594788 66201
 386/bin/tar - 775 sys sys 1130594788 97067
-386/bin/tbl - 775 sys sys 1130594788 113269
+386/bin/tbl - 775 sys sys 1131302431 113308
 386/bin/tcs - 775 sys sys 1130384340 256598
 386/bin/tee - 775 sys sys 1130384340 38446
 386/bin/telco - 775 sys sys 1130594788 103347
@@ -429,7 +429,7 @@
 386/bin/topng - 775 sys sys 1130594792 138351
 386/bin/toppm - 775 sys sys 1130594792 165173
 386/bin/touch - 775 sys sys 1130594792 63795
-386/bin/tprof - 775 sys sys 1130594793 290212
+386/bin/tprof - 775 sys sys 1131296677 297344
 386/bin/tr - 775 sys sys 1130594793 61883
 386/bin/trace - 775 sys sys 1131109834 180855
 386/bin/troff - 775 sys sys 1127360609 357940
@@ -521,8 +521,8 @@
 386/include/ape/ureg.h - 664 sys sys 944946041 812
 386/include/u.h - 664 sys sys 1115924095 1481
 386/include/ureg.h - 664 sys sys 944946012 523
-386/init - 775 sys sys 1130594818 101212
-386/ld.com - 775 sys sys 1109598589 72076
+386/init - 775 sys sys 1131317332 101212
+386/ld.com - 775 sys sys 1131317344 72524
 386/lib - 20000000775 sys sys 1016826328 0
 386/lib/ape - 20000000775 sys sys 944969312 0
 386/lib/ape/lib9.a - 664 sys sys 1038237538 6378
@@ -553,7 +553,7 @@
 386/lib/libhttpd.a - 664 sys sys 1127790504 99596
 386/lib/libip.a - 664 sys sys 1116126324 35602
 386/lib/libl.a - 664 sys sys 1115950154 5384
-386/lib/libmach.a - 664 sys sys 1120619355 755696
+386/lib/libmach.a - 664 sys sys 1131296679 782950
 386/lib/libmemdraw.a - 664 sys sys 1120792317 284130
 386/lib/libmemlayer.a - 664 sys sys 1115950157 47360
 386/lib/libmp.a - 664 sys sys 1127360619 79944
@@ -566,10 +566,10 @@
 386/lib/libsunrpc.a - 664 sys sys 1115950160 355994
 386/lib/libthread.a - 664 sys sys 1127405452 72374
 386/lib/libventi.a - 664 sys sys 1124766772 97708
-386/mbr - 775 sys sys 1022125974 407
+386/mbr - 775 sys sys 1131317338 407
 386/mkfile - 664 sys sys 948141303 46
-386/pbs - 775 sys sys 1022125973 494
-386/pbslba - 775 sys sys 1022125974 507
+386/pbs - 775 sys sys 1131317339 494
+386/pbslba - 775 sys sys 1131317342 507
 68000 - 20000000775 sys sys 947991045 0
 68000/bin - 20000000775 sys sys 985559408 0
 68000/bin/bitsy - 20000000775 sys sys 985559408 0
@@ -5943,7 +5943,7 @@ sys/games/sudoku - 20000000775 sys sys 1117225532 0
 sys/include - 20000000775 sys sys 1016902416 0
 sys/include/9p.h - 664 sys sys 1130649668 4420
 sys/include/String.h - 664 sys sys 1091904425 1319
-sys/include/a.out.h - 664 sys sys 1114218489 1291
+sys/include/a.out.h - 664 sys sys 1131293220 1407
 sys/include/ape - 20000000775 sys sys 1014927784 0
 sys/include/ape/Plan9libnet.h - 664 sys sys 944948760 487
 sys/include/ape/ar.h - 664 sys sys 944948759 354
@@ -6030,7 +6030,7 @@ sys/include/ip.h - 664 sys sys 1103554773 2989
 sys/include/keyboard.h - 664 sys sys 1079577798 815
 sys/include/libc.h - 664 sys sys 1115925565 19623
 sys/include/libsec.h - 664 sys sys 1124709121 9345
-sys/include/mach.h - 664 sys sys 1119476886 8368
+sys/include/mach.h - 664 sys sys 1131289126 8586
 sys/include/memdraw.h - 664 sys sys 1091904419 5645
 sys/include/memlayer.h - 664 sys sys 1051031022 1851
 sys/include/mouse.h - 664 sys sys 1035232010 1003
@@ -6059,7 +6059,7 @@ sys/lib/acid/alpha - 664 sys sys 944955985 4849
 sys/lib/acid/arm - 664 sys sys 984696197 1842
 sys/lib/acid/coverage - 664 sys sys 944955985 1746
 sys/lib/acid/kernel - 664 sys sys 1126699644 6303
-sys/lib/acid/leak - 664 sys sys 1110989276 2185
+sys/lib/acid/leak - 664 sys sys 1131289472 2363
 sys/lib/acid/mips - 664 sys sys 944955985 5472
 sys/lib/acid/network - 664 sys sys 1020313817 2499
 sys/lib/acid/pool - 664 sys sys 1063858105 4898
@@ -7355,7 +7355,7 @@ sys/man/1/src - 664 sys sys 954266293 1138
 sys/man/1/ssh - 664 sys sys 1048643947 6622
 sys/man/1/stop - 664 sys sys 944959673 658
 sys/man/1/strings - 664 sys sys 944959675 774
-sys/man/1/strip - 664 sys sys 958580250 448
+sys/man/1/strip - 664 sys sys 1131293239 523
 sys/man/1/sum - 664 sys sys 984772442 1390
 sys/man/1/syscall - 664 sys sys 1016466457 1439
 sys/man/1/tail - 664 sys sys 1113743327 1413
@@ -7567,7 +7567,7 @@ sys/man/3/ssl - 664 sys sys 1018386776 3413
 sys/man/3/tls - 664 sys sys 1045501496 7018
 sys/man/3/uart - 664 sys sys 1102093395 1710
 sys/man/3/usb - 664 sys sys 1126971427 6960
-sys/man/3/vga - 664 sys sys 1020356225 4827
+sys/man/3/vga - 664 sys sys 1131301005 4957
 sys/man/4 - 20000000775 sys sys 1018581459 0
 sys/man/4/0intro - 664 sys sys 944959699 472
 sys/man/4/INDEX - 664 sys sys 1104811679 985
@@ -7581,7 +7581,7 @@ sys/man/4/dossrv - 664 sys sys 1015024813 4176
 sys/man/4/execnet - 664 sys sys 1019866708 1069
 sys/man/4/exportfs - 664 sys sys 1115314261 4653
 sys/man/4/ext2srv - 664 sys sys 1055692986 2409
-sys/man/4/factotum - 664 sys sys 1128483118 14709
+sys/man/4/factotum - 664 sys sys 1131294573 14841
 sys/man/4/fossil - 664 sys sys 1112368411 9546
 sys/man/4/fs - 664 sys sys 1019058716 3387
 sys/man/4/ftpfs - 664 sys sys 1112563349 4410
@@ -7708,7 +7708,7 @@ sys/man/8/nfsserver - 664 sys sys 1128483119 3397
 sys/man/8/pcmcia - 664 sys sys 944959679 408
 sys/man/8/pem - 664 sys sys 1060263669 1189
 sys/man/8/ping - 664 sys sys 1084473185 3436
-sys/man/8/plan9.ini - 664 sys sys 1117814755 21579
+sys/man/8/plan9.ini - 664 sys sys 1131294569 22077
 sys/man/8/pop3 - 664 sys sys 1063854676 2720
 sys/man/8/ppp - 664 sys sys 1125530075 4414
 sys/man/8/prep - 664 sys sys 1079705872 13820
@@ -7724,7 +7724,7 @@ sys/man/8/send - 664 sys sys 1045501634 2168
 sys/man/8/smtp - 664 sys sys 1091126310 4724
 sys/man/8/snoopy - 664 sys sys 1128179510 4054
 sys/man/8/stats - 664 sys sys 1067722908 4291
-sys/man/8/statusbar - 664 sys sys 1131209276 1199
+sys/man/8/statusbar - 664 sys sys 1131317865 1251
 sys/man/8/stub - 664 sys sys 1044830500 943
 sys/man/8/swap - 664 sys sys 944959679 880
 sys/man/8/timesync - 664 sys sys 1107606876 1717
@@ -7734,7 +7734,7 @@ sys/man/8/udpecho - 664 sys sys 954305553 303
 sys/man/8/update - 664 sys sys 961259288 2336
 sys/man/8/venti - 664 sys sys 1069101926 5422
 sys/man/8/ventiaux - 664 sys sys 1063855987 10487
-sys/man/8/vga - 664 sys sys 1114454069 3936
+sys/man/8/vga - 664 sys sys 1131301001 3864
 sys/man/fonts - 664 sys sys 944959700 218
 sys/man/index.html - 664 sys sys 1019918444 1859
 sys/man/mkfile - 664 sys sys 1018974173 2264
@@ -7748,7 +7748,7 @@ sys/man/vol1.ps.gz - 664 sys sys 1020374752 2174519
 sys/src - 20000000775 sys sys 1016902537 0
 sys/src/9 - 20000000775 sys sys 1017795023 0
 sys/src/9/alphapc - 20000000775 sys sys 1018721238 0
-sys/src/9/alphapc/apc - 664 sys sys 1084331942 629
+sys/src/9/alphapc/apc - 664 sys sys 1131289706 630
 sys/src/9/alphapc/apccpu - 664 sys sys 1084331942 531
 sys/src/9/alphapc/arch164.c - 664 sys sys 1015012783 6100
 sys/src/9/alphapc/audio.h - 664 sys sys 1015012783 349
@@ -7756,30 +7756,30 @@ sys/src/9/alphapc/axp.h - 664 sys sys 1015012783 1090
 sys/src/9/alphapc/cga.c - 664 sys sys 1015012783 1814
 sys/src/9/alphapc/clock.c - 664 sys sys 1032052963 1472
 sys/src/9/alphapc/cycintr.c - 664 sys sys 1018721238 230
-sys/src/9/alphapc/dat.h - 664 sys sys 1127215703 5238
+sys/src/9/alphapc/dat.h - 664 sys sys 1131289707 5196
 sys/src/9/alphapc/devarch.c - 664 sys sys 1039753422 9760
-sys/src/9/alphapc/devvga.c - 664 sys sys 1015012784 7513
+sys/src/9/alphapc/devvga.c - 664 sys sys 1131289707 7420
 sys/src/9/alphapc/dma.c - 664 sys sys 1015012784 6112
 sys/src/9/alphapc/etherif.h - 664 sys sys 1045063621 1025
 sys/src/9/alphapc/faultalpha.c - 664 sys sys 1015012784 1257
 sys/src/9/alphapc/fdc37c93x.c - 664 sys sys 1015012785 1110
 sys/src/9/alphapc/floppy.h - 664 sys sys 1015012785 3783
-sys/src/9/alphapc/fns.h - 664 sys sys 1111851541 3572
+sys/src/9/alphapc/fns.h - 664 sys sys 1131289707 3613
 sys/src/9/alphapc/fptrap.c - 664 sys sys 1015012785 707
 sys/src/9/alphapc/i8259.c - 664 sys sys 1015012785 3409
 sys/src/9/alphapc/initcode - 664 sys sys 1039753419 779
 sys/src/9/alphapc/io.h - 664 sys sys 1087657423 4540
 sys/src/9/alphapc/kbd.c - 664 sys sys 1015012785 8676
 sys/src/9/alphapc/l.s - 664 sys sys 1067722580 9124
-sys/src/9/alphapc/main.c - 664 sys sys 1126586256 13624
+sys/src/9/alphapc/main.c - 664 sys sys 1131289707 13672
 sys/src/9/alphapc/mem.h - 664 sys sys 1077408326 3131
 sys/src/9/alphapc/memmove.s - 664 sys sys 1015012786 2936
 sys/src/9/alphapc/memset.s - 664 sys sys 1015012786 844
 sys/src/9/alphapc/mkfile - 664 sys sys 1109218102 1682
-sys/src/9/alphapc/mmu.c - 664 sys sys 1123438209 4905
+sys/src/9/alphapc/mmu.c - 664 sys sys 1131289708 4945
 sys/src/9/alphapc/pci.c - 664 sys sys 1039753420 7868
-sys/src/9/alphapc/screen.h - 664 sys sys 1060267151 3584
-sys/src/9/alphapc/sd53c8xx.c - 664 sys sys 1015012787 51009
+sys/src/9/alphapc/screen.h - 664 sys sys 1131289708 3818
+sys/src/9/alphapc/sd53c8xx.c - 664 sys sys 1131289709 50963
 sys/src/9/alphapc/sio.c - 664 sys sys 1015012787 293
 sys/src/9/alphapc/trap.c - 664 sys sys 1105030177 18099
 sys/src/9/bitsy - 20000000775 sys sys 1018721429 0
@@ -7787,12 +7787,12 @@ sys/src/9/bitsy/Booting101 - 664 sys sys 1054798506 8841
 sys/src/9/bitsy/bitsy - 664 sys sys 1067722592 424
 sys/src/9/bitsy/bitsyreset.s - 664 sys sys 1017695510 2352
 sys/src/9/bitsy/clock.c - 664 sys sys 1037028998 4835
-sys/src/9/bitsy/dat.h - 664 sys sys 1099805278 5857
+sys/src/9/bitsy/dat.h - 664 sys sys 1131289775 5829
 sys/src/9/bitsy/defont.c - 664 sys sys 1017695511 21570
 sys/src/9/bitsy/devether.c - 664 sys sys 1116097769 10675
 sys/src/9/bitsy/devflash.c - 664 sys sys 1018386999 16832
 sys/src/9/bitsy/devpcmcia.c - 664 sys sys 1099801570 12977
-sys/src/9/bitsy/devpenmouse.c - 664 sys sys 1067722592 9296
+sys/src/9/bitsy/devpenmouse.c - 664 sys sys 1131289775 9589
 sys/src/9/bitsy/devuda1341.c - 664 sys sys 1071245420 30346
 sys/src/9/bitsy/devµc.c - 664 sys sys 1068393562 8125
 sys/src/9/bitsy/etherif.h - 664 sys sys 1045501788 913
@@ -7807,10 +7807,10 @@ sys/src/9/bitsy/gamma.h - 664 sys sys 1017695514 540718
 sys/src/9/bitsy/init9.s - 664 sys sys 1043922398 183
 sys/src/9/bitsy/io.h - 664 sys sys 1064584624 8040
 sys/src/9/bitsy/l.s - 664 sys sys 1055700934 18211
-sys/src/9/bitsy/main.c - 664 sys sys 1126586256 9081
+sys/src/9/bitsy/main.c - 664 sys sys 1131289775 8816
 sys/src/9/bitsy/map - 664 sys sys 1017695515 236
 sys/src/9/bitsy/mem.h - 664 sys sys 1055700932 8049
-sys/src/9/bitsy/mkfile - 664 sys sys 1072705544 2452
+sys/src/9/bitsy/mkfile - 664 sys sys 1131289775 2459
 sys/src/9/bitsy/mmu.c - 664 sys sys 1123438209 11261
 sys/src/9/bitsy/mouse.c - 664 sys sys 1017695516 962
 sys/src/9/bitsy/paqfiles - 20000000775 sys sys 1020011250 0
@@ -7827,7 +7827,7 @@ sys/src/9/bitsy/sa1110dma.h - 664 sys sys 1017695520 381
 sys/src/9/bitsy/screen.c - 664 sys sys 1053340962 10145
 sys/src/9/bitsy/screen.h - 664 sys sys 1017695520 260
 sys/src/9/bitsy/sd.h - 664 sys sys 1037029038 0
-sys/src/9/bitsy/sdata.c - 664 sys sys 1055700868 44660
+sys/src/9/bitsy/sdata.c - 664 sys sys 1131289776 44404
 sys/src/9/bitsy/tar.c - 664 sys sys 1017695521 1375
 sys/src/9/bitsy/trap.c - 664 sys sys 1105030166 19484
 sys/src/9/bitsy/uartsa1110.c - 664 sys sys 1037029045 8530
@@ -7837,7 +7837,7 @@ sys/src/9/boot - 20000000775 sys sys 1018556557 0
 sys/src/9/boot/aux.c - 664 sys sys 1063857702 2579
 sys/src/9/boot/boot.c - 664 sys sys 1130982159 6067
 sys/src/9/boot/boot.h - 664 sys sys 1063857659 1785
-sys/src/9/boot/bootauth.c - 664 sys sys 1039763726 1097
+sys/src/9/boot/bootauth.c - 664 sys sys 1131289783 1160
 sys/src/9/boot/bootcache.c - 664 sys sys 1063857645 1579
 sys/src/9/boot/bootip.c - 664 sys sys 1072972133 3418
 sys/src/9/boot/bootmkfile - 664 sys sys 1091732792 404
@@ -7887,7 +7887,7 @@ sys/src/9/mkfile - 664 sys sys 1063857477 205
 sys/src/9/mtx - 20000000775 sys sys 1018721288 0
 sys/src/9/mtx/clock.c - 664 sys sys 1032053278 1293
 sys/src/9/mtx/cycintr.c - 664 sys sys 1018721285 230
-sys/src/9/mtx/dat.h - 664 sys sys 1127215703 3897
+sys/src/9/mtx/dat.h - 664 sys sys 1131289814 3843
 sys/src/9/mtx/devarch.c - 664 sys sys 1018721285 6793
 sys/src/9/mtx/devether.c - 664 sys sys 1116097786 9281
 sys/src/9/mtx/devrtc.c - 664 sys sys 1018721285 6772
@@ -7900,7 +7900,7 @@ sys/src/9/mtx/initcode - 664 sys sys 1039753442 444
 sys/src/9/mtx/io.h - 664 sys sys 1087657404 4817
 sys/src/9/mtx/kbd.c - 664 sys sys 1018721286 8358
 sys/src/9/mtx/l.s - 664 sys sys 1067722599 10730
-sys/src/9/mtx/main.c - 664 sys sys 1126586256 8342
+sys/src/9/mtx/main.c - 664 sys sys 1131289814 8307
 sys/src/9/mtx/mem.h - 664 sys sys 1026848200 5959
 sys/src/9/mtx/mkfile - 664 sys sys 1072972534 1520
 sys/src/9/mtx/mmu.c - 664 sys sys 1123438210 4421
@@ -7913,83 +7913,83 @@ sys/src/9/mtx/trap.c - 664 sys sys 1105030157 15882
 sys/src/9/mtx/uarti8250.c - 664 sys sys 1018721288 11590
 sys/src/9/pc - 20000000775 sys sys 1018721225 0
 sys/src/9/pc/apbootstrap.h - 664 sys sys 1018553448 928
-sys/src/9/pc/apbootstrap.s - 664 sys sys 1015014512 3037
-sys/src/9/pc/apic.c - 664 sys sys 1084475126 8643
-sys/src/9/pc/apm.c - 664 sys sys 1015014513 3697
+sys/src/9/pc/apbootstrap.s - 664 sys sys 1131293655 3037
+sys/src/9/pc/apic.c - 664 sys sys 1131290206 8748
+sys/src/9/pc/apm.c - 664 sys sys 1131290210 3723
 sys/src/9/pc/apmjump.s - 664 sys sys 1032058947 1527
-sys/src/9/pc/archmp.c - 664 sys sys 1084475127 2311
+sys/src/9/pc/archmp.c - 664 sys sys 1131290214 2357
 sys/src/9/pc/audio.h - 664 sys sys 1015014513 343
 sys/src/9/pc/cga.c - 664 sys sys 1015014513 1843
-sys/src/9/pc/dat.h - 664 sys sys 1091904418 6281
-sys/src/9/pc/devarch.c - 664 sys sys 1115566123 18554
-sys/src/9/pc/devether.c - 664 sys sys 1116173410 10327
+sys/src/9/pc/dat.h - 664 sys sys 1131290217 6462
+sys/src/9/pc/devarch.c - 664 sys sys 1131290259 18594
+sys/src/9/pc/devether.c - 664 sys sys 1131290265 10315
 sys/src/9/pc/devfloppy.c - 664 sys sys 1055689885 20024
 sys/src/9/pc/devi82365.c - 664 sys sys 1099761153 20505
 sys/src/9/pc/devlm78.c - 664 sys sys 1128255048 6291
-sys/src/9/pc/devlml.c - 664 sys sys 1026847636 7486
+sys/src/9/pc/devlml.c - 664 sys sys 1131290276 7505
 sys/src/9/pc/devlml.h - 664 sys sys 1026847636 2948
 sys/src/9/pc/devlpt.c - 664 sys sys 1015014514 4420
-sys/src/9/pc/devpccard.c - 664 sys sys 1107531947 40194
+sys/src/9/pc/devpccard.c - 664 sys sys 1131290281 40203
 sys/src/9/pc/devrtc.c - 664 sys sys 1015014515 7167
-sys/src/9/pc/devtv.c - 664 sys sys 1091734484 45725
+sys/src/9/pc/devtv.c - 664 sys sys 1131290299 45676
 sys/src/9/pc/devusb.c - 664 sys sys 1105193103 18364
-sys/src/9/pc/devvga.c - 664 sys sys 1063857412 8714
-sys/src/9/pc/dma.c - 664 sys sys 1015014515 4736
+sys/src/9/pc/devvga.c - 664 sys sys 1131290315 9332
+sys/src/9/pc/dma.c - 664 sys sys 1131290319 4715
 sys/src/9/pc/ether2000.c - 664 sys sys 1089299187 4819
 sys/src/9/pc/ether2114x.c - 664 sys sys 1081706476 41545
 sys/src/9/pc/ether589.c - 664 sys sys 1015014516 4644
-sys/src/9/pc/ether79c970.c - 664 sys sys 1071245466 14094
+sys/src/9/pc/ether79c970.c - 664 sys sys 1131290338 13953
 sys/src/9/pc/ether8003.c - 664 sys sys 1015014516 6665
-sys/src/9/pc/ether8139.c - 664 sys sys 1121393473 18385
-sys/src/9/pc/ether8169.c - 664 sys sys 1121391723 22704
-sys/src/9/pc/ether82543gc.c - 664 sys sys 1055689887 32296
-sys/src/9/pc/ether82557.c - 664 sys sys 1117550886 30121
-sys/src/9/pc/ether83815.c - 664 sys sys 1115744557 23481
-sys/src/9/pc/ether8390.c - 664 sys sys 1112382834 17701
+sys/src/9/pc/ether8139.c - 664 sys sys 1131290376 18400
+sys/src/9/pc/ether8169.c - 664 sys sys 1131290377 22723
+sys/src/9/pc/ether82543gc.c - 664 sys sys 1131290377 32294
+sys/src/9/pc/ether82557.c - 664 sys sys 1131290377 30107
+sys/src/9/pc/ether83815.c - 664 sys sys 1131287537 23542
+sys/src/9/pc/ether8390.c - 664 sys sys 1131290377 17702
 sys/src/9/pc/ether8390.h - 664 sys sys 1015014517 1511
-sys/src/9/pc/etherdp83820.c - 664 sys sys 1083469193 29134
+sys/src/9/pc/etherdp83820.c - 664 sys sys 1131290378 29128
 sys/src/9/pc/etherec2t.c - 664 sys sys 1086960044 4039
-sys/src/9/pc/etherelnk3.c - 664 sys sys 1081706477 48724
-sys/src/9/pc/etherga620.c - 664 sys sys 1074785126 28754
+sys/src/9/pc/etherelnk3.c - 664 sys sys 1131290378 48733
+sys/src/9/pc/etherga620.c - 664 sys sys 1131290379 28748
 sys/src/9/pc/etherga620fw.h - 664 sys sys 1026847642 222295
 sys/src/9/pc/etherif.h - 664 sys sys 1088178711 961
-sys/src/9/pc/etherigbe.c - 664 sys sys 1127393123 44412
+sys/src/9/pc/etherigbe.c - 664 sys sys 1131290379 44431
 sys/src/9/pc/ethermii.c - 664 sys sys 1084331434 4612
 sys/src/9/pc/ethermii.h - 664 sys sys 1086873891 3258
 sys/src/9/pc/etherrhine.c - 664 sys sys 1081706478 13799
 sys/src/9/pc/ethersink.c - 664 sys sys 1048644103 1076
 sys/src/9/pc/ethersmc.c - 664 sys sys 1071245461 15103
-sys/src/9/pc/ethervt6102.c - 664 sys sys 1109202304 22569
-sys/src/9/pc/etherwavelan.c - 664 sys sys 1107448246 3723
+sys/src/9/pc/ethervt6102.c - 664 sys sys 1131290379 22572
+sys/src/9/pc/etherwavelan.c - 664 sys sys 1131290380 3747
 sys/src/9/pc/floppy.h - 664 sys sys 1055700609 3835
-sys/src/9/pc/fns.h - 664 sys sys 1111851554 4198
+sys/src/9/pc/fns.h - 664 sys sys 1131290383 4461
 sys/src/9/pc/hcwAMC.h - 664 sys sys 1026860163 166004
 sys/src/9/pc/i8253.c - 664 sys sys 1096379063 6279
-sys/src/9/pc/i8259.c - 664 sys sys 1015014519 4423
+sys/src/9/pc/i8259.c - 664 sys sys 1131290399 4586
 sys/src/9/pc/init9.c - 664 sys sys 1040002518 94
 sys/src/9/pc/initcode.s - 664 sys sys 1015014519 282
 sys/src/9/pc/io.h - 664 sys sys 1099761152 8095
 sys/src/9/pc/kbd.c - 664 sys sys 1130848300 12362
-sys/src/9/pc/l.s - 664 sys sys 1115566067 23833
-sys/src/9/pc/main.c - 664 sys sys 1126586232 14691
-sys/src/9/pc/mem.h - 664 sys sys 1018553448 4573
-sys/src/9/pc/memory.c - 664 sys sys 1071245460 13028
-sys/src/9/pc/mkfile - 664 sys sys 1067810339 3219
-sys/src/9/pc/mmu.c - 664 sys sys 1125564128 10489
+sys/src/9/pc/l.s - 664 sys sys 1131290403 28347
+sys/src/9/pc/main.c - 664 sys sys 1131290418 15224
+sys/src/9/pc/mem.h - 664 sys sys 1131290422 5209
+sys/src/9/pc/memory.c - 664 sys sys 1131290429 18222
+sys/src/9/pc/mkfile - 664 sys sys 1131294850 3580
+sys/src/9/pc/mmu.c - 664 sys sys 1131326224 19739
 sys/src/9/pc/mouse.c - 664 sys sys 1098479254 7057
-sys/src/9/pc/mp.c - 664 sys sys 1123637234 17024
-sys/src/9/pc/mp.h - 664 sys sys 1015014520 6575
+sys/src/9/pc/mp.c - 664 sys sys 1131326235 17157
+sys/src/9/pc/mp.h - 664 sys sys 1131290475 6638
 sys/src/9/pc/nv_dma.h - 664 sys sys 1081384508 12943
-sys/src/9/pc/pc - 664 sys sys 1127411319 1408
-sys/src/9/pc/pcauth - 664 sys sys 1073851852 657
-sys/src/9/pc/pccd - 664 sys sys 1091458811 1408
-sys/src/9/pc/pccpu - 664 sys sys 1127411311 835
-sys/src/9/pc/pccpuf - 664 sys sys 1127411330 1467
-sys/src/9/pc/pcdisk - 664 sys sys 1073851851 1427
-sys/src/9/pc/pcf - 664 sys sys 1104430623 1485
+sys/src/9/pc/pc - 664 sys sys 1131290481 1427
+sys/src/9/pc/pcauth - 664 sys sys 1131290482 714
+sys/src/9/pc/pccd - 664 sys sys 1131290486 1418
+sys/src/9/pc/pccpu - 664 sys sys 1131290488 866
+sys/src/9/pc/pccpuf - 664 sys sys 1131299996 1486
+sys/src/9/pc/pcdisk - 664 sys sys 1131299995 1446
+sys/src/9/pc/pcf - 664 sys sys 1131299996 1504
 sys/src/9/pc/pcfl - 664 sys sys 1042004821 1563
-sys/src/9/pc/pcflop - 664 sys sys 1112361040 1454
-sys/src/9/pc/pci.c - 664 sys sys 1121260128 26418
+sys/src/9/pc/pcflop - 664 sys sys 1131299996 1473
+sys/src/9/pc/pci.c - 664 sys sys 1131290505 26817
 sys/src/9/pc/pcmciamodem.c - 664 sys sys 1099761153 1586
 sys/src/9/pc/pcmkfile - 664 sys sys 1109303822 101
 sys/src/9/pc/piix4smbus.c - 664 sys sys 1091129037 5230
@@ -7997,46 +7997,47 @@ sys/src/9/pc/plan9l.s - 664 sys sys 1015014521 910
 sys/src/9/pc/psaux.c - 664 sys sys 1026847650 915
 sys/src/9/pc/ptclbsum386.s - 664 sys sys 1015014521 1493
 sys/src/9/pc/random.c - 664 sys sys 1036812832 2021
-sys/src/9/pc/reboot.h - 664 sys sys 1015014522 334
+sys/src/9/pc/realmode.c - 664 sys sys 1131294602 2658
 sys/src/9/pc/rebootcode.s - 664 sys sys 1015014522 988
-sys/src/9/pc/screen.c - 664 sys sys 1039753497 7266
-sys/src/9/pc/screen.h - 664 sys sys 1060267144 3797
-sys/src/9/pc/sd53c8xx.c - 664 sys sys 1112461125 52220
-sys/src/9/pc/sd53c8xx.i - 664 sys sys 1045063730 27355
-sys/src/9/pc/sd53c8xx.n - 664 sys sys 1032059019 12455
-sys/src/9/pc/sdata.c - 664 sys sys 1127404875 51702
-sys/src/9/pc/sdmylex.c - 664 sys sys 1071245460 27812
-sys/src/9/pc/sdscsi.c - 664 sys sys 1077033661 7487
-sys/src/9/pc/trap.c - 664 sys sys 1123438642 20550
+sys/src/9/pc/screen.c - 664 sys sys 1131290512 13460
+sys/src/9/pc/screen.h - 664 sys sys 1131290516 4156
+sys/src/9/pc/sd53c8xx.c - 664 sys sys 1131290539 55206
+sys/src/9/pc/sd53c8xx.n - 664 sys sys 1131290556 12657
+sys/src/9/pc/sdata.c - 664 sys sys 1131290578 52168
+sys/src/9/pc/sdmv50xx.c - 664 sys sys 1131290638 25780
+sys/src/9/pc/sdmylex.c - 664 sys sys 1131290583 27737
+sys/src/9/pc/sdscsi.c - 664 sys sys 1131293342 7133
+sys/src/9/pc/trap.c - 664 sys sys 1131306249 21180
 sys/src/9/pc/uarti8250.c - 664 sys sys 1102820421 13958
 sys/src/9/pc/uartisa.c - 664 sys sys 1127126907 1777
 sys/src/9/pc/uartpci.c - 664 sys sys 1096379063 2891
 sys/src/9/pc/usb.h - 664 sys sys 1099760881 3650
 sys/src/9/pc/usbuhci.c - 664 sys sys 1099760881 30955
-sys/src/9/pc/vga.c - 664 sys sys 1039753497 4963
-sys/src/9/pc/vga3dfx.c - 664 sys sys 1071247360 4867
-sys/src/9/pc/vgaark2000pv.c - 664 sys sys 1015014524 3416
-sys/src/9/pc/vgabt485.c - 664 sys sys 1015014525 5041
-sys/src/9/pc/vgaclgd542x.c - 664 sys sys 1015014525 5068
-sys/src/9/pc/vgaclgd546x.c - 664 sys sys 1071245447 4770
-sys/src/9/pc/vgact65545.c - 664 sys sys 1015014525 2243
-sys/src/9/pc/vgacyber938x.c - 664 sys sys 1015014526 4192
-sys/src/9/pc/vgaet4000.c - 664 sys sys 1015014526 5105
-sys/src/9/pc/vgahiqvideo.c - 664 sys sys 1048635701 5033
-sys/src/9/pc/vgai81x.c - 664 sys sys 1032052924 4905
-sys/src/9/pc/vgamach64xx.c - 664 sys sys 1071245447 29146
-sys/src/9/pc/vgamga2164w.c - 664 sys sys 1015014527 5654
-sys/src/9/pc/vgamga4xx.c - 664 sys sys 1015014527 11122
-sys/src/9/pc/vganeomagic.c - 664 sys sys 1104430511 11327
-sys/src/9/pc/vganvidia.c - 664 sys sys 1120909910 12617
-sys/src/9/pc/vgargb524.c - 664 sys sys 1015014527 4235
-sys/src/9/pc/vgas3.c - 664 sys sys 1090439162 12189
+sys/src/9/pc/vga.c - 664 sys sys 1131290595 5148
+sys/src/9/pc/vga3dfx.c - 664 sys sys 1131290600 3833
+sys/src/9/pc/vgaark2000pv.c - 664 sys sys 1131290600 3422
+sys/src/9/pc/vgabt485.c - 664 sys sys 1131290600 5057
+sys/src/9/pc/vgaclgd542x.c - 664 sys sys 1131290600 4550
+sys/src/9/pc/vgaclgd546x.c - 664 sys sys 1131290600 3716
+sys/src/9/pc/vgact65545.c - 664 sys sys 1131290600 2249
+sys/src/9/pc/vgacyber938x.c - 664 sys sys 1131290601 3707
+sys/src/9/pc/vgaet4000.c - 664 sys sys 1131290601 5111
+sys/src/9/pc/vgahiqvideo.c - 664 sys sys 1131290601 4098
+sys/src/9/pc/vgai81x.c - 664 sys sys 1131290601 4030
+sys/src/9/pc/vgamach64xx.c - 664 sys sys 1131290601 28257
+sys/src/9/pc/vgamga2164w.c - 664 sys sys 1131290602 4637
+sys/src/9/pc/vgamga4xx.c - 664 sys sys 1131290602 10201
+sys/src/9/pc/vganeomagic.c - 664 sys sys 1131290602 10143
+sys/src/9/pc/vganvidia.c - 664 sys sys 1131290602 11783
+sys/src/9/pc/vgargb524.c - 664 sys sys 1131290602 4251
+sys/src/9/pc/vgas3.c - 664 sys sys 1131290603 10994
 sys/src/9/pc/vgasavage.c - 664 sys sys 1064679984 16251
-sys/src/9/pc/vgat2r4.c - 664 sys sys 1015014528 10355
-sys/src/9/pc/vgatvp3020.c - 664 sys sys 1015014528 4491
-sys/src/9/pc/vgatvp3026.c - 664 sys sys 1015014528 3940
-sys/src/9/pc/vgavmware.c - 664 sys sys 1063858321 6398
-sys/src/9/pc/vgax.c - 664 sys sys 1015014528 1655
+sys/src/9/pc/vgat2r4.c - 664 sys sys 1131290603 9351
+sys/src/9/pc/vgatvp3020.c - 664 sys sys 1131290603 4507
+sys/src/9/pc/vgatvp3026.c - 664 sys sys 1131290603 3956
+sys/src/9/pc/vgavesa.c - 664 sys sys 1131290603 2369
+sys/src/9/pc/vgavmware.c - 664 sys sys 1131290604 5840
+sys/src/9/pc/vgax.c - 664 sys sys 1131290604 1671
 sys/src/9/pc/wavelan.c - 664 sys sys 1127743243 27879
 sys/src/9/pc/wavelan.h - 664 sys sys 1107448246 6169
 sys/src/9/port - 20000000775 sys sys 1018469625 0
@@ -8045,15 +8046,15 @@ sys/src/9/port/alloc.c - 664 sys sys 1130964595 5674
 sys/src/9/port/allocb.c - 664 sys sys 1123676437 3340
 sys/src/9/port/auth.c - 664 sys sys 1123647282 2392
 sys/src/9/port/cache.c - 664 sys sys 1126586168 9241
-sys/src/9/port/chan.c - 664 sys sys 1129373741 33642
+sys/src/9/port/chan.c - 664 sys sys 1131298713 33663
 sys/src/9/port/cis.c - 664 sys sys 1099761153 9248
 sys/src/9/port/debugalloc.c - 664 sys sys 1014931171 10402
-sys/src/9/port/dev.c - 664 sys sys 1126586172 8246
+sys/src/9/port/dev.c - 664 sys sys 1131289870 8219
 sys/src/9/port/devaudio.c - 664 sys sys 1067722761 21130
 sys/src/9/port/devbridge.c - 664 sys sys 1055688301 24308
 sys/src/9/port/devcap.c - 664 sys sys 1048644215 4113
 sys/src/9/port/devcons.c - 664 sys sys 1130759309 22495
-sys/src/9/port/devdraw.c - 664 sys sys 1091733670 41996
+sys/src/9/port/devdraw.c - 664 sys sys 1131289870 43537
 sys/src/9/port/devdup.c - 664 sys sys 1014931172 2332
 sys/src/9/port/devenv.c - 664 sys sys 1048644225 6992
 sys/src/9/port/devfs.c - 664 sys sys 1105799131 10783
@@ -8065,11 +8066,11 @@ sys/src/9/port/devmntstats.c - 664 sys sys 1014931173 4039
 sys/src/9/port/devmouse.c - 664 sys sys 1130848303 13517
 sys/src/9/port/devpipe.c - 664 sys sys 1077055016 5825
 sys/src/9/port/devpnp.c - 664 sys sys 1088560907 13624
-sys/src/9/port/devproc.c - 664 sys sys 1126586197 28465
+sys/src/9/port/devproc.c - 664 sys sys 1131289878 28233
 sys/src/9/port/devroot.c - 664 sys sys 1067722764 4254
-sys/src/9/port/devsd.c - 664 sys sys 1123255503 28564
+sys/src/9/port/devsd.c - 664 sys sys 1131289885 30798
 sys/src/9/port/devsdp.c - 664 sys sys 1057323393 44800
-sys/src/9/port/devsegment.c - 664 sys sys 1017679394 9600
+sys/src/9/port/devsegment.c - 664 sys sys 1131289891 9610
 sys/src/9/port/devsrv.c - 664 sys sys 1107232208 5418
 sys/src/9/port/devssl.c - 664 sys sys 1131107944 26133
 sys/src/9/port/devtinyfs.c - 664 sys sys 1015278339 15347
@@ -8079,13 +8080,13 @@ sys/src/9/port/devwd.c - 664 sys sys 1126582325 2342
 sys/src/9/port/edf.c - 664 sys sys 1099760881 12742
 sys/src/9/port/edf.h - 664 sys sys 1084475128 1156
 sys/src/9/port/error.h - 664 sys sys 1117055493 2637
-sys/src/9/port/fault.c - 664 sys sys 1126586199 7282
+sys/src/9/port/fault.c - 664 sys sys 1131289901 7271
 sys/src/9/port/initcode.c - 664 sys sys 1055688491 574
 sys/src/9/port/latin1.c - 664 sys sys 1015278339 1418
 sys/src/9/port/latin1.h - 664 sys sys 1103633666 3563
-sys/src/9/port/lib.h - 664 sys sys 1126103560 5770
+sys/src/9/port/lib.h - 664 sys sys 1131289913 6040
 sys/src/9/port/log.c - 664 sys sys 1014931175 2860
-sys/src/9/port/master - 664 sys sys 1104430269 505
+sys/src/9/port/master - 664 sys sys 1131289934 510
 sys/src/9/port/master.local - 664 sys sys 1063856961 130
 sys/src/9/port/mkbootrules - 775 sys sys 1055700518 923
 sys/src/9/port/mkdevc - 775 sys sys 1109202243 3889
@@ -8101,41 +8102,41 @@ sys/src/9/port/mksystab - 664 sys sys 1014931176 783
 sys/src/9/port/mul64fract.c - 664 sys sys 1071671674 867
 sys/src/9/port/netif.c - 664 sys sys 1066514951 13421
 sys/src/9/port/netif.h - 664 sys sys 1066514947 2975
-sys/src/9/port/page.c - 664 sys sys 1102133425 8281
+sys/src/9/port/page.c - 664 sys sys 1131289949 8449
 sys/src/9/port/parse.c - 664 sys sys 1014931177 2026
 sys/src/9/port/pgrp.c - 664 sys sys 1072704671 3940
 sys/src/9/port/portclock.c - 664 sys sys 1102093397 4556
-sys/src/9/port/portdat.h - 664 sys sys 1127215703 22586
-sys/src/9/port/portfns.h - 664 sys sys 1126586141 11002
+sys/src/9/port/portdat.h - 664 sys sys 1131289971 22628
+sys/src/9/port/portfns.h - 664 sys sys 1131289972 10925
 sys/src/9/port/portmkfile - 664 sys sys 1124708650 2052
 sys/src/9/port/print.c - 664 sys sys 1014931178 227
-sys/src/9/port/proc.c - 664 sys sys 1099760501 28207
+sys/src/9/port/proc.c - 664 sys sys 1131289980 28264
 sys/src/9/port/qio.c - 664 sys sys 1070287837 23562
 sys/src/9/port/qlock.c - 664 sys sys 1067722765 3196
 sys/src/9/port/rdb.c - 664 sys sys 1018721202 1698
 sys/src/9/port/rebootcmd.c - 664 sys sys 1015278340 1561
-sys/src/9/port/sd.h - 664 sys sys 1098546338 2348
-sys/src/9/port/segment.c - 664 sys sys 1121259584 13761
+sys/src/9/port/sd.h - 664 sys sys 1131289990 2494
+sys/src/9/port/segment.c - 664 sys sys 1131298540 13722
 sys/src/9/port/swap.c - 664 sys sys 1055688551 6980
 sys/src/9/port/sysfile.c - 664 sys sys 1126586199 22173
-sys/src/9/port/sysproc.c - 664 sys sys 1130387080 15144
+sys/src/9/port/sysproc.c - 664 sys sys 1131298541 15159
 sys/src/9/port/systab.h - 664 sys sys 1062721698 3044
-sys/src/9/port/taslock.c - 664 sys sys 1084475129 3658
+sys/src/9/port/taslock.c - 664 sys sys 1131290039 3928
 sys/src/9/port/thwack.c - 664 sys sys 1057323394 7253
 sys/src/9/port/thwack.h - 664 sys sys 1015278340 1792
 sys/src/9/port/tod.c - 664 sys sys 1067722762 4856
 sys/src/9/port/unthwack.c - 664 sys sys 1057323394 5249
-sys/src/9/port/xalloc.c - 664 sys sys 1097074047 4030
+sys/src/9/port/xalloc.c - 664 sys sys 1131290051 4063
 sys/src/9/ppc - 20000000775 sys sys 1059490838 0
 sys/src/9/ppc/blast - 664 sys sys 1107436310 670
 sys/src/9/ppc/blast.h - 664 sys sys 1059490750 3109
-sys/src/9/ppc/clock.c - 664 sys sys 1100701675 1036
+sys/src/9/ppc/clock.c - 664 sys sys 1131290066 1076
 sys/src/9/ppc/dat.h - 664 sys sys 1127274100 4735
-sys/src/9/ppc/devether.c - 664 sys sys 1116097817 9264
+sys/src/9/ppc/devether.c - 664 sys sys 1131290184 9327
 sys/src/9/ppc/devflash.c - 664 sys sys 1059490750 19885
 sys/src/9/ppc/devirq.c - 664 sys sys 1100701675 6314
 sys/src/9/ppc/devtls.c - 664 sys sys 1059490751 43721
-sys/src/9/ppc/etherfcc.c - 664 sys sys 1100701674 19690
+sys/src/9/ppc/etherfcc.c - 664 sys sys 1131290110 19599
 sys/src/9/ppc/etherif.h - 664 sys sys 1059490751 785
 sys/src/9/ppc/ethersaturn.c - 664 sys sys 1059490751 4321
 sys/src/9/ppc/fns.h - 664 sys sys 1111851554 3095
@@ -8147,7 +8148,7 @@ sys/src/9/ppc/lblast.h - 664 sys sys 1059490752 1694
 sys/src/9/ppc/lucu.h - 664 sys sys 1059490752 935
 sys/src/9/ppc/m8260.c - 664 sys sys 1123094594 14482
 sys/src/9/ppc/m8260.h - 664 sys sys 1100701674 20899
-sys/src/9/ppc/main.c - 664 sys sys 1126586256 9039
+sys/src/9/ppc/main.c - 664 sys sys 1131290117 9075
 sys/src/9/ppc/mcc.c - 664 sys sys 1059490752 9667
 sys/src/9/ppc/mem.h - 664 sys sys 1091021860 7002
 sys/src/9/ppc/mkfile - 664 sys sys 1067722849 1813
@@ -8157,9 +8158,9 @@ sys/src/9/ppc/msaturn.h - 664 sys sys 1059490753 99
 sys/src/9/ppc/mtx.c - 664 sys sys 1059490753 177
 sys/src/9/ppc/random.c - 664 sys sys 1059490753 1983
 sys/src/9/ppc/saturntimer.c - 664 sys sys 1072705482 1737
-sys/src/9/ppc/trap.c - 664 sys sys 1105030152 18384
+sys/src/9/ppc/trap.c - 664 sys sys 1131290140 17067
 sys/src/9/ppc/uartsaturn.c - 664 sys sys 1059490754 7151
-sys/src/9/ppc/uartsmc.c - 664 sys sys 1068135489 11462
+sys/src/9/ppc/uartsmc.c - 664 sys sys 1131290162 9764
 sys/src/9/ppc/ucu - 664 sys sys 1067722849 672
 sys/src/9/ppc/ucu.h - 664 sys sys 1059490754 531
 sys/src/NOTICE - 444 sys sys 1018803112 63
@@ -9238,11 +9239,11 @@ sys/src/cmd/9nfs/authhostowner.c - 664 sys sys 1071498519 4190
 sys/src/cmd/9nfs/chat.c - 664 sys sys 1017337813 2096
 sys/src/cmd/9nfs/dat.h - 664 sys sys 1071498518 4406
 sys/src/cmd/9nfs/fns.h - 664 sys sys 1071498519 1908
-sys/src/cmd/9nfs/listalloc.c - 664 sys sys 1015090372 297
+sys/src/cmd/9nfs/listalloc.c - 664 sys sys 1131293679 275
 sys/src/cmd/9nfs/mkfile - 664 sys sys 1071498518 640
 sys/src/cmd/9nfs/mport.c - 664 sys sys 1050715069 3779
 sys/src/cmd/9nfs/nametest.c - 664 sys sys 1015090372 1723
-sys/src/cmd/9nfs/nfs.c - 664 sys sys 1130424013 9509
+sys/src/cmd/9nfs/nfs.c - 664 sys sys 1131293679 9526
 sys/src/cmd/9nfs/nfs.h - 664 sys sys 1015090372 642
 sys/src/cmd/9nfs/nfsmount.c - 664 sys sys 1071498520 6142
 sys/src/cmd/9nfs/nfsserver.c - 664 sys sys 1040952455 15576
@@ -9256,22 +9257,22 @@ sys/src/cmd/9nfs/strparse.c - 664 sys sys 1015090373 506
 sys/src/cmd/9nfs/system.c - 664 sys sys 1017337815 437
 sys/src/cmd/9nfs/testit - 775 sys sys 1017337816 251
 sys/src/cmd/9nfs/unixnames.c - 664 sys sys 1065963574 6006
-sys/src/cmd/9nfs/xfile.c - 664 sys sys 1017337816 1847
+sys/src/cmd/9nfs/xfile.c - 664 sys sys 1131293680 1894
 sys/src/cmd/aan.c - 664 sys sys 1019856827 9758
 sys/src/cmd/acid - 20000000775 sys sys 944960739 0
-sys/src/cmd/acid/acid.h - 664 sys sys 1127393275 4389
-sys/src/cmd/acid/builtin.c - 664 sys sys 1127214825 20156
-sys/src/cmd/acid/dbg.y - 664 sys sys 1081736447 5567
-sys/src/cmd/acid/dot.c - 664 sys sys 944960739 2161
-sys/src/cmd/acid/exec.c - 664 sys sys 1016833876 8187
-sys/src/cmd/acid/expr.c - 664 sys sys 1127393280 15220
-sys/src/cmd/acid/lex.c - 664 sys sys 1046198960 7861
-sys/src/cmd/acid/list.c - 664 sys sys 944960738 3671
-sys/src/cmd/acid/main.c - 664 sys sys 1046198959 8475
+sys/src/cmd/acid/acid.h - 664 sys sys 1131289460 4273
+sys/src/cmd/acid/builtin.c - 664 sys sys 1131289462 20193
+sys/src/cmd/acid/dbg.y - 664 sys sys 1131289463 5568
+sys/src/cmd/acid/dot.c - 664 sys sys 1131289462 2162
+sys/src/cmd/acid/exec.c - 664 sys sys 1131289461 8383
+sys/src/cmd/acid/expr.c - 664 sys sys 1131289461 15220
+sys/src/cmd/acid/lex.c - 664 sys sys 1131289460 7963
+sys/src/cmd/acid/list.c - 664 sys sys 1131289462 3680
+sys/src/cmd/acid/main.c - 664 sys sys 1131289460 8565
 sys/src/cmd/acid/mkfile - 664 sys sys 1046199006 366
-sys/src/cmd/acid/print.c - 664 sys sys 984756705 6840
-sys/src/cmd/acid/proc.c - 664 sys sys 1119470118 4602
-sys/src/cmd/acid/util.c - 664 sys sys 1127393277 4616
+sys/src/cmd/acid/print.c - 664 sys sys 1131289462 6831
+sys/src/cmd/acid/proc.c - 664 sys sys 1131289462 4356
+sys/src/cmd/acid/util.c - 664 sys sys 1131289461 4609
 sys/src/cmd/acme - 20000000775 sys sys 969511023 0
 sys/src/cmd/acme/acme.c - 664 sys sys 1104430286 19613
 sys/src/cmd/acme/addr.c - 664 sys sys 1111171698 4805
@@ -9297,7 +9298,7 @@ sys/src/cmd/acme/time.c - 664 sys sys 1014926095 1783
 sys/src/cmd/acme/util.c - 664 sys sys 1107154483 7984
 sys/src/cmd/acme/wind.c - 664 sys sys 1122526112 11233
 sys/src/cmd/acme/xfid.c - 664 sys sys 1125314186 19766
-sys/src/cmd/ar.c - 664 sys sys 1046643027 23717
+sys/src/cmd/ar.c - 664 sys sys 1131293258 23778
 sys/src/cmd/archfs.c - 664 sys sys 1014925694 3871
 sys/src/cmd/ascii.c - 664 sys sys 964457138 3989
 sys/src/cmd/astro - 20000000775 sys sys 964456342 0
@@ -9352,7 +9353,7 @@ sys/src/cmd/auth/factotum/chap.c - 664 sys sys 1107706103 8967
 sys/src/cmd/auth/factotum/confirm.c - 664 sys sys 1044829586 3103
 sys/src/cmd/auth/factotum/dat.h - 664 sys sys 1121367028 4946
 sys/src/cmd/auth/factotum/fgui.c - 664 sys sys 1130425760 15984
-sys/src/cmd/auth/factotum/fs.c - 664 sys sys 1107706104 10447
+sys/src/cmd/auth/factotum/fs.c - 664 sys sys 1131289797 10524
 sys/src/cmd/auth/factotum/log.c - 664 sys sys 1046655068 1781
 sys/src/cmd/auth/factotum/mkfile - 664 sys sys 1107706102 481
 sys/src/cmd/auth/factotum/p9any.c - 664 sys sys 1107706103 8484
@@ -9363,7 +9364,7 @@ sys/src/cmd/auth/factotum/rpc.c - 664 sys sys 1107633794 11167
 sys/src/cmd/auth/factotum/rsa.c - 664 sys sys 1107706104 3416
 sys/src/cmd/auth/factotum/secstore.c - 664 sys sys 1107633794 14935
 sys/src/cmd/auth/factotum/sshrsa.c - 664 sys sys 1107633793 3416
-sys/src/cmd/auth/factotum/util.c - 664 sys sys 1117193215 17915
+sys/src/cmd/auth/factotum/util.c - 664 sys sys 1131289797 18035
 sys/src/cmd/auth/factotum/wep.c - 664 sys sys 1107706104 2140
 sys/src/cmd/auth/guard.srv.c - 664 sys sys 1032497638 2334
 sys/src/cmd/auth/iam.c - 664 sys sys 1015008430 841
@@ -9728,8 +9729,8 @@ sys/src/cmd/cc/compat.c - 664 sys sys 1084472048 417
 sys/src/cmd/cc/dcl.c - 664 sys sys 1089299183 26723
 sys/src/cmd/cc/dpchk.c - 664 sys sys 1107365037 7152
 sys/src/cmd/cc/funct.c - 664 sys sys 984718510 6167
-sys/src/cmd/cc/lex.c - 664 sys sys 1127766297 23848
-sys/src/cmd/cc/lexbody - 664 sys sys 1127307403 9186
+sys/src/cmd/cc/lex.c - 664 sys sys 1131293446 23883
+sys/src/cmd/cc/lexbody - 664 sys sys 1131293457 9188
 sys/src/cmd/cc/mac.c - 664 sys sys 944960808 36
 sys/src/cmd/cc/macbody - 664 sys sys 1108281581 11703
 sys/src/cmd/cc/machcap.c - 664 sys sys 1084472048 78
@@ -9796,21 +9797,21 @@ sys/src/cmd/cpu.c - 664 sys sys 1123676384 21128
 sys/src/cmd/crop.c - 664 sys sys 1039753034 4136
 sys/src/cmd/date.c - 664 sys sys 944961351 449
 sys/src/cmd/db - 20000000775 sys sys 988249965 0
-sys/src/cmd/db/command.c - 664 sys sys 1121977158 4362
-sys/src/cmd/db/defs.h - 664 sys sys 1016731555 1704
-sys/src/cmd/db/expr.c - 664 sys sys 1016731556 5450
-sys/src/cmd/db/fns.h - 664 sys sys 958696023 2011
-sys/src/cmd/db/format.c - 664 sys sys 1016731556 6873
+sys/src/cmd/db/command.c - 664 sys sys 1131297926 4377
+sys/src/cmd/db/defs.h - 664 sys sys 1131292957 1700
+sys/src/cmd/db/expr.c - 664 sys sys 1131292957 5441
+sys/src/cmd/db/fns.h - 664 sys sys 1131297926 2014
+sys/src/cmd/db/format.c - 664 sys sys 1131297926 6868
 sys/src/cmd/db/input.c - 664 sys sys 1016731556 2194
 sys/src/cmd/db/main.c - 664 sys sys 1016731556 3308
 sys/src/cmd/db/mkfile - 664 sys sys 944960880 233
 sys/src/cmd/db/output.c - 664 sys sys 1014925293 2009
 sys/src/cmd/db/pcs.c - 664 sys sys 1016731557 2859
-sys/src/cmd/db/print.c - 664 sys sys 1046363143 5856
-sys/src/cmd/db/regs.c - 664 sys sys 1014925293 1998
+sys/src/cmd/db/print.c - 664 sys sys 1131297926 5949
+sys/src/cmd/db/regs.c - 664 sys sys 1131297926 1998
 sys/src/cmd/db/runpcs.c - 664 sys sys 1014925293 2929
 sys/src/cmd/db/setup.c - 664 sys sys 1014925293 3581
-sys/src/cmd/db/trcrun.c - 664 sys sys 1016731556 4432
+sys/src/cmd/db/trcrun.c - 664 sys sys 1131297926 4433
 sys/src/cmd/dc.c - 664 sys sys 1121977159 36572
 sys/src/cmd/dd.c - 664 sys sys 1126360951 11753
 sys/src/cmd/deroff.c - 664 sys sys 1017679319 14611
@@ -12131,7 +12132,7 @@ sys/src/cmd/kl/pass.c - 664 sys sys 1045503969 9348
 sys/src/cmd/kl/sched.c - 664 sys sys 1089299170 10796
 sys/src/cmd/kl/span.c - 664 sys sys 1045503970 10146
 sys/src/cmd/kprof.c - 664 sys sys 1123244004 2550
-sys/src/cmd/ktrace.c - 664 sys sys 1119276523 5785
+sys/src/cmd/ktrace.c - 664 sys sys 1131293224 5885
 sys/src/cmd/lens.c - 664 sys sys 1130425803 5109
 sys/src/cmd/lex - 20000000775 sys sys 944961017 0
 sys/src/cmd/lex/header.c - 664 sys sys 1032060383 3368
@@ -12210,31 +12211,31 @@ sys/src/cmd/mc.c - 664 sys sys 1082924484 5520
 sys/src/cmd/md5sum.c - 664 sys sys 1014926238 1009
 sys/src/cmd/mk - 20000000775 sys sys 988249988 0
 sys/src/cmd/mk/acid - 664 sys sys 1055698806 10395
-sys/src/cmd/mk/arc.c - 664 sys sys 944961024 835
-sys/src/cmd/mk/archive.c - 664 sys sys 964662348 2941
+sys/src/cmd/mk/arc.c - 664 sys sys 1131289508 826
+sys/src/cmd/mk/archive.c - 664 sys sys 1131289509 3071
 sys/src/cmd/mk/bufblock.c - 664 sys sys 944961024 1338
-sys/src/cmd/mk/env.c - 664 sys sys 944961024 2290
-sys/src/cmd/mk/file.c - 664 sys sys 1055698807 1310
+sys/src/cmd/mk/env.c - 664 sys sys 1131289509 2281
+sys/src/cmd/mk/file.c - 664 sys sys 1131289509 1299
 sys/src/cmd/mk/fns.h - 664 sys sys 1055698809 2199
-sys/src/cmd/mk/graph.c - 664 sys sys 988225293 5842
+sys/src/cmd/mk/graph.c - 664 sys sys 1131289509 5822
 sys/src/cmd/mk/job.c - 664 sys sys 944961025 692
 sys/src/cmd/mk/lex.c - 664 sys sys 944961025 2315
 sys/src/cmd/mk/main.c - 664 sys sys 1123094366 4790
 sys/src/cmd/mk/match.c - 664 sys sys 1014926073 856
-sys/src/cmd/mk/mk.c - 664 sys sys 1123676387 5348
-sys/src/cmd/mk/mk.h - 664 sys sys 1055698812 3735
+sys/src/cmd/mk/mk.c - 664 sys sys 1131289509 5330
+sys/src/cmd/mk/mk.h - 664 sys sys 1131289508 3765
 sys/src/cmd/mk/mkconv - 775 sys sys 944961025 555
 sys/src/cmd/mk/mkfile - 664 sys sys 1055698812 376
 sys/src/cmd/mk/parse.c - 664 sys sys 944961025 5310
-sys/src/cmd/mk/plan9.c - 664 sys sys 1121977161 6929
+sys/src/cmd/mk/plan9.c - 664 sys sys 1131289511 6941
 sys/src/cmd/mk/rc.c - 664 sys sys 944961025 3206
-sys/src/cmd/mk/recipe.c - 664 sys sys 1014926074 2551
-sys/src/cmd/mk/rule.c - 664 sys sys 944961025 1970
-sys/src/cmd/mk/run.c - 664 sys sys 1014926074 5080
+sys/src/cmd/mk/recipe.c - 664 sys sys 1131289510 2543
+sys/src/cmd/mk/rule.c - 664 sys sys 1131289510 1946
+sys/src/cmd/mk/run.c - 664 sys sys 1131289510 5063
 sys/src/cmd/mk/shprint.c - 664 sys sys 952627588 1515
-sys/src/cmd/mk/symtab.c - 664 sys sys 944961025 1581
-sys/src/cmd/mk/var.c - 664 sys sys 944961025 539
-sys/src/cmd/mk/varsub.c - 664 sys sys 944961025 4438
+sys/src/cmd/mk/symtab.c - 664 sys sys 1131289510 1581
+sys/src/cmd/mk/var.c - 664 sys sys 1131289510 530
+sys/src/cmd/mk/varsub.c - 664 sys sys 1131289511 4425
 sys/src/cmd/mk/word.c - 664 sys sys 944961025 2595
 sys/src/cmd/mkdir.c - 664 sys sys 1082593106 1026
 sys/src/cmd/mkfile - 664 sys sys 1108476348 2414
@@ -12275,7 +12276,7 @@ sys/src/cmd/ndb/time.c - 664 sys sys 957402055 321
 sys/src/cmd/netstat.c - 664 sys sys 1128255434 4086
 sys/src/cmd/news.c - 664 sys sys 1014926614 3778
 sys/src/cmd/nfs.c - 664 sys sys 1050068720 31096
-sys/src/cmd/nm.c - 664 sys sys 1073313392 4912
+sys/src/cmd/nm.c - 664 sys sys 1131292928 4914
 sys/src/cmd/nntpfs.c - 664 sys sys 1100524486 18920
 sys/src/cmd/ns.c - 664 sys sys 984717934 3558
 sys/src/cmd/p.c - 664 sys sys 1121977162 1504
@@ -12719,7 +12720,7 @@ sys/src/cmd/rc/tree.c - 664 sys sys 1055698780 2071
 sys/src/cmd/rc/unix.c - 664 sys sys 1055698781 8726
 sys/src/cmd/rc/var.c - 664 sys sys 1055698781 1298
 sys/src/cmd/rc/win32.c - 664 sys sys 1055698781 8699
-sys/src/cmd/rdbfs.c - 664 sys sys 1049426950 7952
+sys/src/cmd/rdbfs.c - 664 sys sys 1131289483 7964
 sys/src/cmd/read.c - 664 sys sys 1022047660 1278
 sys/src/cmd/replica - 20000000775 sys sys 1018321113 0
 sys/src/cmd/replica/all.h - 664 sys sys 1091904421 1265
@@ -12921,7 +12922,7 @@ sys/src/cmd/ssh/sshserve.c - 664 sys sys 1062091020 5786
 sys/src/cmd/ssh/util.c - 664 sys sys 1063858753 4478
 sys/src/cmd/stats.c - 664 sys sys 1127974208 28128
 sys/src/cmd/strings.c - 664 sys sys 944961364 1216
-sys/src/cmd/strip.c - 664 sys sys 1108077276 3350
+sys/src/cmd/strip.c - 664 sys sys 1131293244 2502
 sys/src/cmd/sum.c - 664 sys sys 1014926615 5548
 sys/src/cmd/swap.c - 664 sys sys 1014926662 1141
 sys/src/cmd/syscall - 20000000775 sys sys 944961236 0
@@ -12952,12 +12953,12 @@ sys/src/cmd/tbl/t2.c - 664 sys sys 944961244 298
 sys/src/cmd/tbl/t3.c - 664 sys sys 944961244 1836
 sys/src/cmd/tbl/t4.c - 664 sys sys 944961244 8360
 sys/src/cmd/tbl/t5.c - 664 sys sys 944961244 3723
-sys/src/cmd/tbl/t6.c - 664 sys sys 1014926400 7208
+sys/src/cmd/tbl/t6.c - 664 sys sys 1131293512 7295
 sys/src/cmd/tbl/t7.c - 664 sys sys 944961244 3422
-sys/src/cmd/tbl/t8.c - 664 sys sys 944961244 8959
+sys/src/cmd/tbl/t8.c - 664 sys sys 1131293517 9041
 sys/src/cmd/tbl/t9.c - 664 sys sys 944961244 1577
 sys/src/cmd/tbl/tb.c - 664 sys sys 944961244 1732
-sys/src/cmd/tbl/tc.c - 664 sys sys 944961244 1268
+sys/src/cmd/tbl/tc.c - 664 sys sys 1131293494 1274
 sys/src/cmd/tbl/te.c - 664 sys sys 944961244 1071
 sys/src/cmd/tbl/tf.c - 664 sys sys 944961244 1283
 sys/src/cmd/tbl/tg.c - 664 sys sys 1128819351 2164
@@ -13408,7 +13409,7 @@ sys/src/cmd/upas/send/tryit - 664 sys sys 944961322 584
 sys/src/cmd/upas/smtp - 20000000775 sys sys 988250017 0
 sys/src/cmd/upas/smtp/greylist.c - 664 sys sys 1091126808 6470
 sys/src/cmd/upas/smtp/mkfile - 664 sys sys 1108910002 801
-sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1127394225 6422
+sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1131293478 6420
 sys/src/cmd/upas/smtp/rfc822.y - 664 sys sys 1064589606 13417
 sys/src/cmd/upas/smtp/rmtdns.c - 664 sys sys 1015013150 1069
 sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1127394218 20091
@@ -13565,7 +13566,7 @@ sys/src/cmd/vi/cmd.c - 664 sys sys 944961342 9150
 sys/src/cmd/vi/float.c - 664 sys sys 944961341 12758
 sys/src/cmd/vi/icache.c - 664 sys sys 944961342 184
 sys/src/cmd/vi/mem.c - 664 sys sys 944961342 4234
-sys/src/cmd/vi/mips.h - 664 sys sys 1124229127 4836
+sys/src/cmd/vi/mips.h - 664 sys sys 1131292943 4837
 sys/src/cmd/vi/mkfile - 664 sys sys 1124229127 289
 sys/src/cmd/vi/run.c - 664 sys sys 1014926560 13214
 sys/src/cmd/vi/special.c - 664 sys sys 944961342 6723
@@ -13837,7 +13838,7 @@ sys/src/games/music/missing - 775 sys sys 1103793915 72
 sys/src/games/music/mkfile - 664 sys sys 1103793915 723
 sys/src/games/music/mkinc - 664 sys sys 1103793915 92
 sys/src/games/music/playlistfs - 20000000775 sys sys 1103794221 0
-sys/src/games/music/playlistfs/boilerplate.c - 664 sys sys 1105531426 1362
+sys/src/games/music/playlistfs/boilerplate.c - 664 sys sys 1131293384 1547
 sys/src/games/music/playlistfs/fs.c - 664 sys sys 1111504109 17985
 sys/src/games/music/playlistfs/main.c - 664 sys sys 1103793922 1636
 sys/src/games/music/playlistfs/mk.dep - 664 sys sys 1103793923 594
@@ -14538,52 +14539,52 @@ sys/src/liblex/reject.c - 664 sys sys 944961728 1000
 sys/src/liblex/yyless.c - 664 sys sys 944961728 403
 sys/src/liblex/yywrap.c - 664 sys sys 944961728 85
 sys/src/libmach - 20000000775 sys sys 969559166 0
-sys/src/libmach/0.c - 664 sys sys 1114459829 4037
+sys/src/libmach/0.c - 664 sys sys 1131289379 4080
 sys/src/libmach/0c - 20000000775 sys sys 1114459438 0
 sys/src/libmach/0c/README - 664 sys sys 1114459609 73
 sys/src/libmach/0c/ureg.h - 664 sys sys 1114459438 886
-sys/src/libmach/2.c - 664 sys sys 964540513 2034
-sys/src/libmach/2db.c - 664 sys sys 1014929543 61245
+sys/src/libmach/2.c - 664 sys sys 1131289379 2074
+sys/src/libmach/2db.c - 664 sys sys 1131289383 61298
 sys/src/libmach/2obj.c - 664 sys sys 1091732624 2335
-sys/src/libmach/5.c - 664 sys sys 984710422 1513
-sys/src/libmach/5db.c - 664 sys sys 1114218476 21530
+sys/src/libmach/5.c - 664 sys sys 1131289380 1553
+sys/src/libmach/5db.c - 664 sys sys 1131289383 21545
 sys/src/libmach/5obj.c - 664 sys sys 1091732625 2209
-sys/src/libmach/6.c - 664 sys sys 1119476887 3366
+sys/src/libmach/6.c - 664 sys sys 1131289380 3464
 sys/src/libmach/6c - 20000000775 sys sys 1123100867 0
 sys/src/libmach/6c/6.out.h - 664 sys sys 1114459480 7984
 sys/src/libmach/6obj.c - 664 sys sys 1114459831 2382
-sys/src/libmach/7.c - 664 sys sys 964540515 3267
-sys/src/libmach/7db.c - 664 sys sys 1014929543 17320
+sys/src/libmach/7.c - 664 sys sys 1131289380 3299
+sys/src/libmach/7db.c - 664 sys sys 1131289384 17330
 sys/src/libmach/7obj.c - 664 sys sys 1091732676 2367
-sys/src/libmach/8.c - 664 sys sys 964540515 2020
-sys/src/libmach/8db.c - 664 sys sys 1114459831 50189
+sys/src/libmach/8.c - 664 sys sys 1131289381 2060
+sys/src/libmach/8db.c - 664 sys sys 1131289384 50612
 sys/src/libmach/8obj.c - 664 sys sys 1091732625 2200
-sys/src/libmach/access.c - 664 sys sys 1068478065 4309
-sys/src/libmach/elf.h - 664 sys sys 1114459895 2323
-sys/src/libmach/executable.c - 664 sys sys 1119476886 15431
-sys/src/libmach/k.c - 664 sys sys 964540516 3330
-sys/src/libmach/kdb.c - 664 sys sys 1014929544 21143
+sys/src/libmach/access.c - 664 sys sys 1131289377 4588
+sys/src/libmach/elf.h - 664 sys sys 1131292881 2301
+sys/src/libmach/executable.c - 664 sys sys 1131289375 16128
+sys/src/libmach/k.c - 664 sys sys 1131289378 3370
+sys/src/libmach/kdb.c - 664 sys sys 1131289381 21161
 sys/src/libmach/kobj.c - 664 sys sys 1091732625 2217
-sys/src/libmach/machdata.c - 664 sys sys 964540516 8814
-sys/src/libmach/map.c - 664 sys sys 964540517 3053
+sys/src/libmach/machdata.c - 664 sys sys 1131289377 8799
+sys/src/libmach/map.c - 664 sys sys 1131289376 3056
 sys/src/libmach/mkfile - 664 sys sys 1114459827 467
-sys/src/libmach/obj.c - 664 sys sys 1121367249 5918
-sys/src/libmach/obj.h - 664 sys sys 964540517 603
-sys/src/libmach/q.c - 664 sys sys 1091732625 3590
-sys/src/libmach/qdb.c - 664 sys sys 1114459830 27490
+sys/src/libmach/obj.c - 664 sys sys 1131289376 5929
+sys/src/libmach/obj.h - 664 sys sys 1131292890 604
+sys/src/libmach/q.c - 664 sys sys 1131289379 3630
+sys/src/libmach/qdb.c - 664 sys sys 1131289382 27506
 sys/src/libmach/qobj.c - 664 sys sys 1091732625 2310
 sys/src/libmach/setmach.c - 664 sys sys 1119476886 2911
-sys/src/libmach/swap.c - 664 sys sys 964540518 1026
-sys/src/libmach/sym.c - 664 sys sys 1106409575 26581
-sys/src/libmach/u.c - 664 sys sys 1114459829 3396
+sys/src/libmach/swap.c - 664 sys sys 1131289376 1056
+sys/src/libmach/sym.c - 664 sys sys 1131289377 26729
+sys/src/libmach/u.c - 664 sys sys 1131289378 3436
 sys/src/libmach/uc - 20000000775 sys sys 1114459488 0
 sys/src/libmach/uc/README - 664 sys sys 1114459488 73
 sys/src/libmach/uc/u.out.h - 664 sys sys 1114459488 3137
-sys/src/libmach/udb.c - 664 sys sys 1114459830 21893
+sys/src/libmach/udb.c - 664 sys sys 1131289382 21910
 sys/src/libmach/uobj.c - 664 sys sys 1114459831 2219
-sys/src/libmach/v.c - 664 sys sys 964540518 3403
-sys/src/libmach/vcodas.c - 664 sys sys 1014929545 10253
-sys/src/libmach/vdb.c - 664 sys sys 1014929545 22248
+sys/src/libmach/v.c - 664 sys sys 1131289378 3446
+sys/src/libmach/vcodas.c - 664 sys sys 1131289385 10258
+sys/src/libmach/vdb.c - 664 sys sys 1131289381 22264
 sys/src/libmach/vobj.c - 664 sys sys 1091732625 2206
 sys/src/libmemdraw - 20000000775 sys sys 985020762 0
 sys/src/libmemdraw/alloc.c - 664 sys sys 1046640198 3234

+ 273 - 0
dist/replica/plan9.log

@@ -22568,3 +22568,276 @@
 1131210084 0 a sys/man/8/statusbar - 664 sys sys 1131209276 1199
 1131210084 1 c sys/src/cmd/aux/statusbar.c - 664 sys sys 1131209286 6025
 1131251494 0 c 386/bin/aux/statusbar - 775 sys sys 1131250131 151558
+1131287502 0 c sys/src/9/pc/ether83815.c - 664 sys sys 1131287537 23542
+1131289302 0 c sys/include/mach.h - 664 sys sys 1131289126 8586
+1131289302 1 c sys/src/libmach/0.c - 664 sys sys 1131289379 4080
+1131289302 2 c sys/src/libmach/2.c - 664 sys sys 1131289379 2074
+1131289302 3 c sys/src/libmach/2db.c - 664 sys sys 1131289383 61298
+1131289302 4 c sys/src/libmach/5.c - 664 sys sys 1131289380 1553
+1131289302 5 c sys/src/libmach/5db.c - 664 sys sys 1131289383 21545
+1131289302 6 c sys/src/libmach/6.c - 664 sys sys 1131289380 3464
+1131289302 7 c sys/src/libmach/7.c - 664 sys sys 1131289380 3299
+1131289302 8 c sys/src/libmach/7db.c - 664 sys sys 1131289384 17330
+1131289302 9 c sys/src/libmach/8.c - 664 sys sys 1131289381 2060
+1131289302 10 c sys/src/libmach/8db.c - 664 sys sys 1131289384 50612
+1131289302 11 c sys/src/libmach/access.c - 664 sys sys 1131289377 4588
+1131289302 12 c sys/src/libmach/executable.c - 664 sys sys 1131289375 16128
+1131289302 13 c sys/src/libmach/k.c - 664 sys sys 1131289378 3370
+1131289302 14 c sys/src/libmach/kdb.c - 664 sys sys 1131289381 21161
+1131289302 15 c sys/src/libmach/machdata.c - 664 sys sys 1131289377 8799
+1131289302 16 c sys/src/libmach/map.c - 664 sys sys 1131289376 3056
+1131289302 17 c sys/src/libmach/obj.c - 664 sys sys 1131289376 5929
+1131289302 18 c sys/src/libmach/q.c - 664 sys sys 1131289379 3630
+1131289302 19 c sys/src/libmach/qdb.c - 664 sys sys 1131289382 27506
+1131289302 20 c sys/src/libmach/swap.c - 664 sys sys 1131289376 1056
+1131289302 21 c sys/src/libmach/sym.c - 664 sys sys 1131289377 26729
+1131289302 22 c sys/src/libmach/u.c - 664 sys sys 1131289378 3436
+1131289302 23 c sys/src/libmach/udb.c - 664 sys sys 1131289382 21910
+1131289302 24 c sys/src/libmach/v.c - 664 sys sys 1131289378 3446
+1131289302 25 c sys/src/libmach/vcodas.c - 664 sys sys 1131289385 10258
+1131289302 26 c sys/src/libmach/vdb.c - 664 sys sys 1131289381 22264
+1131291103 0 c 386/lib/libmach.a - 664 sys sys 1131289375 784878
+1131291103 1 c sys/lib/acid/leak - 664 sys sys 1131289472 2363
+1131291103 2 c sys/src/9/alphapc/apc - 664 sys sys 1131289706 630
+1131291103 3 c sys/src/9/alphapc/dat.h - 664 sys sys 1131289707 5196
+1131291103 4 c sys/src/9/alphapc/devvga.c - 664 sys sys 1131289707 7420
+1131291103 5 c sys/src/9/alphapc/fns.h - 664 sys sys 1131289707 3613
+1131291103 6 c sys/src/9/alphapc/main.c - 664 sys sys 1131289707 13672
+1131291103 7 c sys/src/9/alphapc/mmu.c - 664 sys sys 1131289708 4945
+1131291103 8 c sys/src/9/alphapc/screen.h - 664 sys sys 1131289708 3818
+1131291103 9 c sys/src/9/alphapc/sd53c8xx.c - 664 sys sys 1131289709 50963
+1131291103 10 c sys/src/9/bitsy/dat.h - 664 sys sys 1131289775 5829
+1131291103 11 c sys/src/9/bitsy/devpenmouse.c - 664 sys sys 1131289775 9589
+1131291103 12 c sys/src/9/bitsy/main.c - 664 sys sys 1131289775 8816
+1131291103 13 c sys/src/9/bitsy/mkfile - 664 sys sys 1131289775 2459
+1131291103 14 c sys/src/9/bitsy/sdata.c - 664 sys sys 1131289776 44404
+1131291103 15 c sys/src/9/boot/bootauth.c - 664 sys sys 1131289783 1160
+1131291103 16 c sys/src/9/mtx/dat.h - 664 sys sys 1131289814 3843
+1131291103 17 c sys/src/9/mtx/main.c - 664 sys sys 1131289814 8307
+1131291103 18 c sys/src/9/pc/apic.c - 664 sys sys 1131290206 8748
+1131291103 19 c sys/src/9/pc/apm.c - 664 sys sys 1131290210 3723
+1131291103 20 c sys/src/9/pc/archmp.c - 664 sys sys 1131290214 2357
+1131291103 21 c sys/src/9/pc/dat.h - 664 sys sys 1131290217 6462
+1131291103 22 c sys/src/9/pc/devarch.c - 664 sys sys 1131290259 18594
+1131291103 23 c sys/src/9/pc/devether.c - 664 sys sys 1131290265 10315
+1131291103 24 c sys/src/9/pc/devpccard.c - 664 sys sys 1131290281 40203
+1131291103 25 c sys/src/9/pc/devtv.c - 664 sys sys 1131290299 45676
+1131291103 26 c sys/src/9/pc/devvga.c - 664 sys sys 1131290315 9332
+1131291103 27 c sys/src/9/pc/dma.c - 664 sys sys 1131290319 4715
+1131291103 28 c sys/src/9/pc/ether79c970.c - 664 sys sys 1131290338 13953
+1131291103 29 c sys/src/9/pc/ether8139.c - 664 sys sys 1131290376 18400
+1131291103 30 c sys/src/9/pc/ether82543gc.c - 664 sys sys 1131290377 32294
+1131291103 31 c sys/src/9/pc/ether82557.c - 664 sys sys 1131290377 30107
+1131291103 32 c sys/src/9/pc/ether8390.c - 664 sys sys 1131290377 17702
+1131291103 33 c sys/src/9/pc/etherelnk3.c - 664 sys sys 1131290378 48733
+1131291103 34 c sys/src/9/pc/etherigbe.c - 664 sys sys 1131290379 44431
+1131291103 35 c sys/src/9/pc/etherwavelan.c - 664 sys sys 1131290380 3747
+1131291103 36 c sys/src/9/pc/fns.h - 664 sys sys 1131290383 4461
+1131291103 37 c sys/src/9/pc/i8259.c - 664 sys sys 1131290399 4586
+1131291103 38 c sys/src/9/pc/l.s - 664 sys sys 1131290403 28347
+1131291103 39 c sys/src/9/pc/main.c - 664 sys sys 1131290418 15224
+1131291103 40 c sys/src/9/pc/mem.h - 664 sys sys 1131290422 5209
+1131291103 41 c sys/src/9/pc/memory.c - 664 sys sys 1131290429 18222
+1131291103 42 c sys/src/9/pc/mmu.c - 664 sys sys 1131290443 19717
+1131291103 43 c sys/src/9/pc/mp.c - 664 sys sys 1131290473 17089
+1131291103 44 c sys/src/9/pc/mp.h - 664 sys sys 1131290475 6638
+1131291103 45 c sys/src/9/pc/pc - 664 sys sys 1131290481 1427
+1131291103 46 c sys/src/9/pc/pcauth - 664 sys sys 1131290482 714
+1131291103 47 c sys/src/9/pc/pccpu - 664 sys sys 1131290488 866
+1131291103 48 c sys/src/9/pc/pcdisk - 664 sys sys 1131290495 1437
+1131291103 49 c sys/src/9/pc/pcf - 664 sys sys 1131290500 1495
+1131291103 50 c sys/src/9/pc/pci.c - 664 sys sys 1131290505 26817
+1131291103 51 c sys/src/9/pc/screen.c - 664 sys sys 1131290512 13460
+1131291103 52 c sys/src/9/pc/screen.h - 664 sys sys 1131290516 4156
+1131291103 53 c sys/src/9/pc/sd53c8xx.c - 664 sys sys 1131290539 55206
+1131291103 54 c sys/src/9/pc/sd53c8xx.n - 664 sys sys 1131290556 12657
+1131291103 55 c sys/src/9/pc/sdata.c - 664 sys sys 1131290578 52168
+1131291103 56 c sys/src/9/pc/sdmylex.c - 664 sys sys 1131290583 27737
+1131291103 57 c sys/src/9/pc/trap.c - 664 sys sys 1131290591 21164
+1131291103 58 c sys/src/9/pc/vgai81x.c - 664 sys sys 1131290601 4030
+1131291103 59 a sys/src/9/pc/vgavesa.c - 664 sys sys 1131290603 2369
+1131291103 60 c sys/src/9/pc/devlml.c - 664 sys sys 1131290276 7505
+1131291103 61 c sys/src/9/pc/ether8169.c - 664 sys sys 1131290377 22723
+1131291103 62 c sys/src/9/pc/etherdp83820.c - 664 sys sys 1131290378 29128
+1131291103 63 c sys/src/9/pc/etherga620.c - 664 sys sys 1131290379 28748
+1131291103 64 c sys/src/9/pc/ethervt6102.c - 664 sys sys 1131290379 22572
+1131291103 65 c sys/src/9/pc/pccd - 664 sys sys 1131290486 1418
+1131291103 66 c sys/src/9/pc/pccpuf - 664 sys sys 1131290495 1477
+1131291103 67 c sys/src/9/pc/pcflop - 664 sys sys 1131290502 1464
+1131291103 68 a sys/src/9/pc/sdmv50xx.c - 664 sys sys 1131290638 25780
+1131291103 69 c sys/src/9/pc/vga.c - 664 sys sys 1131290595 5148
+1131291103 70 c sys/src/9/pc/vga3dfx.c - 664 sys sys 1131290600 3833
+1131291103 71 c sys/src/9/pc/vgaark2000pv.c - 664 sys sys 1131290600 3422
+1131291103 72 c sys/src/9/pc/vgabt485.c - 664 sys sys 1131290600 5057
+1131291103 73 c sys/src/9/pc/vgaclgd542x.c - 664 sys sys 1131290600 4550
+1131291103 74 c sys/src/9/pc/vgaclgd546x.c - 664 sys sys 1131290600 3716
+1131291103 75 c sys/src/9/pc/vgact65545.c - 664 sys sys 1131290600 2249
+1131291103 76 c sys/src/9/pc/vgacyber938x.c - 664 sys sys 1131290601 3707
+1131291103 77 c sys/src/9/pc/vgaet4000.c - 664 sys sys 1131290601 5111
+1131291103 78 c sys/src/9/pc/vgahiqvideo.c - 664 sys sys 1131290601 4098
+1131291103 79 c sys/src/9/pc/vgamach64xx.c - 664 sys sys 1131290601 28257
+1131291103 80 c sys/src/9/pc/vgamga2164w.c - 664 sys sys 1131290602 4637
+1131291103 81 c sys/src/9/pc/vgamga4xx.c - 664 sys sys 1131290602 10201
+1131291103 82 c sys/src/9/pc/vganeomagic.c - 664 sys sys 1131290602 10143
+1131291103 83 c sys/src/9/pc/vganvidia.c - 664 sys sys 1131290602 11783
+1131291103 84 c sys/src/9/pc/vgargb524.c - 664 sys sys 1131290602 4251
+1131291103 85 c sys/src/9/pc/vgas3.c - 664 sys sys 1131290603 10994
+1131291103 86 c sys/src/9/pc/vgat2r4.c - 664 sys sys 1131290603 9351
+1131291103 87 c sys/src/9/pc/vgatvp3020.c - 664 sys sys 1131290603 4507
+1131291103 88 c sys/src/9/pc/vgatvp3026.c - 664 sys sys 1131290603 3956
+1131291103 89 c sys/src/9/pc/vgavmware.c - 664 sys sys 1131290604 5840
+1131291103 90 c sys/src/9/pc/vgax.c - 664 sys sys 1131290604 1671
+1131291103 91 c sys/src/9/port/dev.c - 664 sys sys 1131289870 8219
+1131291103 92 c sys/src/9/port/devdraw.c - 664 sys sys 1131289870 43537
+1131291103 93 c sys/src/9/port/devproc.c - 664 sys sys 1131289878 28233
+1131291103 94 c sys/src/9/port/devsd.c - 664 sys sys 1131289885 30798
+1131291103 95 c sys/src/9/port/devsegment.c - 664 sys sys 1131289891 9610
+1131291103 96 c sys/src/9/port/fault.c - 664 sys sys 1131289901 7271
+1131291103 97 c sys/src/9/port/lib.h - 664 sys sys 1131289913 6040
+1131291103 98 c sys/src/9/port/master - 664 sys sys 1131289934 510
+1131291103 99 c sys/src/9/port/page.c - 664 sys sys 1131289949 8449
+1131291103 100 c sys/src/9/port/portdat.h - 664 sys sys 1131289971 22628
+1131291103 101 c sys/src/9/port/portfns.h - 664 sys sys 1131289972 10925
+1131291103 102 c sys/src/9/port/proc.c - 664 sys sys 1131289980 28264
+1131291103 103 c sys/src/9/port/sd.h - 664 sys sys 1131289990 2494
+1131291103 104 c sys/src/9/port/segment.c - 664 sys sys 1131290022 13720
+1131291103 105 c sys/src/9/port/taslock.c - 664 sys sys 1131290039 3928
+1131291103 106 c sys/src/9/port/xalloc.c - 664 sys sys 1131290051 4063
+1131291103 107 c sys/src/9/ppc/clock.c - 664 sys sys 1131290066 1076
+1131291103 108 c sys/src/9/ppc/devether.c - 664 sys sys 1131290184 9327
+1131291103 109 c sys/src/9/ppc/etherfcc.c - 664 sys sys 1131290110 19599
+1131291103 110 c sys/src/9/ppc/main.c - 664 sys sys 1131290117 9075
+1131291103 111 c sys/src/9/ppc/trap.c - 664 sys sys 1131290140 17067
+1131291103 112 c sys/src/9/ppc/uartsmc.c - 664 sys sys 1131290162 9764
+1131291103 113 c sys/src/cmd/acid/acid.h - 664 sys sys 1131289460 4273
+1131291103 114 c sys/src/cmd/acid/builtin.c - 664 sys sys 1131289462 20193
+1131291103 115 c sys/src/cmd/acid/dbg.y - 664 sys sys 1131289463 5568
+1131291103 116 c sys/src/cmd/acid/dot.c - 664 sys sys 1131289462 2162
+1131291103 117 c sys/src/cmd/acid/exec.c - 664 sys sys 1131289461 8383
+1131291103 118 c sys/src/cmd/acid/expr.c - 664 sys sys 1131289461 15220
+1131291103 119 c sys/src/cmd/acid/lex.c - 664 sys sys 1131289460 7963
+1131291103 120 c sys/src/cmd/acid/list.c - 664 sys sys 1131289462 3680
+1131291103 121 c sys/src/cmd/acid/main.c - 664 sys sys 1131289460 8565
+1131291103 122 c sys/src/cmd/acid/print.c - 664 sys sys 1131289462 6831
+1131291103 123 c sys/src/cmd/acid/proc.c - 664 sys sys 1131289462 4356
+1131291103 124 c sys/src/cmd/acid/util.c - 664 sys sys 1131289461 4609
+1131291103 125 c sys/src/cmd/auth/factotum/fs.c - 664 sys sys 1131289797 10524
+1131291103 126 c sys/src/cmd/auth/factotum/util.c - 664 sys sys 1131289797 18035
+1131291103 127 c sys/src/cmd/mk/arc.c - 664 sys sys 1131289508 826
+1131291103 128 c sys/src/cmd/mk/archive.c - 664 sys sys 1131289509 3071
+1131291103 129 c sys/src/cmd/mk/env.c - 664 sys sys 1131289509 2281
+1131291103 130 c sys/src/cmd/mk/file.c - 664 sys sys 1131289509 1299
+1131291103 131 c sys/src/cmd/mk/graph.c - 664 sys sys 1131289509 5822
+1131291103 132 c sys/src/cmd/mk/mk.c - 664 sys sys 1131289509 5330
+1131291103 133 c sys/src/cmd/mk/mk.h - 664 sys sys 1131289508 3765
+1131291103 134 c sys/src/cmd/mk/plan9.c - 664 sys sys 1131289511 6941
+1131291103 135 c sys/src/cmd/mk/recipe.c - 664 sys sys 1131289510 2543
+1131291103 136 c sys/src/cmd/mk/rule.c - 664 sys sys 1131289510 1946
+1131291103 137 c sys/src/cmd/mk/run.c - 664 sys sys 1131289510 5063
+1131291103 138 c sys/src/cmd/mk/symtab.c - 664 sys sys 1131289510 1581
+1131291103 139 c sys/src/cmd/mk/var.c - 664 sys sys 1131289510 530
+1131291103 140 c sys/src/cmd/mk/varsub.c - 664 sys sys 1131289511 4425
+1131291103 141 c sys/src/cmd/rdbfs.c - 664 sys sys 1131289483 7964
+1131291103 142 d sys/src/9/pc/sd53c8xx.i - 664 sys sys 1045063730 0
+1131291103 143 d sys/src/9/pc/reboot.h - 664 sys sys 1015014522 0
+1131292903 0 c sys/src/cmd/db/command.c - 664 sys sys 1131292957 4376
+1131292903 1 c sys/src/cmd/db/defs.h - 664 sys sys 1131292957 1700
+1131292903 2 c sys/src/cmd/db/expr.c - 664 sys sys 1131292957 5441
+1131292903 3 c sys/src/cmd/db/fns.h - 664 sys sys 1131292957 2078
+1131292903 4 c sys/src/cmd/db/format.c - 664 sys sys 1131292958 6874
+1131292903 5 c sys/src/cmd/db/print.c - 664 sys sys 1131292958 5959
+1131292903 6 c sys/src/cmd/db/regs.c - 664 sys sys 1131292958 1993
+1131292903 7 c sys/src/cmd/db/trcrun.c - 664 sys sys 1131292958 4434
+1131292903 8 c sys/src/cmd/vi/mips.h - 664 sys sys 1131292943 4837
+1131292903 9 c sys/src/cmd/nm.c - 664 sys sys 1131292928 4914
+1131292903 10 c sys/src/libmach/elf.h - 664 sys sys 1131292881 2301
+1131292903 11 c sys/src/libmach/obj.h - 664 sys sys 1131292890 604
+1131294703 0 c sys/include/a.out.h - 664 sys sys 1131293220 1407
+1131294703 1 c sys/man/1/strip - 664 sys sys 1131293239 523
+1131294703 2 c sys/man/4/factotum - 664 sys sys 1131294573 14841
+1131294703 3 c sys/man/8/plan9.ini - 664 sys sys 1131294569 22077
+1131294703 4 c sys/src/9/pc/apbootstrap.s - 664 sys sys 1131293655 3037
+1131294703 5 c sys/src/9/pc/sdscsi.c - 664 sys sys 1131293342 7133
+1131294703 6 a sys/src/9/pc/realmode.c - 664 sys sys 1131294602 2658
+1131294703 7 c sys/src/9/port/sysproc.c - 664 sys sys 1131293739 15150
+1131294703 8 c sys/src/cmd/9nfs/listalloc.c - 664 sys sys 1131293679 275
+1131294703 9 c sys/src/cmd/9nfs/nfs.c - 664 sys sys 1131293679 9526
+1131294703 10 c sys/src/cmd/9nfs/xfile.c - 664 sys sys 1131293680 1894
+1131294703 11 c sys/src/cmd/cc/lex.c - 664 sys sys 1131293446 23883
+1131294703 12 c sys/src/cmd/cc/lexbody - 664 sys sys 1131293457 9188
+1131294703 13 c sys/src/cmd/ktrace.c - 664 sys sys 1131293224 5885
+1131294703 14 c sys/src/cmd/tbl/t6.c - 664 sys sys 1131293512 7295
+1131294703 15 c sys/src/cmd/tbl/t8.c - 664 sys sys 1131293517 9041
+1131294703 16 c sys/src/cmd/tbl/tc.c - 664 sys sys 1131293494 1274
+1131294703 17 c sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1131293478 6420
+1131294703 18 c sys/src/cmd/ar.c - 664 sys sys 1131293258 23778
+1131294703 19 c sys/src/cmd/strip.c - 664 sys sys 1131293244 2502
+1131294703 20 c sys/src/games/music/playlistfs/boilerplate.c - 664 sys sys 1131293384 1547
+1131296504 0 c sys/src/9/pc/mkfile - 664 sys sys 1131294850 3580
+1131298304 0 c 386/bin/8c - 775 sys sys 1131296671 358395
+1131298304 1 c 386/bin/acid - 775 sys sys 1131296672 400034
+1131298304 2 c 386/bin/ar - 775 sys sys 1131296672 111983
+1131298304 3 c 386/bin/file - 775 sys sys 1131296674 121021
+1131298304 4 c 386/bin/kprof - 775 sys sys 1131296675 105507
+1131298304 5 c 386/bin/ktrace - 775 sys sys 1131296675 121949
+1131298304 6 c 386/bin/nm - 775 sys sys 1131296675 125784
+1131298304 7 c 386/bin/prof - 775 sys sys 1131296676 110924
+1131298304 8 c 386/bin/size - 775 sys sys 1131296676 78794
+1131298304 9 c 386/bin/strip - 775 sys sys 1131296676 80766
+1131298304 10 c 386/bin/auth/factotum - 775 sys sys 1131296673 313125
+1131298304 11 c 386/bin/aux/ms2 - 775 sys sys 1131296673 87464
+1131298304 12 c 386/bin/aux/nfsserver - 775 sys sys 1131296673 185439
+1131298304 13 c 386/bin/aux/pcnfsd - 775 sys sys 1131296674 129365
+1131298304 14 c 386/bin/aux/portmapper - 775 sys sys 1131296674 128251
+1131298304 15 c 386/bin/tprof - 775 sys sys 1131296677 297344
+1131298304 16 c 386/lib/libmach.a - 664 sys sys 1131296679 782950
+1131298304 17 c sys/src/cmd/db/command.c - 664 sys sys 1131297926 4377
+1131298304 18 c sys/src/cmd/db/fns.h - 664 sys sys 1131297926 2014
+1131298304 19 c sys/src/cmd/db/format.c - 664 sys sys 1131297926 6868
+1131298304 20 c sys/src/cmd/db/print.c - 664 sys sys 1131297926 5949
+1131298304 21 c sys/src/cmd/db/regs.c - 664 sys sys 1131297926 1998
+1131298304 22 c sys/src/cmd/db/trcrun.c - 664 sys sys 1131297926 4433
+1131298818 0 c sys/src/9/port/chan.c - 664 sys sys 1131298713 33663
+1131298818 1 c sys/src/9/port/segment.c - 664 sys sys 1131298540 13722
+1131298818 2 c sys/src/9/port/sysproc.c - 664 sys sys 1131298541 15159
+1131300105 0 c sys/src/9/pc/pcdisk - 664 sys sys 1131299995 1446
+1131300105 1 c sys/src/9/pc/pcf - 664 sys sys 1131299996 1504
+1131300105 2 c sys/src/9/pc/pccpuf - 664 sys sys 1131299996 1486
+1131300105 3 c sys/src/9/pc/pcflop - 664 sys sys 1131299996 1473
+1131301905 0 c sys/man/3/vga - 664 sys sys 1131301005 4957
+1131301905 1 c sys/man/8/vga - 664 sys sys 1131301001 3864
+1131303706 0 c 386/bin/db - 775 sys sys 1131302428 345503
+1131303706 1 c 386/bin/snap - 775 sys sys 1131302429 310917
+1131303706 2 c 386/bin/snapfs - 775 sys sys 1131302430 380175
+1131303706 3 c 386/bin/mk - 775 sys sys 1131302428 144690
+1131303706 4 c 386/bin/tbl - 775 sys sys 1131302431 113308
+1131307305 0 c sys/src/9/pc/trap.c - 664 sys sys 1131306249 21180
+1131318109 0 c 386/9load - 775 sys sys 1131317303 216948
+1131318109 1 c 386/9loaddebug - 775 sys sys 1131317308 311884
+1131318109 2 c 386/9loadlite - 775 sys sys 1131317306 135668
+1131318109 3 c 386/9loadlitedebug - 775 sys sys 1131317312 200131
+1131318109 4 c 386/9pc - 775 sys sys 1131317330 1881476
+1131318109 5 c 386/9pc.gz - 664 sys sys 1131317332 658770
+1131318109 6 c 386/9pccpu - 775 sys sys 1131317349 1555752
+1131318109 7 c 386/9pccpu.gz - 664 sys sys 1131317351 552557
+1131318109 8 c 386/9pcdisk - 775 sys sys 1131317356 2072467
+1131318109 9 c 386/9pcdisk.gz - 664 sys sys 1131317358 746873
+1131318109 10 c 386/9pcf - 775 sys sys 1131317362 2415556
+1131318109 11 c 386/9pcf.gz - 664 sys sys 1131317364 900937
+1131318109 12 c 386/9pxeload - 775 sys sys 1131317321 216948
+1131318109 13 c 386/init - 775 sys sys 1131317332 101212
+1131318109 14 c 386/ld.com - 775 sys sys 1131317344 72524
+1131318109 15 c 386/mbr - 775 sys sys 1131317338 407
+1131318109 16 c 386/pbs - 775 sys sys 1131317339 494
+1131318109 17 c 386/pbslba - 775 sys sys 1131317342 507
+1131318109 18 c sys/man/8/statusbar - 664 sys sys 1131317865 1251
+1131326298 0 c sys/src/9/pc/mmu.c - 664 sys sys 1131326224 19739
+1131326298 1 c sys/src/9/pc/mp.c - 664 sys sys 1131326235 17157
+1131327235 0 c 386/9pc - 775 sys sys 1131327135 1881573
+1131327235 1 c 386/9pc.gz - 664 sys sys 1131327137 658788
+1131327235 2 c 386/9pccpu - 775 sys sys 1131327140 1555849
+1131327235 3 c 386/9pccpu.gz - 664 sys sys 1131327141 552578
+1131327235 4 c 386/9pcdisk - 775 sys sys 1131327146 2072564
+1131327235 5 c 386/9pcdisk.gz - 664 sys sys 1131327148 746868
+1131327235 6 c 386/9pcf - 775 sys sys 1131327153 2415653
+1131327235 7 c 386/9pcf.gz - 664 sys sys 1131327156 900998

+ 22 - 19
sys/include/a.out.h

@@ -11,31 +11,34 @@ struct	Exec
 	long	pcsz;		/* size of pc/line number table */
 };
 
-#define	_MAGIC(b)	((((4*b)+0)*b)+7)
-#define	A_MAGIC		_MAGIC(8)	/* 68020 */
-#define	I_MAGIC		_MAGIC(11)	/* intel 386 */
-#define	J_MAGIC		_MAGIC(12)	/* intel 960 (retired) */
-#define	K_MAGIC		_MAGIC(13)	/* sparc */
-#define	V_MAGIC		_MAGIC(16)	/* mips 3000 BE */
-#define	X_MAGIC		_MAGIC(17)	/* att dsp 3210 (retired) */
-#define	M_MAGIC		_MAGIC(18)	/* mips 4000 BE */
-#define	D_MAGIC		_MAGIC(19)	/* amd 29000 (retired) */
-#define	E_MAGIC		_MAGIC(20)	/* arm */
-#define	Q_MAGIC		_MAGIC(21)	/* powerpc */
-#define	N_MAGIC		_MAGIC(22)	/* mips 4000 LE */
-#define	L_MAGIC		_MAGIC(23)	/* dec alpha */
-#define	P_MAGIC		_MAGIC(24)	/* mips 3000 LE */
-#define	U_MAGIC		_MAGIC(25)	/* sparc64 */
-#define	S_MAGIC		_MAGIC(26)	/* amd64 */
+#define HDR_MAGIC	0x00008000		/* header expansion */
+
+#define	_MAGIC(f, b)	((f)|((((4*(b))+0)*(b))+7))
+#define	A_MAGIC		_MAGIC(0, 8)		/* 68020 */
+#define	I_MAGIC		_MAGIC(0, 11)		/* intel 386 */
+#define	J_MAGIC		_MAGIC(0, 12)		/* intel 960 (retired) */
+#define	K_MAGIC		_MAGIC(0, 13)		/* sparc */
+#define	V_MAGIC		_MAGIC(0, 16)		/* mips 3000 BE */
+#define	X_MAGIC		_MAGIC(0, 17)		/* att dsp 3210 (retired) */
+#define	M_MAGIC		_MAGIC(0, 18)		/* mips 4000 BE */
+#define	D_MAGIC		_MAGIC(0, 19)		/* amd 29000 (retired) */
+#define	E_MAGIC		_MAGIC(0, 20)		/* arm */
+#define	Q_MAGIC		_MAGIC(0, 21)		/* powerpc */
+#define	N_MAGIC		_MAGIC(0, 22)		/* mips 4000 LE */
+#define	L_MAGIC		_MAGIC(0, 23)		/* dec alpha */
+#define	P_MAGIC		_MAGIC(0, 24)		/* mips 3000 LE */
+#define	U_MAGIC		_MAGIC(0, 25)		/* sparc64 */
+#define	S_MAGIC		_MAGIC(HDR_MAGIC, 26)	/* amd64 */
+
 #define	MIN_MAGIC	8
-#define	MAX_MAGIC	26
+#define	MAX_MAGIC	26			/* <= 90 */
 
-#define	DYN_MAGIC	0x80000000	/* or'd in for dynamically loaded modules */
+#define	DYN_MAGIC	0x80000000		/* dlm */
 
 typedef	struct	Sym	Sym;
 struct	Sym
 {
-	long	value;
+	vlong	value;
 	char	type;
 	char	*name;
 };

+ 59 - 55
sys/include/mach.h

@@ -119,9 +119,9 @@ struct Map {
 		int	fd;		/* file descriptor */
 		int	inuse;		/* in use - not in use */
 		int	cache;		/* should cache reads? */
-		ulong	b;		/* base */
-		ulong	e;		/* end */
-		ulong	f;		/* offset within file */
+		uvlong	b;		/* base */
+		uvlong	e;		/* end */
+		vlong	f;		/* offset within file */
 	} seg[1];			/* actually n of these */
 };
 
@@ -169,8 +169,8 @@ struct Mach{
 	char	*name;
 	int	mtype;			/* machine type code */
 	Reglist *reglist;		/* register set */
-	ulong	regsize;		/* sizeof registers in bytes*/
-	ulong	fpregsize;		/* sizeof fp registers in bytes*/
+	long	regsize;		/* sizeof registers in bytes */
+	long	fpregsize;		/* sizeof fp registers in bytes */
 	char	*pc;			/* pc name */
 	char	*sp;			/* sp name */
 	char	*link;			/* link register name */
@@ -179,6 +179,7 @@ struct Mach{
 	int	pgsize;			/* page size */
 	uvlong	kbase;			/* kernel base address */
 	uvlong	ktmask;			/* ktzero = kbase & ~ktmask */
+	uvlong	utop;			/* user stack top */
 	int	pcquant;		/* quantization of pc */
 	int	szaddr;			/* sizeof(void*) */
 	int	szreg;			/* sizeof(register) */
@@ -188,26 +189,26 @@ struct Mach{
 
 extern	Mach	*mach;			/* Current machine */
 
-typedef vlong	(*Rgetter)(Map*, char*);
-typedef	void	(*Tracer)(Map*, ulong, ulong, Symbol*);
+typedef uvlong	(*Rgetter)(Map*, char*);
+typedef	void	(*Tracer)(Map*, uvlong, uvlong, Symbol*);
 
 struct	Machdata {		/* Machine-dependent debugger support */
 	uchar	bpinst[4];			/* break point instr. */
 	short	bpsize;				/* size of break point instr. */
 
-	ushort	(*swab)(ushort);		/* short to local byte order */
-	long	(*swal)(long);			/* long to local byte order */
-	vlong	(*swav)(vlong);			/* vlong to local byte order */
-	int	(*ctrace)(Map*, ulong, ulong, ulong, Tracer); /* C traceback */
-	ulong	(*findframe)(Map*, ulong, ulong, ulong, ulong);/* frame finder */
+	ushort	(*swab)(ushort);		/* ushort to local byte order */
+	ulong	(*swal)(ulong);			/* ulong to local byte order */
+	uvlong	(*swav)(uvlong);		/* uvlong to local byte order */
+	int	(*ctrace)(Map*, uvlong, uvlong, uvlong, Tracer); /* C traceback */
+	uvlong	(*findframe)(Map*, uvlong, uvlong, uvlong, uvlong);/* frame finder */
 	char*	(*excep)(Map*, Rgetter);	/* last exception */
-	ulong	(*bpfix)(ulong);		/* breakpoint fixup */
+	ulong	(*bpfix)(uvlong);		/* breakpoint fixup */
 	int	(*sftos)(char*, int, void*);	/* single precision float */
 	int	(*dftos)(char*, int, void*);	/* double precision float */
-	int	(*foll)(Map*, ulong, Rgetter, ulong*);	/* follow set */
-	int	(*das)(Map*, ulong, char, char*, int);	/* symbolic disassembly */
-	int	(*hexinst)(Map*, ulong, char*, int); 	/* hex disassembly */
-	int	(*instsize)(Map*, ulong);	/* instruction size */
+	int	(*foll)(Map*, uvlong, Rgetter, uvlong*);/* follow set */
+	int	(*das)(Map*, uvlong, char, char*, int);	/* symbolic disassembly */
+	int	(*hexinst)(Map*, uvlong, char*, int); 	/* hex disassembly */
+	int	(*instsize)(Map*, uvlong);	/* instruction size */
 };
 
 /*
@@ -216,23 +217,24 @@ struct	Machdata {		/* Machine-dependent debugger support */
 typedef struct Fhdr
 {
 	char	*name;		/* identifier of executable */
-	short	type;		/* file type - see codes above*/
-	short	hdrsz;		/* size of this header */
+	uchar	type;		/* file type - see codes above*/
+	uchar	hdrsz;		/* header size */
+	uchar	spare[2];
 	long	magic;		/* magic number */
-	long	txtaddr;	/* text address */
-	long	entry;		/* entry point */
+	uvlong	txtaddr;	/* text address */
+	vlong	txtoff;		/* start of text in file */
+	uvlong	dataddr;	/* start of data segment */
+	vlong	datoff;		/* offset to data seg in file */
+	vlong	symoff;		/* offset of symbol table in file */
+	uvlong	entry;		/* entry point */
+	vlong	sppcoff;	/* offset of sp-pc table in file */
+	vlong	lnpcoff;	/* offset of line number-pc table in file */
 	long	txtsz;		/* text size */
-	long	txtoff;		/* start of text in file */
-	long	dataddr;	/* start of data segment */
 	long	datsz;		/* size of data seg */
-	long	datoff;		/* offset to data seg in file */
 	long	bsssz;		/* size of bss */
 	long	symsz;		/* size of symbol table */
-	long	symoff;		/* offset of symbol table in file */
 	long	sppcsz;		/* size of sp-pc table */
-	long	sppcoff;	/* offset of sp-pc table in file */
 	long	lnpcsz;		/* size of line number-pc table */
-	long	lnpcoff;	/* size of line number-pc table */
 } Fhdr;
 
 extern	int	asstype;	/* dissembler type - machdata.c */
@@ -243,24 +245,25 @@ int		beieee80ftos(char*, int, void*);
 int		beieeesftos(char*, int, void*);
 int		beieeedftos(char*, int, void*);
 ushort		beswab(ushort);
-long		beswal(long);
-vlong		beswav(vlong);
-int		cisctrace(Map*, ulong, ulong, ulong, Tracer);
-ulong		ciscframe(Map*, ulong, ulong, ulong, ulong);
+ulong		beswal(ulong);
+uvlong		beswav(uvlong);
+uvlong		ciscframe(Map*, uvlong, uvlong, uvlong, uvlong);
+int		cisctrace(Map*, uvlong, uvlong, uvlong, Tracer);
 int		crackhdr(int fd, Fhdr*);
-long		file2pc(char*, ulong);
+uvlong		file2pc(char*, long);
 int		fileelem(Sym**, uchar *, char*, int);
-int		fileline(char*, int, ulong);
+long		fileline(char*, int, uvlong);
 int		filesym(int, char*, int);
 int		findlocal(Symbol*, char*, Symbol*);
 int		findseg(Map*, char*);
-int		findsym(long, int, Symbol *);
-int		fnbound(long, ulong*);
+int		findsym(uvlong, int, Symbol *);
+int		fnbound(uvlong, uvlong*);
 int		fpformat(Map*, Reglist*, char*, int, int);
-int		get1(Map*, ulong, uchar*, int);
-int		get2(Map*, ulong, ushort*);
-int		get4(Map*, ulong, long*);
-int		get8(Map*, ulong, vlong*);
+int		get1(Map*, uvlong, uchar*, int);
+int		get2(Map*, uvlong, ushort*);
+int		get4(Map*, uvlong, ulong*);
+int		get8(Map*, uvlong, uvlong*);
+int		geta(Map*, uvlong, uvlong*);
 int		getauto(Symbol*, int, int, Symbol*);
 Sym*		getsym(int);
 int		globalsym(Symbol *, int);
@@ -272,11 +275,11 @@ int		leieee80ftos(char*, int, void*);
 int		leieeesftos(char*, int, void*);
 int		leieeedftos(char*, int, void*);
 ushort		leswab(ushort);
-long		leswal(long);
-vlong		leswav(vlong);
-long		line2addr(ulong, ulong, ulong);
+ulong		leswal(ulong);
+uvlong		leswav(uvlong);
+uvlong		line2addr(long, uvlong, uvlong);
 Map*		loadmap(Map*, int, Fhdr*);
-int		localaddr(Map*, char*, char*, long*, Rgetter);
+int		localaddr(Map*, char*, char*, uvlong*, Rgetter);
 int		localsym(Symbol*, int);
 int		lookup(char*, char*, Symbol*);
 void		machbytype(int);
@@ -285,20 +288,21 @@ int		nextar(Biobuf*, int, char*);
 Map*		newmap(Map*, int);
 void		objtraverse(void(*)(Sym*, void*), void*);
 int		objtype(Biobuf*, char**);
-long		pc2sp(ulong);
-long		pc2line(ulong);
-int		put1(Map*, ulong, uchar*, int);
-int		put2(Map*, ulong, ushort);
-int		put4(Map*, ulong, long);
-int		put8(Map*, ulong, vlong);
-int		readar(Biobuf*, int, int, int);
+uvlong		pc2sp(uvlong);
+long		pc2line(uvlong);
+int		put1(Map*, uvlong, uchar*, int);
+int		put2(Map*, uvlong, ushort);
+int		put4(Map*, uvlong, ulong);
+int		put8(Map*, uvlong, uvlong);
+int		puta(Map*, uvlong, uvlong);
+int		readar(Biobuf*, int, vlong, int);
 int		readobj(Biobuf*, int);
-ulong		riscframe(Map*, ulong, ulong, ulong, ulong);
-int		risctrace(Map*, ulong, ulong, ulong, Tracer);
-int		setmap(Map*, int, ulong, ulong, ulong, char*);
+uvlong		riscframe(Map*, uvlong, uvlong, uvlong, uvlong);
+int		risctrace(Map*, uvlong, uvlong, uvlong, Tracer);
+int		setmap(Map*, int, uvlong, uvlong, vlong, char*);
 Sym*		symbase(long*);
 int		syminit(int, Fhdr*);
-int		symoff(char*, int, long, int);
-void		textseg(ulong, Fhdr*);
+int		symoff(char*, int, uvlong, int);
+void		textseg(uvlong, Fhdr*);
 int		textsym(Symbol*, int);
 void		unusemap(Map*, int);

+ 21 - 5
sys/lib/acid/leak

@@ -83,28 +83,44 @@ dumprange(s, e, type)
 	print("range ", type, " ", s\X, " ", e\X, "\n");
 	x = s;
 	while x < e do {
-		y = *x;
+		y = *(x\X);
 		if isptr(y) then print("data ", x\X, " ", y\X, " ", type, "\n");
 		x = x + 4;
 	}
 }
 
+defn
+stacktop()
+{
+	local e, m;
+	
+	m = map();
+	while m != {} do {
+		e = head m;
+		if e[0] == "*data" then
+			return e[2];
+		m = tail m;
+	}
+	return 0x7ffff000;
+}
+			
 defn
 dumpmem()
 {
-	local s;
+	local s, top;
 
 	xbloc = *bloc;
 	// assume map()[1] is "data" 
 	dumprange(map()[1][1], end, "bss");	// bss
 	dumprange(end, xbloc, "alloc");	// allocated
 
-	if 0x7efff000 < *SP && *SP < 0x7ffff000 then 
+	top = stacktop() - 8;
+	if top-0x01000000 < *SP && *SP < top then
 		s = *SP;
 	else
-		s = 0x7fff7000;	// 32 k
+		s = top-32*1024;
 
-	dumprange(s, 0x7ffff000, "stack");
+	dumprange(s, top, "stack");
 }
 
 defn

+ 17 - 5
sys/man/1/strip

@@ -3,16 +3,28 @@
 strip \- remove symbols from binary files
 .SH SYNOPSIS
 .B strip
-[
 .I file ...
-]
+.PP
+.B strip
+.B -o
+.I ofile
+.I file
 .SH DESCRIPTION
 .I Strip
-removes symbol table segments from executable files, rewriting the files in place.
+removes symbol table segments from executable files,
+rewriting the files in place.
 Stripping a file requires write permission of the file
 and the directory it is in.
-If no file is given, 
-standard input is stripped and the result written to standard output.
+.PP
+If the
+.B -o
+flag is given, 
+the single input file
+.I file
+is stripped and the result written to
+.IR ofile .
+.I File
+is unchanged.
 .SH SOURCE
 .B /sys/src/cmd/strip.c
 .SH "SEE ALSO"

+ 6 - 3
sys/man/3/vga

@@ -5,11 +5,10 @@ vga \- VGA controller device
 .nf
 .B bind #v /dev
 
+.B /dev/vgabios
 .B /dev/vgactl
-
-.B /dev/vgaovlctl
-
 .B /dev/vgaovl
+.B /dev/vgaovlctl
 .fi
 .SH DESCRIPTION
 The VGA device allows configuration of a graphics controller
@@ -24,6 +23,10 @@ it is used to implement configuration and setup of VGA controller cards.
 This is usually performed by
 .IR vga (8).
 .PP
+.B Vgabios
+provides read-only access to the low 640kB of memory,
+where the VGA and other BIOS ROMs are located.
+.PP
 Writing strings to 
 .B vgactl
 configures the VGA device.

+ 9 - 1
sys/man/4/factotum

@@ -4,7 +4,7 @@ factotum, fgui \- authentication agent
 .SH SYNOPSIS
 .B auth/factotum
 [
-.B -DdkSun
+.B -DdknpuS
 ] [
 .B -a asaddr
 ] [
@@ -211,6 +211,14 @@ and
 .BR \-S .
 This option is typically used by
 the kernel at boot time.
+.TP
+.B \-p
+causes the agent not to mark itself `private'
+via 
+.IR proc (3),
+so that it can be debugged.
+It is implied by
+.BR \-d .
 .PD
 .PP
 .I Fgui

+ 14 - 0
sys/man/8/plan9.ini

@@ -515,6 +515,12 @@ partition, the definition might read
 See
 .IR boot (8)
 for more.
+.SS \fLdebugfactotum=\fP
+Causes
+.IR boot (8)
+to start factotum with the
+.B -p
+flag, so that it can be debugged.
 .SS \fLventi=value\fP
 When booting from a local fossil server backed by a local
 or remote venti server,
@@ -551,6 +557,13 @@ A value of
 consults only the first table,
 .B old
 only the second.
+.SS \fL*norealmode=\fP
+The kernel switches the processor to 16-bit real mode 
+to run BIOS interrupts, for example to find the memory map or to enable VESA. 
+This variable disables such switches.
+.SS \fL*noe820scan=\fP
+When available, the kernel uses the BIOS E820 memory map
+to size memory.  This variable disables the scan.
 .SS \fL*maxmem=value\fP
 This defines the maximum physical address that the system will scan when sizing memory.
 By default the operating system will scan up to 768 megabytes, but setting
@@ -561,6 +574,7 @@ If the system has more than 768 megabytes, you must set
 for the kernel to find it.
 .B *maxmem
 must be less than 1.75 gigabytes.
+This variable is not consulted if using the E820 memory map.
 .SS \fL*kernelpercent=value\fP
 This defines what percentage of available memory is reserved for the kernel allocation pool.
 The remainder is left for user processes.  The default

+ 13 - 10
sys/man/8/statusbar

@@ -46,22 +46,25 @@ set the coordinates of the statusbar window created
 .PD
 .SH EXAMPLE
 The
-.B -d
-options to
-.IR hget(1),
-.IR venti/fmtarenas ,
-and
-.I venti/fmtisect
-(see
-.IR ventiaux (8))
-cause them to print status lines suitable for
+.B -v
+option to
+.IR hget(1)
+.\" and the 
+.\" .B -d
+.\" option to
+.\" .IR venti/fmtarenas
+.\" and
+.\" .I venti/fmtisect
+.\" (see
+,\" .IR ventiaux (8))
+causes it to print status lines suitable for
 input to
 .IR statusbar .
 .PP
 Monitor a long download:
 .IP
 .EX
-hget -d -o bigfile http://server.com/bigfile | 
+hget -v -o bigfile http://server.com/bigfile | 
   aux/statusbar 'big file download'
 .EE
 .SH SOURCE

+ 0 - 1
sys/man/8/vga

@@ -59,7 +59,6 @@ dump the BIOS memory (in hex) to standard output and exit.
 .TP
 .B -c
 disable the use of the hardware graphics cursor.
-(Since there is no software cursor, this disables the cursor entirely.)
 .TP
 .B -d
 include the color palette in whatever actions are performed,

+ 1 - 1
sys/src/9/alphapc/apc

@@ -36,7 +36,7 @@ misc
 	arch164
 
 	sdata		pci sdscsi
-	sd53c8xx	pci sdscsi
+#	sd53c8xx	pci sdscsi
 
 	uarti8250
 

+ 11 - 4
sys/src/9/alphapc/dat.h

@@ -1,4 +1,5 @@
 typedef struct Conf	Conf;
+typedef struct Confmem	Confmem;
 typedef struct FPsave	FPsave;
 typedef struct ISAConf	ISAConf;
 typedef struct Label	Label;
@@ -32,6 +33,7 @@ struct Lock
 	ulong	sr;
 	ulong	pc;
 	Proc	*p;
+	Mach	*m;
 	ulong	pid;
 	ushort	isilock;
 };
@@ -63,15 +65,20 @@ struct	FPsave
 	long	fpstatus;
 };
 
+struct Confmem
+{
+	ulong	base;
+	ulong	npage;
+	ulong	kbase;
+	ulong	klimit;
+};
+
 struct Conf
 {
 	ulong	nmach;		/* processors */
 	ulong	nproc;		/* processes */
-	ulong	npage0;		/* total physical pages of memory */
-	ulong	npage1;		/* total physical pages of memory */
+	Confmem	mem[2];
 	ulong	npage;		/* total physical pages of memory */
-	ulong	base0;		/* base of bank 0 */
-	ulong	base1;		/* base of bank 1 */
 	ulong	upages;		/* user page pool */
 	ulong	nimage;		/* number of page cache image headers */
 	ulong	nswap;		/* number of swap pages */

+ 1 - 4
sys/src/9/alphapc/devvga.c

@@ -130,10 +130,7 @@ vgaread(Chan* c, void* a, long n, vlong off)
 		len += snprint(p+len, READSTR-len, "blanktime %lud\n", blanktime);
 		len += snprint(p+len, READSTR-len, "hwaccel %s\n", hwaccel ? "on" : "off");
 		len += snprint(p+len, READSTR-len, "hwblank %s\n", hwblank ? "on" : "off");
-		if(scr->pciaddr)
-			snprint(p+len, READSTR-len, "addr 0x%lux\n", scr->pciaddr);
-		else
-			snprint(p+len, READSTR-len, "addr 0x%lux\n", scr->aperture);
+		snprint(p+len, READSTR-len, "addr 0x%lux\n", scr->paddr);
 		n = readstr(offset, a, n, p);
 		poperror();
 		free(p);

+ 3 - 1
sys/src/9/alphapc/fns.h

@@ -98,11 +98,13 @@ void	tlbflush(int, ulong);
 void	touser(void*);
 void	trapinit(void);
 void	unaligned(void);
-ulong	upamalloc(ulong, int, int);
+ulong	upaalloc(int, int);
 void	upafree(ulong, int);
 #define	userureg(ur) ((ur)->status & UMODE)
+void*	vmap(ulong, int);
 void	wrent(int, void*);
 void	wrvptptr(uvlong);
+void	vunmap(void*, int);
 
 #define	waserror()	(up->nerrlab++, setlabel(&up->errlab[up->nerrlab-1]))
 #define KADDR(a)	((void*)((ulong)(a)|KZERO))

+ 7 - 7
sys/src/9/alphapc/main.c

@@ -454,17 +454,17 @@ confinit(void)
 	 * allocating low memory pages from bank 0 for any peripherals
 	 * which only have a 24bit address counter.
 	 */
-	conf.npage0 = (8*1024*1024)/BY2PG;
-	conf.base0 = 0;
+	conf.mem[0].npage = (8*1024*1024)/BY2PG;
+	conf.mem[0].base = 0;
 
-	conf.npage1 = (b->max-8*1024*1024)/BY2PG;
-	conf.base1 = 8*1024*1024;
+	conf.mem[1].npage = (b->max-8*1024*1024)/BY2PG;
+	conf.mem[1].base = 8*1024*1024;
 
-	conf.npage = conf.npage0+conf.npage1;
+	conf.npage = conf.mem[0].npage+conf.mem[1].npage;
 	conf.upages = (conf.npage*70)/100;
 
-	conf.npage0 -= ktop/BY2PG;
-	conf.base0 += ktop;
+	conf.mem[0].npage -= ktop/BY2PG;
+	conf.mem[0].base += ktop;
 	conf.ialloc = ((conf.npage-conf.upages)/2)*BY2PG;
 
 	/*

+ 21 - 7
sys/src/9/alphapc/mmu.c

@@ -224,8 +224,8 @@ flushmmu(void)
 
 }
 
-ulong
-upamalloc(ulong pa, int size, int align)
+void*
+vmap(ulong pa, int size)
 {
 	void *va;
 
@@ -234,17 +234,16 @@ upamalloc(ulong pa, int size, int align)
 	 */
 	if(pa == 0)
 		return 0;
-	USED(align);
 	va = kmapv(((uvlong)0x88<<32LL)|pa, size);
 	if(va == nil)
 		return 0;
-	return PADDR(va);
+	return (void*)va;
 }
 
 void
-upafree(ulong, int)
+vunmap(void*, int)
 {
-	print("upafree: virtual mapping not freed\n");
+	print("vunmap: virtual mapping not freed\n");
 }
 
 void
@@ -263,4 +262,19 @@ mmudump(void)
 	}
 }
 
-void checkmmu(ulong, ulong) { }
+ulong
+upaalloc(int, int)
+{
+	return 0;
+}
+
+void
+upafree(ulong, int)
+{
+}
+
+void
+checkmmu(ulong, ulong)
+{
+}
+

+ 20 - 7
sys/src/9/alphapc/screen.h

@@ -68,7 +68,7 @@ struct VGAdev {
 	void	(*enable)(VGAscr*);
 	void	(*disable)(VGAscr*);
 	void	(*page)(VGAscr*, int);
-	ulong	(*linear)(VGAscr*, int*, int*);
+	void	(*linear)(VGAscr*, int, int);
 	void	(*drawinit)(VGAscr*);
 	int	(*fill)(VGAscr*, Rectangle, ulong);
 	void (*flush)(VGAscr*, Rectangle);
@@ -91,6 +91,7 @@ struct VGAcur {
 struct VGAscr {
 	Lock	devlock;
 	VGAdev*	dev;
+	Pcidev*	pci;
 
 	VGAcur*	cur;
 	ulong	storage;
@@ -98,17 +99,16 @@ struct VGAscr {
 
 	int	useflush;
 
-	ulong	aperture;			/* physical address, kernel */
-	ulong	pciaddr;			/* physical address, user */
-	int	isupamem;
+	ulong	paddr;		/* frame buffer */
+	void*	vaddr;
 	int	apsize;
 
 	ulong	io;				/* device specific registers */
-
+	ulong	*mmio;
+	
 	ulong	colormap[Pcolours][3];
 	int	palettedepth;
 
-	ulong	*mmio;
 	Memimage* gscreen;
 	Memdata* gscreendata;
 	Memsubfont* memdefont;
@@ -142,14 +142,27 @@ extern int	screenaperture(int, int);
 extern Rectangle physgscreenr;	/* actual monitor size */
 extern void	blankscreen(int);
 
+extern VGAcur swcursor;
+extern void swcursorinit(void);
+extern void swcursorhide(void);
+extern void swcursoravoid(Rectangle);
+extern void swcursorunhide(void);
+
 /* devdraw.c */
 extern void	deletescreenimage(void);
 extern int	drawhasclients(void);
 extern ulong	blanktime;
+extern QLock	drawlock;
+
 /* vga.c */
 extern void	vgascreenwin(VGAscr*);
 extern void	vgaimageinit(ulong);
-extern ulong	vgapcilinear(VGAscr*, int*, int*, int, int);
+extern void	vgalinearpciid(VGAscr*, int, int);
+extern void	vgalinearpci(VGAscr*);
+extern void	vgalinearaddr(VGAscr*, ulong, int);
 
 extern void	drawblankscreen(int);
 extern void	vgablank(VGAscr*, int);
+
+extern Lock	vgascreenlock;
+

+ 0 - 2
sys/src/9/alphapc/sd53c8xx.c

@@ -1817,8 +1817,6 @@ static Variant variant[] = {
 { SYM_1010_DID,  0xff, "SYM53C1010",	Burst128, 16, 64, Prefetch|LocalRAM|BigFifo|Wide|Ultra|Ultra2 },
 };
 
-#define offsetof(s, t) ((ulong)&((s *)0)->t)
-
 static int
 xfunc(Controller *c, enum na_external x, unsigned long *v)
 {

+ 12 - 4
sys/src/9/bitsy/dat.h

@@ -1,5 +1,6 @@
 typedef struct Cisdat 		Cisdat;
 typedef struct Conf		Conf;
+typedef struct Confmem	Confmem;
 typedef struct FPU		FPU;
 typedef struct FPenv		FPenv;
 typedef struct FPsave		FPsave;
@@ -37,6 +38,7 @@ struct Lock
 	ulong	sr;
 	ulong	pc;
 	Proc	*p;
+	Mach	*m;
 	ushort	isilock;
 };
 
@@ -62,19 +64,25 @@ struct	FPsave
 	ulong	regs[8][3];	/* emulated fp */	
 };
 
+struct Confmem
+{
+	ulong	base;
+	ulong	npage;
+	ulong	limit;
+	ulong	kbase;
+	ulong	klimit;
+};
+
 struct Conf
 {
 	ulong	nmach;		/* processors */
 	ulong	nproc;		/* processes */
-	ulong	npage0;		/* total physical pages of memory */
-	ulong	npage1;		/* total physical pages of memory */
+	Confmem	mem[2];
 	ulong	npage;		/* total physical pages of memory */
 	ulong	upages;		/* user page pool */
 	ulong	nimage;		/* number of page cache image headers */
 	ulong	nswap;		/* number of swap pages */
 	int	nswppo;		/* max # of pageouts per segment pass */
-	ulong	base0;		/* base of bank 0 */
-	ulong	base1;		/* base of bank 1 */
 	ulong	copymode;	/* 0 is copy on write, 1 is copy on reference */
 	int	monitor;
 	ulong	ialloc;		/* bytes available for interrupt time allocation */

+ 19 - 1
sys/src/9/bitsy/devpenmouse.c

@@ -53,6 +53,8 @@ struct Mouseinfo
 	Lock;
 	Mousestate;
 	ulong	lastcounter;	/* value when /dev/mouse read */
+	ulong	resize;
+	ulong	lastresize;
 	Rendez	r;
 	Ref;
 	QLock;
@@ -285,6 +287,10 @@ penmouseread(Chan *c, void *va, long n, vlong)
 		mouse.lastcounter = m.counter;
 		if(n > 1+4*12)
 			n = 1+4*12;
+		if(mouse.lastresize != mouse.resize){
+			mouse.lastresize = mouse.resize;
+			buf[0] = 'r';
+		}
 		memmove(va, buf, n);
 		return n;
 	}
@@ -481,7 +487,8 @@ penmousetrack(int b, int x, int y)
 int
 penmousechanged(void*)
 {
-	return mouse.lastcounter != mouse.counter;
+	return mouse.lastcounter != mouse.counter ||
+		mouse.lastresize != mouse.resize;
 }
 
 Point
@@ -489,3 +496,14 @@ penmousexy(void)
 {
 	return mouse.xy;
 }
+
+/*
+ * notify reader that screen has been resized (ha!)
+ */
+void
+mouseresize(void)
+{
+	mouse.resize++;
+	wakeup(&mouse.r);
+}
+

+ 38 - 49
sys/src/9/bitsy/main.c

@@ -268,19 +268,18 @@ rdb(void)
 int
 probemem(ulong addr)
 {
+	int i;
 	ulong *p;
 	ulong a;
 
 	addr += OneMeg - sizeof(ulong);
 	p = (ulong*)addr;
 	*p = addr;
-	for(a = conf.base0+OneMeg-sizeof(ulong); a < conf.npage0; a += OneMeg){
-		p = (ulong*)a;
-		*p = 0;
-	}
-	for(a = conf.base1+OneMeg-sizeof(ulong); a < conf.npage1; a += OneMeg){
-		p = (ulong*)a;
-		*p = 0;
+	for(i=0; i<nelem(conf.mem); i++){
+		for(a = conf.mem[i].base+OneMeg-sizeof(ulong); a < conf.mem[i].limit; a += OneMeg){
+			p = (ulong*)a;
+			*p = 0;
+		}
 	}
 	p = (ulong*)addr;
 	if(*p != addr)
@@ -295,57 +294,47 @@ probemem(ulong addr)
 void
 confinit(void)
 {
-	int i;
+	int i, j;
 	ulong addr;
 	ulong ktop;
 
 	/* find first two contiguous sections of available memory */
 	addr = PHYSDRAM0;
-	conf.base0 = conf.npage0 = addr;
-	conf.base1 = conf.npage1 = addr;
-	for(i = 0; i < 512; i++){
-		if(probemem(addr) == 0)
-			break;
-		addr += OneMeg;
+	for(i=0; i<nelem(conf.mem); i++){
+		conf.mem[i].base = addr;
+		conf.mem[i].limit = addr;
 	}
-	for(; i < 512; i++){
-		if(probemem(addr) < 0)
-			break;
-		addr += OneMeg;
-		conf.npage0 = addr;
-	}
-
-	conf.base1 = conf.npage1 = addr;
-	for(; i < 512; i++){
-		if(probemem(addr) == 0)
-			break;
-		addr += OneMeg;
+	for(j=0; j<nelem(conf.mem); j++){
+		conf.mem[j].base = addr;
+		conf.mem[j].limit = addr;
+		
+		for(i = 0; i < 512; i++){
+			if(probemem(addr) == 0)
+				break;
+			addr += OneMeg;
+		}
+		for(; i < 512; i++){
+			if(probemem(addr) < 0)
+				break;
+			addr += OneMeg;
+			conf.mem[j].limit = addr;
+		}
 	}
-	for(; i < 512; i++){
-		if(probemem(addr) < 0)
-			break;
-		addr += OneMeg;
-		conf.npage1 = addr;
+	
+	conf.npage = 0;
+	for(i=0; i<nelem(conf.mem); i++){
+		/* take kernel out of allocatable space */
+		ktop = PGROUND((ulong)end);
+		if(ktop >= conf.mem[i].base && ktop <= conf.mem[i].limit)
+			conf.mem[i].base = ktop;
+		
+		/* zero memory */
+		memset((void*)conf.mem[i].base, 0, conf.mem[i].limit - conf.mem[i].base);
+
+		conf.mem[i].npage = (conf.mem[i].limit - conf.mem[i].base)/BY2PG;
+		conf.npage += conf.mem[i].npage;
 	}
 
-	/* take kernel out of allocatable space */
-	ktop = PGROUND((ulong)end);
-	if(ktop >= conf.base0 && ktop <= conf.npage0)
-		conf.base0 = ktop;
-	else if(ktop >= conf.base1 && ktop <= conf.npage1)
-		conf.base1 = ktop;
-	else
-		iprint("kernel not in allocatable space\n");
-
-	/* zero memory */
-	memset((void*)conf.base0, 0, conf.npage0 - conf.base0);
-	memset((void*)conf.base1, 0, conf.npage1 - conf.base1);
-
-	/* make npage the right thing */
-	conf.npage0 = (conf.npage0 - conf.base0)/BY2PG;
-	conf.npage1 = (conf.npage1 - conf.base1)/BY2PG;
-	conf.npage = conf.npage0+conf.npage1;
-
 	if(conf.npage > 16*MB/BY2PG){
 		conf.upages = (conf.npage*60)/100;
 		imagmem->minarena = 4*1024*1024;

+ 1 - 1
sys/src/9/bitsy/mkfile

@@ -104,7 +104,7 @@ init.h:	../port/initcode.c init9.s
 	$AS init9.s
 	$LD -l -R1 -o init.out init9.$O initcode.$O /arm/lib/libc.a
 	{echo 'uchar initcode[]={'
-	 strip < init.out | xd -1x |
+	 strip -o /fd/1 init.out | xd -1x |
 		sed -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
 	 echo '};'} > init.h
 

+ 1 - 21
sys/src/9/bitsy/sdata.c

@@ -742,6 +742,7 @@ tryedd1:
 
 	sdev->ifc = &sdataifc;
 	sdev->ctlr = ctlr;
+	sdev->idno = 'C';
 	sdev->nunit = 1;
 	ctlr->sdev = sdev;
 
@@ -1571,26 +1572,6 @@ atalegacy(int port, int irq)
 	return ataprobe(port, port+0x204, irq);
 }
 
-static SDev*
-ataid(SDev* sdev)
-{
-	int i;
-
-	if(sdev == nil)
-		return nil;
-	i = 0;
-	while(sdev){
-		if(sdev->ifc == &sdataifc){
-			sdev->idno = 'C'+i;
-			i++;
-			snprint(sdev->name, KNAMELEN, "sd%c", sdev->idno);
-		}
-		sdev = sdev->next;
-	}
-
-	return nil;
-}
-
 static int ataitype;
 static int atairq;
 static int
@@ -2089,7 +2070,6 @@ SDifc sdataifc = {
 
 	nil,				/* pnp */
 	atalegacy,			/* legacy */
-	ataid,				/* id */
 	ataenable,			/* enable */
 	nil,				/* disable */
 

+ 3 - 1
sys/src/9/boot/bootauth.c

@@ -22,7 +22,9 @@ authentication(int cpuflag)
 	ac = 0;
 	av = argv;
 	av[ac++] = "factotum";
-//av[ac++] = "-d";
+	if(getenv("debugfactotum"))
+		av[ac++] = "-p";
+//av[ac++] = "-d";	//debug traces
 //av[ac++] = "-D";	//9p messages
 	if(cpuflag)
 		av[ac++] = "-S";

+ 11 - 5
sys/src/9/mtx/dat.h

@@ -1,4 +1,5 @@
 typedef struct Conf	Conf;
+typedef struct Confmem	Confmem;
 typedef struct FPsave	FPsave;
 typedef struct ISAConf	ISAConf;
 typedef struct Label	Label;
@@ -33,7 +34,7 @@ struct Lock
 	ulong	sr;
 	ulong	pc;
 	Proc	*p;
-	ulong	pid;
+	Mach	*m;
 	ushort	isilock;
 };
 
@@ -68,15 +69,20 @@ struct	FPsave
 	};
 };
 
+struct Confmem
+{
+	ulong	base;
+	ulong	npage;
+	ulong	kbase;
+	ulong	klimit;
+};
+
 struct Conf
 {
 	ulong	nmach;		/* processors */
 	ulong	nproc;		/* processes */
-	ulong	npage0;		/* total physical pages of memory */
-	ulong	npage1;		/* total physical pages of memory */
+	Confmem	mem[1];
 	ulong	npage;		/* total physical pages of memory */
-	ulong	base0;		/* base of bank 0 */
-	ulong	base1;		/* base of bank 1 */
 	ulong	upages;		/* user page pool */
 	ulong	nimage;		/* number of page cache image headers */
 	ulong	nswap;		/* number of swap pages */

+ 3 - 7
sys/src/9/mtx/main.c

@@ -288,13 +288,9 @@ confinit(void)
 
 	pa = PGROUND(PADDR(end));
 
-	conf.npage0 = memsize/BY2PG;
-	conf.base0 = pa;
-	
-	conf.npage1 = 0;
-	conf.base1 = pa;
-
-	conf.npage = conf.npage0 + conf.npage1;
+	conf.mem[0].npage = memsize/BY2PG;
+	conf.mem[0].base = pa;
+	conf.npage = conf.mem[0].npage;
 
 	conf.nmach = 1;
 	conf.nproc = 100 + ((conf.npage*BY2PG)/MB)*5;

+ 10 - 10
sys/src/9/pc/apbootstrap.s

@@ -1,3 +1,13 @@
+/*
+ * Start an Application Processor. This must be placed on a 4KB boundary
+ * somewhere in the 1st MB of conventional memory (APBOOTSTRAP). However,
+ * due to some shortcuts below it's restricted further to within the 1st
+ * 64KB. The AP starts in real-mode, with
+ *   CS selector set to the startup memory address/16;
+ *   CS base set to startup memory address;
+ *   CS limit set to 64KB;
+ *   CPL and IP set to 0.
+ */
 #include "mem.h"
 
 #define NOP		BYTE $0x90		/* NOP */
@@ -23,16 +33,6 @@
 #define PDO(a)		(((((a))>>22) & 0x03FF)<<2)
 #define PTO(a)		(((((a))>>12) & 0x03FF)<<2)
 
-/*
- * Start an Application Processor. This must be placed on a 4KB boundary
- * somewhere in the 1st MB of conventional memory (APBOOTSTRAP). However,
- * due to some shortcuts below it's restricted further to within the 1st
- * 64KB. The AP starts in real-mode, with
- *   CS selector set to the startup memory address/16;
- *   CS base set to startup memory address;
- *   CS limit set to 64KB;
- *   CPL and IP set to 0.
- */
 TEXT apbootstrap(SB), $0
 	FARJUMP16(0, _apbootstrap(SB))
 TEXT _apvector(SB), $0				/* address APBOOTSTRAP+0x08 */

+ 13 - 0
sys/src/9/pc/apic.c

@@ -376,3 +376,16 @@ lapicclock(Ureg *u, void*)
 {
 	timerintr(u, 0);
 }
+
+void
+lapicintron(void)
+{
+	lapicw(LapicTPR, 0);
+}
+
+void
+lapicintroff(void)
+{
+	lapicw(LapicTPR, 0xFF);
+}
+

+ 2 - 0
sys/src/9/pc/apm.c

@@ -103,6 +103,8 @@ apmlink(void)
 	if(isaconfig("apm", 0, &isa) == 0)
 		return;
 
+/* XXX use realmode() */
+
 	/*
 	 * APM info passed from boot loader.
 	 * Now we need to set up the GDT entries for APM.

+ 2 - 0
sys/src/9/pc/archmp.c

@@ -62,6 +62,8 @@ PCArch archmp = {
 .reset=		mpshutdown,
 .intrinit=	mpinit,
 .intrenable=	mpintrenable,
+.intron=	lapicintron,
+.introff=	lapicintroff,
 .fastclock=	i8253read,
 .timerset=	lapictimerset,
 };

+ 19 - 7
sys/src/9/pc/dat.h

@@ -1,4 +1,5 @@
 typedef struct Conf	Conf;
+typedef struct Confmem	Confmem;
 typedef struct FPsave	FPsave;
 typedef struct ISAConf	ISAConf;
 typedef struct Label	Label;
@@ -32,6 +33,7 @@ struct Lock
 	ulong	sr;
 	ulong	pc;
 	Proc	*p;
+	Mach	*m;
 	ushort	isilock;
 };
 
@@ -73,13 +75,20 @@ struct	FPsave
 	uchar	regs[80];	/* floating point registers */
 };
 
+struct Confmem
+{
+	ulong	base;
+	ulong	npage;
+	ulong	kbase;
+	ulong	klimit;
+};
+
 struct Conf