From 508a27204cbbca0a9430236e56681e5e0d343fb9 Mon Sep 17 00:00:00 2001 From: Alistair Francis <alistair.francis@wdc.com> Date: Fri, 8 Mar 2019 11:22:22 -0800 Subject: lib: Create a sbi_ipi_data structure Create a sbi_ipi_data structure that holds unpacked IPI information. At the same time remove ipi_type from the sbi_scratch struct and use a fixed offset to access it. This structure fits in behind the sbi_scratch structure. This fixes https://github.com/riscv/opensbi/issues/81 Signed-off-by: Alistair Francis <alistair.francis@wdc.com> --- firmware/fw_base.S | 1 - 1 file changed, 1 deletion(-) (limited to 'firmware') diff --git a/firmware/fw_base.S b/firmware/fw_base.S index cf2c6a0..69cfc90 100644 --- a/firmware/fw_base.S +++ b/firmware/fw_base.S @@ -183,7 +183,6 @@ _start_warm: REG_S a4, SBI_SCRATCH_PLATFORM_ADDR_OFFSET(tp) la a4, _hartid_to_scratch REG_S a4, SBI_SCRATCH_HARTID_TO_SCRATCH_OFFSET(tp) - REG_S zero, SBI_SCRATCH_IPI_TYPE_OFFSET(tp) REG_S zero, SBI_SCRATCH_TMP0_OFFSET(tp) /* Setup stack */ -- cgit v1.2.3