summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include
AgeCommit message (Collapse)Author
2008-03-30Switch bootloader code to loadfile, and enable a.out and ELF loaders within.Miod Vallat
Crank the second stage boot blocks version.
2008-03-30Let the kernel load forthcoming ELF binaries.Miod Vallat
2008-03-30Nuke common.Miod Vallat
2007-12-15Remove a lot of symbols from the namespace, otherwise sys/sysctl.h andTheo de Raadt
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland. ok miod
2007-10-10Make context switching much more MI:Artur Grabowski
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
2007-05-28Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSETThordur I. Bjornsson
mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others. The NMBCLUSTERS constants needs to be MD though; ok miod@,krw@,claudio@
2007-05-16splassert_ctl defaults to 1 now, so dont wrap the checks forThordur I. Bjornsson
splassert_ctl > 0 in __predict_false(). ok deraadt@
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@
2007-05-16Oops, forgot this file in the cpuinfo changes.Miod Vallat
2007-05-16Switch vax to __HAVE_CPUINFO, based on an incomplete diff from art.Miod Vallat
2007-05-15Remove the MI implementation of mutexes and remove the __HAVE_MUTEXArtur Grabowski
option. Every architecture implements mutexes now.
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-01Provide <machine/lock.h> on all platforms, so that MI code may #include itMiod Vallat
unconditionnaly.
2007-04-22Switch the vax pmap to __HAVE_VM_PAGE_MD.Miod Vallat
pv_entry head of lists are no longer preallocated at boot, and will only be allocated for managed pages (instead of all physical memory pages, including those containing the kernel). pmap and pv_entry will now be allocated from a pool, instead of malloc for the former and a homegrown allocator which never relinquishes unused elements to the VM system for the latter. The net result is a slight decrease in memory usage, and better behaviour in low-memory conditions.
2007-04-12Remove __BUS_SPACE_ADDRESS_SANITY correctly, no cookie for me. Spotted byMiod Vallat
djm@
2007-04-10More typos from my list.Miod Vallat
2007-04-10Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY andMiod Vallat
__BUS_SPACE_ALIGNED_ADDRESS.
2007-04-05Wrap bit operations between splhigh()/splx() for atomicity wrt interrupts.Miod Vallat
Not enough for multiprocessor, but we're not there yet anyway.
2007-04-05Reuse symbolic values for splsoftXXX() inlines, instead of hardcoding them.Miod Vallat
No functional change.
2007-04-05splx() does not need to return a value.Miod Vallat
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-12-24Define PROC_PC. Then, since profiling information is being reported inMiod Vallat
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify.
2006-12-13Remove unused parts of vsbus_attach_args structure.Miod Vallat
2006-11-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
2006-11-06Let CISCoholic memset() do not behave as bzero for a length over 64KB.Miod Vallat
2006-08-27Work-in-progress VXT2000 support (commented out in GENERIC so far). GlassMiod Vallat
console works on color model, serial console works, ethernet attaches but does not work correctly yet.
2006-07-25Remove cursor register address constants, code should (and does) use dc503reg.hMiod Vallat
instead.
2006-07-25Assembly versions of kvtopte() and kvtophys(), better than what gccMiod Vallat
outputs; from NetBSD
2006-07-20Here cometh the blinkenlichten on VAXens.Miod Vallat
Register information from NetBSD (except for KA53), logic from OpenBSD/sparc.
2006-07-20Kill an autoconf abuse introduced with Cheetah support, and pass realMiod Vallat
attachment information to mainbus children. Makes it much cleaner to attach both ibus and vsbus on those machines.
2006-07-19Remove long dead meat and irrelevant defines. No functional change.Miod Vallat
2006-06-11Working kernel crash dumps.Miod Vallat
2006-06-04When VM_PHYSSEG_MAX is 1, use VM_PSTRAT_RANDOM for VM_PHYSSEG_STRAT, thisMiod Vallat
makes uvm_page.o smaller.
2006-06-02Implement splassert() on vax.Miod Vallat
2006-06-01Change spl4() to spl7() to raise-only semantics.Miod Vallat
2006-05-30Define meaningful values for IPL_ levels, which directly map to the splMiod Vallat
operation. Will allow a vax implementation of splassert().
2006-04-17Remove unused struct mdproc fields.Miod Vallat
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-12IPL_IMP -> IPL_VMBrad Smith
2006-03-12remove splimp.Brad Smith
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-02-22Remove unused _{ins,rem}que functions - they were not even implemented onMiod Vallat
all architectures.
2006-01-13Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst ourTodd C. Miller
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
2006-01-10Remove duplicate _C_LABEL define. OK miod@Todd C. Miller