Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-30 | Enforce ca_activate tree-walks over the entire heirarchy for all events, | Theo de Raadt | |
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too | |||
2013-05-30 | fix typos in some comments | Mike Larkin | |
2013-05-30 | Switch to using unhyphenated VIA padlock mnemonics. VIA abandoned the | Matthew Dempsky | |
hyphen in their official programming guide sometime between 2003 and 2005, and Clang's integrated assembler does not support hyphenated mnemonics. ok jsg, deraadt | |||
2013-05-21 | de-static-ize prototypes as well, which makes these functions not-static | Mark Kettenis | |
for real! Pointed out by Alexey E. Suslikov. | |||
2013-05-21 | remove unused cpu_lock code (where it is truly unused). it is not | Ted Unangst | |
part of the future we have planned. middling ok from a few | |||
2013-05-20 | de-static-ize, such that people don't get confused by aesni failures on | Mark Kettenis | |
AMD hardware the next time somebody tries to run on a broken KVM hypervisor. | |||
2013-05-16 | Implement a mechanism to establish interrupt handlers that don't grab the | Mark Kettenis | |
kernel lock upon entry through a new IPL_MPSAFE flag/level. ok mikeb@, mpi@ | |||
2013-05-12 | Tell wsdisplay(4) to switch back to the console screen upon entering ddb(4). | Mark Kettenis | |
This gives users a decent chance to see panic messages and interact with ddb(4) when they're running X on hardware for which we have a KMS driver. Currently that means inteldrm(4). ok jsg@, guenther@ | |||
2013-05-12 | Take the kernel lock and call the actual interrupt handler from a | Alexandre Ratchov | |
single c function. This will hopefully make easier to stop taking the kernel lock when running "mp safe" interrupt handlers. help from ok kettenis | |||
2013-05-06 | the use of modern intel performance counter msrs to measure the number of | David Gwynne | |
cycles per second isnt reliable, particularly inside "virtual" machines. cpuspeed can be calculated as 0, which causes a divide by zero later on which is bad. this goes to more effort to detect if the performance counters are in use by the hypervisor, or detecting if they gave us a cpuspeed of 0 so we can fall through to using rdtsc. the same change as: src/sys/arch/i386/include/specialreg.h r.45 src/sys/arch/i386/isa/clock.c 1.49 ok jsg@ | |||
2013-05-05 | remove never used get/set ioperm sysarch functions. ok guenther | Ted Unangst | |
2013-04-24 | Use the manufacturer-supplied bios serial/uuid as a source of | Bret Lambert | |
uniqueness to seed the random pool; although it's somewhat hit-or-miss, as serial numbers of 123456789 (I have the same combination on my luggage!) and lazy uuid instantiation mean it's not as unique as we would like. Still, on those boards where the manufacturer isn't a slacker, it's better than nothing... ok deraadt@ | |||
2013-04-23 | Include udivdi3/umoddi3 when compiling the amd64/i386 boot blocks - they | Joel Sing | |
are needed for the upcoming type changes. ok deraadt@ | |||
2013-04-23 | Remove obsolete comment, okay mlarkin@. | Paul Irofti | |
2013-04-23 | tedu unused makefiles. | Joel Sing | |
2013-04-23 | Remove softraid boot support from fdboot (again). | Joel Sing | |
2013-04-17 | Don't set the frequency of the statclock if we don't have one. | Gerhard Roth | |
Prevents strange hang-ups during reboot. Joint work with hshoexer@. ok mikeb@, mlarkin@, miod@, deraadt@ | |||
2013-04-09 | Add missing #ifdef CRYPTO around amd64_has_aesni | Philip Guenther | |
Diff from Silamael (Silamael (at) coronamundi.de) | |||
2013-04-05 | Add the remaining USB Wifi adapters to the CD RAMDISK media for users | Brad Smith | |
using the media with upgrades - athn(4), atu(4), otus(4), rsu(4), uath(4) ok deraadt@ | |||
2013-04-05 | enable com3 on both i386 and amd64 (com4 config is added, but disabled) | Theo de Raadt | |
ok miod kettenis tedu | |||
2013-04-04 | zap redundant assignments | Alexander Hall | |
2013-04-01 | Do not expose the trap T_* values to userland, since they invade the | Theo de Raadt | |
namespace a bit much. These are the names for the value encoded in core.c_ucode or siginfo.si_trapno, but userland never looks directly and only cares about the abstract signal code. ok guenther | |||
2013-03-31 | try to avoid pulling in pte.h and other more crazy things. Checked against | Theo de Raadt | |
the things that libkvm needs. | |||
2013-03-30 | Back out previous; this needs more thought. | Mark Kettenis | |
2013-03-30 | reorder include search directories. cuts lookups by quite a bit. | Ted Unangst | |
ok deraadt miod | |||
2013-03-30 | enable com2. if it works on i386, we think it will work here. | Ted Unangst | |
ok deraadt | |||
2013-03-29 | put urtwn in big ramdisks so I can use it for upgrades | Ted Unangst | |
2013-03-28 | Add STRONG_ALIAS macros to be used from assembly code in libc and | Martynas Venckus | |
libm. While at it, remove now unused workarounds for lint. Agreed by kettenis@, guenther@, matthew@. | |||
2013-03-28 | Add __strong_alias macros for all architectures to be able to alias | Martynas Venckus | |
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@. | |||
2013-03-26 | sync TDIRS with reality | Jasper Lievisse Adriaanse | |
"looks good" deraadt@ | |||
2013-03-26 | Add AES-XTS support to the aesni crypto driver. This allows softraid(4) | Joel Sing | |
to benefit from the AES-NI instructions found on newer Intel CPUs. ok mikeb@ | |||
2013-03-26 | PGSHIFT and PGOFSET are now contained inside the kernel namespace. | Theo de Raadt | |
2013-03-25 | ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file. | Theo de Raadt | |
2013-03-23 | refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added | Theo de Raadt | |
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms... | |||
2013-03-23 | Avoid using DEV_BSHIFT, and use DEV_BSIZE instead. | Theo de Raadt | |
2013-03-21 | NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASK | Theo de Raadt | |
2013-03-21 | style(9) | Kurt Miller | |
2013-03-21 | Detect on-die temp sensor for Atom E6xx on amd64. Adapted from | Kurt Miller | |
diff submitted by Matt Dainty. okay jsg@ | |||
2013-03-21 | move kernel after 16MB. needed for additional growth that might come in a | Theo de Raadt | |
little while... diff from martynas who is not around now | |||
2013-03-20 | Previous commit to acpi_machdep.c broke suspend because the IPI to save the | Mark Kettenis | |
FPU state needs a little bit more setup. Fix things properly this time by simplifying matters and saving the FPU state from the IPI that halts the CPU. With help from deraadt@ and mlarkin@. ok deraadt@, mlarkin@ | |||
2013-03-19 | in acpi_sleep_mp() properly flush fpu and halt the AP's | Theo de Raadt | |
found when i told mlarkin to look at it for re-use in a different place ok mlarkin | |||
2013-03-17 | Add an interface to rebind AGP DMA mappings. To be used by the upcoming KMS | Mark Kettenis | |
support to reload bindings after suspend/resume and to update cachability flags in the address translation table entries. | |||
2013-03-17 | We don't do mcontext, so remove this unused header. | Mark Kettenis | |
ok deraadt@ | |||
2013-03-15 | Delete the sequencer(4) driver, since its not used any longer. Diff | Alexandre Ratchov | |
mostly from armani. ok miod, mpi, jsg and help from sthen | |||
2013-03-12 | Fake 'SMBIOS detection' for the Soekris boxes, by Matt Dainty | Theo de Raadt | |
This will make it easier to have device drivers for some oddities these machines have ok kettenis, assume jsg is ok with it too | |||
2013-03-12 | Fix kernel profiling on MP systems by using per-CPU buffers and teach | Martin Pieuchot | |
kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@ | |||
2013-03-07 | Reword some wrong comments and some improperly formatted comments and add | Mike Larkin | |
information about piglet memory layout. No functional changes. | |||
2013-03-02 | Properly conditionalize adding wscons to the list of consoles on | Mark Kettenis | |
NWSDISPLAY. | |||
2013-03-02 | The last use of the int $80 syscall entry was in 5.1, so we no longer | Philip Guenther | |
need to reserve it ok deraadt@ | |||
2013-02-12 | Back out per-CPU kernel profiling, it shouldn't modify a public header | Martin Pieuchot | |
at this moment. |