Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-03 | Dummy <machine/bus.h> for softraid to compile. | Miod Vallat | |
2007-05-30 | More cpuinfo vs _KERNEL fallback. | Miod Vallat | |
2007-05-15 | switch m68k to __HAVE_CPUINFO | Martin Reindl | |
help miod@, art@ ok deraadt@ | |||
2007-05-15 | kill __HAVE_DEVICE_REGISTER by requiring all architectures to have a | Theo 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-08 | remove more junk in the setroot() code path | Theo de Raadt | |
2007-05-01 | Provide <machine/lock.h> on all platforms, so that MI code may #include it | Miod Vallat | |
unconditionnaly. | |||
2007-03-15 | Since p_flag is often manipulated in interrupts and without biglock | Artur 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-19 | only make this interface available to the kernel for now, discussed witha | Theo de Raadt | |
rt and such; tested and ok miod drahn | |||
2007-02-06 | Add machine/atomic.h to all architectures and define two operations | Artur 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-03 | Simple single-processor mutex implementation, simpler than the MI code by | Miod Vallat | |
use of MD spl code bowels. No functional change. | |||
2006-11-29 | Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (except | Miod Vallat | |
for cpu_swapin() on hppa* which is kept). | |||
2006-06-24 | Replace physaccess() usage with pmap_kenter_cache(). | Miod Vallat | |
2006-06-11 | Move common prototypes to <m68k/{cpu,param}.h> instead of incomplete | Miod Vallat | |
declarations in <machine/{cpu,param}.h> and elsewhere. | |||
2006-06-11 | Factorize spl handling functions and software interrupt routines between | Miod Vallat | |
m68k-based platforms. | |||
2006-06-04 | When VM_PHYSSEG_MAX is 1, use VM_PSTRAT_RANDOM for VM_PHYSSEG_STRAT, this | Miod Vallat | |
makes uvm_page.o smaller. | |||
2006-04-21 | Since bugtty (and BUG routines in general) can only work if we keep the BUG | Miod Vallat | |
mapped, and we don't, do not bother carrying this code around - it can not be used anyway. | |||
2006-03-12 | remove splimp(). | Brad Smith | |
2006-01-11 | Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from. | Miod Vallat | |
Simpler, better. | |||
2006-01-06 | Merge machine/ansi.h and machine/types.h into machine/_types.h and | Todd C. Miller | |
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD. | |||
2005-11-27 | Get rid of the `len' locator for VME devices, since mappings have a page | Miod 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-27 | Nuke autoconf.h commons. | Miod Vallat | |
2005-11-24 | Prefer vaddr_t and paddr_t types in device softc, instead of void * and | Miod Vallat | |
heavy casts. Improves readability, no functional change. | |||
2005-09-12 | Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bit | Miod Vallat | |
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime. | |||
2005-08-14 | DCIAS() no more. | Miod Vallat | |
2005-08-01 | Kill unused PARTITIONMASK define; ok deraadt@ | Miod Vallat | |
2005-08-01 | Factorize cachectl() accross m68k platforms, and make the CC_ constants | Miod Vallat | |
public. | |||
2005-05-01 | Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere. | Miod Vallat | |
2005-04-19 | nothing uses spllowersoftclock() anymore | Michael Shalayeff | |
2004-11-26 | Kill __HAVE_EVCOUNT, now that all architectures provide them. | Miod Vallat | |
2004-07-30 | Move struct evcount inside struct intrhand, and modernize intrhand | Miod Vallat | |
usage; similar to (and from) mvme88k. Also remove unused haltvec structures and related code. | |||
2004-07-30 | Switch mvme68k to evcount interrupt counters. | Miod Vallat | |
2004-07-02 | Kill ca_master in autoconf structures. Drivers either only attach to one | Miod 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-02 | Merge *ramread() and *ramwrite(), as done on mvme88k. | Miod Vallat | |
2004-06-13 | debranch SMP, have fun | Niklas Hallqvist | |
2004-05-20 | Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpc | Mark Kettenis | |
and m68k. ok drahn@, millert@ | |||
2004-01-11 | Implement and use splraise() rather than spl() whenever necessary. | Miod Vallat | |
2003-10-09 | More m68k common include files factorization. | Miod Vallat | |
2003-06-03 | terms 3 & 4 cleanup based on "terms" file | Theo de Raadt | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | license cleanup of my files | Theo de Raadt | |
2003-04-16 | Clarify license terms. | Miod Vallat | |
2003-02-24 | Do not redefine stuff already in <sys/disklabel.h> | Miod Vallat | |
2003-01-27 | Convert 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-05 | splassert on m68k-based arches. Not totally accurate on hp300 at the moment, | Miod Vallat | |
still. | |||
2002-06-07 | Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@ | Thomas Nordin | |
2002-04-29 | Define placeholders for art's splassert() debugging stuff on all arches. | Miod Vallat | |
Currently as no-ops everywhere. ok art@, deraadt@ | |||
2002-04-28 | A few more tweaks to let non-GENERIC kernels (MVMEfoo) build as well with -Wall. | Miod Vallat | |
2002-04-27 | Jumbo 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 from | Miod Vallat | |
userland, for example from libkvm; found the hard way be deraadt@ | |||
2002-04-24 | Introduce a new file, machine/internal_types.h, to hold that specific arch | Marc 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. |