summaryrefslogtreecommitdiff
path: root/lib/utils/timer/fdt_timer_mtimer.c
diff options
context:
space:
mode:
authorXiang W <[email protected]>2021-09-16 12:32:49 +0800
committerAnup Patel <[email protected]>2021-09-22 13:35:30 +0530
commit12753d22563f7d2d01f2c6644c7b66b06eb5c90f (patch)
treef1813ef20b2af5219a5481d1062262454152e2ac /lib/utils/timer/fdt_timer_mtimer.c
parent3477f08b08da6bfd904218fdb76b3db592dd7ebd (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/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions