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