1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

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:
Robert Watson 2004-10-12 14:55:59 +00:00
parent 4bf94cc1f7
commit a9befd40dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136433

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,