From 2471cf2e6ce1429bad3b000941f95957be8da9c0 Mon Sep 17 00:00:00 2001 From: Bo Gan Date: Tue, 5 Mar 2024 18:35:35 -0800 Subject: include: sbi: rename sbi_misaligned_ldst.h to sbi_trap_ldst.h Signed-off-by: Bo Gan Reviewed-by: Anup Patel --- include/sbi/sbi_misaligned_ldst.h | 23 ----------------------- include/sbi/sbi_trap_ldst.h | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 include/sbi/sbi_misaligned_ldst.h create mode 100644 include/sbi/sbi_trap_ldst.h (limited to 'include') diff --git a/include/sbi/sbi_misaligned_ldst.h b/include/sbi/sbi_misaligned_ldst.h deleted file mode 100644 index ab27eb4..0000000 --- a/include/sbi/sbi_misaligned_ldst.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * SPDX-License-Identifier: BSD-2-Clause - * - * Copyright (c) 2019 Western Digital Corporation or its affiliates. - * - * Authors: - * Anup Patel - */ - -#ifndef __SBI_MISALIGNED_LDST_H__ -#define __SBI_MISALIGNED_LDST_H__ - -#include - -struct sbi_trap_regs; - -int sbi_misaligned_load_handler(ulong addr, ulong tval2, ulong tinst, - struct sbi_trap_regs *regs); - -int sbi_misaligned_store_handler(ulong addr, ulong tval2, ulong tinst, - struct sbi_trap_regs *regs); - -#endif diff --git a/include/sbi/sbi_trap_ldst.h b/include/sbi/sbi_trap_ldst.h new file mode 100644 index 0000000..9bbd237 --- /dev/null +++ b/include/sbi/sbi_trap_ldst.h @@ -0,0 +1,23 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. + * + * Authors: + * Anup Patel + */ + +#ifndef __SBI_TRAP_LDST_H__ +#define __SBI_TRAP_LDST_H__ + +#include + +struct sbi_trap_regs; + +int sbi_misaligned_load_handler(ulong addr, ulong tval2, ulong tinst, + struct sbi_trap_regs *regs); + +int sbi_misaligned_store_handler(ulong addr, ulong tval2, ulong tinst, + struct sbi_trap_regs *regs); + +#endif -- cgit v1.1