aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2025-03-25 11:26:11 +0100
committerAnup Patel <anup@brainfault.org>2025-03-27 18:15:44 +0530
commit41fb89cb295e5b1c454c3e63cc382270b160c2b5 (patch)
tree0f6a25b1c5e3e1aab0ec4a20983257a1785abcaf /include
parent1e7258d6a81097e7a003aed860f98bcb1d8c58a7 (diff)
downloadopensbi-41fb89cb295e5b1c454c3e63cc382270b160c2b5.zip
opensbi-41fb89cb295e5b1c454c3e63cc382270b160c2b5.tar.gz
opensbi-41fb89cb295e5b1c454c3e63cc382270b160c2b5.tar.bz2
lib: sbi: sse: Rename STATUS* interrupted flags to SSTATUS*
As raised by Andrew on the kvm-unit-test review, this flags are meant to hold SSTATUS bits in the specification. Rename them to match that. Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_ecall_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sbi/sbi_ecall_interface.h b/include/sbi/sbi_ecall_interface.h
index 4817c8c..6c21094 100644
--- a/include/sbi/sbi_ecall_interface.h
+++ b/include/sbi/sbi_ecall_interface.h
@@ -380,8 +380,8 @@ enum sbi_sse_attr_id {
#define SBI_SSE_ATTR_CONFIG_ONESHOT (1 << 0)
-#define SBI_SSE_ATTR_INTERRUPTED_FLAGS_STATUS_SPP BIT(0)
-#define SBI_SSE_ATTR_INTERRUPTED_FLAGS_STATUS_SPIE BIT(1)
+#define SBI_SSE_ATTR_INTERRUPTED_FLAGS_SSTATUS_SPP BIT(0)
+#define SBI_SSE_ATTR_INTERRUPTED_FLAGS_SSTATUS_SPIE BIT(1)
#define SBI_SSE_ATTR_INTERRUPTED_FLAGS_HSTATUS_SPV BIT(2)
#define SBI_SSE_ATTR_INTERRUPTED_FLAGS_HSTATUS_SPVP BIT(3)