[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/30] bsd-user/arm/target_arch_cpu.h: Correct code pointer
From: |
Warner Losh |
Subject: |
[PATCH 06/30] bsd-user/arm/target_arch_cpu.h: Correct code pointer |
Date: |
Sun, 9 Jan 2022 09:18:59 -0700 |
The code has moved in FreeBSD since the emulator was started, update the
comment to reflect that change. Remove now-redundant comment saying the
same thing (but incorrectly).
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/arm/target_arch_cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h
index 05b19ce6119..905f13aa1b9 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];
--
2.33.1
[PATCH 08/30] bsd-user/arm/target_arch_cpu.h: Implement data faults, Warner Losh, 2022/01/09
Re: [PATCH 08/30] bsd-user/arm/target_arch_cpu.h: Implement data faults, Richard Henderson, 2022/01/23