Re: [PATCH 18/22] bsd-user: Define target_arg64

2022-02-01 Thread Richard Henderson
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 Signed-off-by:

Re: [PATCH 18/22] bsd-user: Define target_arg64

2022-02-01 Thread Kyle Evans
On Tue, Feb 1, 2022 at 5:15 AM 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:

[PATCH 18/22] bsd-user: Define target_arg64

2022-02-01 Thread Warner Losh
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 Signed-off-by: Warner Losh --- bsd-user/qemu.h |