901fc0c75f
* We decided to not create our own custom define checks and go with the standard ones for riscv64. * clang doesn't define __RISCV64__ either, so this moves the clang build of riscv64 a bit further Change-Id: I2a6c3751168a898c1617b32f46055a9ba1609e2b Reviewed-on: https://review.haiku-os.org/c/haiku/+/4861 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
24 lines
458 B
C
24 lines
458 B
C
/*
|
|
* Copyright 2018-2019 Haiku, Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _ARCH_RISCV64_SIGNAL_H_
|
|
#define _ARCH_RISCV64_SIGNAL_H_
|
|
|
|
|
|
/*
|
|
* Architecture-specific structure passed to signal handlers
|
|
*/
|
|
|
|
#if (defined(__riscv) && __riscv_xlen == 64)
|
|
struct vregs {
|
|
ulong x[31];
|
|
ulong pc;
|
|
double f[32];
|
|
ulong fcsr;
|
|
};
|
|
#endif /* (defined(__riscv) && __riscv_xlen == 64) */
|
|
|
|
|
|
#endif /* _ARCH_RISCV64_SIGNAL_H_ */
|