summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
AgeCommit message (Collapse)Author
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@
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-13remove IPL_IMP.Brad Smith
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-22b_cylin -> b_cylinder; no functional change.Miod Vallat
2006-01-17since bcopy/bzero will be assigned to these pointers, get the size_t in the ↵Theo de Raadt
cast right; ok millert
2006-01-16adjust to size_t changesTheo de Raadt
2006-01-11Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from.Miod Vallat
Simpler, better.
2006-01-10use ${INSTALL_STRIP} ok miodTheo de Raadt
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2006-01-01Don't need to include machine/types.h here. OK and tested by miod@Todd C. Miller
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-12-27Remove the 1:1 association between SCSI targets and work queues, but use aMiod Vallat
cyclic search of the first unused work queue.
2005-12-27Fail existing command upon bus reset.Miod Vallat
2005-12-27Better initialize local variables before they are used, even if the compilerMiod Vallat
did not notice.
2005-12-27Keep an array of command blocks (formerly M328_CMD), one per queue - sinceMiod Vallat
we can't send more commands simultaneously - instead of using MALLOC/FREE for every scsi command we send.
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-22Set correct partition offset to 0 when initializing RAW_PART.Kenneth R Westerback
ok deraadt@
2005-12-12Move the MC88410 support code to a specific .c function instead of heavyMiod Vallat
(and large) inlines. While there, provide correct register clobbering information to the __asm__ statements, and fix mc88410_flush_page() evil typo. Finally, rework mc88410_inval() busy-wait logic to behave correctly in all cases.
2005-12-11Work in progress SMP code; mvme88k boards can spin up secondary CPUs,Miod Vallat
kernel boots single user. Still a lot of polishing and bugfixing to do.
2005-12-11Remove unused includes.Miod Vallat
2005-12-11Factorize soft interrupt code between luna88k and mvme88k.Miod Vallat
2005-12-11Fix ROMCR defines.Miod Vallat
2005-12-11On halt, wait for a keypress on the console and reboot; allows one to haveMiod Vallat
the BUG set to auto-boot and not lose the machine upon halting. Requested by deraadt@ and nick@ long ago.
2005-12-04Let cmmu_init() now return the cpuid of the master cpu.Miod Vallat
2005-12-04In the 188 interrupt handler, only fiddle with the PSR once in the main loop.Miod Vallat
2005-12-04Slight cmmu code cleanup; use shorter function names, remove parity_enableMiod Vallat
and the DDB and DEBUG helpers which are of questionable usefulness, some stylistic changes.
2005-12-03Replace simplelocks with __cpu_simple_locks for cmmu and pmap locking,Miod Vallat
for the MULTIPROCESSOR case.
2005-12-03Implement __cpu_simple_lock_t for m88k.Miod Vallat
2005-12-03Fast __HAVE_MUTEX implementation for m88k platforms.Miod Vallat
2005-12-03Remove unused debug material.Miod Vallat
2005-12-03intstack does not need to be visible from C code anymore.Miod Vallat
2005-12-03The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER isKenneth R Westerback
to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change. ok miod@
2005-12-03Turn read_processor_identification_register() into a simple macro with aMiod Vallat
much, much, much shorter name. It is only used to print cpu revision anyway...
2005-12-03Switch m88k ports to __HAVE_CPUINFO. Current cpu pointer is held in SR0Miod Vallat
on all running processors. Tested aoyama@ and I
2005-12-02Better choice of types for struct pmap members and cmmu functions;Miod Vallat
no functional change.
2005-11-28Switch to per-process AST flags and clean AST-related codepaths; speeds upMiod Vallat
forks as a bonus. Tested on luna88k and mvme88k by aoyama@ martin@ and I.
2005-11-27Hide a few things from _LOCORE.Miod Vallat
2005-11-25Replace utterly wrong bus_dmamap_sync() with a much better version.Miod Vallat
2005-11-25Let the cache synchronization and invalidation functions report whetherMiod Vallat
they caused the entire cache to be processed.
2005-11-25Prefer vaddr_t and paddr_t types, instead of void * and heavy casts.Miod Vallat
Improves readability, no functional change.
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-15More typos (especially indicies -> indices), checked with jmc@Miod Vallat
2005-10-24Factorize db_interface code between luna88k and mvme88k, removing dead codeMiod Vallat
in the process; the arch-agnostic code keeps the ability for a specific machine to define its own machine commands, such as "machine prom" for mvme88k, in addition to the ``regular'' m88k machine commands.
2005-10-18Use PSR_IND rather than recomputing it from PSR_INTERRUPT_DISABLE_BIT;Miod Vallat
spotted by martin.
2005-10-13Merge <machine/cpu_number.h> into <machine/cpu.h>, preparing for intrusiveMiod Vallat
changes.
2005-10-13Put the register clobbering constraints on the BUG trap instruction,Miod Vallat
not the first ldcr; hopefully gcc did not dare optimizing too much around here, so this should not change anything in practice. test martin@
2005-10-12Define IPL_SCHED and spslsched(), matching the statclock level.Miod Vallat