thorpej
b3897170bd
Haven't used "options RCONSOLE" for a long time. Update to the new
...
"options RASTERCONSOLE". Noticed by cgd.
1996-04-11 21:54:13 +00:00
thorpej
e17cddf913
If the power device is configured, don't forget to compile the driver.
...
Also, add some whitespace for readability.
1996-04-11 21:05:42 +00:00
thorpej
41a08fd254
Include fdc.h, not fd.h, due to change in files.sparc.
1996-04-11 19:20:03 +00:00
pk
c0919485d4
Move some of the SCSI target juggling to autoconf's fake_bootpath() routine.
...
Fix incorrect interpretation of bootpath's val[2] as a SCSI unit.
1996-04-10 20:48:35 +00:00
pk
e4394459a1
bootdv' is gone. Instead, set the device pointer in the
struct bootpath'
...
that is passed in the attach arguments.
1996-04-10 20:46:05 +00:00
pk
c28fcc3539
Use extra value in `struct bootpath' to describe the PROM's bootpath better.
...
Use the bootpath[] array in setroot() to determine partition info in case
of boot devices of type DV_DISK. Also, precook more SCSI device info in
fake_bootpath() to simplify dk_establish().
1996-04-10 20:40:14 +00:00
pk
5f2d466997
Make room for another value' in struct bootpath. Drop the global
bootdv'
...
in favour of storing the device pointer in the bootpath[] element corresponding
to the boot device. This also allows the opportunity to get to "intermediate"
devices (e.g. busses) should the need for this ever arise.
1996-04-10 20:33:38 +00:00
pk
4c26e95dde
Initialize relevant elements of the `romaux' structure in romprop().
1996-04-09 15:24:00 +00:00
pk
1a1a8ba8c9
Undo unintended change in previous commit: _mcount is static.
1996-04-08 20:55:36 +00:00
thorpej
940ccbc5df
Fix typo that caused sun4 machines to be misidentified as sun4c-class.
...
Fixes reported problem of binstall not stripping the a.out header from
the boot block on sun4 machines.
1996-04-07 20:00:12 +00:00
thorpej
77366064b8
Fix oversight in sun4m changes: the CPU attach code moved, so the CPU
...
was never getting attached on a sun4 machine. Fix this so that the
cache and FPU get enabled on sun4 machines. (Believe me, a 4/260 is
slot enough, *with* the cache...)
1996-04-07 06:02:20 +00:00
thorpej
56fed0c102
Fix slight oversight in previous change.
1996-04-07 05:50:59 +00:00
thorpej
d68e57ee64
Make this compile again on a SUN4-only kernel. (Avoid "unused foo"
...
warnings from gcc -Wall. While the optimizer is smart enough to
eliminate dead code, it looks like the rest of gcc doesn't Get It.)
1996-04-07 04:48:46 +00:00
chuck
e50fc72424
make netbsd/sparc boot on sun4 once again. the sun4m changes introduced
...
config lines for obio0 devices without addresses (thus cf->cf_loc[0] took
the default value of -1). we now ignore these entries on a sun4 since
they could never be valid (eliminates a 'panic:alignment' fault at bootup).
1996-04-05 21:50:05 +00:00
chuck
a7c600676f
make netbsd/sparc boot on sun4 once again. the sun4m changes introduced
...
config lines for obio0 devices without addresses (thus cf->cf_loc[0] took
the default value of -1). this caused autoconf.c to map memreg0 to
obio physical address -1 (invalid). as soon as we took a memory fault
the code in memfault_sun4 [locore] would get a Watchdog timeout when trying to
read memreg0 (a.k.a. par_err_reg).
1996-04-05 21:44:25 +00:00
pk
8eeab3102b
Probe clock registers on sun4s to make sure we attach the correct device
...
(sun4m has clocks at obio too).
1996-04-04 23:55:47 +00:00
pk
8e427a346f
Check for frame pointers we can handle (i.e. in kernel space). This prevents
...
data faults when tracing proc0's context.
1996-04-04 23:25:35 +00:00
abrown
1372d856d7
cpu.c: correctly identify Sun4m associative caches
...
kgdb_stub.c: make it compile again with Sun4m-only kernel
1996-04-04 23:06:32 +00:00
abrown
1068aa5751
Add back support for cached DVMA on SuperSPARC (sun4m) machines that was lost
...
during merge
1996-04-04 23:05:22 +00:00
pk
b0fd2dabcb
Include fd.c if (fdc | fd), so we're not obliged to define a device
...
at fdc.
1996-04-04 22:57:55 +00:00
cgd
83f9bdc359
update for the fact that config_found() and config_rootfound() now
...
return pointers. (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
cgd
7bc2baeb01
update for the fact that 'alldevs' is now a TAILQ.
1996-04-04 00:27:24 +00:00
pk
7311f0da23
Late-breaking patch from Aaron.
1996-04-01 21:09:39 +00:00
christos
10ffa5da40
Fix warnings when SUN4M is not defined.
1996-04-01 19:16:41 +00:00
christos
3dbbc8d3e9
Fix another printf format argument.
1996-04-01 17:37:08 +00:00
christos
4bdb6550cb
Added missing prototypes and include files, fixed parentheses so that it
...
compiles cleanly.
1996-04-01 17:36:20 +00:00
christos
362a6875bf
Remove last dependency to dev_conf.h and the file itself.
1996-04-01 17:34:34 +00:00
christos
f34addbb3b
- remove dependency to dev_conf.h
...
- remove unneeded casts for %b
1996-04-01 17:33:10 +00:00
christos
34f644d1b9
Remove casts of printf args for %b format.
1996-04-01 17:31:38 +00:00
christos
dc6ff48df6
Eliminated dependencies on dev_conf.h
1996-04-01 17:29:44 +00:00
pk
25b6ab86fe
Update device list.
1996-04-01 00:20:31 +00:00
pk
3cf5ed1f30
Various cleanup; mostly trailing spaces/tabs.
1996-03-31 23:44:53 +00:00
pk
8347d3f584
The sun4m name for this device is "auxio".
1996-03-31 23:43:21 +00:00
pk
301e978cf8
Various sun4m-related changes straight from Aaron.
1996-03-31 23:38:29 +00:00
pk
e0344005b4
Changes to match 4m-aware locore.s. Note changed `trapbase' and
...
`sparc_interrupt_{44c.4m}' labels.
1996-03-31 23:35:20 +00:00
pk
e743dda2a9
Update for 4m locore.s. Remove some items, since locore.s now #includes
...
param.h
1996-03-31 23:28:03 +00:00
pk
cf4009e56c
Include support for sun4m timers and counters: hardware register layout
...
has changed. There is a counter for each CPU (currently, just one supported).
1996-03-31 23:24:59 +00:00
pk
8de1fd22bc
Add sun4m support. Many, many changes..
...
Note on multi-architecture kernels: most architecture dependent traps are
forked off directly by having a separate trap table for each (sun4,sun4c,sun4m)
This reduces the number of tests on `cputyp' significantly, and it's easier
on the mind. There are still some entry points that need to test `cputyp',
most notably microtime().. yuck.
1996-03-31 23:19:22 +00:00
pk
6d76616bf0
The sun4m IOMMU "device".
1996-03-31 23:09:32 +00:00
pk
7b55c61c27
Include support for sun4m timers and counters: hardware register layout
...
has changed. There is a counter for each CPU (currently, just one supported).
1996-03-31 23:07:59 +00:00
pk
df2a68f25b
Add sun4m VA definitions (for clock and interrupt).
...
Make these generic for all architectures (i.e. avoid `#if defined(SUN4*)'s).
1996-03-31 23:03:31 +00:00
pk
ff109a19a3
Accomodate sun4m CPUs and caches (Aaron). Cache handling needs to be
...
revised.
1996-03-31 23:00:40 +00:00
pk
df08150880
Updates for sun4m.
1996-03-31 22:57:09 +00:00
pk
35802bf06b
Accomodate sun4m device layout (v3 PROM) and special 4m startup goo.
...
Heavily cleaned from most `#if defined(SUN4*)' stuff in favour of
CPU_ISSUN4* macros.
1996-03-31 22:55:33 +00:00
pk
678fbb4806
sun4m device definitions and bus structure.
1996-03-31 22:52:38 +00:00
pk
b2d12c182b
Aaron's sun4m-related trap handling (memory faults).
...
Note that fork() no longer return in syscall() in the child.
Add a couple of `#ifdef DEBUG's.
1996-03-31 22:51:58 +00:00
pk
d15de4b09b
Initialize DMA addresses properlier in cpu_startup().
...
dumpsys(): do not try to dump first physical page, this fucks up pmap_extract().
1996-03-31 22:48:24 +00:00
pk
3c89c0901d
Aaron's SRMMU/sun4m pmap implementation.
...
Note: multi-architecture kernels use function pointers for several PMAP
entry points.
Cut down the `#if defined(SUN4*)' mess severely by using CPU_ISSUN4*
macros (see machine/param.h) wherever possible.
1996-03-31 22:42:59 +00:00
pk
2f3ec93250
Various cleanup; mostly trailing spaces/tabs.
1996-03-31 22:38:29 +00:00
pk
66539854e8
Diddling of the `power' bit in machine control register (Aaron).
1996-03-31 22:34:40 +00:00