25b08c4da8
Added a generic definition for RISC-V64 target-specific details. Implemented the 'regpairs_aligned' function,which returns 'false' to indicate that register pairs are not aligned in the RISC-V64 ABI. Signed-off-by: Warner Losh <imp@bsdimp.com> Signed-off-by: Ajeet Singh <itachis@FreeBSD.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20240916155119.14610-13-itachis@FreeBSD.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
21 lines
380 B
C
21 lines
380 B
C
/*
|
|
* Riscv64 general target stuff that's common to all aarch details
|
|
*
|
|
* Copyright (c) 2022 M. Warner Losh <imp@bsdimp.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef TARGET_H
|
|
#define TARGET_H
|
|
|
|
/*
|
|
* riscv64 ABI does not 'lump' the registers for 64-bit args.
|
|
*/
|
|
static inline bool regpairs_aligned(void *cpu_env)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
#endif /* TARGET_H */
|