diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-19 17:27:02 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-19 18:04:33 +0000 |
| commit | 7c66a788bdfc8136a603eec6d805b75cc382b239 (patch) | |
| tree | 1c1c7dc8fd57913e92b517e90c8d6bb20d63ec49 /util/nvmutil/include/common.h | |
| parent | 55f006318a35990d7d19a796e9af4c5f351b389a (diff) | |
util/nvmutil: buffered urandom reads
also generally tidied the code and made
it more robust e.g. retries
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/include/common.h')
| -rw-r--r-- | util/nvmutil/include/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/nvmutil/include/common.h b/util/nvmutil/include/common.h index 88254716..36218d25 100644 --- a/util/nvmutil/include/common.h +++ b/util/nvmutil/include/common.h @@ -438,6 +438,8 @@ typedef char static_assert_unsigned_int_is_4[ (sizeof(unsigned int) >= 4) ? 1 : -1]; typedef char static_assert_unsigned_long_is_4[ (sizeof(unsigned long) >= 4) ? 1 : -1]; +typedef char static_assert_long_ulong[ + (sizeof(unsigned long) == sizeof(long)) ? 1 : -1]; typedef char static_assert_int_ge_32[(sizeof(int) >= 4) ? 1 : -1]; typedef char static_assert_twos_complement[ ((-1 & 3) == 3) ? 1 : -1 |
