summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/arch/amd64 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use _ALIGN_TRAPS instead of _ALIGN_TEXT where nops aren't needed.guenther2018-07-133-6/+6
| | | | ok deraadt@
* In asm.h ensure NENTRY uses the old-school nop-sled align, but change standardderaadt2018-07-103-5/+5
| | | | | | | ENTRY is a trapsled. Fix a few functions which fall-through into an ENTRY macro. amd64 binaries now are free of double+-nop sequences (except for one assember nit in aes-586.pl). Previous changes by guenther got us here. ok mortimer kettenis
* Add retguard macros for libkernmortimer2018-07-0315-12/+43
| | | | ok deraadt
* " the the " -> " the ", or in a couple of cases replace the superfluouskrw2016-03-201-2/+2
| | | | | | "the" with the obviously intended word. Started with a "the the" spotted by Mihal Mazurek.
* Like libc, also for the kernel: Import new amd64 assembly versions ofreyk2014-12-094-93/+442
| | | | | | | | | | strchr/index, strrchr/rindex, and strlen that provide a significantly faster performance than our previous .c or .S implementations. Based on NetBSD's code. Tested with different amd64 CPUs. ok deraadt@ mikeb@
* it should not be necessary to clear the direction flagtedu2014-11-298-9/+0
| | | | ok deraadt
* mask off high bits from 'c', before operation, otherwise the packingderaadt2014-11-211-0/+1
| | | | | logic writes balony. Hunting with tedu, mlarkin, and final bit spotted by naddy in freebsd's version.
* tiny tweak to asm. prefer memcpy and memmove, with bcopy wrappertedu2014-01-091-6/+7
| | | | ok guenther
* Remove pointless instruction in the memcpy path that snuck in with thekettenis2013-06-131-2/+0
| | | | | | previous commit. ok deraadt@
* merge bcopy/memcpy/memmove into one function.deraadt2013-06-133-104/+89
| | | | ok mlarkin tedu
* remove ovbcopy supportderaadt2013-06-111-4/+0
| | | | ok kettenis
* fix an oft copied typo that i'm tired of looking attedu2013-06-032-2/+2
|
* Remove assembly version of strlen from i386 and amd64, where it'smikeb2012-01-171-17/+0
| | | | | | | up to 3 times slower than the C code most of the time. This was brought up by DragonflyBSD guys initially. ok deraadt, guenther. miod will not miss it.
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-262-14/+0
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* place a comment as to why these are otherwise emptyderaadt2007-11-282-0/+2
|
* libkern, begone. Move to a new mechanism where config(8)'s "file"deraadt2007-11-257-88/+44
| | | | | | | | | | | | 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..
* delete unused junk RCS idsderaadt2007-11-249-36/+0
|
* "boundries" -> "boundaries" in various comments. Started by Diego Casati.krw2007-05-252-2/+2
|
* remove strcpy and strcat from the kernel; they are dead and unused code.reyk2007-05-043-124/+2
| | | | | | | (OpenBSD does not use strcat/strcpy in the kernel, if people do it in external modules they should update their code) ok deraadt@
* an amd64 arch support.mickey2004-01-2823-0/+858
hacked by art@ from netbsd sources and then later debugged by me into the shape where it can host itself. no bootloader yet as needs redoing from the recent advanced i386 sources (anyone? ;)