1/*
2 * Copyright 2002-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 __POWERPC__
14struct vregs
15{
16	ulong pc,                                         /* program counter */
17	      r0,                                         /* scratch */
18	      r1,                                         /* stack ptr */
19	      r2,                                         /* TOC */
20	      r3,r4,r5,r6,r7,r8,r9,r10,                   /* volatile regs */
21	      r11,r12;                                    /* scratch regs */
22
23   double f0,                                         /* fp scratch */
24	      f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13; /* fp volatile regs */
25
26	ulong filler1,                                    /* place holder */
27	      fpscr,                                      /* fp condition codes */
28	      ctr, xer, cr, msr, lr;                      /* misc. status */
29};
30#endif /* __POWERPC__ */
31
32
33#endif /* _ARCH_SIGNAL_H_ */
34