Age | Commit message (Collapse) | Author |
|
mvme88k does.
|
|
getting the geometry check the number of attached drives from
the bios area at 40:75.
- bump version.
from toby@. we want people to test this, specially those with ghost
drives showing up.
|
|
|
|
- bump version.
toby@ ok.
|
|
- don't blindly return but check whether bios_getdisklabel() failed and
act according.
this fixes (at some extent) booting from a floppy if it wasn't inserted
during floppyprobe(). toby@ ok.
|
|
- always give C routines invoked by the assembly code some breathing room on
the stack
- merge error and reset exception handlers -- gets us rid of error_fault()
and error_reset().
- remove all references to SR0 and "threads" inherited from Mach. In fact,
we do not use SR0 at all now.
- only use double load and stores instructions when we are 200% sure we are
accessing a correctly aligned area. I am not fond of unaligned kernel
accesses, and forcing every pgb to be aligned on an 8 byte boundary is
gross.
|
|
this had no side effects...
|
|
which is only used to obfuscate things.
Doing this points out that the BUG memory is not at the same address on
187 and 197 (the 197 BUG is inside obio), so provide distinct constants,
and treat 187 and 197 slightly differently in pmap_bootstrap(). However, we
now need to map the 197 flash memory as well...
While there, simplify and constify pmap_table_build() and its associated data.
|
|
includable even without option DDB, in which case it will only define
the PC_REGS(), inst_return() and inst_call() macros; this removes the need
to declare them a second time in trap.c.
|
|
output. Also, if the board configuration parameter area is invalid, warn the
user and assume safe values - this is likely caused by a dead NVRAM battery.
|
|
toby@ ok.
|
|
|
|
|
|
ok toby, and now tested for lots of machines
|
|
|
|
two months ago and the rediscovered by grange@ and then probably by some more other people in mongolia who had no inet to report it unfortunately; this also fixes problem w/ catching sigsegv after recent bcopy(,,sizeof) fixes; deraadt@ ok
|
|
context of a regular exception. This was probably a good move, but it
eventually causes issues when uptimes grows towards infinity...
Of course, diagnosing such an issue at the same time that the disk drive
is dying and causes problems on his own, is not exactly easy...
|
|
in <machine/prom.h> -- code in stand/ does not need a specific context to
invoke the BUG functions.
|
|
switch to another, safe, unused bit.
From the MC88110UM via deraadt@
|
|
'-a' option.
Closes PR #2122 and #3437. From Thorsten Glaser.
ok deraadt@ henning@ weingart@.
|
|
|
|
|
|
|
|
- faster code paths in eh.S, especially for 88110 cpus
- do not service data access exceptions more than one time; also, be sure
that interrupts are disabled while servicing them.
- cleanup the 88110 trap handler in the same way the 88100 flavour has been
cleaned recently.
This spotted two bugs, which are fixed there as well:
- add systrace support to the 88110 syscall code
- add emulation support to the 88100 syscall code
|
|
afterwards... and only if this is a wise thing to do!
|
|
|
|
a nice bug preventing signals to be delivered to process faulting in some
conditions...
|
|
|
|
ok tedu krw fgsch deraadt
|
|
DAE to pass; the first fix was too brutal, the second one too shy; this third
one is apparently just in the middle to make everything happy so far...
|
|
|
|
exceptions by mistake.
|
|
a recursive DAE.
Scientists say this is proof that there's a ``strange attractor'' in the
m88k processors. What is certain, though, is that the processors'
documentation contains black holes.
|
|
ok deraadt@
|
|
early for the console to be reliable, so revert to the bug console for boot -a.
|
|
can be with model = 2. Better cpu ident will be after 3.4.
Problem noted by Wouter Clarie <rimshot@pandora.be>.
ok deraadt@
|
|
|
|
names.
However, the tsp code uses one global extent, which both device instances
want to reinitialize and use for themselves (whether this is a genuine bug
or not is left to the reader).
Solve the problem by putting the extents into the tsp softc, and change the
pci_bwx_bus code to handle variable extent names.
This makes DS20 systems with tsp0 and tsp1 work again.
ok deraadt@
|
|
|
|
|
|
Correctly setup the vector table for T_SIGSYS and T_SIGTRAP traps, and
handle T_SIGSYS userland traps. This passes a complete usertrap regression
test now.
|
|
traps not tied to a particular vector, in order to correctly process data
access faults whenever necessary, before servicing the trap.
|
|
trap vector contents, putting the bugtrap() stub in place, and switching
back and forth between them when the kernel needs to invoke BUG functions.
|
|
Also, fix a logic error in m88100_syscall() which prevented ERESTART and
EJUSTRETURN to be returned (gasp!)
|
|
|
|
|
|
if trap(T_DATAFLT) has been able to correct the issue.
This is, in fact, really a can't-happen situation, anyways.
|
|
|
|
will go wrong anyway, should the kernel divide by zero...
|
|
sizes larger than 8K
testing: krw
|