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:
parent
c857f72425
commit
332eded02e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user