summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/arch/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* retire sparctedu2016-09-0121-3422/+0
|
* typomiod2014-11-091-2/+2
|
* Preserve %o5 around Lbcopy_doubles; prevents the return value from memcpy()miod2013-06-151-4/+5
| | | | | and memmove() to be incorrect for copies of 32 bytes or more, when the source and destination addresses are nicely aligned.
* new integral bcopy/memmove/memcpy, pulled out of sparc locorederaadt2013-06-133-3/+421
| | | | tested by beck
* remove ovbcopy supportderaadt2013-06-111-1/+0
| | | | ok kettenis
* fix an oft copied typo that i'm tired of looking attedu2013-06-034-4/+4
|
* syncderaadt2011-03-124-32/+32
|
* In the original sparc V7 book (and in the v8 book), the divrem leaf code usedderaadt2011-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | local registers for a few temporaries. This was changed to use two global registers. Maybe to permit use in-kernel without conflicting with the register V7 register window handlers. (Was this done by Chris Torek? Is this related to Gordon Irlam's work? Or was it in NetBSD? Hard to tell because NetBSD removed their original cvs tree.) In V8 the ABI was tightened; more global registers became offlimits in different ways. We started supporting sun4m, and did not consider this. As a result, the global registers chosen are the wrong choice. In particular, %g7 is a poor choice for upcoming TLS work. It looks like it is safer to use %g5 and %g6 since these functions are "system software". All re-entrant parts of the system save it. On sparc64 these functions are in libc per ABI requirement, but are unused. On sparc, they occur in bootblocks (no reentrancy), kernel (reentrancy saves globals; kernel is not ABI compliant), userland libc (signal handlers save globals), and ld.so (symbol binding is not re-entrant on its own). Discussed rather extensively with guenther, kettenis, miod and drahn.
* Use the MI random() for all cases; no need for a MD version since itderaadt2008-10-101-1/+0
| | | | | has never been performance sensitive. Running on all platforms, discussed with millert and kettenis, ok toby
* These files are not used (and some of them would not compile anyway).miod2008-05-141-108/+0
|
* place a comment as to why these are otherwise emptyderaadt2007-11-285-0/+5
|
* libkern, begone. Move to a new mechanism where config(8)'s "file"deraadt2007-11-2515-137/+1714
| | | | | | | | | | | | 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..
* SCCS junk, bit by bitderaadt2007-11-247-56/+7
|
* junk RCSderaadt2007-11-241-8/+1
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0215-102/+42
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* strcpy/strcat/sprintf removal in all bootblocks. various testing byderaadt2003-06-011-2/+2
| | | | | various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
* Use _C_LABEL for c symbols.art2002-08-112-7/+8
|
* strlcat and strlcpy into libkern.provos2000-12-181-2/+3
|
* Pull memcmp() into libkern. Also, use asm version of memset() on m68k.millert2000-06-161-2/+2
|
* fix a commentart2000-03-031-3/+3
|
* put C accessable labels on {,u}{rem,div}deraadt2000-02-222-7/+10
|
* but... these are needed by the bootblocksderaadt1999-12-102-0/+353
|
* move .mul and .umul into the kernel. if v8 sparc is detected, replace withderaadt1999-12-073-356/+3
| | | | the equivelant 2-instruction sequence.
* sparc needs memset for gcc now (i hate this)deraadt1998-06-021-2/+2
|
* $OpenBSD$niklas1997-11-0715-12/+28
|
* add memchr to libkernchuck1997-11-041-1/+2
|
* sparc needs memset, compiler calls it automaticallyderaadt1996-05-012-68/+4
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-2/+4
|
* NetBSD 960317 mergeniklas1996-04-191-2/+3
|
* initial import of NetBSD treederaadt1995-10-1817-0/+1686