libkern: Remove karc4rand() in favor of karc4random_buf()The latter karc4random_buf()/arc4random_buf() sees more adoptions inother BSDs as well as the userland. So only reserve the latter andrem
libkern: Remove karc4rand() in favor of karc4random_buf()The latter karc4random_buf()/arc4random_buf() sees more adoptions inother BSDs as well as the userland. So only reserve the latter andremove the former.Update the kernel code accordingly to use karc4random_buf() only.
show more ...
Use ${} instead of $() in various makefilesAlso use ${.TARGET} and ${.ALLSRC] wherever impossible.Minor style adjustment in at(1)'s makefiles.
kernel: Remove <machine/npx.h> from two headers that do not need it.
kernel: Remove explicit dependencies on <sys/malloc.h> in headers. All except <net/if_var.h> for now, it needs decoupling in drm first. * Include <sys/malloc.h> in foo.c if they have kmalloc()/kfr
kernel: Remove explicit dependencies on <sys/malloc.h> in headers. All except <net/if_var.h> for now, it needs decoupling in drm first. * Include <sys/malloc.h> in foo.c if they have kmalloc()/kfree() calls. * Consistently check if MALLOC_DECLARE was declared before. * <sys/mountctl.h>: include <sys/thread.h> for _KERNEL_STRUCTURES too since the "struct journal" embeds "struct thread". * <sys/tty.h>: Only two kernel sources makes use of M_TTYS. * <sys/socketvar2.h>: Make it kernel only header.
i386 removal, part 70/x: Remove some i386 specific bits in the kernel.
i386 removal, part 22/x: Remove some i386 specific assembly language files.
kernel/spinlock: Add a description to struct spinlock.And add it to spin_init() and SPINLOCK_INITIALIZER().Submitted-by: dclink (see <http://bugs.dragonflybsd.org/issues/2714>)OK'd-by: dill
kernel/spinlock: Add a description to struct spinlock.And add it to spin_init() and SPINLOCK_INITIALIZER().Submitted-by: dclink (see <http://bugs.dragonflybsd.org/issues/2714>)OK'd-by: dillon
kernel: Use DEVMETHOD_END in the drivers.
kernel: Replace the remaining __amd64__ with __x86_64__ for consistency.
aesni: Utilize kmalloc M_POWEROF2
kernel: Remove newlines from the panic messages that have one.panic() itself will add a newline.
aesni(4): Move some unused variables into the #if 0'd parts.
kernel: Remove opt_bus.h references where they are not needed.It only defines BUS_DEBUG (if set) and BUS_DEBUG is only used insubr_bus.c, so it doesn't need to be included anywhere else.
aesni(4): Remove unused variable.
aesni(4): Properly align the context memory using out kmalloc(9) featureDragonFly's kmalloc(9) will return 2^n aligned memory if the allocationsize is 2^n; use this feature instead of using a loca
aesni(4): Properly align the context memory using out kmalloc(9) featureDragonFly's kmalloc(9) will return 2^n aligned memory if the allocationsize is 2^n; use this feature instead of using a local hack.While I'm here, release the spinlock and call kmalloc(9) w/ M_WAITOK;the check/free race is absolutely acceptable here, but the failureof kmalloc(9) w/ M_NOWAIT is probably not accetable on the init path.
kernel: Use NULL for DRIVER_MODULE()'s evh & arg (which are pointers).This is just cosmetics for easier reading.
kernel: Move aesni(4) and padlock(4) from sys/crypto to sys/dev/crypto.Pointed-out-by: alexh