xref: /haiku/headers/posix/arch/m68k/signal.h (revision 08b9db66ac0a5d4fa92dcb82820e1435f203ea42)
1 /*
2  * Copyright 2002-2012 Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _ARCH_M68K_SIGNAL_H_
6 #define _ARCH_M68K_SIGNAL_H_
7 
8 
9 /*
10  * Architecture-specific structure passed to signal handlers
11  */
12 
13 #if __M68K__
14 struct vregs
15 {
16 	ulong	pc,                                         /* program counter */
17 		d0, d1, d2, d3, d4, d5, d6, d7,
18 		a0, a1, a2, a3, a4, a5, a6, a7;
19 	unchar	ccr;
20 /* TODO: #warning M68K: fix floats in vregs, add missing stuff. */
21    double f0,                                         /* fp scratch */
22 	      f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13; /* fp volatile regs */
23 };
24 #endif /* __M68K__ */
25 
26 
27 #endif /* _ARCH_M68K_SIGNAL_H_ */
28