summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
AgeCommit message (Collapse)Author
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
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-01CACHE_GLOBAL is enforced at the APR level, no need to propagate it intoMiod Vallat
the individual PTEs. No functional change.
2006-06-01Better test for cacheability of the previous mapping in pmap_cache_ctrl()Miod Vallat
2006-05-25When looping over va ranges, do not compute the same sdt pointer more thanMiod Vallat
once.
2006-05-21kvtopte() is not used anymore.Miod Vallat
2006-05-20Crank VM_MAX_ADDRESS to 4GB minus one page now that pmap will accept it.Miod Vallat
2006-05-20Make sure pmap copes with address wraparounds when operating on ranges.Miod Vallat
This removes the dependency for VM_MAX_ADDRESS to be aligned on a segment boundary. While there, remove a few internal pmap macros from mmu.h.
2006-05-20Directly pass a pmap to flush_atc_entry() instead of individual fields of it.Miod Vallat
No functional change.
2006-05-19INTSTACK_SIZE is not used anymore.Miod Vallat
2006-05-15Wrong routine for reserved vector 0x0f.Miod Vallat
2006-05-14Missing semicolon, found by deraadtMiod 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-08Optimize bsr + br sequences commonly found in the individual trap handlers,Miod Vallat
save one cycle and some pipeline costs per trap.
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-07Move the userland stack at the top of the userland address space.Miod Vallat
2006-05-07Nuke TRACE_DEBUG code. Half of it was useless, and the other half was eitherMiod Vallat
not smart enough to cope with gcc -O2 or with the no longer fixed address for the kernels stack.
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-04scaled version of ld.d and st.d is obviously not a 64 bit transaction,Miod Vallat
so there is no need to take care of it in double_reg_fixup(), as it will never trigger the kind of misalignment faults this function recovers from. Doh!
2006-05-04Even better control register name display logic.Miod Vallat
2006-05-04Document the 88110 extended (80-bit) floating point format.Miod Vallat
2006-05-03Overhaul of the disassembler code, with random fixes, better conditionnalMiod Vallat
branches decoding, correct control register descriptions, and (the reason for these changes in the first place) 88110 instruction support. ddb will now disassemble by default for the processor it is running for, and using the alternate format (x/I) disassembles for the other.
2006-05-03Fix a (documented) logic botch in inst_load().Miod Vallat
2006-05-02Replace db_{disable,enable}_interrupts with expanded version of themselves,Miod Vallat
having macros for this is not worth doing.
2006-04-26In vmapbuf(), instead of invoking pmap_cache_ctrl() for each page, postponeMiod Vallat
the call and process the whole range once.
2006-04-26In pmap_cache_ctrl(), do not flush cache if the previous mapping wasMiod Vallat
cache inhibited; from the AV tree.
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-15Simplify MMU type printing.Miod Vallat
2006-04-15nmihand() is mvme88k only, move it out of m88k common area.Miod Vallat
2006-04-09On MVME188 systems with more than two CMMUs par CPU, do not honor theMiod Vallat
address split scheme when operating on caches, as this does not work (probably for some snooping needs?); TLB operations are still honoring the split and are not affected.
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-13remove splimp.Brad Smith
ok miod@
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
2006-01-09Fix last change; we need machine/reg.h for struct sigcontext toTodd C. Miller
be fully defined.
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
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-02Faster signal trampoline code for m88k: instead of pushing everything onMiod Vallat
the stack a la m68k, put handler arguments in register, transfer control to the handler directly, but have it return in the sigcode. While there, remove wrong comments about the sigcode being on top of the user stack.
2005-12-21No need to store description lines for unrecognized CMMUs...Miod Vallat
2005-12-20Fix typo introduced in last commit.Todd C. Miller
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-14Make clock_t consistent across platforms as a 32 bit int. OK deraadt@Todd C. Miller
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
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-11Factorize soft interrupt code between luna88k and mvme88k.Miod Vallat
2005-12-11Replace procfs_domem() with a similar interface, process_domem(), which livesMiod Vallat
out of procfs and gets a ptrace request PT_{READ,WRITE}_{I,D} as argument; also procfs_checkioperm() becomes process_checkioperm(). From art@ some time ago; ok kettenis@ pedro@
2005-12-10Only initialize the CMMUs tied to our running CPU on startup.Miod Vallat
Tested on luna88k and mvme88k.