Skip to content

Commit

Permalink
target/riscv: Remove the unused HSTATUS_WPRI macro
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-id: e095b57af0d419c8ed822958f04dfc732d7beb7e.1619234854.git.alistair.francis@wdc.com
  • Loading branch information
alistair23 committed May 11, 2021
1 parent 419ddf0 commit e95ea34
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions target/riscv/cpu_bits.h
Expand Up @@ -396,12 +396,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)
Expand Down

0 comments on commit e95ea34

Please sign in to comment.