Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mop up #ifdef _KERNEL goo; ok miod | 2014-06-10 | 21 | -106/+30 | ||
| | ||||||
* | Typo in comment noticed during some recent hibernate debugging. No code | 2014-05-21 | 1 | -2/+2 | ||
| | | | | change. | |||||
* | Fix typo: d_addrt -> daddr_t | 2014-04-29 | 1 | -1/+1 | ||
| | | | | ok bmercer@ | |||||
* | Add ufs2 support and get one step closer to making ffs2 bootable. This work was done by Pedro Martelletto for bitrig. One small tweak to make it buildable with -Werror. "Please commit" miod@ | 2014-04-16 | 2 | -0/+750 | ||
| | ||||||
* | Fix alignment of tftp structure by changing the 'header' member's type | 2014-03-28 | 3 | -10/+13 | ||
| | | | | | | to a struct with the necessary alignment. analysis and ok kettenis@ | |||||
* | Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping | 2014-03-18 | 18 | -1046/+0 | ||
| | | | | | | | this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish. | |||||
* | Do not actually write to the area spanned by the PT_OPENBSD_RANDOMIZE if | 2014-02-25 | 1 | -5/+10 | ||
| | | | | | LOAD_DATA is not set in flags; allows a two-pass kernel load using COUNT_KERNEL and then LOAD_KERNEL to work; similar to sparc loadfile_sparc.c 1.3. | |||||
* | Initialize ci_randseed better using arc4random() + a trick. Remove the | 2014-01-19 | 2 | -17/+4 | ||
| | | | | | libkern srandom() API since it is not suitable for this use. ok kettenis miod | |||||
* | tiny tweak to asm. prefer memcpy and memmove, with bcopy wrapper | 2014-01-09 | 2 | -29/+28 | ||
| | | | | ok guenther | |||||
* | Try to load entropy data from disk:/etc/random.seed, and additionally | 2013-12-28 | 2 | -2/+17 | ||
| | | | | | | | use a MD-supplied random function. Then, insert this into the ELF openbsd.randomdata of the kernel, so that it has entropy right from the start. Some help from jsing for the softraid aspects. Also tested by phessler | |||||
* | avoid math on void * pointers | 2013-11-12 | 1 | -13/+13 | ||
| | | | | | (a few years ago, people went far too void * happy, it was like a drug or something) | |||||
* | more a.out/ecoff removal; ok phessler | 2013-10-17 | 1 | -298/+1 | ||
| | ||||||
* | add fls/flsl functions to find the last bit set in a value | 2013-07-11 | 3 | -1/+95 | ||
| | | | | | from FreeBSD ok mikeb@ haesbaert@ deraadt@ | |||||
* | VAX ELF kernel bits. | 2013-07-05 | 5 | -79/+79 | ||
| | ||||||
* | m68k kernel memcpy/memmove/bcopy implementation in libkern, remove ovbcopy, fix for larger than 128k size copies. Parts from deraadt@, ok (and off-by-one fix) miod@ | 2013-06-17 | 3 | -3/+134 | ||
| | ||||||
* | Fast memmove() implementation for PowerPC, from NetBSD via martin@; with | 2013-06-15 | 3 | -1/+170 | ||
| | | | | bcopy() and memcpy() wrappers. | |||||
* | Fix evil typo causing the wrong pointer to be returned for < 32 bytes | 2013-06-15 | 1 | -2/+2 | ||
| | | | | memcpy() or memmove(). | |||||
* | Preserve %o5 around Lbcopy_doubles; prevents the return value from memcpy() | 2013-06-15 | 1 | -4/+5 | ||
| | | | | | and memmove() to be incorrect for copies of 32 bytes or more, when the source and destination addresses are nicely aligned. | |||||
* | Make bcopy() involve memmove(), not memcpy(). | 2013-06-15 | 2 | -4/+3 | ||
| | | | | Do not bogusly return NULL if dst == src (spotted by tedu@) | |||||
* | Correctly handle a length of zero in memcpy(). | 2013-06-15 | 1 | -7/+14 | ||
| | | | | Return the original destination pointer in memcpy() and memmove(). | |||||
* | Don't return garbage in memcpy() but the original destination pointer. | 2013-06-15 | 1 | -0/+1 | ||
| | ||||||
* | give bcopy() the ovbcopy() semantics | 2013-06-15 | 1 | -1/+2 | ||
| | ||||||
* | regen | 2013-06-14 | 2 | -2/+0 | ||
| | ||||||
* | ovbcopy begone | 2013-06-14 | 2 | -4/+2 | ||
| | ||||||
* | regen | 2013-06-14 | 2 | -0/+4 | ||
| | ||||||
* | Fix memcpy/memmove return value. | 2013-06-14 | 2 | -2/+6 | ||
| | ||||||
* | new integral bcopy/memmove/memcpy, pulled out of sparc locore | 2013-06-13 | 3 | -3/+421 | ||
| | | | | tested by beck | |||||
* | syncronize "look in other file" messages | 2013-06-13 | 4 | -4/+4 | ||
| | ||||||
* | merged bcopy/memmove/memcpy | 2013-06-13 | 3 | -129/+142 | ||
| | | | | tested by bcallah, proofed by jasper, ok tedu | |||||
* | rework the memcpy family to all use one function body and implement | 2013-06-13 | 3 | -272/+248 | ||
| | | | | desired semantics. ok deraadt | |||||
* | Remove pointless instruction in the memcpy path that snuck in with the | 2013-06-13 | 1 | -2/+0 | ||
| | | | | | | previous commit. ok deraadt@ | |||||
* | take libc bcopy, gut the #ifdefs for other modes, and place it here. | 2013-06-13 | 1 | -0/+116 | ||
| | | | | | Now deficient architectures can use this if they need to. conf/files already tries to pull this in (pointed out by mlarkin) | |||||
* | ovbcopy begone | 2013-06-13 | 1 | -4/+1 | ||
| | ||||||
* | same bcopy/memmove/memcpy methodology for vax. | 2013-06-13 | 3 | -158/+19 | ||
| | | | | checked over by mlarkin | |||||
* | merge bcopy/memmove/memcpy into one file, with jumps so that it is more | 2013-06-13 | 3 | -3/+113 | ||
| | | | | | | likely to be in the cache (like how the explanation is split between multiple commits?) tested by various | |||||
* | merge memcpy/memmove/bcopy into one file, with sub-jumps. | 2013-06-13 | 3 | -3/+271 | ||
| | | | | ok .... I guess noone, because it is summer | |||||
* | merge bcopy/memcpy/memmove into one function. | 2013-06-13 | 3 | -104/+89 | ||
| | | | | ok mlarkin tedu | |||||
* | From now on, the MI libkern memcpy should not do overlap handling. | 2013-06-12 | 1 | -16/+4 | ||
| | ||||||
* | regen | 2013-06-11 | 1 | -45/+45 | ||
| | ||||||
* | Optimize memcpy(9) by always doing a forward copy; it should never be used | 2013-06-11 | 1 | -9/+9 | ||
| | | | | | | | | for overlapping copies. Attempt to be instruction cache friendly by turning things around and make memcpy(9) use the forward copy branch of memmove(9), and implement bcopy(9) by swapping its arguments and dropping into memmove(9). Same change as the one just made to for hppa. | |||||
* | remove ovbcopy support | 2013-06-11 | 14 | -20/+0 | ||
| | | | | ok kettenis | |||||
* | regen | 2013-06-11 | 1 | -43/+43 | ||
| | ||||||
* | Optimize memcpy(9) by always doing a forward copy; it should never be used | 2013-06-11 | 1 | -9/+9 | ||
| | | | | | | | | for overlapping copies. Attempt to be instruction cache friendly by turning things around and make memcpy(9) use the forward copy branch of memmove(9), and implement bcopy(9) by swapping its arguments and dropping into memmove(9). ok deraadt@ | |||||
* | portable memmove(), for if an architecture lacks a custom optimized | 2013-06-11 | 1 | -0/+53 | ||
| | | | | version. | |||||
* | Add CTASSERT macro, for compile time assertions | 2013-06-08 | 1 | -1/+4 | ||
| | | | | ok kettenis@ | |||||
* | Add {,u}{div,mod}si3 to libkern and to the kernel as well. | 2013-06-07 | 4 | -0/+195 | ||
| | ||||||
* | fix an oft copied typo that i'm tired of looking at | 2013-06-03 | 39 | -39/+39 | ||
| | ||||||
* | UFS does't do inode numbers >2^32, so use a smaller type internally, | 2013-05-30 | 1 | -9/+9 | ||
| | | | | | | | only using ino_t in the VFS layer APIs: vget, readdir, getattr. otto wrote the original diff for libsa to keep bootblock from overflowing ok deraadt@ kettenis@ | |||||
* | Fix kernel profiling on MP systems by using per-CPU buffers and teach | 2013-03-12 | 1 | -8/+16 | ||
| | | | | | | | | | | | kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@ | |||||
* | Back out per-CPU kernel profiling, it shouldn't modify a public header | 2013-02-12 | 1 | -16/+8 | ||
| | | | | at this moment. |