summaryrefslogtreecommitdiffstats
path: root/sys/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Override SoftFloat's countLeadingZeros32() with a faster, ff1-based, versionmiod2007-12-291-1/+3
| | | | on m88k.
* Unifdef NO_IEEE in the libkern softfloat code, and put an appropriate rulemiod2007-12-295-23/+32
| | | | | | in files.alpha to compensate for NO_IEEE kernels. This will allow the softfloat code to be used by other platforms than alpha.
* place a comment as to why these are otherwise emptyderaadt2007-11-2843-2/+43
|
* mips64 also needs memcpy.S, otherwise memcpy.c gets built, which conflictsjsing2007-11-271-0/+0
| | | | | | with bcopy.S ok miod@
* mips64 needs at least these to build; spotted by jsingderaadt2007-11-262-0/+0
|
* libkern, begone. Move to a new mechanism where config(8)'s "file"deraadt2007-11-25110-1504/+3573
| | | | | | | | | | | | 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
|
* more junk SCCSderaadt2007-11-243-12/+0
|
* junk SCCSderaadt2007-11-2411-75/+11
|
* delete unused junk RCS idsderaadt2007-11-249-36/+0
|
* ansi Cderaadt2007-11-242-4/+7
|
* Uncomment rule to build bcopy.S, and use that as our bcopy(9) implementation.kettenis2007-10-131-5/+5
|
* 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.
* Make function pointer calls look all alike; from Holger Mikolon.miod2007-09-101-2/+2
| | | | No change in generated code.
* Fix the description of loadfile() semantics in comment (and kill "andtom2007-06-261-3/+4
| | | | and" at the same time).
* Pull out the ELF loadfile pieces from the standalone libraries, so thattom2007-05-302-188/+280
| | | | | | | | | | | | | both 32- and 64-bit versions can be created (previously only one or the other could be built for a given boot loader). Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and vice versa). Obviously the system must support LONG mode in order to successfully run the amd64 kernel once it is loaded. Advice and discussions from/with dale@ (going back three years). Much testing nick@ and todd@; thanks.
* "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
|
* locc() is dead, spotted by miodderaadt2007-05-042-48/+1
|
* move bcd tables to the only place that uses them (the unused mcd driver);deraadt2007-05-043-44/+3
| | | | ok miod
* remove strcpy and strcat from the kernel; they are dead and unused code.reyk2007-05-0410-468/+3
| | | | | | | (OpenBSD does not use strcat/strcpy in the kernel, if people do it in external modules they should update their code) ok deraadt@
* some shorter code is better codederaadt2007-05-031-6/+4
|
* Re-initialise f_seekp to 0 on a successful read_inode() return.tsi2007-03-161-1/+2
| | | | | | | Fixes a problem that prevented the booting of a kernel that, to be found, needs more than one block per directory iin its path to be read. ok miod@, deraadt@
* Revert 1.11 and load .shstrtab, as it is currently needed for /dev/ksymsmiod2007-01-041-20/+13
| | | | proper operation.
* do not load unneeded stringtab sections; avoids backward seeking; from netbsd; tested by miod@ and martin@; deraadt@ okmickey2006-12-301-13/+20
|
* make it compile w/ debug defined; miod@ okmickey2006-11-291-2/+2
|
* 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
|
* use SEEK_SET; chl@tuxfamily.orgderaadt2006-10-111-2/+2
|
* import supah pieces from netbsdmickey2006-10-067-0/+997
|
* Import a slightly stripped down strtoll(3) from stdlibmpf2006-09-182-1/+139
| | | | | | | into libsa as it is needed for boot(8) > 4G support. With help from mickey@ i386 and amd64 tests by me, alpha test by mickey@ OK mickey@, miod@, deraadt@
* Add a hand rolled 64bit hex printf that can be used outside ofmpf2006-09-181-4/+22
| | | | | | | LIBSA_LONGLONG_PRINTF which requires 64bit math support. With help from mickey@ Tested on i386, amd64 and on alpha by mickey@ OK mickey@, miod@, deraadt@
* adler32_combine() is not used by anything AND requires qdivrem so ifdef it out; millert@ deraadt@ okmickey2006-07-201-1/+3
|
* typos from alexey dobriyan;jmc2006-02-061-2/+2
|
* Adapt things to use __type_t instead of _BSD_TYPE_T_millert2006-01-061-2/+2
| | | | | Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
* 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
|
* Update to zlib 1.2.3; OK deraadt@millert2005-07-2011-119/+560
|
* do not leak memory if read()ing section headers fails; from Andrey Matveev <evol@online.ptt.ru>mickey2005-07-131-1/+2
|
* Fix bounds check for incomplete code sets so they cannot overflow the codesmillert2005-07-061-2/+2
| | | | array. From Mark Adler.
* -ansi considered harmful, even in commentsmillert2005-05-241-2/+2
|
* hppa64 bitsmickey2005-04-013-0/+1740
|
* Remove __P usage in sys that has crept back in.jsg2005-02-131-2/+2
| | | | 'Looks fine' millert@, ok miod@
* zlib-1.21 here toodjm2004-12-038-98/+136
|
* sync from libcmickey2004-11-2833-359/+217
|
* a tiny hppa64 bitmickey2004-11-281-3/+3
|