summary refs log tree commit diff stats
path: root/bsd-user/riscv/target.h
blob: 036ddd185e2932725b2a43ac44a0d9c91771131c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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 */