diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 661197ca4..7d3b54dcd 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -116,12 +116,6 @@ struct trigger { int unique_id; }; -typedef enum { - YNM_MAYBE, - YNM_YES, - YNM_NO -} yes_no_maybe_t; - #define HART_INDEX_MULTIPLE -1 #define HART_INDEX_UNKNOWN -2 diff --git a/src/target/riscv/riscv.h b/src/target/riscv/riscv.h index 87ec13f82..5a9a06e77 100644 --- a/src/target/riscv/riscv.h +++ b/src/target/riscv/riscv.h @@ -41,6 +41,12 @@ typedef uint64_t riscv_reg_t; typedef uint32_t riscv_insn_t; typedef uint64_t riscv_addr_t; +typedef enum { + YNM_MAYBE, + YNM_YES, + YNM_NO +} yes_no_maybe_t; + enum riscv_mem_access_method { RISCV_MEM_ACCESS_UNSPECIFIED, RISCV_MEM_ACCESS_PROGBUF,