Add __aeabi_[fd]cmpun for IEEE unordered compares (requires by ARM RTABI).
Appease clang by making 64-bit literals use ULL
When building for earm*, compile __aeabi_[df]cmpun.c and __aeabi_[il]div0.c
Fix bug in detecting EOS/match on armv6+.
Simplify the code by only checking for total_len < pktlen once. The second
check was actually wrong - found by matt@ and clang.
Deal with bus addresses better. Switch the DMA bus address base to the
cache coherent range - not that anything uses it yet.
add vchiq base and size
make vmem(9) ready to be used early during bootstrap to replace extent(9).
pass memory for vmem structs into the initialization functions and
do away with the static pools for this.
factor out the vmem internal structures into a private header.
remove special bootstrapping of the kmem_va_arena as all necessary memory
comes from pool_allocator_meta wich is fully operational at this point.
revert previous commit not yet fully functional, sorry
Fix offset of DS1287A NVRAM address on LUNA-II.
Whitespace nits.
Check read and write errors to avoid warnings from linux.
XXX: Should we print an error and exit instead?
Add proper padding to text section for elf2aout conversion.

The data and bss sections are 8 byte aligned on m68k ELF format,
but a.out header doesn't have section addresses and only
contains size values, so we have to pad size of text section
to make data section get aligned even after elf2aout.

Note elf2aout merges ELF data section into a.out text section
if binary is OMAGIC (i.e. text is writable too) so only
BSS section address was affected (and was almost harmless).
Fix a security issue: when we are reseeding a PRNG seeded early in boot
before we had ever had any entropy, if something else has consumed the
entropy that triggered the immediate reseed, we can reseed with as little
as sizeof(int) bytes of entropy.
make this cross-compile friendly.
more cross-compile friendly.
links for makefs
depend on TOOLS instead of __NetBSD__ for extra functionality
modify structures in order to accomodate IPv6 according to
draft-ietf-mpls-ldp-ipv6. Correct a little bit IPv6 hello path
Several registers and bitfields named IOAPIC_* actually belong to the
LAPIC, so rename them LAPIC_* and move to a more appropriate header
file.