mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-09-20 15:21:42 +01:00
Add Thread Safety Analysis (TSA) annotations for the HTIF driver implementation. This requires annotating the tohost/fromhost and htif_console_buf globals to indicate that they are protected by htif_lock. htif_system_reset() can be excluded since it is only called under special circumstances from sbi_system_reset(), when all other harts have been stopped. Signed-off-by: Carlos López <carlos.lopezr4096@gmail.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20260909162322.29778-10-carlos.lopezr4096@gmail.com Signed-off-by: Anup Patel <anup@brainfault.org>