Subject: Re: SA under COMPAT_NETBSD32, a patch
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 03/16/2006 18:31:59
In article <20060316181030.GH307@gallia.cubidou.net>,
Quentin Garnier <email@example.com> wrote:
>Finally, I've made SA work for 32-bits binaries on sparc64 and amd64.
> - md.amd64.diff, md.sparc64.diff: Changes to the affected platforms.
> netbsd32_cpu_upcall() on sparc64 becomes the exact copy of
> sparc's cpu_upcall().
Well, shouldn't you name _UC32_MACHINE_SP -> _UC_MACHINE32_SP like
_UC_MACHINE32_PAD, or switch _UC_MACHINE32_PAD around to make them consistent?
> - sa.diff:
Wou should cast getucontext not to (void *), but to (void (*)(struct lwp *, void *))