aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2023-12-11 21:11:03 +0530
committerAnup Patel <anup@brainfault.org>2023-12-19 15:56:37 +0530
commit5a57e8cd41f3c8754a5f0e511a63072724c1f0b7 (patch)
tree6a91d738f3e7814d023495b811f12fd28753b1d0 /include
parent3284bea83368de2ced244d5b2b0eaeaae812a08d (diff)
downloadopensbi-5a57e8cd41f3c8754a5f0e511a63072724c1f0b7.zip
opensbi-5a57e8cd41f3c8754a5f0e511a63072724c1f0b7.tar.gz
opensbi-5a57e8cd41f3c8754a5f0e511a63072724c1f0b7.tar.bz2
lib: sbi: Remove the SBI_ETRAP error code
The SBI_ETRAP error code was introduced only for doing trap redirection in generic sbi_ecall_handler(). Now the trap redirection is moved into sbi_ecall_legacy.c and SBI_ETRAP error code is only used in this source file so let us remove it. Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_error.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sbi/sbi_error.h b/include/sbi/sbi_error.h
index 7f97506..a77e3f8 100644
--- a/include/sbi/sbi_error.h
+++ b/include/sbi/sbi_error.h
@@ -32,9 +32,8 @@
#define SBI_EILL -1004
#define SBI_ENOSPC -1005
#define SBI_ENOMEM -1006
-#define SBI_ETRAP -1007
-#define SBI_EUNKNOWN -1008
-#define SBI_ENOENT -1009
+#define SBI_EUNKNOWN -1007
+#define SBI_ENOENT -1008
/* clang-format on */