@samitouri / QOSamiQemu / commits / b448d35d14

target/hexagon: add simple cpu_exec_reset and pointer_wrap

Signed-off-by: Matheus Tavares Bernardino <matheus.bernardino@oss.qualcomm.com> Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>

Matheus Tavares Bernardino committed Jun 22, 2026 at 15:28 UTC b448d35d141fc6b42c16329843f0e9c054d0e80d
1 file changed +8
target/hexagon/cpu.c
+8
@@ -495,6 +495,12 @@ static bool hexagon_cpu_exec_interrupt(CPUState *cs, int interrupt_request)
495 return false;
496 }
497
498 +static vaddr hexagon_pointer_wrap(CPUState *cs, int mmu_idx,
499 + vaddr result, vaddr base)
500 +{
501 + return result;
502 +}
503 +
504 #endif
505
506 static const TCGCPUOps hexagon_tcg_ops = {
@@ -509,6 +515,8 @@ static const TCGCPUOps hexagon_tcg_ops = {
515 .mmu_index = hexagon_cpu_mmu_index,
516 #ifndef CONFIG_USER_ONLY
517 .cpu_exec_interrupt = hexagon_cpu_exec_interrupt,
518 + .pointer_wrap = hexagon_pointer_wrap,
519 + .cpu_exec_reset = cpu_reset,
520 #endif /* !CONFIG_USER_ONLY */
521 };
522