summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/arch (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Make this actually work by using the right register numbers. In the conversionkettenis2007-10-131-12/+12
| | | | | from hppa the fact that t1-t4 actually number down from r22-r19 got somehow lost.
* "boundries" -> "boundaries" in various comments. Started by Diego Casati.krw2007-05-254-6/+6
|
* move hppa to __HAVE_CPUINFOmartin2007-05-141-1/+5
| | | | input from miod@, ok kettenis@
* more locc() diesderaadt2007-05-045-112/+6
|
* remove strcpy and strcat from the kernel; they are dead and unused code.reyk2007-05-047-357/+2
| | | | | | | (OpenBSD does not use strcat/strcpy in the kernel, if people do it in external modules they should update their code) ok deraadt@
* Move m88k memory copy and fill functions to libkern. The copy functions willmiod2006-11-177-1/+576
| | | | | | no longer share the same code, but will be instead be duplicated from the same source, so that bcopy() and memcpy() do not need to check for overlap, and memcpy() and memmove() are shorter.
* typoderaadt2006-11-091-1/+1
|
* import supah pieces from netbsdmickey2006-10-067-0/+997
|
* Switch to the C version of random() on m68k platforms. It is almost as fastmiod2006-01-041-2/+2
| | | | | | | | | | as the assembly version on 0[234]0, but *fifteen* times faster than it on 68060 systems, since it uses a form of muls.l which has to be emulated. And since we use random() for statclock variance, this means we were gratuitously doing an average of 100 emulation traps per second. ok deraadt@ millert@
* I'm Positive these are Type-O.miod2005-08-012-4/+4
|
* not neededderaadt2005-07-201-2/+2
|
* add moddi3, needed by new libzderaadt2005-07-201-5/+2
|
* hppa64 bitsmickey2005-04-013-0/+1740
|
* 64 bit safe over entire address rangepefo2004-10-085-69/+69
|
* Keep providing a 32bit only version of bzero() #ifdef _STANDALONE, asmiod2004-09-211-3/+20
| | | | bootblocks are compiled as 32bit code.
* slightly 64 bit improvedpefo2004-09-181-8/+8
|
* Changes for 64 bit kernel. Some functions needis to be rewritten orpefo2004-09-098-16/+16
| | | | optimized to take advantage of full 64 bit width registers.
* add missing copyrightpefo2004-08-138-9/+257
|
* mips64 nowpefo2004-08-1111-0/+388
|
* move to mips64pefo2004-08-1111-388/+0
|
* It turns out that the so-called fast ffs(3) routines were wrong, as soon asmiod2004-04-012-18/+2
| | | | | | | | | | | | more than one bit is set, as the ff1 instruction counts from the highest order. However, gcc/m88k with optimization enabled would use a correct, short sequence based upon ff1 and tweaks, to achieve the intended result, hence i did not catch this flaw initially. So revert to the C implementation - it is correct, still decently fast, and will only be used when compiling at -O0.
* change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyderaadt2004-02-2723-858/+0
| | | | | | reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
* tag...drahn2004-02-019-0/+9
|
* Kernel library bits for arm, from NetBSD.drahn2004-02-019-0/+1266
|
* an amd64 arch support.mickey2004-01-2846-0/+1716
| | | | | | | 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? ;)
* use C comments, works betterderaadt2004-01-221-3/+3
|
* A faster ffs() routine based upon the ff1 assembly instruction.miod2004-01-212-3/+18
|
* another 3/4deraadt2003-06-041-6/+1
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0253-347/+135
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* strcpy/strcat/sprintf removal in all bootblocks. various testing byderaadt2003-06-0110-21/+21
| | | | | various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
* Get rid of more unwanted pieces of code.miod2003-04-2911-760/+0
|
* add a rule to built bzero.po as wellmickey2003-01-281-2/+8
|
* powerpc uses memset for bzero, do this for profiled version also.drahn2002-11-111-1/+7
|
* use mi strlcpy here as wellmickey2002-09-152-71/+3
|
* Remove 64-bit gcc emulation stuff. We're not using it.art2002-09-065-754/+1
|
* do not just bail out of the copy loop, but go to themickey2002-08-271-18/+22
| | | | | | 'done' label for the job finish. major register missallocation for copyonfault, fix it. clean the space regs after use.
* syncmickey2002-08-131-4/+4
|
* Use _C_LABEL for c symbols.art2002-08-112-7/+8
|
* syncmickey2002-05-201-2/+3
|
* IEEE 754 floating point completion code, and implementation of thepvalchev2002-04-281-3/+3
| | | | | | | | | | | FP_C (Floating Point Control Quadword). From ross@NetBSD. Added a way to disable it with option NO_IEEE, which appears on the ramdisks to save space. This affects only programs compiled with -mieee, and what it essentially does is enabling infinities and NaNs, instead of generating SIGFPE on division by zero, overflow, etc. ok art, deraadt
* First round of __P removal in sysmillert2002-03-141-2/+2
|
* syncmickey2002-03-081-2/+2
|
* syncmickey2002-03-081-5/+3
|
* syncmickey2002-02-071-1/+2
|
* syncmickey2001-09-201-4/+4
|
* $OpenBSD$jason2001-08-2017-1/+18
|
* strlcpy and strlcatart2001-08-191-1/+1
|
* libkern sparc64 stuff (mostly from NetBSD... lightly modified... with a side of bacon)jason2001-08-1917-0/+1797
|
* #(endif|else) foo is incorrect, make it #endif /* foo */heko2001-08-121-2/+2
| | | | deraadt@ ok
* remove unused files, build bzero off of memsetmickey2001-07-091-3/+13
|