2018-08-03 02:59:30 +03:00
|
|
|
/*
|
2019-08-30 22:19:30 +03:00
|
|
|
* Copyright 2019 Haiku, Inc. All Rights Reserved.
|
2018-08-03 02:59:30 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ARCH_SIGNAL_H_
|
|
|
|
#define _ARCH_SIGNAL_H_
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Architecture-specific structure passed to signal handlers
|
|
|
|
*/
|
|
|
|
|
2019-08-30 21:10:12 +03:00
|
|
|
#if defined(__aarch64__)
|
2018-08-03 02:59:30 +03: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 21:10:12 +03:00
|
|
|
#endif /* defined(__aarch64__) */
|
2018-08-03 02:59:30 +03:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* _ARCH_SIGNAL_H_ */
|