Add a note ahea of the esource enum that if new entropy source

categories are added, the set of entropy source assertions in the
harvesting code also need to be updated.
This commit is contained in:
rwatson 2004-10-12 14:55:59 +00:00
parent c857f72425
commit 332eded02e

View File

@ -33,6 +33,10 @@
int read_random(void *, int);
/*
* Note: if you add or remove members of esource, remember to also update the
* KASSERT regarding what valid members are in random_harvest_internal().
*/
enum esource {
RANDOM_START = 0,
RANDOM_WRITE = 0,