summaryrefslogtreecommitdiffstats
path: root/sys/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 64 bit safe over entire address rangepefo2004-10-085-69/+69
|
* make it compile with _STANDALONE, ok deraadt@pefo2004-09-231-3/+3
|
* Add code to let 32bit code *printf() {u,}int64_t values.miod2004-09-221-2/+61
| | | | | | | Only enabled if libsa is compiled with the adequate define, so as not to grow bootblocks which do not need this feature. ok deraadt@
* 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.
* Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.otto2004-08-262-1/+7
| | | | ok miller@ henning@
* add missing copyrightpefo2004-08-138-9/+257
|
* mips64 nowpefo2004-08-1111-0/+388
|
* move to mips64pefo2004-08-1111-388/+0
|
* ansi and some missing protosderaadt2004-08-0754-252/+177
|
* Remove some register keywords to make this compile on amd64.art2004-07-221-7/+7
|
* Fix buffer writing in cd9660 code, written by Tom and myself, examined by tobydrahn2004-07-091-14/+19
| | | | and tested in-tree for a while.
* Change of variable name from read to nread, to reduce differencetom2004-06-221-18/+18
| | | | | | from NetBSD version. ok weingart@
* add bounded attribute to some functions. anil tested and ok'editojun2004-06-212-6/+11
|
* Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.millert2004-05-072-368/+2
| | | | | | This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@
* add back strchr/strrchr; from dhartmeideraadt2004-05-063-3/+72
|
* remove terms 3 & 4 for drochner@NetBSD.org; as seen on netbsd listsderaadt2004-04-023-21/+3
|
* 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.
* Do not check for writing to address zero on vax, since this is wheremiod2004-03-241-2/+5
| | | | | | we want to be able to load a .gz kernel. ok deraadt@
* Enter pxeboot, derived from the NetBSD implementation. Initiallytom2004-03-192-0/+554
| | | | | | | | intended to support network installs using bsd.rd over TFTP. Thanks to the many who tested, including Diana Eichert. ok deraadt@
* 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.
* Allow /boot to load read-only data segments in ELF kernels.tom2004-02-101-3/+3
| | | | | | Thanks to miod@ for testing on many archs. ok deraadt@.
* no quad stuff on amd64 either; from art@mickey2004-02-031-2/+2
|
* 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
|
* put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosespie2004-01-034-8/+8
| | | | | | | to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
* Move -DDYNAMIC_CRC_TABLE into the main libz Makefilemillert2003-12-181-2/+4
|
* #include <lib/libsa/stand.h> instead of just <stand.h> so we can avoidmillert2003-12-171-2/+2
| | | | | adding an extra -I for each libz Makefile. This is how the old kernel libz was.
* No need to build infback.c here after all.millert2003-12-171-2/+2
|
* _ZLIB_PRIVATE is not used anywheremillert2003-12-171-2/+2
|
* Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.hmillert2003-12-164-5/+109
|
* Update to zlib 1.2.1millert2003-12-1621-2466/+4032
|
* shrink error strings a lot; ok millertderaadt2003-12-166-9/+91
|
* KNF, ok deraadt/henningmarkus2003-12-021-257/+241
|
* make it use system bcopy/bzero (speeds up the vax about twice); from pr3549mickey2003-11-241-1/+2
|
* rename struct dinode to ufs1_dinode. clears the namespace and makestedu2003-08-251-4/+4
| | | | | way for some future work. no function changes yet. help testing otto@ and markus@
* load file in one pass avoiding seeking the headers back and forth; miod@ testing & ok (two months ago and then i forgot ;)mickey2003-08-111-29/+38
|
* ansification and knf and protosderaadt2003-08-1150-960/+685
|
* first ansideraadt2003-08-083-17/+9
|
* Add missing close() on EFTYPE error in exec(); from Patrick Latifimillert2003-08-041-1/+2
|
* ansideraadt2003-07-051-9/+6
|
* Remove strcat() and strcpy() prototypes since we no longer have thosemillert2003-06-231-3/+1
| | | | functions in kernel-land. Noticed by Jim Rees; OK deraadt@
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-172-18/+18
| | | | where applicable.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-041-6/+2
| | | | rescinded 22 July 1999. This got missed in the omnibus commit.
* another 3/4deraadt2003-06-041-6/+1
|
* Use an ISC-tyle license for all my code; it is simpler and more permissive.millert2003-06-032-46/+24
|