|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 18/22] bsd-user: Define target_arg64 |
| Date: | Wed, 2 Feb 2022 08:33:00 +1100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 2/1/22 22:14, Warner Losh wrote:
target_arg64 is a generic way to extract 64-bits from a pair of arguments. On 32-bit platforms, it returns them joined together as appropriate. On 64-bit platforms, it returns the first arg because it's already 64-bits. Signed-off-by: Stacey Son<sson@FreeBSD.org> Signed-off-by: Warner Losh<imp@bsdimp.com> --- bsd-user/qemu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |