Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-26 | Use the TSTATE_xxx constants instead of (PSTATE_xxx << TSTATE_PSTATE_SHIFT) | Miod Vallat | |
for readability; ok kettenis@ | |||
2007-12-23 | In pmap_dumpmmu(), account for the fact that we use 4MB mappings for text and | Mark Kettenis | |
data segments. This makes the complete mappings available in kernel dumps. | |||
2007-12-23 | Remove DMMU_MISS_2; it's identical to DMMU_MISS. | Mark Kettenis | |
2007-12-22 | Replace _bus_dmamap_load() with an implementation based on | Mark Kettenis | |
_bus_dmamap_load_buffer() like everybode else does. | |||
2007-12-21 | Don't use getpropstring to get the CPU model name; it's evil. Instead, rely on | Mark Kettenis | |
the name passed in struct mainbus_attach_args. | |||
2007-12-16 | Correctly count number of segments in _bus_dmamap_load(). Initialize ds_addr | Mark Kettenis | |
to 0UL instead of NULL while there. Tested by & help from dlg@. | |||
2007-12-15 | move some iommu_dvmamap_validate_map()'s into DEBUG instead of DIAGNOSTIC, to | Theo de Raadt | |
slightly improve performance ok kettenis | |||
2007-12-14 | Remove a lot of symbols from the namespace, otherwise sys/sysctl.h and | Theo de Raadt | |
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland. | |||
2007-12-07 | unify a function name compared to other busses | Theo de Raadt | |
2007-12-05 | use mutexes to protect the iommu's extent map and the streaming buffer, | Theo de Raadt | |
so that busdma is most likely MP_SAFE now. (while there, fix an extent map race... the ranges were selected outside splhigh) ok kettenis | |||
2007-12-05 | Remove some 32-bit compatibility code in pseg_get(). | Mark Kettenis | |
Completely remove pseg_find() since it isn't used. | |||
2007-11-30 | Define NORMAL_C_NOP everywhere. | Miod Vallat | |
2007-11-28 | Garbage collect sparc_cas() and sparc_casx(). We have equivalent functions | Mark Kettenis | |
in <machine/atomic.h> now and they're not used anywhere in our tree. | |||
2007-11-28 | Don't complain about removing wired pages; this is expected to happen with | Mark Kettenis | |
ftruncate(2) on mlock(2)'ed pages. | |||
2007-11-28 | Give UltraSPARC-IV CPUs a chance again to attach on GENERIC. | Mark Kettenis | |
2007-11-28 | Use cas/casx instead of casa/casxa. | Mark Kettenis | |
2007-11-27 | Like i386 and amd64 - make the __mp_lock not spin at splhigh. | Mark Kettenis | |
help from & ok art@ | |||
2007-11-27 | intr_disable() returns an u_int64_t. | Mark Kettenis | |
2007-11-26 | Move the implementation of __mp_lock (biglock) into machine dependent | Artur Grabowski | |
code. At this moment all architectures get the copy of the old code except i386 which gets a new shiny implementation that doesn't spin at splhigh (doh!) and doesn't try to grab the biglock when releasing the biglock (double doh!). Shaves 10% of system time during kernel compile and might solve a few bugs as a bonus. Other architectures coming shortly. miod@ deraadt@ ok | |||
2007-11-26 | few more dribbles of LIBKERN cleanup | Theo de Raadt | |
2007-11-25 | libkern, begone. Move to a new mechanism where config(8)'s "file" | Theo de Raadt | |
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner.. | |||
2007-11-25 | Get rid of the kernel 'libcompat' framework, and instead use conf/files to | Theo de Raadt | |
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options. | |||
2007-11-25 | Give the CarBus side of CardBus-PCI bridges a bus number, since OpenFirmware | Mark Kettenis | |
doesn't do it for us. | |||
2007-11-18 | Add missing locking around ktrsyscall() call. | Mark Kettenis | |
2007-11-16 | Pass name of CPU nodes instead of "cpu" such that we see it for unconfigured | Mark Kettenis | |
CPUs on UP kernels. | |||
2007-11-16 | Fix typo in comment. | Mark Kettenis | |
2007-11-16 | UltraSPARC-IIIi CPUs are different and choose the BUSY/NACK pair based on the | Mark Kettenis | |
target CPU ID. Make sure we check the right bits. | |||
2007-11-15 | Attach to "rsc-console". Hopefuly this will give us a proper console on | Mark Kettenis | |
the Sun Fire 280R/V480/V880 when the console is directed to the RSC card. | |||
2007-11-14 | Remove eeprom.h. | Mark Kettenis | |
2007-11-13 | Fix printf format string. | Mark Kettenis | |
2007-11-13 | Remove bsd_openprom.h. | Mark Kettenis | |
2007-11-11 | Replace next_tick() with simpler C code that I can actually understand. | Mark Kettenis | |
2007-11-10 | weel -> well | Joel Sing | |
2007-11-10 | Remove a fair amount of duplicated code by making cpu_mp_startup call | Mark Kettenis | |
cpu_initialize. | |||
2007-11-10 | For single-processor kernels, only match the CPU we're running on. | Mark Kettenis | |
2007-11-09 | Call prom_set_trap_table for secondary CPUs too. | Mark Kettenis | |
2007-11-09 | Use the interrupt stack as the initial stack for spinning up secondary CPUs. | Mark Kettenis | |
Inspired by a change in NetBSD pointed out by miod@. | |||
2007-11-06 | Close a race where we might save/drop the fpu state of the wrong process in | Mark Kettenis | |
the ipi handlers. | |||
2007-11-05 | Sprinkle a few holy membars around memory writes. | Miod Vallat | |
ok kettenis@ | |||
2007-10-31 | Overhaul fpu context save/restore code, making it more similar to what we do | Mark Kettenis | |
on i386 and amd64. Don't let IPIs in when saving fpu context by disabling interrupts. | |||
2007-10-31 | Remove some XXX code that has been #ifdef'ed out for ages. | Mark Kettenis | |
2007-10-31 | Remove idle_u; it's been unused for a while. | Mark Kettenis | |
2007-10-31 | Remove some comments about 32-bit mode. | Mark Kettenis | |
2007-10-31 | Garbage collect ienab_bis() and ienab_bic(). | Mark Kettenis | |
Suggested by miod@ | |||
2007-10-29 | UltraSPARC CPUs (and other SPARC V9 implementations) don't have a | Mark Kettenis | |
floating-point deferred-trap queue. Remove redundant code inherited from sparc that deals with this. Also remove the code dealing with saving and restoring the FPU state from unaligned memory; we always allocate properly aligned memory for storing the FPU state. | |||
2007-10-28 | UltraSPARC CPUs don't have a floating-point queue, so cpu_reset_fpustate() is | Mark Kettenis | |
redundant since there is no queue to flush. | |||
2007-10-28 | Match on compatible: 'pcf8584', such that we attach on the V210 again. | Mark Kettenis | |
2007-10-27 | get rid of btoc/ctob in favor of atop/ptoa | Martin Reindl | |
2007-10-27 | Since ipis are not synchronous, make sure that ci_fpproc is not NULL before | Miod Vallat | |
invoking savefpstate in ipi_save_fpstate. ok kettenis@ | |||
2007-10-27 | Don't do unecessary work in cpu_switchto(). | Mark Kettenis | |