summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
AgeCommit message (Collapse)Author
2004-07-30Move evcount structures inside struct intrhand, this makes more sense andMiod Vallat
gives us more counters in the process. Also clean up intrhand structures and usage, especially move them to SLISTs.
2004-07-29Better diagnostic message on MVME188 interrupt handler, when we are unable toMiod Vallat
fetch the VMEbus interrupt vector in time.
2004-07-28Remove EH_DEBUG code.Miod Vallat
2004-07-27Factorize exception handling code. The only different part between luna88kMiod Vallat
and mvme88k is the retrieval of the CMMU fault registers. Tested on mvme88k by myself and luna88k by aoyama@
2004-07-25Merge luna88k and mvme88k pmap. The pmap will now assume that the memoryMiod Vallat
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@
2004-07-24intr_establish() and related defines are mvme88k-only, so move them back fromMiod Vallat
<m88k/cpu.h>, and simplify the return values while there.
2004-07-23Better fix for the ttymodem issue.Miod Vallat
2004-07-23Eventually get the MVME188 reset sequence to work, and allow it to returnMiod Vallat
to the BUG instead of spinning if our reset fails.
2004-07-23Be more careful when handling interrupts - especially the first one afterMiod Vallat
the console transition from BUG to the chip could lead us to invoke ttymodem() on a bogus tty.
2004-07-23Better delay code for MVME188. Should make console and network much moreMiod Vallat
reactive.
2004-07-23Move luna88k and mvme88k vm_machdep to m88k-agnostic code area.Miod Vallat
2004-07-22Do not use db_printf() to trace data access exceptions.Miod Vallat
2004-07-20Forgot to put this chunk in.Miod Vallat
2004-07-20Let the boot device detection code handle secondary SCSI buses.Miod Vallat
2004-07-20Work in progress to support daughterboards. The driver now will attach aMiod Vallat
second scsi bus if a SCSI daughterboard is present, and is supposed to know about this and send scsi commands to the appropriate bus. Unfortunately probing the second bus does not report any device at the moment (though you can boot off it), but I can't see the issue at the moment. Thanks to tdeval@ for lending a few boards equipped with daughterboards for testing.
2004-07-20Use sc_print_addr for error messages.Miod Vallat
2004-07-19Recognize the daughter board type, if any - but it is not supported yet.Miod Vallat
2004-07-19After a work queue has been aborted and the abort has been acknowledged,Miod Vallat
do not keep setting the A.A. bit in further queue control operations, as advised by the manual.
2004-07-19When we want to thaw all work queues we care about, do it correctly.Miod Vallat
2004-07-19Direct REQUEST_SENSE commands to the correct target, instead of alwaysMiod Vallat
target zero. This makes targets other than zero working now... Spotted by nick@
2004-07-18TyposMiod Vallat
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-07-13Remove compiler options workarounds for savectx breakage.Miod Vallat
2004-07-02Make page-aligned variable contiguous. Saves almost one page of data.Miod Vallat
2004-07-02Switch mvme88k to evcount, but keep maintaining intrcnt[] too for now.Miod Vallat
2004-07-02Disable a -O2 specific optimization which causes kern_fork (and probably otherMiod Vallat
files) to be miscompiled, until the problem is fixed in the compiler.
2004-07-02Be sure to fill intrhand structures correctly.Miod Vallat
2004-07-02Remove unused extra intrhand.Miod Vallat
2004-06-26When altering mmu registers, disable interrupts rather than splhigh().Miod Vallat
2004-06-24Typos in DEBUG code.Miod Vallat
2004-06-23Assorted night cleanups:Miod Vallat
- only compile debug and ddb-specific code if option DEBUG or option DDB. - shorten code path in 88100 case. - do not enable interrupts before the C handler is called, for the 88110 NMI trap.
2004-06-23Remove useless debug code.Miod Vallat
2004-06-23When servicing 88110 exceptions, reset dsr and isr as fast as possible.Miod Vallat
While there, simplify badaddr() handling on 88110.
2004-06-23Since the NMI interrupt source on 88110 is, well, non maskable, it isMiod Vallat
possible to receive it during autoconf. In this case, do not enable _other_ interrupts while we are servicing it. Note that, on the MVME197, since we are using the BUG for console output during autoconf, it is still possible to abort the bootstrap and return to the BUG with the NMI/ABORT switch.
2004-06-22During exception processing, we are not supposed to fault immediatelyMiod Vallat
after re-enabling the FPU (unless exception handling code is suffering from bugs, of course). Should this happen, invoke the error fault handler, but at least clear the exception state first, so that it gets a chance to run.
2004-06-22Change various macro and symbol names in order to have recognizable *100*Miod Vallat
and *110* names for processor-dependent code. No functional change.
2004-06-22Turn m88k_protection() into a macro again, compensating for 88110Miod Vallat
quirks locally where necessary; pmap_enter() does most of the dirty work.
2004-06-22After 88110 exception processing, do not reset the in-frame [di][lp]arMiod Vallat
values, they won't be put back to registers anyways...
2004-06-22On 88110, simplify enip processing:Miod Vallat
- always fetch its value when building trapframe, it is faster than only doing it after checking if it will have a meaningful value. - don't bother setting it to a safe value if we change exip to a non-delayslot address.
2004-06-22Do not access [id][pl]ar registers from C code - we only care about theirMiod Vallat
values in trapframes.
2004-06-19Share common ddb files accross m88k platforms.Miod Vallat
2004-06-10Fix a logic error in sglist creation.Miod Vallat
2004-05-26Define correct EOF and EOL characters in the default firmware termiosMiod Vallat
structure.
2004-05-26Use physical addresses as seen in the A24 MVME332XT address space, thisMiod Vallat
allows the driver to really don't care about its VME address and simplifies some code.
2004-05-25Make bpp_send() return the packet error code when invoked with NOWAIT.Miod Vallat
2004-05-25Make this driver aware of non-1:1 mappings.Miod Vallat
This currently mimcs the existing code, which can be cleaned up further.
2004-05-23Put back the fixed NCPUS == 1 version of flush_atc_entry().Miod Vallat
2004-05-23Simplify iomap_mapin().Miod Vallat
2004-05-23Nuke kvtop(), preserving a private copy in mvme88k vs(4) for now.Miod Vallat
2004-05-22Reset the board during probe. As a result, we can now honor the SCSIMiod Vallat
controller ID jumpers, instead of reprogramming the board to 7 every time.