Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-19 | Send an IPI in signotify() if the process runs on a different processor, | Miod Vallat | |
similar to the fix which went into i386 and amd64 a few weeks ago. | |||
2007-05-19 | Simpler asm constraints for simplelock operations. | Miod Vallat | |
2007-05-16 | splassert_ctl defaults to 1 now, so dont wrap the checks for | Thordur I. Bjornsson | |
splassert_ctl > 0 in __predict_false(). ok deraadt@ | |||
2007-05-16 | The world of __HAVEs and __HAVE_NOTs is reducing. All architectures | Artur Grabowski | |
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@ | |||
2007-05-15 | Remove the MI implementation of mutexes and remove the __HAVE_MUTEX | Artur Grabowski | |
option. Every architecture implements mutexes now. | |||
2007-05-14 | Work in progress IPI mechanism, currently only implemented on MVME188, to | Miod Vallat | |
send clock ticks to secondary processors. | |||
2007-04-18 | Use atomic operations to change the pending software interrupt mask. | Miod Vallat | |
2007-03-21 | Real atomic_{set,clear}bits_int implementation, ok deraadt | Miod Vallat | |
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-11 | Rework the cache handling routines again. We now try to operate on the exact | Miod Vallat | |
address range we've been given, rounded to cache line boundaries, instead of being lazy and operating on pages as soon as the range was large enough. Also, since the ranges we'll be invoked for are reasonably small, it does not make sense to check for segment sizes - we're always smaller, really. While there, hardcode the size in cmmu_flush_data_cache(), which becomes cmmu_flush_data_page(), since it was always invoked for complete pages. | |||
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-01-13 | Bring back a <machine/frame.h> for m88k platforms, by splitting <machine/pcb.h> | Miod Vallat | |
in its exception-related contents and pcb-related contents. | |||
2007-01-12 | Change the secondary CMMU's data cache turn on so that do not hog the | Kenji Aoyama | |
bus while they spin, as same as 3.8. This have been missed since CMMU initialize cleanup. Also m88k_cpus[] should have 4 elements on luna88k, even in non-MULTIPROCESSOR kernel. ok miod@ | |||
2006-12-24 | Define PROC_PC. Then, since profiling information is being reported in | Miod Vallat | |
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify. | |||
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-11-18 | On 88100 systems which do not need the xxx.usr instruction workaround, | Miod Vallat | |
override the DAE helper routines with workaroundless code while the kernel text is still writable. | |||
2006-11-18 | Stop saving and restoring the current ipl in the pcb when switching processes, | Miod Vallat | |
since we know we are at splsched(). | |||
2006-11-18 | No need to use xmem when unlocking a simple_lock. | Miod Vallat | |
2006-11-16 | Ratibibugle struct frame and <machine/frame.h> | Miod Vallat | |
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-05-21 | kvtopte() is not used anymore. | Miod Vallat | |
2006-05-20 | Crank VM_MAX_ADDRESS to 4GB minus one page now that pmap will accept it. | Miod Vallat | |
2006-05-20 | Make 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-19 | INTSTACK_SIZE is not used anymore. | Miod Vallat | |
2006-05-08 | Replace 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-08 | Clean the internal m88k trap type codes; while there, simplify and | Miod Vallat | |
factorize the build of the VBR page betweem luna88k and mvme88k. Tested by aoyama@ and I. | |||
2006-05-07 | Move the userland stack at the top of the userland address space. | Miod Vallat | |
2006-05-06 | On 88100-based systems, take the two hardwired BATC into account in | Miod Vallat | |
pmap_extract(), and do not bother creating regular page table mappings for obio regions which are covered by these BATC entries. | |||
2006-05-04 | Document the 88110 extended (80-bit) floating point format. | Miod Vallat | |
2006-05-03 | Overhaul of the disassembler code, with random fixes, better conditionnal | Miod 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-02 | Replace db_{disable,enable}_interrupts with expanded version of themselves, | Miod Vallat | |
having macros for this is not worth doing. | |||
2006-04-17 | Save 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-15 | nmihand() is mvme88k only, move it out of m88k common area. | Miod Vallat | |
2006-04-09 | #ifdef lint wraps for va_start | Theo de Raadt | |
2006-03-19 | remove unused bdbtofsb(bn) macro | Martin Reindl | |
found by drahn@ | |||
2006-03-13 | remove splimp. | Brad Smith | |
ok miod@ | |||
2006-01-13 | Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst our | Todd C. Miller | |
architectures. They are now defined as unsigned long, long, long and unsigned long respectively. | |||
2006-01-10 | Remove duplicate _C_LABEL define. OK miod@ | Todd C. Miller | |
2006-01-09 | Fix last change; we need machine/reg.h for struct sigcontext to | Todd C. Miller | |
be fully defined. | |||
2006-01-08 | Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2 | Todd C. Miller | |
2006-01-06 | Don't redefine SIZE_MAX | Todd C. Miller | |
2006-01-06 | Adapt 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-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-12-20 | Fix typo introduced in last commit. | Todd C. Miller | |
2005-12-14 | convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@ | Todd C. Miller | |
2005-12-14 | Make clock_t consistent across platforms as a 32 bit int. OK deraadt@ | Todd C. Miller | |
2005-12-13 | First step in include files overhaul. Use __FOO_VISIBLE (as defined | Todd 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-11 | Work 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-11 | Factorize soft interrupt code between luna88k and mvme88k. | Miod Vallat | |