Skip to content

Commit 4af77cd

Browse files
committed
Rename exit to quit in riscv.c
1 parent a89dde0 commit 4af77cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

riscv.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ void rv_step(struct riscv_t *rv, int32_t cycles)
809809
#define DISPATCH() \
810810
{ \
811811
if (rv->csr_cycle >= cycles_target || rv->halt) \
812-
goto exit; \
812+
goto quit; \
813813
/* fetch the next instruction */ \
814814
inst = rv->io.mem_ifetch(rv, rv->PC); \
815815
/* standard uncompressed instruction */ \
@@ -826,7 +826,7 @@ void rv_step(struct riscv_t *rv, int32_t cycles)
826826
{ \
827827
/* dispatch this opcode */ \
828828
if (!op_##instr(rv, inst)) \
829-
goto exit; \
829+
goto quit; \
830830
/* increment the cycles csr*/ \
831831
rv->csr_cycle++; \
832832
}
@@ -856,7 +856,7 @@ void rv_step(struct riscv_t *rv, int32_t cycles)
856856
#endif
857857
TARGET(unimp)
858858

859-
exit:
859+
quit:
860860
return;
861861

862862
#undef DISPATCH

0 commit comments

Comments
 (0)