diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2019-03-08 11:22:22 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-03-10 21:08:21 +0530 |
commit | 508a27204cbbca0a9430236e56681e5e0d343fb9 (patch) | |
tree | 6814c923713eab8d1c0a9f8ea7859c1ce63d9507 /firmware/fw_base.S | |
parent | 007a6b26d9a22a9dc49ede12115a8704f634dad0 (diff) |
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>
Diffstat (limited to 'firmware/fw_base.S')
-rw-r--r-- | firmware/fw_base.S | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |