summaryrefslogtreecommitdiffstats
path: root/bsd-user
diff options
context:
space:
mode:
authorWarner Losh2022-01-09 00:14:04 +0100
committerWarner Losh2022-01-28 23:52:39 +0100
commitc0b93df35248fcb842173abf583fe59d2b2692a5 (patch)
tree96d04176544c6753b47fb907abdcb7d51b764010 /bsd-user
parentbsd-user/arm/arget_arch_cpu.h: Move EXCP_DEBUG and EXCP_BKPT together (diff)
downloadqemu-c0b93df35248fcb842173abf583fe59d2b2692a5.tar.gz
qemu-c0b93df35248fcb842173abf583fe59d2b2692a5.tar.xz
qemu-c0b93df35248fcb842173abf583fe59d2b2692a5.zip
bsd-user/arm/target_arch_cpu.h: Correct code pointer
The code has moved in FreeBSD since the emulator was started, update the comment to reflect that change. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/arm/target_arch_cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h
index 05b19ce611..905f13aa1b 100644
--- a/bsd-user/arm/target_arch_cpu.h
+++ b/bsd-user/arm/target_arch_cpu.h
@@ -73,7 +73,7 @@ static inline void target_cpu_loop(CPUARMState *env)
int32_t syscall_nr = n;
int32_t arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8;
- /* See arm/arm/trap.c cpu_fetch_syscall_args() */
+ /* See arm/arm/syscall.c cpu_fetch_syscall_args() */
if (syscall_nr == TARGET_FREEBSD_NR_syscall) {
syscall_nr = env->regs[0];
arg1 = env->regs[1];