diff options
author | Xiang W <wxjstz@126.com> | 2022-03-16 13:16:48 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-03-27 07:14:54 +0300 |
commit | 1b42d3ace3ed38bda35276838a880db24ba7db82 (patch) | |
tree | 5d3c5dea114f034888eb789e2d8cd3996fb27cb0 /include/sbi/fw_dynamic.h | |
parent | 555bdb1cf3871dd327fc2e4d9b3cf8f89801bc1b (diff) | |
download | opensbi-1b42d3ace3ed38bda35276838a880db24ba7db82.tar.xz |
include: Use static asserts for SBI_SCRATCH_xxx_OFFSET defines
Add static detection to prevent the modification of struct sbi_scratch
from forgetting the modification of SBI_SCRATCH_xxx_OFFSET
Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/sbi/fw_dynamic.h')
0 files changed, 0 insertions, 0 deletions