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