diff options
| author | Xiang W <[email protected]> | 2021-09-16 12:32:49 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-09-22 13:35:30 +0530 |
| commit | 12753d22563f7d2d01f2c6644c7b66b06eb5c90f (patch) | |
| tree | f1813ef20b2af5219a5481d1062262454152e2ac /lib/utils/timer | |
| parent | 3477f08b08da6bfd904218fdb76b3db592dd7ebd (diff) | |
lib: sbi: add some macros to detect BUG at runtime
Three macros are added. One is called BUG, which is used to put in an
unreachable branch. One is called BUG_ON, which is used to check bugs
and assert conditions are opposite. One is called SBI_ASSERT, used for
assertion checking.
Signed-off-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
