Commit Graph

33386 Commits

Author SHA1 Message Date
simonb 326cce3c7a Add a PROM call stub for getchar. 1999-11-27 06:52:05 +00:00
simonb 92bd89485a Remove code in sector 0 support - we don't need the space and it allows
for the coexistance for other port's bootblocks in sector 0.
1999-11-27 06:49:34 +00:00
simonb 1463e10159 Don't require a disklabel at the start of a disk - needed for
ISO 9660 f/s support.
1999-11-27 06:48:08 +00:00
simonb 31d531e54b Header file include cleanup. 1999-11-27 06:47:24 +00:00
simonb 4001a35043 Small cleanup based on Alpha newvers.sh. 1999-11-27 06:46:56 +00:00
simonb 0246cad68c GC register keyword.
Add LIBSA_SINGLE_DEVICE support.
1999-11-27 06:46:36 +00:00
simonb 8160906e08 Add lfs, cd9660, nfs and ustarfs filesystem support.
Remove callv variable declaration.
1999-11-27 06:45:52 +00:00
simonb 55ae392784 Add some PROM function prototypes
Add bootprog* variable declarations (ala alpha/stand/common.h).
1999-11-27 06:45:07 +00:00
simonb 4bb143c0ea Move callv variable declaration here from conf.c. 1999-11-27 06:44:00 +00:00
simonb c3c29ad5c5 Load second stage bootblocks from "boot.pmax", falling back to "boot"
for backwards compatibility and "boot.pma" after that for people who
make ISO filesystems with 8.3 format file names.
1999-11-27 06:34:06 +00:00
simonb 26b61c0dff callvec.c has moved from stand/lib to stand/common.
XXX: The kernel proper shouldn't rely on files in stand!  Will fix soon.
1999-11-27 05:35:00 +00:00
simonb 10c7b5ab91 Remove the remaining files in lib directory. The other files in
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:55:46 +00:00
simonb 40bbc6129e Remove the remaining files in scsiboot directory. The other files in
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:54:43 +00:00
simonb 426c66b28c Moved to common/callvec.c,v 1999-11-27 03:14:47 +00:00
simonb 42fdd5dfb7 Moved from lib/callvec.c,v 1999-11-27 03:14:46 +00:00
simonb e2751ce295 Moved to common/printf.S,v 1999-11-27 03:12:24 +00:00
simonb 360739d57f Moved from scsiboot/printf.S,v 1999-11-27 03:12:23 +00:00
simonb 88b44c10cb Moved to common/clear_cache.S,v 1999-11-27 03:11:56 +00:00
simonb ea515c3a7f Moved from scsiboot/clear_cache.S,v 1999-11-27 03:11:55 +00:00
simonb 16ddb8bd85 Moved to common/bootxx.c,v 1999-11-27 03:11:41 +00:00
simonb 9bbac58265 Moved from scsiboot/bootxx.c,v 1999-11-27 03:11:40 +00:00
simonb acefb84bcb Moved to common/startprog.S,v 1999-11-27 03:10:17 +00:00
simonb 81ff761e62 Moved from lib/startprog.S,v 1999-11-27 03:10:16 +00:00
simonb a61aff17a2 Moved to common/start.S,v 1999-11-27 03:10:07 +00:00
simonb ffab24d77d Moved from lib/start.S,v 1999-11-27 03:10:06 +00:00
simonb d4e109f26d Moved to common/rz.h,v 1999-11-27 03:09:52 +00:00
simonb 2dcb3cc6f2 Moved from lib/rz.h,v 1999-11-27 03:09:51 +00:00
simonb de5d47be57 Moved to common/rz.c,v 1999-11-27 03:09:42 +00:00
simonb dd6570cdf6 Moved from lib/rz.c,v 1999-11-27 03:09:41 +00:00
simonb 875e06c29a Moved to common/putchar.c,v 1999-11-27 03:09:27 +00:00
simonb 59e9772e78 Moved from lib/putchar.c,v 1999-11-27 03:09:26 +00:00
simonb 7915729248 Moved to common/newvers.sh,v 1999-11-27 03:09:06 +00:00
simonb cf4333e101 Moved from lib/newvers.sh,v 1999-11-27 03:09:05 +00:00
simonb b24ec11fca Moved to common/devopen.c,v 1999-11-27 03:08:47 +00:00
simonb 16c74987cc Moved from lib/devopen.c,v 1999-11-27 03:08:46 +00:00
simonb 1a4a126f90 Moved to common/conf.c,v 1999-11-27 03:08:31 +00:00
simonb b02cf094dc Moved from lib/conf.c,v 1999-11-27 03:08:30 +00:00
simonb 8ac75f530b Moved to common/common.h,v 1999-11-27 03:08:02 +00:00
simonb 034554d0a8 Moved from lib/common.h,v 1999-11-27 03:08:01 +00:00
simonb 41f1bf53e1 Moved to common/bootread.S,v 1999-11-27 03:07:40 +00:00
simonb 4a75552397 Moved from lib/bootread.S,v 1999-11-27 03:07:39 +00:00
simonb d5c8b5ad99 Moved to common/bootinit.S,v 1999-11-27 03:07:22 +00:00
simonb 1f59f63d6d Moved from lib/bootinit.S,v 1999-11-27 03:07:21 +00:00
simonb 4d2b51c4be Moved to common/bootinfo.h,v 1999-11-27 03:06:56 +00:00
simonb 3f99fedebd Moved from lib/bootinfo.h,v 1999-11-27 03:06:55 +00:00
simonb 4a53cd4daa Moved to common/bootinfo.c,v 1999-11-27 03:06:31 +00:00
simonb 1e9b1f56a7 Moved from lib/bootinfo.c,v 1999-11-27 03:06:30 +00:00
simonb 089a87b280 Moved from boot/boot.c,v 1999-11-27 02:52:07 +00:00
simonb 9f8721cd67 Moved to common/boot.c,v 1999-11-27 02:52:06 +00:00
simonb fbbde1126e Remove NUMBOOT define - disklabel doesn't install bootblocks anymore. 1999-11-27 01:58:37 +00:00
simonb db783e76e8 Use explicitly sized types for entities that exist on disk.
Use alpha-like defines for boot block offset on disk and boot block size.
1999-11-27 01:51:20 +00:00
simonb b83882f7c7 Use new pmax stand structure for multi-filesystem bootblocks. All
entries are commented out for now until everything else is updated.
1999-11-27 01:45:46 +00:00
simonb 69e1252d6a Oops, px* won't work right now - go back to px0. 1999-11-27 01:31:47 +00:00
simonb 0b1eae6c7a * all device attachments, after discussion with Jason Thorpe and Toru
Nishimura.
1999-11-27 01:19:31 +00:00
soren 6f6045c97d Regen. 1999-11-27 01:03:33 +00:00
soren 8c5ab0744f IBM cards update. 1999-11-27 01:03:18 +00:00
mycroft 1d9d2c47c5 In pmap_emulate_reference(), always or in the bits. I know the code is trying
to be clever, but...
Also, a slight optimization for the write case.
1999-11-27 00:25:15 +00:00
mycroft f26df92bed Fix bugs in pmap_protect() that were responsible for the `ld.elf_so lossage'.
* We could overrun the eva by as much as L1SEG_SIZE-PAGE_SIZE.
* sva was advanced *twice* for each valid l3 or l2 page, causing it to get out
  of sync with the PTE pointers.
1999-11-26 23:04:33 +00:00
fvdl 2aea14c604 Clear B_AGE in bdirty(), this buffer must go through the LRU again
to be back on the AGE queue. Otherwise we risk recycling a set
of buffers with (soft) dependencies on the AGE list, which may
last forever if the vnode they belong to is locked (i.e. the syncer
won't get to the buffers they depend on, so their dependencies
are never flushed).
1999-11-26 17:18:15 +00:00
soren 506836faa1 Regen. 1999-11-26 17:17:21 +00:00
soren 71f7530292 Add two 3Com modems. 1999-11-26 17:16:53 +00:00
bouyer 8f56b89950 More WDCDEBUG_PRINT. 1999-11-26 12:39:43 +00:00
augustss 97fc004770 Don't complain when umodemstartread() returns USBD_IN_PROGRESS. It's normal. 1999-11-26 09:12:50 +00:00
augustss d94a5b55fb Make timeout device exploration optional in debug mode. 1999-11-26 01:41:03 +00:00
augustss 77bb4d8ce2 Cosmetic change. 1999-11-26 01:40:01 +00:00
augustss aa32088c20 Cosmetic changes. 1999-11-26 01:39:27 +00:00
augustss 240991073c Generate an error message when attachment fails. 1999-11-26 01:38:40 +00:00
is 14d940c179 Jens, not Joerg 1999-11-25 22:11:03 +00:00
is 5a05d40012 Address range scaling is hidden by the bus_space functions. Correct the
definitions in case we ever do bus_space accounting on Amiga.
1999-11-25 21:58:57 +00:00
is 366a09427a Add a few boards we know about.
This should really be table-driven and optional.
1999-11-25 21:57:45 +00:00
is 57ac5a3ea7 Another RTL8019 board: X-serve by Individual Computers Jens Schoenfeld. 1999-11-25 21:53:01 +00:00
is df61f0409e From the 68040 User Manual, page 4-10:
"To fully support self-modifying code in any situation, it is imperative that
a CPUSHA intrcution is executed before the execution of the first self-modified
instruction. The CPUSHA instruction has the effect of ensuring that there is
no stale data iin memory, the pipeline is flushed, and instruction prefetches
are repeated and taken from external memory."

I verified that this is the only way (I can think of) to make the sigtramp
regression test work on 68040. doing cpushl dc; cinvl ic; over the affected
address range, then nop (to synchronize the pipeline) is not enough; apparently
the nop does not FLUSH the pipeline and prefetch...

Note that the 68060 UM has copied the above cited passage, but in fact this is
not true. This might be connected to the fact that the 68060 does ensure
memory access order under most conditions.
1999-11-25 20:30:38 +00:00
ad 6783a346b9 Fix date in copyright string. 1999-11-25 16:40:19 +00:00
pk 249aa2e089 Target `machine' symlink explicitly at the sparc64 headers. 1999-11-25 14:46:08 +00:00
pk e0118ca933 Suppress the `machine' symlink when making target `obj'.
Also add it to the clean target list.
1999-11-25 13:27:30 +00:00
pk b797a06151 Make symlink to appropriate header directory and have cpp use it. 1999-11-25 13:25:09 +00:00
mrg dcba4f5e10 use a portable invocation for cc -E 1999-11-25 06:06:03 +00:00
mrg ca66e6b619 - pass slot number to sbus_get_intr() as a new argument.
- in sbus_get_intr(), if we are not an onboard device (ie, sbus card),
  encode the slot number into the sbi_pri so that we can later extract
  it and use it to find the interrupt map & clear registers for this
  device.
