Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-03-13 | Move UKC later in the boot process, so that it can use malloc(). | Miod Vallat | |
2007-03-13 | It is safe to run tlb_exception() at the pre-fault ipl. | Miod Vallat | |
2007-03-05 | Add pmap_prefer() for SH4, from NetBSD; ok drahn@ | Miod Vallat | |
2007-03-05 | Prevent a NULL pointer dereference in __pmap_kptp_lookup(); from NetBSD | Miod Vallat | |
2007-03-05 | Lower the ipl to what it was at the time of the trap in general_exception, | Miod Vallat | |
instead of remaining at splhigh; from NetBSD ok drahn@ | |||
2007-03-05 | Work around a virtual aliasing conflict issue. Basically allow multiple | Dale Rahn | |
readers but only one writer on a physical page. Not the most optimal, but has been tested. ok miod@ | |||
2007-03-03 | Kernel crash dumps and associated libkvm bits for landisk. | Miod Vallat | |
2007-03-02 | Move landisk to hardware floating point. At the moment the FPU context is | Miod Vallat | |
always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build | |||
2007-02-28 | do not bother printing 5 lines of cpu information which is always, on | Theo de Raadt | |
every machine, exactly the same. only print the most interesting bits ok miod, tested martin | |||
2007-02-26 | Zero rval[1] in setregs. | Miod Vallat | |
2007-02-26 | FPU disabled bit on SH4 is not a ``must be zero'' bit, but userland shall not | Miod Vallat | |
be allowed to fiddle with it anyway. | |||
2007-02-26 | Fix spurious right brace in some decoders, and always print the hex value for | Miod Vallat | |
unrecognized opcodes. | |||
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 | typo in comment | Martin Reindl | |
2007-02-06 | Define trap #0x81 for cache range flush, will be necessary soon for gcc | Miod Vallat | |
trampoline code and ld.so. | |||
2007-02-06 | Use uvm_grow() instead of rolling our own inline version. | Miod Vallat | |
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-15 | power(4) driver for the power switch on many landisk models, hooked | Martin Reindl | |
up to machdep.kbdreset; modelled after the sparc64 power(4) driver discussed with miod@ and jsg@ | |||
2006-12-14 | Make pci subsystem aware of domains. Each host bridge gets assigned a unique | Mark Kettenis | |
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@ | |||
2006-12-14 | Reset BBRB if we exit from a process that was single-stepping. Prevents a | Mark Kettenis | |
process that re-uses its ASID from getting random SIGTRAPs. ok miod@, mickey@ | |||
2006-12-05 | Allow kmem to work, might not quite be right yet, but allows basic | Dale Rahn | |
functionality. sort of ok miod@ | |||
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-28 | Implement PT_STEP. | Mark Kettenis | |
2006-11-27 | Add PT_STEP. | Mark Kettenis | |
2006-11-20 | serial drivers should use spltty, not splserial. | Dale Rahn | |
2006-11-19 | Use symbol information, when available, to display branch destinations. | Miod Vallat | |
2006-11-17 | sorry miod, but this version locks the machine up rather fast | Theo de Raadt | |
2006-11-16 | pagemove() this time without an accidental line removal | Miod Vallat | |
2006-11-16 | backout pagemove() diff; does not work | Theo de Raadt | |
2006-11-14 | A less awkward pagemove() implementation. | Miod Vallat | |
2006-11-14 | match other architectures: _spinlock_lock_t is not volatile itself, but | Theo de Raadt | |
code that uses it declares a volatile form | |||
2006-11-10 | relocations belong in reloc.h | Dale Rahn | |
2006-11-10 | Correct order of the bitfields of float and double. Fixes ldexp() (and | Otto Moerbeek | |
some more), which fixeds drand48(), which fixes perl build. ok miod@ drahn@ deraadt@ | |||
2006-11-10 | Remove debug code. | Miod Vallat | |
2006-11-10 | Enforce correct userspace bounds in copy{in,out}str(). | Miod Vallat | |
2006-11-10 | Will be needed at some point. | Dale Rahn | |
2006-11-09 | landisk has no DCD line, so we must force TS_CARR_ON. This is a gruesome | Theo de Raadt | |
hack, otherwise the console tty is not quite right. Solve better someday. | |||
2006-11-09 | no newline at end of cpu_model | Theo de Raadt | |
2006-11-08 | fix sigmask handling bug that caused SIGCHLD to be almost always | Otto Moerbeek | |
masked. DOH! miod@ | |||
2006-11-05 | Use TF_SPC instead of hardcoding its value. | Miod Vallat | |
2006-11-05 | Correctly release resources in intc_free_ih(). | Miod Vallat | |
2006-11-05 | Fix a couple of comments. | Miod Vallat | |
2006-11-05 | Some basic fpu trap handling. | Miod Vallat | |
2006-11-05 | define the bit that sh4 uses for FPU disable. | Dale Rahn | |
2006-11-04 | make compile w/ debug | Michael Shalayeff | |
2006-11-04 | make stack trace look as other flavoured stack traces look like | Michael Shalayeff | |
2006-11-03 | cleanup some devices | Michael Shalayeff | |
2006-11-03 | Return address is way too useful to not print here. | Dale Rahn | |
2006-11-03 | For now use 3 pages like netbsd, allows the kernel to get _MUCH_ farther. | Dale Rahn | |
I suspect this is really a bug in the P1_STACK code path. |