On 22/6/26 21:31, Daniel Henrique Barboza wrote:
riscv_trigger_* APIs are TCG only.  Wrap the usages we have of them
in cpu.c with CONFIG_TCG.

After that we can move the header to the tcg subdir.  This will be
enough to get this out of the way for the --disable-tcg build.

Signed-off-by: Daniel Henrique Barboza <[email protected]>
---
  target/riscv/cpu.c             | 8 +++++---
  target/riscv/machine.c         | 2 +-
  target/riscv/tcg/cpu_helper.c  | 2 +-
  target/riscv/tcg/csr.c         | 2 +-
  target/riscv/tcg/debug.c       | 2 +-
  target/riscv/{ => tcg}/debug.h | 0
  target/riscv/tcg/tcg-cpu.c     | 2 +-
  7 files changed, 10 insertions(+), 8 deletions(-)
  rename target/riscv/{ => tcg}/debug.h (100%)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to