OSDN Git Service

Replace FSF snail mail address with URLs
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / m68k / sys / reg.h
1 /* Copyright (C) 1998 Free Software Foundation, Inc.
2    This file is part of the GNU C Library.
3
4    The GNU C Library is free software; you can redistribute it and/or
5    modify it under the terms of the GNU Lesser General Public
6    License as published by the Free Software Foundation; either
7    version 2.1 of the License, or (at your option) any later version.
8
9    The GNU C Library is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    Lesser General Public License for more details.
13
14    You should have received a copy of the GNU Lesser General Public
15    License along with the GNU C Library; if not, see
16    <http://www.gnu.org/licenses/>.  */
17
18 #ifndef _SYS_REG_H
19 #define _SYS_REG_H      1
20
21 /* Index into an array of 4 byte integers returned from ptrace for
22    location of the users' stored general purpose registers. */
23
24 enum
25 {
26   PT_D1 = 0,
27 #define PT_D1 PT_D1
28   PT_D2 = 1,
29 #define PT_D2 PT_D2
30   PT_D3 = 2,
31 #define PT_D3 PT_D3
32   PT_D4 = 3,
33 #define PT_D4 PT_D4
34   PT_D5 = 4,
35 #define PT_D5 PT_D5
36   PT_D6 = 5,
37 #define PT_D6 PT_D6
38   PT_D7 = 6,
39 #define PT_D7 PT_D7
40   PT_A0 = 7,
41 #define PT_A0 PT_A0
42   PT_A1 = 8,
43 #define PT_A1 PT_A1
44   PT_A2 = 9,
45 #define PT_A2 PT_A2
46   PT_A3 = 10,
47 #define PT_A3 PT_A3
48   PT_A4 = 11,
49 #define PT_A4 PT_A4
50   PT_A5 = 12,
51 #define PT_A5 PT_A5
52   PT_A6 = 13,
53 #define PT_A6 PT_A6
54   PT_D0 = 14,
55 #define PT_D0 PT_D0
56   PT_USP = 15,
57 #define PT_USP PT_USP
58   PT_ORIG_D0 = 16,
59 #define PT_ORIG_D0 PT_ORIG_D0
60   PT_SR = 17,
61 #define PT_SR PT_SR
62   PT_PC = 18,
63 #define PT_PC PT_PC
64   PT_FP0 = 21,
65 #define PT_FP0 PT_FP0
66   PT_FP1 = 24,
67 #define PT_FP1 PT_FP1
68   PT_FP2 = 27,
69 #define PT_FP2 PT_FP2
70   PT_FP3 = 30,
71 #define PT_FP3 PT_FP3
72   PT_FP4 = 33,
73 #define PT_FP4 PT_FP4
74   PT_FP5 = 36,
75 #define PT_FP5 PT_FP5
76   PT_FP6 = 39,
77 #define PT_FP6 PT_FP6
78   PT_FP7 = 42,
79 #define PT_FP7 PT_FP7
80   PT_FPCR = 45,
81 #define PT_FPCR PT_FPCR
82   PT_FPSR = 46,
83 #define PT_FPSR PT_FPSR
84   PT_FPIAR = 47
85 #define PT_FPIAR PT_FPIAR
86 };
87
88 #endif  /* _SYS_REG_H */