Commit Graph

7738 Commits

Author SHA1 Message Date
chuck d14981d7b7 bugdev.c: from Dale Rahn (bug device access)
exec_mvme.c: from sun3 port, adapted by me.   I also fixed a bug that
	prevented ZMAGIC kernels from running.
libsa.h: new file by me
parse_args.c: by Theo de Raadt from OpenBSD with slight revisions from by me
	to make it fit the new format.
1996-05-17 20:59:53 +00:00
chuck 23ee5c7500 replace with code to use libbug rather than access directly 1996-05-17 20:54:50 +00:00
chuck 86a71fe9e7 complete revise of sun3 SRT0 so that it works with bugcrt by me. 1996-05-17 20:53:49 +00:00
chuck 3430ad6211 update for my reorg 1996-05-17 20:52:37 +00:00
chuck d2da5a2153 remove files no longer needed due to reorg. 1996-05-17 20:49:23 +00:00
chuck 36079d8909 update for new boot stuff 1996-05-17 20:45:48 +00:00
chuck 75dfdfdab4 bootxx: import from sun3 port, adapt to mvme68k by me. 1996-05-17 20:11:31 +00:00
pk 05379d078e Add `_kernel_text' symbol for kvm_mkdb(8). 1996-05-17 20:07:53 +00:00
chuck ccc9ad0d6c fix comment 1996-05-17 20:07:36 +00:00
chuck 62a58e8eaa bootst: from Dale Rahn. 1996-05-17 20:06:45 +00:00
chuck 008b8c0664 bootsd: import from sun3 port, adjust for mvme68k port by me 1996-05-17 20:04:46 +00:00
chuck bee8cda103 installboot: from sun ports 1996-05-17 20:00:52 +00:00
chuck 671b4023a4 wrtvid by Dale Rahn. 1996-05-17 19:58:53 +00:00
chuck 89a5edba69 prtvid (print out a VID block). by Dale Rahn. 1996-05-17 19:54:57 +00:00
chuck 94e848e819 update for libbug.h, console I/O 1996-05-17 19:50:10 +00:00
chuck a48f9896dd fix -I 1996-05-17 19:43:48 +00:00
gwr a0d3ad800b Add the version line. 1996-05-17 19:39:30 +00:00
chuck 71c9b6faad pull in a set of changes I forgot to include in initial version 1996-05-17 19:37:59 +00:00
gwr 50ecbc1c84 Rename cs_pclk_div16 to cs_brg_clk to clarify the fact that the
Baud Rate Generator (BRG) clock is not necessarily PCLK/16.
1996-05-17 19:32:06 +00:00
chuck eabb97da52 libbug from Dale Rahn. Revisions by Theo de Raadt and myself. 1996-05-17 19:31:46 +00:00
chuck 1bd98e4d83 bugcrt from Dale Rahn. With modifications from myself and Theo de Raadt. 1996-05-17 19:26:43 +00:00
cgd eda3fcd053 fix declaration of main() 1996-05-17 18:29:41 +00:00
abrown d9277a9036 Add Sun4m power0 power status/control register to GENERIC configuration 1996-05-17 18:02:56 +00:00
phil 04241dc8eb Add _kernel_text. 1996-05-17 16:38:24 +00:00
thorpej 03fc26050d Put the vector table _after_ the temp stack. 1996-05-17 16:32:28 +00:00
mark d7ef096470 Probe for both Atomwide and ANT ether3 podules. 1996-05-17 16:24:03 +00:00
mark 8a9255ea4b Recognise ANT ether3 podules. 1996-05-17 16:17:21 +00:00
thorpej 503413590e Changes for the new delay() function. 1996-05-17 15:38:08 +00:00
thorpej 91cb72e7ea remove the now unused MHz constants, add a declaration for vectab[],
and document some globals.
1996-05-17 15:37:07 +00:00
thorpej a5d6cd3a32 Move the vector table to the data segment. 1996-05-17 15:33:52 +00:00
thorpej d845719070 Add a new function, hp300_calibrate_delay(), which sets the delay constant
based on a model's known CPU speed.  cpuspeed value is now in MHz
instead of (MHz / 8).
1996-05-17 15:32:26 +00:00
thorpej 33e1caaf99 Couple of changes:
- New delay() function, modeled after sun3/mvme68k delay,
	  calibrated with a model's known cpu speed.
	- Use the defined constants for machineid and ectype
	  when determining what kind of machine we have, rather
	  than their expanded equivalents, for clarity.
	- Move the vector table to the data segment so that it
	  can be patched at run-time.
1996-05-17 15:27:26 +00:00
thorpej bbc04e2011 Define the machineid and ectype constants. 1996-05-17 15:20:55 +00:00
thorpej b20981c51d Remove cpuspeed from here. 1996-05-17 15:19:02 +00:00
thorpej 3ad552e74b Adjust for new DELAY() ... s/DELAY(1)/DELAY(5)/ and lengthen some
timeouts.
1996-05-17 15:15:29 +00:00
thorpej c3fc839395 Change "DELAY(1)" to "DELAY(5)". This is basically equivalent to how
the old implementation of DELAY() behaved with small values.
1996-05-17 15:12:30 +00:00
thorpej f708ced3a3 Adjust for the new values of cpuspeed. 1996-05-17 15:09:39 +00:00
thorpej be71c11843 Add 2 missing ";"s ... they weren't noticed before because of the
old implementation of DELAY().
1996-05-17 15:08:13 +00:00
is 0ffd802ca1 Make "options DRACO" kernels boot on Amiga mainboards, too:
- don't change the _lev2intr and _lev6intr entry points in static code
- set the level 2, 5, 5 and 6 interrupt autovectors from initcpu() on DraCo.
1996-05-17 12:56:49 +00:00
oki 6cab72d789 Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-17 12:22:22 +00:00
mark c2af4f7f17 add 'kernel_text' symbol, for use by kvm_mkdb 1996-05-17 11:00:45 +00:00
chuck 0b05acfe0a add _kernel_text 1996-05-17 04:38:02 +00:00
briggs e9d5ab8b3a Set _kernel_text as recommended by Gordon--set before vector table. 1996-05-17 02:11:47 +00:00
thorpej 7d279a797f Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-16 23:53:10 +00:00
pk 2d2098c11b Check for `configuration parent' differently: compare against "sbus"
rather than "ledma".
1996-05-16 22:57:32 +00:00
cgd 93bc248f7c add 'kernel_text' symbol, for use by kvm_mkdb 1996-05-16 22:54:30 +00:00
pk b9f70e90d8 Add `flags' to the esp entries: disable disconnect & synch negotiation
by default until further notice.
1996-05-16 22:47:47 +00:00
pk e509f9aaeb Change attributes of `dma', `espdma' and `ledma' (the attributes on the latter
two didn't seem to make much sense anyway..) to allow `esp' devices to be
attached to one of `sbus', `dma' and `espdma'.

Remove the wildcarded `espdma?' and `ledma?' attachments of `esp' and `le'
respectively, in favour of `dma?' and `lebuffer?' (but the latter is not
yet implemented), which seems to better match reality: additional SBus
SCSI/Lance boards call themselves `dma' and `lebuffer'.
1996-05-16 22:38:04 +00:00
pk 3f1283a92f Re-arrange code that looks for the esp driver to allow for the fact that
any "dma" device (i.e. not just "espdma") can have an OBP child. This is
the case with (at least some) SBus SCSI boards.
1996-05-16 21:45:35 +00:00
pk 50e92fd71d Use configuration file flags to disable reselection and/or sync negotiation,
on a per target basis (until the driver can sort things out on its own).

Test against "sbus" in stead of "espdma" to find out where in the
configuration tree we are: an esp can be the child of a "dma" on SBus
add-on boards.
1996-05-16 20:31:28 +00:00