Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/random/fenestrasX/fx_priv.h
Show All 40 Lines | #define ASSERT_DEBUG(x, fmt, ...) do { \ | ||||
panic("%s:%d: Assertion '" #x "' in function %s failed: " fmt, \ | panic("%s:%d: Assertion '" #x "' in function %s failed: " fmt, \ | ||||
__FILE__, __LINE__, __func__, ## __VA_ARGS__); \ | __FILE__, __LINE__, __func__, ## __VA_ARGS__); \ | ||||
} while (false) | } while (false) | ||||
#else | #else | ||||
#define ASSERT_DEBUG(...) | #define ASSERT_DEBUG(...) | ||||
#endif | #endif | ||||
extern struct fxrng_buffered_rng fxrng_root; | extern struct fxrng_buffered_rng fxrng_root; | ||||
extern uint64_t __read_mostly fxrng_root_generation; |