2018-08-02 19:59:30 -04:00
|
|
|
/*
|
2019-08-30 21:19:30 +02:00
|
|
|
* Copyright 2019 Haiku, Inc. All Rights Reserved.
|
2018-08-02 19:59:30 -04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
|
2021-01-29 21:37:06 +01:00
|
|
|
#ifndef _ARCH_ARM64_SIGNAL_H_
|
|
|
|
#define _ARCH_ARM64_SIGNAL_H_
|
2018-08-02 19:59:30 -04:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Architecture-specific structure passed to signal handlers
|
|
|
|
*/
|
|
|
|
|
2019-08-30 20:10:12 +02:00
|
|
|
#if defined(__aarch64__)
|
2018-08-02 19:59:30 -04:00
|
|
|
struct vregs
|
|
|
|
{
|
|
|
|
ulong x[30];
|
|
|
|
ulong lr;
|
|
|
|
ulong sp;
|
|
|
|
ulong elr;
|
|
|
|
ulong spsr;
|
|
|
|
__uint128_t fp_q[32];
|
|
|
|
u_int fpsr;
|
|
|
|
u_int fpcr;
|
|
|
|
};
|
2019-08-30 20:10:12 +02:00
|
|
|
#endif /* defined(__aarch64__) */
|
2018-08-02 19:59:30 -04:00
|
|
|
|
|
|
|
|
2021-01-29 21:37:06 +01:00
|
|
|
#endif /* _ARCH_ARM64_SIGNAL_H_ */
|