[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 6/9] target/riscv: Remove the unused HSTATUS_WPRI macro
From: |
Alistair Francis |
Subject: |
[PATCH v2 6/9] target/riscv: Remove the unused HSTATUS_WPRI macro |
Date: |
Wed, 14 Apr 2021 09:34:09 +1000 |
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
target/riscv/cpu_bits.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/target/riscv/cpu_bits.h b/target/riscv/cpu_bits.h
index 6a816ce9c2..9f6fbe3dc5 100644
--- a/target/riscv/cpu_bits.h
+++ b/target/riscv/cpu_bits.h
@@ -416,12 +416,6 @@
#define HSTATUS32_WPRI 0xFF8FF87E
#define HSTATUS64_WPRI 0xFFFFFFFFFF8FF87EULL
-#if defined(TARGET_RISCV32)
-#define HSTATUS_WPRI HSTATUS32_WPRI
-#elif defined(TARGET_RISCV64)
-#define HSTATUS_WPRI HSTATUS64_WPRI
-#endif
-
#define HCOUNTEREN_CY (1 << 0)
#define HCOUNTEREN_TM (1 << 1)
#define HCOUNTEREN_IR (1 << 2)
--
2.31.1
- [PATCH v2 0/9] RISC-V: Steps towards running 32-bit guests on, Alistair Francis, 2021/04/13
- [PATCH v2 2/9] target/riscv: Remove the hardcoded SSTATUS_SD macro, Alistair Francis, 2021/04/13
- [PATCH v2 1/9] target/riscv: Remove the hardcoded RVXLEN macro, Alistair Francis, 2021/04/13
- [PATCH v2 3/9] target/riscv: Remove the hardcoded HGATP_MODE macro, Alistair Francis, 2021/04/13
- [PATCH v2 5/9] target/riscv: Remove the hardcoded SATP_MODE macro, Alistair Francis, 2021/04/13
- [PATCH v2 6/9] target/riscv: Remove the unused HSTATUS_WPRI macro,
Alistair Francis <=
- [PATCH v2 8/9] target/riscv: Consolidate RV32/64 32-bit instructions, Alistair Francis, 2021/04/13
- [PATCH v2 7/9] target/riscv: Remove an unused CASE_OP_32_64 macro, Alistair Francis, 2021/04/13
- [PATCH v2 4/9] target/riscv: Remove the hardcoded MSTATUS_SD macro, Alistair Francis, 2021/04/13
- [PATCH v2 9/9] target/riscv: Consolidate RV32/64 16-bit instructions, Alistair Francis, 2021/04/13