Age | Commit message (Collapse) | Author |
|
- simpler structures (no more redundant or easily computable information).
- split scheme configuration (for 4:1 and 8:1 designs) is only compiled in
if necessary (read: only on a mvme88k kernel configured for MVME188 support),
which speeds up CMMU operations on the Luna88k.
- will not enable bus snopping on a monoprocessor system.
Tested on Luna88k-2, MVME187 and various MVME188 by aoyama@ and I.
|
|
|
|
- add the board's suffix to the machine description if there is one;
- recognize BUG version < 5 on MVME188, which don't provide a CNFG block.
in this case we'll assume 20MHz for now, until we can parse the ENV data block
correctly...
|
|
- move MAX_CPUS constant to <machine/cpu.h>
- do not include <machine/board.h> unless needed. In fact, remove this file
entirely on mvme88k, and include <machine/mvme*.h> on a
compiling-for-this-board basis
- keep MAX_CMMUS constant private to the m8820x code
|
|
|
|
gives us more counters in the process.
Also clean up intrhand structures and usage, especially move them to SLISTs.
|
|
|
|
below the kernel text is reserved for the PROM, instead of using fixed
(but different) values between luna88k and mvme88k.
Tested on mvme88k by myself, on luna88k by aoyama@
|
|
<m88k/cpu.h>, and simplify the return values while there.
|
|
to the BUG instead of spinning if our reset fails.
|
|
|
|
values in trapframes.
|
|
and m68k.
ok drahn@, millert@
|
|
|
|
|
|
|
|
|
|
For now, include files only.
|
|
actually slows things down in every case.
|
|
converted yet, and they rely upon some linear mappings provided by bus_space.
In order to not impact performance, almost all the bus_space accesses go
through macros and inline functions. This currently restricts us to D16 and
D32 access modes, which are selected at compilation time. Since there are no
plans to support D8 vme devices in the future, this is acceptable for now.
This makes the "len" locator for vme devices go away, and allows to simplify
some code which was using the pcctwo device, and will now directly access
hardware which is known to exist, rather than wait until the device is
attached.
While there, try to enforce more interrupt vector number checks, since these
changes pointed out that dart(4) had been working correctly so far by sheer
luck only.
|
|
cluster value that noone will really need to crank.
|
|
actually use two distinct vectors, rather than twice the same.
Because of this, print vector last in vmeprint() so that dmesg remains pretty
in the multi-vector case.
|
|
memread/memwrite.
|
|
for once - SCON in GLOBAL1 on MVME188 is an SCON*, thus low if the board is
the system controller.
|
|
|
|
(as advertized in the comments...)
|
|
|
|
|
|
|
|
mvmeprom_netctrl definition while there.
|
|
|
|
arithmetic, when computing cmmu numbers.
|
|
move 8820x-only definitions to the adequate header.
Also crank MAXPHYSMEM to a more realistic value.
|
|
(deraadt wanted 2, I wanted 4, actually...)
|
|
- define more constants and macros for readability. Especially cache
initialization suddently becomes more readable.
- after every flush operation, wait for the operation to complete by
accessing the status register, before returning.
|
|
|
|
Also shrink iomap to a more reasonable value for now.
|
|
|
|
the toolchain was in limbo, but now that we have a solid enough in-tree
toolchain, this makes no sense. Plus the libc back then was full of bugs...
|
|
<sys/types.h>; spotted by deraadt@
|
|
This removes the need for extra padding in struct sigcontext.
|
|
of registers. This also makes signal and sigreturn much simpler.
|
|
the remaining fielhs only available in struct trapframe.
This has the additional benefit of preventing smarty-pants from altering
the frame a bit too easily from ddb, at the expense of a few ugly casts in
ddb.
|
|
instead.
Allow struct reg and struct trapframe to live different lives and grow
separately. Righty now they are still the same, and code expects a trapframe
to always start with a struct reg. This may change...
|
|
|
|
apr validity constants, really.
And get rid of the old cache_policy debug trick.
|
|
never lowers current spl value, and use it where appropriate.
|
|
prototype in the process.
|
|
it is not the boot device and has not been expliictely ``enabled'' in the
BUG.
Will definitely help netboot installations...
|
|
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.
|