- remove "intr" support as it is really pre-sun4u only.
- don't "pause" for so long in sbus interrupt debug messages..

with the slot number being passed back from sbus_get_intr(), the FS/BE
card in an ultra2 now appears to get interrupts and gets beyond
waiting for the scsibus probe!
1999-11-25 05:03:53 +00:00
nisimura 36e75e7449 Some fix on comment descriptions. 1999-11-25 02:53:46 +00:00
nisimura 94b897d4bf Reorder device descriptions to reflect what kernel shows on screen,
mostly in address ascending order.
1999-11-25 02:48:12 +00:00
simonb 353ca54019 Move memory sizing to a new function memsize_scan(), and add an empty
stub for memsize_bitmap() to use the PROM bitmap for memory information.
Add a memsize function pointer to the platform structure, and make all
existing DECstation models use memsize_scan() for now.

Interestingly, from the Ultrix cpuconf.{c,h} only the 3100 and 5400 use
a memory scan to determine available memory - all other models use the
PROM bitmap...
1999-11-25 01:40:22 +00:00
augustss 961d4d6ad2 Change CS4297 id entry. 1999-11-24 23:21:01 +00:00
augustss df60fd6eac Regen. 1999-11-24 23:18:07 +00:00
augustss ae1dcc2dc0 Comment out some entries for Entrega serial adapters. These entries
are only relevant before firmware download.
1999-11-24 23:17:27 +00:00
augustss c156651eb9 Avoid the special when disconnecting devices with no config descriptor.
It was wrong.
1999-11-24 23:14:39 +00:00
augustss bb2a9b3008 Add some more debug printing. 1999-11-24 23:13:19 +00:00
scottr 2454426afe Take a cue from the i386 port: Enable DHCP by default, rather than
BOOTP.
1999-11-24 22:01:19 +00:00
drochner cfabac64f5 fix vm_page initialization for the case where kernel+symbols+tables
exceed 16M
1999-11-24 18:32:50 +00:00
drochner b1f2453dee add a diagnostic panic to catch illegal memory ranges passed to
uvm_page_physload()
1999-11-24 18:28:49 +00:00
simonb 93d33f5806 Wildcard 3max {asc,le}0 at tc attachment. 1999-11-24 02:25:37 +00:00
thorpej 635d546dd9 Specify the locators for everything. 1999-11-24 02:10:47 +00:00
thorpej 4d7bdecfce My 3MAX's config file. 1999-11-24 02:05:40 +00:00
thorpej 7fa174a09e Specify all the locators for the various devices. 1999-11-24 02:05:12 +00:00
mrg d4cf67e2d2 s/CEXTRAFLAG/CEXTRAFLAGS/ so it works. 1999-11-24 01:54:34 +00:00
mrg abc579187f prefix a variable with "pci_" 1999-11-24 01:53:38 +00:00
simonb 05715b1dbd Attach asc0 and le0 at tc 5 and 6 respectively - 5000/200 now works again.
XXX: Should the turbochannel slot numbers be wildcarded or hardcoded?
     It's not as if they can appear anywhere else...
1999-11-24 01:52:06 +00:00
simonb 6a03465ac4 Don't check for additional dc instances yet. 1999-11-24 01:43:38 +00:00
thorpej 11ea81b1c2 Delete now-unreferenced files. 1999-11-24 01:18:13 +00:00
simonb d6a69159ca Fix tyop in comment. 1999-11-24 00:18:37 +00:00
thorpej 298f4b27f4 Make separate device lists for the 3100 and 5100, and add a way to probe
for optional `dc' devices on the 5100.
1999-11-24 00:04:06 +00:00