CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/06/05 17:16:24
Modified files:
sys/arch/arm64/arm64: machdep.c
sys/arch/arm64/include: cpu.h
Log message:
Implement cpu_rnd_messybits() as a read of the virtual counter xored
with a bit-reversed copy of itself. There is progressively less
entropy in the higher bits of a counter than in the lower bits, so
bit-reverse one half in order to extract maximal entropy.
style fixes and ok kettenis@
