/* Kernel debugger for MN10300 * * Copyright (C) 2010 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ #ifndef _ASM_KGDB_H #define _ASM_KGDB_H /* * BUFMAX defines the maximum number of characters in inbound/outbound * buffers at least NUMREGBYTES*2 are needed for register packets * Longer buffer is needed to list all threads */ #define BUFMAX 1024 /* * Note that this register image is in a different order than the register * image that Linux produces at interrupt time. */ enum regnames { GDB_FR_D0 = 0, GDB_FR_D1 = 1, GDB_FR_D2 = 2, GDB_FR_D3 = 3, GDB_FR_A0 = 4, GDB_FR_A1 = 5, GDB_FR_A2 = 6, GDB_FR_A3 = 7, GDB_FR_SP = 8, GDB_FR_PC = 9, GDB_FR_MDR = 10, GDB_FR_EPSW = 11, GDB_FR_LIR = 12, GDB_FR_LAR = 13, GDB_FR_MDRQ = 14, GDB_FR_E0 = 15, GDB_FR_E1 = 16, GDB_FR_E2 = 17, GDB_FR_E3 = 18, GDB_FR_E4 = 19, GDB_FR_E5 = 20, GDB_FR_E6 = 21, GDB_FR_E7 = 22, GDB_FR_SSP = 23, GDB_FR_MSP = 24, GDB_FR_USP = 25, GDB_FR_MCRH = 26, GDB_FR_MCRL = 27, GDB_FR_MCVF = 28, GDB_FR_FPCR = 29, GDB_FR_DUMMY0 = 30, GDB_FR_DUMMY1 = 31, GDB_FR_FS0 = 32, GDB_FR_SIZE = 64, }; #define GDB_ORIG_D0 41 #define NUMREGBYTES (GDB_FR_SIZE*4) static inline void arch_kgdb_breakpoint(void) { asm(".globl __arch_kgdb_breakpoint; __arch_kgdb_breakpoint: break"); } extern u8 __arch_kgdb_breakpoint; #define BREAK_INSTR_SIZE 1 #define CACHE_FLUSH_IS_SAFE 1 #endif /* _ASM_KGDB_H */ stream/about/?h=v21.02.5'>aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/README
blob: a8d1846468709942f8be6cb87dee048b0adbc25a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212