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
is
16465b6509
merge.
1996-05-16 20:18:01 +00:00
leo
c4b5129d5d
Add edahdi to the subdirs.
1996-05-16 20:03:53 +00:00
leo
9e086936f3
Remove files commited in the wrong directory. Sorry.
1996-05-16 20:02:33 +00:00
leo
15f7f8dcfd
edahdi, an AHDI partition-id editor
1996-05-16 19:51:25 +00:00
mark
4a03434386
Increased delay time while waiting for acknowledgement following the
...
sending of a keyboard reset code. This fixes a problem on some machine
where the reset code ends is a long loop continually trying to reset the
keyboard.
1996-05-16 19:32:25 +00:00
pk
0b59ea6fbd
Replace a couple of (*foo_p)()'s with direct calls. All instances occurred
...
within in functions that were already mmu-arch specific.
Some formatting nits.
1996-05-16 19:19:33 +00:00
mark
525cc1eebc
Fixed the printing of the podule description from the chunk directory
...
for unrecognised podules.
1996-05-16 19:05:35 +00:00
thorpej
a9bd225c1c
Remove duplicate definitions of the "le" device .. "oops"
1996-05-16 19:00:06 +00:00
mark
0d476cb7d0
bus memory and I/O space access functions/macros, to be used by
...
machine-independent code for more sane access to bus resources.
Defines:
bus_{io,mem}_{map,unmap}
bus_{io,mem}_{read,write}_{1,2,4,8}
bus_io_{read,write}_multi_{1,2,4,8}
functions, and several types to go with them.
Note: The bus_io_*_8 functions are not supported.
1996-05-16 18:08:40 +00:00
chuck
7e8ebd0628
add code so that we can generate a valid disklabel without help from
...
wrtvid.
1996-05-16 17:59:57 +00:00
chuck
0f68df580b
import Theo's prom.h from OpenBSD. includes my recent changes.
1996-05-16 17:55:54 +00:00
chuck
6c21c38077
add some comments to explain what is going on here
...
also add enough info to enable the kernel to create
a valid disklabel without help from wrtvid.
1996-05-16 17:52:51 +00:00
is
d0bd068b17
cleanup comment.
1996-05-16 17:52:22 +00:00
is
ee807dac4c
Correct a -Wall correction.
1996-05-16 17:50:25 +00:00
mark
f38ec079c3
Removed definitions of mouse buttons. These should be obtained from
...
iomd.h and do not need to be duplicated here.
1996-05-16 17:45:10 +00:00
is
eced298a2b
- tell new version of assembler to still accept 851/030 opcodes when compiling
...
with -m68060
- add -Wall -Wstrict-prototypes
1996-05-16 17:07:08 +00:00
is
d3ad3efef5
3 more constants for 68060 access error trap stack frames.
1996-05-16 16:51:30 +00:00
is
9546c59d96
Only declare setconf() #ifdef GENERIC.
1996-05-16 16:10:11 +00:00
oki
a104ff9340
spl0 prototype.
1996-05-16 16:03:35 +00:00
is
d5793c310d
add DCIA prototype.
1996-05-16 16:02:15 +00:00
oki
347edbdf91
fixed gcc -Wall warning.
1996-05-16 15:57:32 +00:00
abrown
4bbf23d04c
Copyright police (s/Harvard University/Harvard College/).
1996-05-16 15:56:54 +00:00
is
5b2b46b306
Fix for unused var warnings in compiler problem workaround.
1996-05-16 15:53:02 +00:00
is
3b8b982891
Naive translation of text to assembler had caused some assembler syntax
...
errors. Fixed them. Thanks to Bernd Ernesti for the early report.
1996-05-16 15:37:49 +00:00
abrown
fe454d89f3
Implement a hack to give pmap a better chance of working on SS10's with
...
no external L2 cache.
XXX this is ugly and will go away when cpu_softc gets done for the 1.3 release
Also, copyright police (s/Harvard University/Harvard College/).
1996-05-16 14:30:54 +00:00
thorpej
81ba0732e0
Document the "flags" for the si and sw controllers. While I'm here,
...
do some re-arrangement (cleanup), and document which devices exist on
which machines, so that people can be better informed when they trim
down their kernels. There are a LOT of comments in this file now!
1996-05-16 03:13:27 +00:00
thorpej
81b0485bfe
These haven't been kept up to date.
1996-05-15 23:57:50 +00:00
thorpej
5179f14567
This hasn't been kept up to date.
1996-05-15 23:52:44 +00:00