Extend the libsa loadfile(9) granularity to tell apart randomness from the rest
authormiod <miod@openbsd.org>
Tue, 19 May 2015 20:39:12 +0000 (20:39 +0000)
committermiod <miod@openbsd.org>
Tue, 19 May 2015 20:39:12 +0000 (20:39 +0000)
commitcd230c960d89f0a893a1ea79bd9667802ad9a5bb
tree6f93944f81175849e8befdb00ba113ad3355b397
parentebfa05375088d510da702ab7f48d794fb544562f
Extend the libsa loadfile(9) granularity to tell apart randomness from the rest
of the kernel, and extend the array filled by loadfile to report the location
of the randomness area.

This doesn't introduce any change for bootblocks (save for a slightly larger
stack usage due to the larger array), for the new {LOAD,COUNT}_RANDOM bits
are included in the {LOAD,COUNT}_ALL masks everything uses or computes from.
sys/lib/libsa/loadfile.h
sys/lib/libsa/loadfile_elf.c