aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chien <jason.chien@sifive.com>2025-01-15 22:17:29 +0800
committerAlistair Francis <alistair.francis@wdc.com>2025-03-04 15:42:54 +1000
commit9d6c2c1f10c7cd156d90daff505b2e2cf72fec89 (patch)
treee36ef684858e04e21cedc28eab8fab06e93140e6
parentc91f74b91df0ff4aaf4905df328480b7c1e57c20 (diff)
downloadqemu-9d6c2c1f10c7cd156d90daff505b2e2cf72fec89.zip
qemu-9d6c2c1f10c7cd156d90daff505b2e2cf72fec89.tar.gz
qemu-9d6c2c1f10c7cd156d90daff505b2e2cf72fec89.tar.bz2
hw/riscv/riscv-iommu: Remove redundant struct members
Initially, the IOMMU would create a thread, but this thread was removed in the merged version. The struct members for thread control should have been removed as well, but they were not removed in commit 0c54acb8243 ("hw/riscv: add RISC-V IOMMU base emulation"). Signed-off-by: Jason Chien <jason.chien@sifive.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20250115141730.30858-1-jason.chien@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
-rw-r--r--hw/riscv/riscv-iommu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/riscv/riscv-iommu.h b/hw/riscv/riscv-iommu.h
index 9424989..fa8a50f 100644
--- a/hw/riscv/riscv-iommu.h
+++ b/hw/riscv/riscv-iommu.h
@@ -58,11 +58,6 @@ struct RISCVIOMMUState {
/* interrupt notifier */
void (*notify)(RISCVIOMMUState *iommu, unsigned vector);
- /* IOMMU State Machine */
- QemuThread core_proc; /* Background processing thread */
- QemuCond core_cond; /* Background processing wake up signal */
- unsigned core_exec; /* Processing thread execution actions */
-
/* IOMMU target address space */
AddressSpace *target_as;
MemoryRegion *target_mr;