[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 02/12] hw/char: riscv_htif: Drop {to, from}host_size in HTIFSt
From: |
Bin Meng |
Subject: |
[PATCH v2 02/12] hw/char: riscv_htif: Drop {to, from}host_size in HTIFState |
Date: |
Thu, 29 Dec 2022 17:18:18 +0800 |
These are not used anywhere. Drop them.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
(no changes since v1)
include/hw/char/riscv_htif.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/hw/char/riscv_htif.h b/include/hw/char/riscv_htif.h
index f888ac1b30..3eccc1914f 100644
--- a/include/hw/char/riscv_htif.h
+++ b/include/hw/char/riscv_htif.h
@@ -33,8 +33,6 @@ typedef struct HTIFState {
hwaddr tohost_offset;
hwaddr fromhost_offset;
- uint64_t tohost_size;
- uint64_t fromhost_size;
MemoryRegion mmio;
MemoryRegion *address_space;
MemoryRegion *main_mem;
--
2.34.1
- [PATCH v2 00/12] hw/riscv: Improve Spike HTIF emulation fidelity, Bin Meng, 2022/12/29
- [PATCH v2 02/12] hw/char: riscv_htif: Drop {to, from}host_size in HTIFState,
Bin Meng <=
- [PATCH v2 03/12] hw/char: riscv_htif: Drop useless assignment of memory region, Bin Meng, 2022/12/29
- [PATCH v2 01/12] hw/char: riscv_htif: Avoid using magic numbers, Bin Meng, 2022/12/29
- [PATCH v2 06/12] hw/char: riscv_htif: Remove forward declarations for non-existent variables, Bin Meng, 2022/12/29
- [PATCH v2 04/12] hw/char: riscv_htif: Use conventional 's' for HTIFState, Bin Meng, 2022/12/29
- [PATCH v2 05/12] hw/char: riscv_htif: Move registers from CPUArchState to HTIFState, Bin Meng, 2022/12/29
- [PATCH v2 07/12] hw/char: riscv_htif: Support console output via proxy syscall, Bin Meng, 2022/12/29
- [PATCH v2 08/12] hw/riscv: spike: Remove the out-of-date comments, Bin Meng, 2022/12/29
- [PATCH v2 09/12] hw/riscv/boot.c: make riscv_find_firmware() static, Bin Meng, 2022/12/29
- [PATCH v2 11/12] hw/riscv/boot.c: Introduce riscv_find_firmware(), Bin Meng, 2022/12/29
- [PATCH v2 10/12] hw/riscv/boot.c: introduce riscv_default_firmware_name(), Bin Meng, 2022/12/29