1 /* 2 * Copyright 2008, 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 __ARM__ 13 struct vregs 14 { 15 ulong r0; 16 ulong r1; 17 ulong r2; 18 ulong r3; 19 ulong r4; 20 ulong r5; 21 ulong r6; 22 ulong r7; 23 ulong r8; 24 ulong r9; 25 ulong r10; 26 ulong r11; 27 ulong r12; 28 ulong r13; /* stack pointer */ 29 ulong r14; /* link register */ 30 ulong r15; /* program counter */ 31 ulong cpsr; 32 #warning ARM: fix floats in vregs, add missing stuff. 33 }; 34 #endif /* __ARM__ */ 35 36 37 #endif /* _ARCH_SIGNAL_H_ */ 38