[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/30] bsd-user/arm/target_arch_cpu.h: Correct code pointer
|
From: |
Peter Maydell |
|
Subject: |
Re: [PATCH 06/30] bsd-user/arm/target_arch_cpu.h: Correct code pointer |
|
Date: |
Thu, 13 Jan 2022 17:15:16 +0000 |
On Sun, 9 Jan 2022 at 16:26, Warner Losh <imp@bsdimp.com> wrote:
>
> 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];
Commit message says we're updating one comment and deleting a
second one; code only does an update, no delete ?
-- PMM
[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
[PATCH 09/30] bsd-user/signal.c: implement abstract target / host signal translation, Warner Losh, 2022/01/09