summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
AgeCommit message (Collapse)Author
2006-07-284KB buffer on the stack, and would you like fries with that?Miod Vallat
2006-07-27Compile all kernels with -Wstack-usage-larger-than-2047, now that allMiod Vallat
offending code has been taken out and shot. ok deraadt@
2006-07-07Get rid of the fixed iomap for device mappings, and allocated va rangesMiod Vallat
off kernel_map whenever necessary.
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-11TypoMiod Vallat
2006-05-28Configure network devices at ipl 3, not ipl 1.Miod Vallat
2006-05-18Use standard swap16() and swap32() functions instead of abusing <db.h> to getMiod Vallat
similar M_xx_SWAP().
2006-05-18Move otherwise unused <machine/vid.h> to stand/Miod Vallat
2006-05-17Delay board type retrieval.Miod Vallat
2006-05-16Crank bootblocks version for today's changes.Miod Vallat
2006-05-16Nuke whitespace at EOLMiod Vallat
2006-05-16Make standalone binaries compile with -Wall -WerrorMiod Vallat
2006-05-16Cleanup of mvme88k standalone code, with rewritten startup code withMiod Vallat
fewer assembly statements and much less magic, a few display artefacts removed, and private definitions moved out of the main prom.h.
2006-05-13Oops, intr_findvec() proto is still necessary.Miod Vallat
2006-05-08Replace gazillions of badvaddr() or badwordaddr() calls with badaddr() calls.Miod Vallat
With a few prototype declarations shuffling, this finally allows <machine/locore.h> to die.
2006-05-08Clean the internal m88k trap type codes; while there, simplify andMiod Vallat
factorize the build of the VBR page betweem luna88k and mvme88k. Tested by aoyama@ and I.
2006-05-07No need to mask misaligned address exceptions for global flush or invalidateMiod Vallat
operations (those do not take a page number in the low address bits of the 88410 control register).
2006-05-07Do not panic on MVME188 if the abort switch is pressed while we are at ipl 7Miod Vallat
(fallout from always enabling the abort switch).
2006-05-06Sync VM games on startup with earlier pmap_table[] cleanups.Miod Vallat
2006-05-06Decide whether we are running on 88100 or 88110 upon the processorMiod Vallat
identification register value, rather than upon the MVME board number.
2006-05-06On 88100-based systems, take the two hardwired BATC into account inMiod Vallat
pmap_extract(), and do not bother creating regular page table mappings for obio regions which are covered by these BATC entries.
2006-05-04Now that .S files have proper dependencies, do not hardcode dependenciesMiod Vallat
on assym.h in Makefile, especially since some files have been renamed...
2006-05-02Wave goodbye to bugtty on mvme88k as well.Miod Vallat
2006-04-27<machine/mvme1x7.h> is not really used anymore, remove it.Miod Vallat
2006-04-27Adjust sizes for the mandatory 1:1 mappings created in pmap_bootstrap().Miod Vallat
Saves up to 12KB of no longer necessary page tables.
2006-04-27Manage a local copy of the MVME188 nvram and update the real data whenMiod Vallat
necessary; allow opening /dev/nvram0 on MVME188 again (but no mmap).
2006-04-27typoMiod Vallat
2006-04-26On MVME188, the 2KB nvram is non contiguous; each byte is mapped into aMiod Vallat
32 bit int. So map the right size, and fail open() until the uiomove() wrapper is modified to cope with this.
2006-04-26Define BUS_SPACE_MAP_LINEAR and use it when appropriate. Right nowMiod Vallat
bus_space_map() always maps everything linear, but this could change in the future.
2006-04-26The dual-ported memory of the MVME376 boards is D32 addressable, say theMiod Vallat
documentation, so we can use the MI {zero,copy{to,from}}buf_contig callbacks, which rely upon bcopy() and bzero(), instead of their d16_bcopy() and d16_bzero() equivalents. No functional change, except an unnoticeable speedup.
2006-04-26In nmihand(), do not enter ddb with Debugger(), which causes an exception,Miod Vallat
as we might not be in a state where we can process a nested exception. This would then cause an error exception, which handler calls nmihand. Kaboom. Instead, directly invoke m88k_db_trap(); from the AV tree.
2006-04-26We do not need to reserve the 0x60..0x7f interrupt vector range on MVME188,Miod Vallat
so let VME interrupt numbers start at 0x60 on these machines.
2006-04-19Get rid of the clock device attachment - since the clock is not somethingMiod Vallat
we can live without, move it into the board-dependent code. This even makes the code slightly smaller. clock.c is moved from dev/ to mvme88k/ and only keeps common variables and delay().
2006-04-19Count spurious interrupt as part of the alarming interrupt issues as well.Miod Vallat
2006-04-19Better diagnostic messages in the MVME188 interrupt handler; also no needMiod Vallat
to register an interrupt handler for the SYSCON board interrupts anymore, as we never trigger it.
2006-04-18Bring back a kernel_text symbol, config -e needs it.Miod Vallat
2006-04-17Do not mask the MVME188 abort button interrupt at splhigh(), similar to MVME197.Miod Vallat
2006-04-17On MVME188, clear SYSFAIL and set up a decent VME data transfer timeout,Miod Vallat
instead of relying on what the BUG leaves us with.
2006-04-17Better constant names for the MVME188 GCSR set.Miod Vallat
2006-04-17Save pointers to up to four CMMU PFSR registers into the cpu_info structure.Miod Vallat
This allows the exception handling code to skip the PFSR address computations. The net result is that the PFSR_SAVE code becomes much simpler and smaller, and that all processors will now spend time in PFSR_SAVE - previously, cpu0 was favored and other processors took a bit more time. Note that 8:1 configurations do not use these fields - but then this is a fixed monoprocessor configuration, for which the existing code was already doing The Right Thing. Tested on luna88k (2:1) by aoyama@, and on mvme88k (2:1 and 4:1) by me.
2006-04-17Revert previous - causes misaligned exceptions in ip4_input()...Miod Vallat
2006-04-17Oops, removed a safety check in dartopen() in previous commit by mistake.Miod Vallat
2006-04-16Convert the last remaining net-driver users of ether_input to ether_input_mbuf.Christopher Pascoe
sgec ok martin@ if_ie ok miod@ if_de, if_hp not in GENERIC ok brad@
2006-04-15Access to the DART registers using bus_space instead of our own memoryMiod Vallat
mapped structures; this paves the way for hardware with more than one instance of the DART chip.
2006-04-15Remove DART defines from <machine/mvme188.h> (except for its base address),Miod Vallat
and compensate in clock.c which still needs to access a few of its registers. While there, access DART registers as bytes as advised in the manual, not as ints.
2006-04-15Invoke bus_space_unmap with the correct bus_space_handle_t upon attachmentMiod Vallat
failure.
2006-04-15Clean up <machine/mvme188.h> out of duplicate defines, sort them by relevance,Miod Vallat
add more comments.
2006-04-15nmihand() is mvme88k only, move it out of m88k common area.Miod Vallat
2006-04-13Drop the ivec[] interrupt acknowledge address array, compute the addressMiod Vallat
itself in the interrupt dispatcher instead of accessing the array: this computation is of similar complexity, so why bother adding a memory indirection. No functional change.
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@