summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/include
AgeCommit message (Collapse)Author
2007-06-03Dummy <machine/bus.h> for softraid to compile.Miod Vallat
2007-05-30More cpuinfo vs _KERNEL fallback.Miod Vallat
2007-05-15switch m68k to __HAVE_CPUINFOMartin Reindl
help miod@, art@ ok deraadt@
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them)
2007-05-08remove more junk in the setroot() code pathTheo de Raadt
2007-05-01Provide <machine/lock.h> on all platforms, so that MI code may #include itMiod Vallat
unconditionnaly.
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok
2007-02-19only make this interface available to the kernel for now, discussed withaTheo de Raadt
rt and such; tested and ok miod drahn
2007-02-06Add machine/atomic.h to all architectures and define two operationsArtur Grabowski
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok
2007-02-03Simple single-processor mutex implementation, simpler than the MI code byMiod Vallat
use of MD spl code bowels. No functional change.
2006-11-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
2006-06-24Replace physaccess() usage with pmap_kenter_cache().Miod Vallat
2006-06-11Move common prototypes to <m68k/{cpu,param}.h> instead of incompleteMiod Vallat
declarations in <machine/{cpu,param}.h> and elsewhere.
2006-06-11Factorize spl handling functions and software interrupt routines betweenMiod Vallat
m68k-based platforms.
2006-06-04When VM_PHYSSEG_MAX is 1, use VM_PSTRAT_RANDOM for VM_PHYSSEG_STRAT, thisMiod Vallat
makes uvm_page.o smaller.
2006-04-21Since bugtty (and BUG routines in general) can only work if we keep the BUGMiod Vallat
mapped, and we don't, do not bother carrying this code around - it can not be used anyway.
2006-03-12remove splimp().Brad Smith
2006-01-11Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from.Miod Vallat
Simpler, better.
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.
2005-11-27Get rid of the `len' locator for VME devices, since mappings have a pageMiod Vallat
granularity anyway; devices who would want more than one page mapped in order to probe for the hardware can take appropriate action in their cfmatch routine anyway.
2005-11-27Nuke autoconf.h commons.Miod Vallat
2005-11-24Prefer vaddr_t and paddr_t types in device softc, instead of void * andMiod Vallat
heavy casts. Improves readability, no functional change.
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-08-14DCIAS() no more.Miod Vallat
2005-08-01Kill unused PARTITIONMASK define; ok deraadt@Miod Vallat
2005-08-01Factorize cachectl() accross m68k platforms, and make the CC_ constantsMiod Vallat
public.
2005-05-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-07-30Move struct evcount inside struct intrhand, and modernize intrhandMiod Vallat
usage; similar to (and from) mvme88k. Also remove unused haltvec structures and related code.
2004-07-30Switch mvme68k to evcount interrupt counters.Miod Vallat
2004-07-02Kill ca_master in autoconf structures. Drivers either only attach to oneMiod Vallat
specific bus (mc/pcc/pcctwo), or they know it from the ca_bustype value, and can use the globals sys_busname variables. This also allows for some code simplifications.
2004-07-02Merge *ramread() and *ramwrite(), as done on mvme88k.Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-01-11Implement and use splraise() rather than spl() whenever necessary.Miod Vallat
2003-10-09More m68k common include files factorization.Miod Vallat
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02license cleanup of my filesTheo de Raadt
2003-04-16Clarify license terms.Miod Vallat
2003-02-24Do not redefine stuff already in <sys/disklabel.h>Miod Vallat
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-05splassert on m68k-based arches. Not totally accurate on hp300 at the moment,Miod Vallat
still.
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-28A few more tweaks to let non-GENERIC kernels (MVMEfoo) build as well with -Wall.Miod Vallat
2002-04-27Jumbo commit to fix all compilation warnings on mvme68k (add prototypes,Miod Vallat
add casts, fix a few errors and typos in the process, etc)
2002-04-25<m68k/cpu.h> should be included when this <machine/cpu.h> is included fromMiod Vallat
userland, for example from libkvm; found the hard way be deraadt@
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.