1 |
1254 |
phoenix |
2003-04-10 Nick Garnett
|
2 |
|
|
|
3 |
|
|
* src/powerpc.ld:
|
4 |
|
|
Added .eh_frame to data section. This is a stopgap fix to allow
|
5 |
|
|
C++ programs that define exceptions to link and run. It does not
|
6 |
|
|
allow them to actually throw exceptions, since that depends on
|
7 |
|
|
compiler changes that have not been made. Further, more
|
8 |
|
|
far-reaching, linker script changes will also be needs when that
|
9 |
|
|
happens.
|
10 |
|
|
Added libsupc++.a to GROUP() directive for GCC versions later than
|
11 |
|
|
3.0.
|
12 |
|
|
2003-01-03 Gary Thomas
|
13 |
|
|
|
14 |
|
|
* include/hal_mem.h (CYGARC_MEMDESC_NOCACHE_PA): New macro which
|
15 |
|
|
allows defining non-cached space with non 1-1 mapping.
|
16 |
|
|
|
17 |
|
|
2002-12-24 Gary Thomas
|
18 |
|
|
|
19 |
|
|
* src/vectors.S:
|
20 |
|
|
* cdl/hal_powerpc.cdl: Add option to allow ROM code to simply
|
21 |
|
|
jump to the startup code, instead of using an absolute address.
|
22 |
|
|
|
23 |
|
|
2002-11-14 Gary Thomas
|
24 |
|
|
|
25 |
|
|
* src/vectors.S: Provide pointer to saved registers on interrupt.
|
26 |
|
|
This is necessary for profiling support.
|
27 |
|
|
|
28 |
|
|
2002-11-13 Gary Thomas
|
29 |
|
|
|
30 |
|
|
* src/hal_misc.c (hal_enable_caches): Support new CDL options for
|
31 |
|
|
how [mode] to enable DATA cache.
|
32 |
|
|
|
33 |
|
|
2002-08-05 Gary Thomas
|
34 |
|
|
2002-08-05 Bob Koninckx
|
35 |
|
|
|
36 |
|
|
* include/arch.inc: hal_fpu_load regs was not loading registers!
|
37 |
|
|
|
38 |
|
|
2002-08-01 Gary Thomas
|
39 |
|
|
|
40 |
|
|
* include/hal_io.h:
|
41 |
|
|
* include/hal_intr.h: Allow more variant/platform overrides.
|
42 |
|
|
|
43 |
|
|
2002-04-29 Jonathan Larmour
|
44 |
|
|
|
45 |
|
|
* src/vectors.S:
|
46 |
|
|
Don't use .file as it can confuse debugging since the .file
|
47 |
|
|
doesn't contain the path and therefore the debugger will never
|
48 |
|
|
know where it lives! This conflicts with using -Wa,--gstabs.
|
49 |
|
|
|
50 |
|
|
2002-04-25 Jonathan Larmour
|
51 |
|
|
|
52 |
|
|
* src/ppc_stub.c (__computeSignal): Only handle ITLB/DTLB MISS if
|
53 |
|
|
defined by platform.
|
54 |
|
|
|
55 |
|
|
2002-04-24 Bob Koninckx
|
56 |
|
|
2002-04-24 Jonathan Larmour
|
57 |
|
|
|
58 |
|
|
* include/hal_arch.h (HAL_SavedRegisters): Add FP regs.
|
59 |
|
|
* include/arch.inc: Add FPU register names.
|
60 |
|
|
Implement hal_fpu_save and hal_fpu_load.
|
61 |
|
|
* src/context.S: save/restore FP regs.
|
62 |
|
|
* src/hal_mk_defs.c (main): Export CYGARC_JMPBUF_F* for FPU regs.
|
63 |
|
|
* src/ppc_stub.c (__computeSignal): SW_EMUL is support by 5xx.
|
64 |
|
|
ITLB and DTLB MISS only supported by 8xx.
|
65 |
|
|
* cdl/hal_powerpc.cdl (CYGHWR_HAL_POWERPC_VECTOR_BASE): Take
|
66 |
|
|
CYGHWR_HAL_POWERPC_FORCE_VECTOR_BASE_LOW into account.
|
67 |
|
|
|
68 |
|
|
2002-04-11 Gary Thomas
|
69 |
|
|
|
70 |
|
|
* src/hal_misc.c (hal_enable_caches): Chance cache handling & setup to
|
71 |
|
|
be controlled by common CDL (like other platforms/architectures).
|
72 |
|
|
|
73 |
|
|
* src/hal_intr.c (hal_delay_us): Didn't work if there are less than
|
74 |
|
|
one decrementer tick per micro-second. Used a calculation that seems
|
75 |
|
|
to work no matter how the decrementer is configured.
|
76 |
|
|
|
77 |
|
|
2002-04-08 Gary Thomas
|
78 |
|
|
|
79 |
|
|
* src/vectors.S (_hal_hardware_init_done): Can't copy vectors until
|
80 |
|
|
DRAM is setup (like the comment said all along).
|
81 |
|
|
|
82 |
|
|
2002-03-08 Gary Thomas
|
83 |
|
|
|
84 |
|
|
* src/vectors.S (_hal_hardware_init_done): New label - used by
|
85 |
|
|
ROMRAM code to figure out relative addressing.
|
86 |
|
|
|
87 |
|
|
2002-01-23 Gary Thomas
|
88 |
|
|
|
89 |
|
|
* src/hal_mk_defs.c (main): Clean up compile warning.
|
90 |
|
|
|
91 |
|
|
2001-11-16 Nick Garnett
|
92 |
|
|
|
93 |
|
|
* include/hal_arch.h (HAL_MSBIT_INDEX): Fixed this macro so that
|
94 |
|
|
it actually works!
|
95 |
|
|
|
96 |
|
|
2001-11-15 Jesper Skov
|
97 |
|
|
|
98 |
|
|
* src/hal_misc.c (hal_arch_default_isr): Added return
|
99 |
|
|
statement (found by Christoph Csebits).
|
100 |
|
|
|
101 |
|
|
2001-02-23 Jesper Skov
|
102 |
|
|
|
103 |
|
|
* src/powerpc.ld: Added .2ram section matching to .data section.
|
104 |
|
|
|
105 |
|
|
2001-02-05 Jesper Skov
|
106 |
|
|
|
107 |
|
|
* src/ppc_stub.c (__computeSignal): Hack to allow thread debugging
|
108 |
|
|
on 40x cores.
|
109 |
|
|
|
110 |
|
|
2001-01-24 Jesper Skov
|
111 |
|
|
|
112 |
|
|
* src/powerpc.ld: Added .sdata to .sdata pattern.
|
113 |
|
|
|
114 |
|
|
2001-01-16 Gary Thomas
|
115 |
|
|
|
116 |
|
|
* src/vectors.S (_start): Set up IRQ environment _before_ calling
|
117 |
|
|
constructors - since they may need it to work.
|
118 |
|
|
|
119 |
|
|
2001-01-15 Gary Thomas
|
120 |
|
|
|
121 |
|
|
* src/ppc_stub.c: Define new method for achieving single stepping
|
122 |
|
|
when processor (like 40x) does not support it in hardware. This
|
123 |
|
|
method will be invoked if the variant or plaform define the
|
124 |
|
|
symbol CYGNUM_HAL_NO_VECTOR_TRACE.
|
125 |
|
|
|
126 |
|
|
2001-01-03 Gary Thomas
|
127 |
|
|
|
128 |
|
|
* src/hal_intr.c (hal_delay_us): Fix some problems - didn't
|
129 |
|
|
always work properly, especially on fast processors.
|
130 |
|
|
|
131 |
|
|
2000-11-21 Gary Thomas
|
132 |
|
|
|
133 |
|
|
* src/vectors.S (rom_vectors): Special handling when vectors
|
134 |
|
|
can't be easily aligned, etc. (Work around messy hardware).
|
135 |
|
|
|
136 |
|
|
2000-11-04 Gary Thomas
|
137 |
|
|
|
138 |
|
|
* src/vectors.S: Minor changes in support of PPC40x. This
|
139 |
|
|
platform has no cache control - if the MMU is on, it's on.
|
140 |
|
|
This causes some interesting cache coherency problems in the
|
141 |
|
|
interrupt/exception handlers. Note: it may be possible to
|
142 |
|
|
overcome this by use of the DCCR register (untested).
|
143 |
|
|
|
144 |
|
|
* src/powerpc.ld: Fix problems with 'sbss6', etc.
|
145 |
|
|
|
146 |
|
|
* src/hal_mk_defs.c: Use variant/platform macros for additional
|
147 |
|
|
symbols, rather than direcly polluting this file.
|
148 |
|
|
|
149 |
|
|
* include/hal_intr.h: Allow variant/platform to define clock
|
150 |
|
|
setup (since the 40x does not have a decrementer!)
|
151 |
|
|
|
152 |
|
|
2000-10-31 Jonathan Larmour
|
153 |
|
|
|
154 |
|
|
* src/powerpc.ld: Use .sdata.* rather than .sdata* so that .sdata2
|
155 |
|
|
doesn't get matched so that the linker script symbols are still valid.
|
156 |
|
|
Ditto for .sbss*.
|
157 |
|
|
|
158 |
|
|
2000-10-24 Jonathan Larmour
|
159 |
|
|
|
160 |
|
|
* src/powerpc.ld: Match multiple sections where relevant (.bss*,
|
161 |
|
|
.sbss*, .sdata*, etc.)
|
162 |
|
|
|
163 |
|
|
2000-10-20 Jesper Skov
|
164 |
|
|
|
165 |
|
|
* src/hal_misc.c: Update __mem_fault_handler declaration.
|
166 |
|
|
|
167 |
|
|
2000-10-20 Gary Thomas
|
168 |
|
|
|
169 |
|
|
* src/hal_intr.c (hal_delay_us):
|
170 |
|
|
* include/hal_intr.h (HAL_DELAY_US): New function.
|
171 |
|
|
|
172 |
|
|
2000-10-16 Jonathan Larmour
|
173 |
|
|
|
174 |
|
|
* include/hal_arch.h (CYGARC_JMP_BUF_SIZE): Define hal_jmp_buf
|
175 |
|
|
in terms of this.
|
176 |
|
|
|
177 |
|
|
2000-08-15 Gary Thomas
|
178 |
|
|
|
179 |
|
|
* src/hal_mk_defs.c: Export memory layout for use by assembly code.
|
180 |
|
|
|
181 |
|
|
2000-06-27 Jesper Skov
|
182 |
|
|
|
183 |
|
|
* src/vectors.S: Removed unnecessary
|
184 |
|
|
CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT checks.
|
185 |
|
|
|
186 |
|
|
2000-06-21 Nick Garnett
|
187 |
|
|
|
188 |
|
|
* src/ppc_stub.c (__is_breakpoint_function): Removed use of
|
189 |
|
|
CYG_LABEL_NAME() and added underscore to _breakinst.
|
190 |
|
|
|
191 |
|
|
* src/powerpc.ld:
|
192 |
|
|
Switched to new table definition mechanism.
|
193 |
|
|
|
194 |
|
|
* include/basetype.h: Removed definition of CYG_LABEL_NAME().
|
195 |
|
|
|
196 |
|
|
2000-06-15 Jesper Skov
|
197 |
|
|
|
198 |
|
|
* include/hal_intr.h: Added HAL_DEFAULT_ISR.
|
199 |
|
|
|
200 |
|
|
2000-06-13 Jesper Skov
|
201 |
|
|
|
202 |
|
|
* src/powerpc.ld (hal_virtual_vector_table): Added.
|
203 |
|
|
|
204 |
|
|
* src/hal_misc.c (hal_arch_default_isr): Added, replacing
|
205 |
|
|
hal_default_isr which was moved to common HAL.
|
206 |
|
|
|
207 |
|
|
* src/vectors.S: Changes to support ctrlC via virtual vector table.
|
208 |
|
|
|
209 |
|
|
2000-06-08 Jesper Skov
|
210 |
|
|
|
211 |
|
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
212 |
|
|
Added.
|
213 |
|
|
|
214 |
|
|
2000-04-14 Jesper Skov
|
215 |
|
|
|
216 |
|
|
* src/hal_misc.c (hal_idle_thread_action): Moved some of the code
|
217 |
|
|
to variant idle functions which now get called.
|
218 |
|
|
(hal_enable_caches): Moved serialization code to 8xx variant init.
|
219 |
|
|
|
220 |
|
|
* src/vectors.S (restore_state): Use hal_fpu_load and
|
221 |
|
|
hal_variant_load. Reported by Sergei Organov (osv at javad.ru).
|
222 |
|
|
|
223 |
|
|
2000-04-11 Jesper Skov
|
224 |
|
|
|
225 |
|
|
* src/powerpc.ld: VSR table location is controlled by CDL.
|
226 |
|
|
|
227 |
|
|
* cdl/hal_powerpc.cdl: Added new options to control vector base
|
228 |
|
|
and MMU activation. Based on a patch from Sergei Organov (osv at
|
229 |
|
|
javad.ru).
|
230 |
|
|
|
231 |
|
|
2000-04-06 Jonathan Larmour
|
232 |
|
|
|
233 |
|
|
* include/hal_intr.h (HAL_CLOCK_RESET): Prevent warning
|
234 |
|
|
(patch thanks to Sergei Organov (osv at javad.ru))
|
235 |
|
|
|
236 |
|
|
2000-03-13 Jesper Skov
|
237 |
|
|
Case 103356
|
238 |
|
|
* include/hal_intr.h (HAL_CLOCK_RESET): Add to decrementer instead
|
239 |
|
|
of storing, thus reducing time skew somewhat.
|
240 |
|
|
|
241 |
|
|
2000-03-02 Jesper Skov
|
242 |
|
|
|
243 |
|
|
* src/vectors.S: Leave vectors for SIM.
|
244 |
|
|
|
245 |
|
|
* include/hal_intr.h: Clean up interrupt macros.
|
246 |
|
|
|
247 |
|
|
2000-03-01 Jonathan Larmour
|
248 |
|
|
|
249 |
|
|
* cdl/hal_powerpc.cdl: If including stubs, default to copying vectors
|
250 |
|
|
|
251 |
|
|
* include/ppc_stub.h: Make C++ safe
|
252 |
|
|
|
253 |
|
|
2000-03-01 Jesper Skov
|
254 |
|
|
|
255 |
|
|
* cdl/hal_powerpc.cdl: CYGSEM_HAL_USE_ROM_MONITOR precludes
|
256 |
|
|
CYGSEM_HAL_POWERPC_COPY_VECTORS.
|
257 |
|
|
|
258 |
|
|
2000-02-29 Gary Thomas
|
259 |
|
|
|
260 |
|
|
* src/vectors.S (_start): Actually copy exception vectors if
|
261 |
|
|
"copy vectors" selected and not running from ROM (useful if
|
262 |
|
|
booting using PPCbug).
|
263 |
|
|
|
264 |
|
|
2000-02-28 Jesper Skov
|
265 |
|
|
|
266 |
|
|
* cdl/hal_powerpc.cdl: Add copy vectors option.
|
267 |
|
|
* src/vectors.S: Leave out vectors if they are not used. Also
|
268 |
|
|
clean up r1/sp usage.
|
269 |
|
|
* include/arch.inc: CYGPKG_HAL_POWERPC_MPC603 ->
|
270 |
|
|
CYGPKG_HAL_POWERPC_PPC603
|
271 |
|
|
|
272 |
|
|
CR 902165-CR
|
273 |
|
|
Ensure proper switch to interrupt stack for execution of DSRs:
|
274 |
|
|
* src/vectors.S: Leave interrupt enable in exception handling to
|
275 |
|
|
interrupt_end code. restore_state and
|
276 |
|
|
hal_interrupt_stack_call_pending_DSRs updated to use interupt
|
277 |
|
|
macros.
|
278 |
|
|
* src/context.S: Restore interrupt state on context load.
|
279 |
|
|
* include/arch.inc: Added interrupt macros.
|
280 |
|
|
* include/hal_arch.h: Init thread struct with interrupt setting.
|
281 |
|
|
|
282 |
|
|
2000-02-25 Jesper Skov
|
283 |
|
|
|
284 |
|
|
* src/vectors.S:
|
285 |
|
|
* include/ppc_regs.h:
|
286 |
|
|
Mangle MSR symbols and remove CYG_MSR_NO_INTS.
|
287 |
|
|
|
288 |
|
|
2000-02-22 Jesper Skov
|
289 |
|
|
|
290 |
|
|
* src/vectors.S:
|
291 |
|
|
* src/hal_mk_defs.c:
|
292 |
|
|
* include/pkgconf/hal_powerpc.h:
|
293 |
|
|
* cdl/hal_powerpc.cdl:
|
294 |
|
|
* include/hal_arch.h:
|
295 |
|
|
Added option for stack frame debug walls.
|
296 |
|
|
|
297 |
|
|
* src/context.S:
|
298 |
|
|
* src/hal_mk_defs.c:
|
299 |
|
|
* include/hal_arch.h:
|
300 |
|
|
Oops. hal_jmp_buf should be an array, or callers will
|
301 |
|
|
copy-on-call.
|
302 |
|
|
|
303 |
|
|
2000-02-21 Jesper Skov
|
304 |
|
|
|
305 |
|
|
* src/vectors.S: Added context_size marker.
|
306 |
|
|
|
307 |
|
|
* include/hal_intr.h:
|
308 |
|
|
* src/hal_mk_defs.c:
|
309 |
|
|
* src/context.S:
|
310 |
|
|
* src/vectors.S:
|
311 |
|
|
* src/PKGconf.mak:
|
312 |
|
|
* cdl/hal_powerpc.cdl:
|
313 |
|
|
Added autogenerated assembly header with computed structure
|
314 |
|
|
offsets like in ARM HAL. Changed setjmp code to use generated
|
315 |
|
|
offsets.
|
316 |
|
|
Made the file public to allow variant/arch sharing.
|
317 |
|
|
Use auto-created offsets for saving/restoring exception frames.
|
318 |
|
|
|
319 |
|
|
2000-02-16 Jesper Skov
|
320 |
|
|
|
321 |
|
|
* cdl/hal_powerpc.cdl: removed fix me
|
322 |
|
|
|
323 |
|
|
2000-02-11 Jesper Skov
|
324 |
|
|
|
325 |
|
|
* include/hal_cache.h:
|
326 |
|
|
* include/hal_mem.h:
|
327 |
|
|
Moved memory mapping definition to new file.
|
328 |
|
|
|
329 |
|
|
* include/hal_cache.h: Deleted 60x macros.
|
330 |
|
|
|
331 |
|
|
* src/hal_misc.c: Moved MMU functions to variant files.
|
332 |
|
|
|
333 |
|
|
* src/hal_intr.c (hal_IRQ_init): Moved code to MPC8xx variant
|
334 |
|
|
directory.
|
335 |
|
|
|
336 |
|
|
* include/hal_intr.h: Added hal_variant_IRQ_init declaration.
|
337 |
|
|
|
338 |
|
|
* tests/PKGconf.mak:
|
339 |
|
|
* tests/intr0.c:
|
340 |
|
|
* cdl/hal_powerpc.cdl:
|
341 |
|
|
Moved intr0 test to MPC8xx variant directory.
|
342 |
|
|
|
343 |
|
|
2000-02-10 Jesper Skov
|
344 |
|
|
|
345 |
|
|
* include/hal_intr.h: Added HAL_VSR_SET_TO_ECOS_HANDLER
|
346 |
|
|
|
347 |
|
|
* src/vectors.S: Renamed default VSR handlers.
|
348 |
|
|
|
349 |
|
|
2000-02-07 Jesper Skov
|
350 |
|
|
|
351 |
|
|
* src/vectors.S: Cleaned up vector code a bit. Leave vector
|
352 |
|
|
initialization to variant code.
|
353 |
|
|
Add a bit of text explaining why exception code was changed.
|
354 |
|
|
Get rid of STARTUP_STUBS conditions.
|
355 |
|
|
|
356 |
|
|
* src/powerpc.ld: VSR table resides at fixed address.
|
357 |
|
|
|
358 |
|
|
* src/hal_misc.c: Fixed compiler warning.
|
359 |
|
|
|
360 |
|
|
* include/pkgconf/hal_powerpc.h: Add variant option.
|
361 |
|
|
Include variant headers.
|
362 |
|
|
|
363 |
|
|
* include/ppc_regs.h:
|
364 |
|
|
* include/hal_intr.h:
|
365 |
|
|
* include/hal_cache.h:
|
366 |
|
|
Moved variant definitions into new variant header files.
|
367 |
|
|
|
368 |
|
|
* cdl/hal_powerpc.cdl: Add interface for CPU variants.
|
369 |
|
|
|
370 |
|
|
2000-02-03 Jesper Skov
|
371 |
|
|
|
372 |
|
|
* tests/intr0.c:
|
373 |
|
|
* tests/PKGconf.mak:
|
374 |
|
|
* include/hal_cache.h:
|
375 |
|
|
* include/hal_intr.h:
|
376 |
|
|
* include/ppc_regs.h:
|
377 |
|
|
* include/ppc.inc:
|
378 |
|
|
* src/hal_intr.c:
|
379 |
|
|
* src/hal_misc.c:
|
380 |
|
|
* src/ppc_stub.c:
|
381 |
|
|
* src/vectors.S:
|
382 |
|
|
CYG_HAL_POWERPC_x->CYGPKG_...
|
383 |
|
|
|
384 |
|
|
2000-01-28 Gary Thomas
|
385 |
|
|
|
386 |
|
|
* src/powerpc.ld: Add support for network package.
|
387 |
|
|
|
388 |
|
|
2000-01-26 Jesper Skov
|
389 |
|
|
|
390 |
|
|
* include/hal_cache.h: Include plf_cache.h
|
391 |
|
|
|
392 |
|
|
* src/hal_misc.c: Moved cache init control settings to plf_cache.h
|
393 |
|
|
|
394 |
|
|
2000-01-24 Jesper Skov
|
395 |
|
|
|
396 |
|
|
* src/hal_misc.c: Depend on CYGSEM_HAL_ROM_MONITOR instead of
|
397 |
|
|
CYG_HAL_ROM_MONITOR.
|
398 |
|
|
|
399 |
|
|
2000-01-19 Hugo Tyson
|
400 |
|
|
|
401 |
|
|
* cdl/*.cdl: Add descriptions to a number of options &c which were
|
402 |
|
|
lacking same, also tidied up other typos as noticed en passant.
|
403 |
|
|
|
404 |
|
|
1999-12-02 John Dallaway
|
405 |
|
|
|
406 |
|
|
* cdl/hal_powerpc.cdl:
|
407 |
|
|
|
408 |
|
|
Use the token in custom rules.
|
409 |
|
|
|
410 |
|
|
1999-12-01 John Dallaway
|
411 |
|
|
|
412 |
|
|
* cdl/hal_powerpc.cdl:
|
413 |
|
|
|
414 |
|
|
Use the token in custom rules.
|
415 |
|
|
|
416 |
|
|
1999-11-04 John Dallaway
|
417 |
|
|
|
418 |
|
|
* cdl/hal_powerpc.cdl:
|
419 |
|
|
|
420 |
|
|
Output custom rule dependency information to .deps files in
|
421 |
|
|
the current directory.
|
422 |
|
|
|
423 |
|
|
Dispense with the need to create a 'src' sub-directory.
|
424 |
|
|
|
425 |
|
|
1999-11-03 John Dallaway
|
426 |
|
|
|
427 |
|
|
* cdl/hal_powerpc.cdl: Define build options.
|
428 |
|
|
|
429 |
|
|
1999-09-28 Jesper Skov
|
430 |
|
|
|
431 |
|
|
* tests/intr0.c: Added some more debug output.
|
432 |
|
|
|
433 |
|
|
1999-09-23 Jonathan Larmour
|
434 |
|
|
|
435 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler): Catch exceptions
|
436 |
|
|
generated from within the GDB stub so we can recover from bad memory
|
437 |
|
|
accesses
|
438 |
|
|
Also part of the fix for case 102104
|
439 |
|
|
|
440 |
|
|
1999-09-23 Jesper Skov
|
441 |
|
|
Case 102104
|
442 |
|
|
* include/hal_cache.h (HAL_ICACHE_SYNC): Invalidate I cache.
|
443 |
|
|
|
444 |
|
|
1999-09-06 Jesper Skov
|
445 |
|
|
|
446 |
|
|
* src/hal_misc.c (hal_null_call):
|
447 |
|
|
* src/vectors.S:
|
448 |
|
|
Trap calls to address 0.
|
449 |
|
|
|
450 |
|
|
1999-09-01 Gary Thomas
|
451 |
|
|
|
452 |
|
|
* src/hal_misc.c: Clean up list of included files.
|
453 |
|
|
now provides target and platform specifics.
|
454 |
|
|
|
455 |
|
|
* src/hal_intr.c: CYGFUN_HAL_COMMON_KERNEL_SUPPORT should only
|
456 |
|
|
be defined if CYGPKG_KERNEL is defined. This needs to be fixed
|
457 |
|
|
in a more generic fashion when full CDL becomes available.
|
458 |
|
|
|
459 |
|
|
* src/vectors.S: Exception and interrupt handling were enabling
|
460 |
|
|
CPU interrupts when it wasn't safe nor warranted.
|
461 |
|
|
|
462 |
|
|
1999-08-16 Jesper Skov
|
463 |
|
|
From Bob Koninckx
|
464 |
|
|
|
465 |
|
|
* src/ppc_stub.c (__clear_single_step): Clear irq_state to prevent
|
466 |
|
|
interrupt avalanche.
|
467 |
|
|
|
468 |
|
|
1999-06-29 Hugo Tyson
|
469 |
|
|
|
470 |
|
|
* include/hal_intr.h (CYGNUM_HAL_EXCEPTION_DATA_ACCESS): Define
|
471 |
|
|
this for handling MACHINE_CHECK if an MPC860 - it never generates
|
472 |
|
|
ISI nor DSI exceptions, only machine check. This allows libc to
|
473 |
|
|
catch SEGVs from this unexpected quarter.
|
474 |
|
|
|
475 |
|
|
1999-06-28 Hugo Tyson
|
476 |
|
|
|
477 |
|
|
* include/ppc_regs.h: Add proper definitions of timebase regs.
|
478 |
|
|
|
479 |
|
|
* tests/intr0.c: Add some useful debugging printouts and recording
|
480 |
|
|
of state, and make more platform-portable; the rate of PTA is not
|
481 |
|
|
always 1:32 wrt the timebase.
|
482 |
|
|
|
483 |
|
|
1999-06-27 Gary Thomas
|
484 |
|
|
|
485 |
|
|
* src/vectors.S (_start): Call platform dependent IRQ setup (see
|
486 |
|
|
next note).
|
487 |
|
|
|
488 |
|
|
* src/hal_intr.c (hal_IRQ_init): New platform dependent function
|
489 |
|
|
used to setup whatever is necessary to handle interrupts.
|
490 |
|
|
Add basic "wiring" of CPM to SIU interrupts.
|
491 |
|
|
|
492 |
|
|
* include/hal_intr.h: Fix CPM interrupt macros - control register
|
493 |
|
|
is 32 bits, not 16.
|
494 |
|
|
|
495 |
|
|
1999-06-24 Jesper Skov
|
496 |
|
|
|
497 |
|
|
* misc/CPUMask8xx.c: Added.
|
498 |
|
|
|
499 |
|
|
1999-06-24 Hugo Tyson
|
500 |
|
|
|
501 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler): If the decrementer
|
502 |
|
|
has underflowed when we are returning from an exception, then we
|
503 |
|
|
reset it here; this is harmless if all is well, and required if
|
504 |
|
|
the QUICC-equipped MPC860 is getting confused about interrupts
|
505 |
|
|
following an exception. Only in QUICC configurations.
|
506 |
|
|
|
507 |
|
|
1999-06-22 Hugo Tyson
|
508 |
|
|
|
509 |
|
|
* src/vectors.S (_start): Support breaking back into the stub ROM
|
510 |
|
|
when we see a breakpoint, if RAM start and RAM-based vectors for
|
511 |
|
|
the stub. Rather than using a direct jump, instead skip copying
|
512 |
|
|
the program exception vectors - leave the stub's vec in place.
|
513 |
|
|
Controlled by CYGPRI_STUBROM_HAS_RAM_VECTORS, which varies from
|
514 |
|
|
platform to platform.
|
515 |
|
|
|
516 |
|
|
1999-06-18 Hugo Tyson
|
517 |
|
|
|
518 |
|
|
* src/hal_misc.c (hal_enable_caches): Change the configuration,
|
519 |
|
|
the better to accommodate differing platform requirements viz a
|
520 |
|
|
viz cache enabling and so on.
|
521 |
|
|
|
522 |
|
|
1999-06-17 Hugo Tyson
|
523 |
|
|
|
524 |
|
|
* src/vectors.S (CYG_MSR): define correctly for copying vectors,
|
525 |
|
|
even if ROM start. Complete system init for ROM start.
|
526 |
|
|
|
527 |
|
|
1999-06-15 Hugo Tyson
|
528 |
|
|
|
529 |
|
|
* include/ppc.inc: Add definitions of FUNC_START and FUNC_END.
|
530 |
|
|
They are needed by platform code.
|
531 |
|
|
|
532 |
|
|
* src/vectors.S: Remove definition of FUNC_START.
|
533 |
|
|
|
534 |
|
|
1999-06-11 Hugo Tyson
|
535 |
|
|
|
536 |
|
|
* src/vectors.S (_start): remove some platform-conditional
|
537 |
|
|
initialization code; it is now in hal_hardware_init in the
|
538 |
|
|
platform HAL.
|
539 |
|
|
|
540 |
|
|
* src/hal_misc.c: remove very-platform-conditional definition of
|
541 |
|
|
memory descriptor table - it is now in platform HALs.
|
542 |
|
|
|
543 |
|
|
* include/ppc_regs.h: simplify definition of CYGARC_REG_IMM_BASE.
|
544 |
|
|
|
545 |
|
|
* include/hal_cache.h (CYGARC_MEMDESC_CACHE): ...and other
|
546 |
|
|
macros... add support for external definitions of memory
|
547 |
|
|
descriptor table used in platform-specific initialization of MMU.
|
548 |
|
|
|
549 |
|
|
1999-06-10 Hugo Tyson
|
550 |
|
|
|
551 |
|
|
* src/vectors.S (_start): Add better support for various startup
|
552 |
|
|
options, including CygMon loading.
|
553 |
|
|
|
554 |
|
|
* src/PKGconf.mak (COMPILE): remove quicc_smc.c; it has been
|
555 |
|
|
reorganized and renamed into the FADS component.
|
556 |
|
|
|
557 |
|
|
* include/quicc_smc.h, src/ppc_860.h, src/quicc_smc.c: removed;
|
558 |
|
|
reorganized and renamed into the FADS component.
|
559 |
|
|
|
560 |
|
|
* src/hal_misc.c (hal_idle_thread_action): Add some useful
|
561 |
|
|
debugging for interrupt/clock of the MBX860/PPC860; normally
|
562 |
|
|
disabled, so no effect on code.
|
563 |
|
|
|
564 |
|
|
* include/ppc_regs.h: Different default value for
|
565 |
|
|
CYGARC_REG_IMM_BASE if MBX board (ie. the way CygMon sets it up).
|
566 |
|
|
This is a temporary measure.
|
567 |
|
|
|
568 |
|
|
1999-06-08 Jesper Skov
|
569 |
|
|
|
570 |
|
|
* include/hal_intr.h:
|
571 |
|
|
* src/vectors.S (hal_vsr_table):
|
572 |
|
|
* src/hal_misc.c (hal_default_decrementer_isr):
|
573 |
|
|
Use NOP default ISR for decrementer.
|
574 |
|
|
Fix hal_intr macros.
|
575 |
|
|
|
576 |
|
|
1999-06-04 Jesper Skov
|
577 |
|
|
PR 20146
|
578 |
|
|
* src/ppc_860.h: Added padding to some structures, reported by
|
579 |
|
|
Jean-Dominique Orvoen (orvoen@email.enst.fr)
|
580 |
|
|
|
581 |
|
|
1999-05-26 Jesper Skov
|
582 |
|
|
|
583 |
|
|
* include/hal_cache.h (HAL_DCACHE_LOCK):
|
584 |
|
|
Fixed asm constraint.
|
585 |
|
|
|
586 |
|
|
1999-05-25 Jesper Skov
|
587 |
|
|
|
588 |
|
|
* include/hal_intr.h:
|
589 |
|
|
* src/vectors.S (hal_interrupt_stack_call_pending_DSRs):
|
590 |
|
|
Added call_pending_DSR magic.
|
591 |
|
|
|
592 |
|
|
1999-05-21 Hugo Tyson
|
593 |
|
|
|
594 |
|
|
* include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
|
595 |
|
|
HAL_INTERRUPT_STACK_TOP so that stack usage macros in
|
596 |
|
|
kernel/.../stackmon.hxx can work.
|
597 |
|
|
|
598 |
|
|
* src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
|
599 |
|
|
the interrupt stack and its friend for the stack top so that we
|
600 |
|
|
can publish them with nice names.
|
601 |
|
|
|
602 |
|
|
1999-05-13 Hugo Tyson
|
603 |
|
|
|
604 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack
|
605 |
|
|
(rather conservatively) before use.
|
606 |
|
|
|
607 |
|
|
1999-04-28 Bart Veer
|
608 |
|
|
|
609 |
|
|
* src/PKGconf.mak:
|
610 |
|
|
Remove the -n argument to tail, it does not appear to be required
|
611 |
|
|
on any supported host and causes problems with some
|
612 |
|
|
implementations of tail.
|
613 |
|
|
|
614 |
|
|
1999-04-19 Jesper Skov
|
615 |
|
|
PR 19861
|
616 |
|
|
* src/vectors.S (_start): Rewrote the hal_zero_bss code in
|
617 |
|
|
assembly. When compiling with -O0 the C function accesses the
|
618 |
|
|
previous stack frame upon return, causing a crash.
|
619 |
|
|
|
620 |
|
|
1999-04-15 Jonathan Larmour
|
621 |
|
|
|
622 |
|
|
* src/powerpc.ld: Define __bss_start/__bss_end around the BSS, and
|
623 |
|
|
__sbss_start/__sbss_end around the SBSS
|
624 |
|
|
* src/vectors.S (_start): Call C function to clear BSS.
|
625 |
|
|
* src/hal_misc.c (hal_zero_bss): Use __bss_end rather than _end when
|
626 |
|
|
clearing BSS. Clear SBSS similarly but separately since the MLT
|
627 |
|
|
may have them in non-contiguous parts of memory.
|
628 |
|
|
|
629 |
|
|
These fix PR 19750
|
630 |
|
|
|
631 |
|
|
1999-04-14 Jesper Skov
|
632 |
|
|
|
633 |
|
|
* include/hal_cache.h: Added HAL_xCACHE_IS_ENABLED macros.
|
634 |
|
|
|
635 |
|
|
1999-04-14 Jonathan Larmour
|
636 |
|
|
|
637 |
|
|
* src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
|
638 |
|
|
But do define EXTRAS every time for the linker script
|
639 |
|
|
|
640 |
|
|
1999-04-09 Jesper Skov
|
641 |
|
|
|
642 |
|
|
* src/ppc_stub.c:
|
643 |
|
|
Moved get_register and put_register to hal_stub.c.
|
644 |
|
|
|
645 |
|
|
1999-04-08 John Dallaway
|
646 |
|
|
|
647 |
|
|
* src/*.ld: Revised SECTION_* macro arguments to
|
648 |
|
|
avoid padded output sections (PR 19787)
|
649 |
|
|
|
650 |
|
|
1999-04-07 Gary Thomas
|
651 |
|
|
|
652 |
|
|
* include/hal_arch.h (CYGNUM_HAL_STACK_SIZE_xxx): Increase to more
|
653 |
|
|
realistic values. PR 19748.
|
654 |
|
|
|
655 |
|
|
1999-03-31 Jesper Skov
|
656 |
|
|
PR 19741
|
657 |
|
|
* src/vectors.S:
|
658 |
|
|
* src/ppc_stub.c (__computeSignal):
|
659 |
|
|
Added some comments about the use of MSR/SRR1. Masked out reserved
|
660 |
|
|
bits of MSR before restoring it.
|
661 |
|
|
|
662 |
|
|
1999-03-23 Jesper Skov
|
663 |
|
|
|
664 |
|
|
* include/hal_arch.h: Added stack values.
|
665 |
|
|
|
666 |
|
|
1999-03-22 Jonathan Larmour
|
667 |
|
|
|
668 |
|
|
* include/ppc_stub.h: Update copyright
|
669 |
|
|
|
670 |
|
|
* src/ppc_stub.c: Update copyright
|
671 |
|
|
|
672 |
|
|
1999-03-22 Hugo Tyson
|
673 |
|
|
|
674 |
|
|
* include/hal_arch.h:
|
675 |
|
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
676 |
|
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
677 |
|
|
|
678 |
|
|
1999-03-22 Jesper Skov
|
679 |
|
|
|
680 |
|
|
* tests/intr0.c:
|
681 |
|
|
* include/ppc.inc:
|
682 |
|
|
* include/hal_arch.h:
|
683 |
|
|
Cleaned up some FIX MEs.
|
684 |
|
|
|
685 |
|
|
1999-03-18 Jesper Skov
|
686 |
|
|
|
687 |
|
|
* include/ppc.inc: Removed exception safety margin.
|
688 |
|
|
|
689 |
|
|
1999-03-17 John Dallaway
|
690 |
|
|
|
691 |
|
|
* src/PKGconf.mak: Remove dependence on echo '-e' switch.
|
692 |
|
|
|
693 |
|
|
1999-03-16 Jesper Skov
|
694 |
|
|
|
695 |
|
|
* src/hal_misc.c: Moved extern declarations out of function body
|
696 |
|
|
to avoid compiler warnings.
|
697 |
|
|
|
698 |
|
|
1999-03-12 Jesper Skov
|
699 |
|
|
|
700 |
|
|
* include/hal_arch.h (CYGNUM_HAL_MINIMUM_STACK_SIZE): Increased to
|
701 |
|
|
2kB for safety.
|
702 |
|
|
|
703 |
|
|
* include/ppc.inc: Reduced exception stack frame safety gap
|
704 |
|
|
to 64 bytes.
|
705 |
|
|
|
706 |
|
|
1999-03-12 Gary Thomas
|
707 |
|
|
|
708 |
|
|
* include/hal_arch.h (CYGNUM_HAL_MINIMUM_STACK_SIZE):
|
709 |
|
|
Added HAL stack size definition.
|
710 |
|
|
|
711 |
|
|
1999-03-10 Jesper Skov
|
712 |
|
|
|
713 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_IN_USE): Added.
|
714 |
|
|
|
715 |
|
|
1999-03-08 Nick Garnett
|
716 |
|
|
|
717 |
|
|
* src/powerpc.ld:
|
718 |
|
|
Added alignment before definition of __DEVTAB__.
|
719 |
|
|
|
720 |
|
|
1999-03-08 Jesper Skov
|
721 |
|
|
|
722 |
|
|
* include/hal_intr.h: Removed workaround.
|
723 |
|
|
|
724 |
|
|
1999-03-05 Jesper Skov
|
725 |
|
|
|
726 |
|
|
* include/hal_intr.h (cyg_hal_interrupt_set_level): Disable this
|
727 |
|
|
function as a temporary workaround to PR 19400.
|
728 |
|
|
|
729 |
|
|
1999-03-05 Gary Thomas
|
730 |
|
|
|
731 |
|
|
* src/PKGconf.mak:
|
732 |
|
|
* src/powerpc.ld: Clean up I/O package changes.
|
733 |
|
|
|
734 |
|
|
1999-03-04 Jonathan Larmour
|
735 |
|
|
|
736 |
|
|
* src/powerpc.ld:
|
737 |
|
|
Add INPUT(libextras.a), add libextras.a to GROUP() and include
|
738 |
|
|
new section for device driver table
|
739 |
|
|
|
740 |
|
|
1999-02-26 Jesper Skov
|
741 |
|
|
|
742 |
|
|
* include/hal_intr.h: Removed FIX ME.
|
743 |
|
|
|
744 |
|
|
1999-02-26 Jesper Skov
|
745 |
|
|
|
746 |
|
|
* include/hal_intr.h:
|
747 |
|
|
* src/ppc_stub.c (__computeSignal):
|
748 |
|
|
Renamed CYGNUM_HAL_HWVECTOR_DECREMENTER to
|
749 |
|
|
CYGNUM_HAL_VECTOR_DECREMENTER.
|
750 |
|
|
|
751 |
|
|
1999-02-25 Nick Garnett
|
752 |
|
|
|
753 |
|
|
* src/vectors.S:
|
754 |
|
|
Changed label used to access scheduler lock to one that is not
|
755 |
|
|
mangled by C++. This is intended to make support for interrupt
|
756 |
|
|
handling in non-kernel configurations easier.
|
757 |
|
|
|
758 |
|
|
1999-02-23 Jesper Skov
|
759 |
|
|
|
760 |
|
|
* src/ppc_stub.c (__computeSignal): Renamed
|
761 |
|
|
CYGNUM_HAL_VECTOR_DECREMENTER to CYGNUM_HAL_HWVECTOR_DECREMENTER.
|
762 |
|
|
|
763 |
|
|
1999-02-20 Jonathan Larmour
|
764 |
|
|
|
765 |
|
|
* include/hal_arch.h:
|
766 |
|
|
Rename deliver_exception() -> cyg_hal_deliver_exception()
|
767 |
|
|
|
768 |
|
|
* include/hal_intr.h:
|
769 |
|
|
Reorganise vector/interrupt/exception names according to purpose
|
770 |
|
|
Add decoded exception vectors (decoded from PROGRAM exception)
|
771 |
|
|
QA improvements
|
772 |
|
|
|
773 |
|
|
* include/ppc_regs.h:
|
774 |
|
|
Add defines for access to SRR0 and SRR1 registers
|
775 |
|
|
|
776 |
|
|
* src/hal_intr.c:
|
777 |
|
|
Rename CYG_VECTOR_* according to hal_intr.h changes above
|
778 |
|
|
QA improvements
|
779 |
|
|
|
780 |
|
|
* src/hal_misc.c:
|
781 |
|
|
Decode PROGRAM vector using SSR1 register
|
782 |
|
|
QA improvements
|
783 |
|
|
|
784 |
|
|
* src/ppc_stub.c:
|
785 |
|
|
Rename CYG_VECTOR_* according to hal_intr.h changes above
|
786 |
|
|
|
787 |
|
|
* src/quicc_smc.c:
|
788 |
|
|
Add a FIX ME
|
789 |
|
|
|
790 |
|
|
* src/vectors.S:
|
791 |
|
|
Rename exception_handler -> cyg_hal_exception_handler
|
792 |
|
|
|
793 |
|
|
* tests/intr0.c:
|
794 |
|
|
Rename CYG_VECTOR_* -> CYGNUM_HAL_INTERRUPT_* due to hal_intr.h
|
795 |
|
|
changes above
|
796 |
|
|
|
797 |
|
|
1999-02-17 Jesper Skov
|
798 |
|
|
|
799 |
|
|
* src/ppc_stub.c (__computeSignal): Moved special GDB signal
|
800 |
|
|
handling to generic-stub.c.
|
801 |
|
|
|
802 |
|
|
1999-02-17 Jesper Skov
|
803 |
|
|
|
804 |
|
|
* src/hal_misc.c (hal_default_isr): Always print out vector number
|
805 |
|
|
in hal_default_interrupt.
|
806 |
|
|
|
807 |
|
|
1999-02-16 Jesper Skov
|
808 |
|
|
|
809 |
|
|
* src/vectors.S: Changed set_debug_traps to initialize_stub.
|
810 |
|
|
|
811 |
|
|
* src/ppc_stub.c:
|
812 |
|
|
* include/ppc_stub.h:
|
813 |
|
|
Cleaned up to only include arch specific stub code.
|
814 |
|
|
|
815 |
|
|
1999-02-05 Jesper Skov
|
816 |
|
|
|
817 |
|
|
* src/ppc_stub.c:
|
818 |
|
|
* src/hal_misc.c:
|
819 |
|
|
* src/hal_intr.c:
|
820 |
|
|
* src/vectors.S:
|
821 |
|
|
* include/ppc_regs.h:
|
822 |
|
|
* include/hal_intr.h:
|
823 |
|
|
* include/hal_cache.h:
|
824 |
|
|
Cleaned up the MPC823/850 code.
|
825 |
|
|
|
826 |
|
|
1999-02-05 Jesper Skov
|
827 |
|
|
|
828 |
|
|
* include/hal_intr.h (HAL_CLOCK_LATENCY): Return 0 when the result
|
829 |
|
|
is due to a bogus timer interrupt.
|
830 |
|
|
|
831 |
|
|
1999-02-05 John Dallaway
|
832 |
|
|
|
833 |
|
|
* src/powerpc.ld: Add LMA_EQ_VMA macro definition.
|
834 |
|
|
|
835 |
|
|
1999-01-29 Jesper Skov
|
836 |
|
|
|
837 |
|
|
* src/hal_misc.c:
|
838 |
|
|
* src/ppc_stub.c:
|
839 |
|
|
* src/vectors.S:
|
840 |
|
|
* include/ppc_regs.h:
|
841 |
|
|
* include/hal_intr.h:
|
842 |
|
|
* include/hal_cache.h:
|
843 |
|
|
Added MPC823/850 support. Some of it needs cleaning up a bit.
|
844 |
|
|
|
845 |
|
|
1999-01-22 Jesper Skov
|
846 |
|
|
PR 18879
|
847 |
|
|
* include/quicc_smc.h:
|
848 |
|
|
* src/quicc_smc.c:
|
849 |
|
|
Fix compiler warnings.
|
850 |
|
|
|
851 |
|
|
1999-01-22 Jesper Skov
|
852 |
|
|
|
853 |
|
|
* include/quicc_smc.h:
|
854 |
|
|
* src/ppc_860.h:
|
855 |
|
|
* src/quicc_smc.c:
|
856 |
|
|
Added UNSUPPORTED headers.
|
857 |
|
|
|
858 |
|
|
1999-01-21 Jonathan Larmour
|
859 |
|
|
|
860 |
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
861 |
|
|
Add code to deal with CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG
|
862 |
|
|
Tidy up and update description header
|
863 |
|
|
Shorten needlessly long lines
|
864 |
|
|
|
865 |
|
|
* src/vectors.S:
|
866 |
|
|
Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
|
867 |
|
|
Tidy up and update description header
|
868 |
|
|
Shorten needlessly long lines
|
869 |
|
|
|
870 |
|
|
1999-01-21 Jesper Skov
|
871 |
|
|
Merge with FADS branch.
|
872 |
|
|
|
873 |
|
|
1998-12-17 Jesper Skov
|
874 |
|
|
|
875 |
|
|
* src/ppc_860.h: Added as private header.
|
876 |
|
|
|
877 |
|
|
* src/PKGconf.mak (COMPILE): Added quicc_smc.c.
|
878 |
|
|
|
879 |
|
|
* include/quicc_smc.h: Prefix exported names with cyg_.
|
880 |
|
|
|
881 |
|
|
* src/quicc_smc.c: Use ppc_860.h as a private header.
|
882 |
|
|
Made all but the necessary functions static. Prefixed the rest
|
883 |
|
|
with cyg_.
|
884 |
|
|
Moved the RS232 interface enabling here from hal_diag since it
|
885 |
|
|
is apparently required by both hal_stub and hal_diag.
|
886 |
|
|
|
887 |
|
|
1999-01-20 Jesper Skov
|
888 |
|
|
|
889 |
|
|
* src/powerpc.ld (SECTION_bss): Added align statement.
|
890 |
|
|
|
891 |
|
|
1999-01-20 Jesper Skov
|
892 |
|
|
|
893 |
|
|
* src/vectors.S: Changed _STUB to _STUBS.
|
894 |
|
|
|
895 |
|
|
1999-01-19 Jesper Skov
|
896 |
|
|
|
897 |
|
|
* src/vectors.S:
|
898 |
|
|
* src/hal_misc.c (hal_enable_caches):
|
899 |
|
|
Also support HAL_STARTUP_STUB.
|
900 |
|
|
|
901 |
|
|
1999-01-15 Jesper Skov
|
902 |
|
|
|
903 |
|
|
* src/hal_misc.c:
|
904 |
|
|
* src/hal_intr.c:
|
905 |
|
|
Move external declarations out of functions.
|
906 |
|
|
|
907 |
|
|
1999-01-14 Jesper Skov
|
908 |
|
|
|
909 |
|
|
* src/vectors.S (_start): Copy data to RAM before calling C
|
910 |
|
|
functions (or "don't initialize the MMU with random data").
|
911 |
|
|
|
912 |
|
|
* src/hal_misc.c: ROM is cache inhibited.
|
913 |
|
|
|
914 |
|
|
1999-01-13 Gary Thomas
|
915 |
|
|
|
916 |
|
|
* include/basetype.h: CYG_DOUBLE_BYTEORDER now in
|
917 |
|
|
|
918 |
|
|
1999-01-12 Gary Thomas
|
919 |
|
|
|
920 |
|
|
* include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering
|
921 |
|
|
for words within double.
|
922 |
|
|
|
923 |
|
|
1999-01-11 Jesper Skov
|
924 |
|
|
|
925 |
|
|
* include/hal_io.h: Fixed indentation.
|
926 |
|
|
|
927 |
|
|
1999-01-05 Jesper Skov
|
928 |
|
|
|
929 |
|
|
* include/hal_intr.h (HAL_CLOCK_RESET): Undid below change;
|
930 |
|
|
doesn't always work.
|
931 |
|
|
|
932 |
|
|
1998-12-15 Jesper Skov
|
933 |
|
|
|
934 |
|
|
* include/hal_intr.h (HAL_CLOCK_RESET): Add rather than store to
|
935 |
|
|
avoid wall-clock drift.
|
936 |
|
|
|
937 |
|
|
1998-12-11 Jesper Skov
|
938 |
|
|
|
939 |
|
|
* src/vectors.S: Cleaned up code to use r14/r15 during
|
940 |
|
|
interrupt/exception handling, which is necessary to support
|
941 |
|
|
-msdata.
|
942 |
|
|
Put hal tables in sdata section when smaller than threshold.
|
943 |
|
|
|
944 |
|
|
1998-12-11 Jesper Skov
|
945 |
|
|
|
946 |
|
|
* include/hal_cache.h: Defined three more macros.
|
947 |
|
|
|
948 |
|
|
1998-12-10 Jesper Skov
|
949 |
|
|
|
950 |
|
|
* include/hal_cache.h: Defined three more macros.
|
951 |
|
|
|
952 |
|
|
1998-12-10 Jesper Skov
|
953 |
|
|
|
954 |
|
|
* src/vectors.S: Make the program exception jump to ROM if no GDB
|
955 |
|
|
stub was configured.
|
956 |
|
|
|
957 |
|
|
1998-12-10 Jesper Skov
|
958 |
|
|
|
959 |
|
|
* include/hal_cache.h: Added HAL_ICACHE_UNLOCK_ALL and
|
960 |
|
|
HAL_DCACHE_UNLOCK_ALL for sim (unused).
|
961 |
|
|
|
962 |
|
|
1998-12-10 Jesper Skov
|
963 |
|
|
|
964 |
|
|
* include/hal_cache.h: Defined cache locking macros. Changed
|
965 |
|
|
invalidate macros not to unlock.
|
966 |
|
|
|
967 |
|
|
* include/ppc_regs.h: Added some instruction cache definitions.
|
968 |
|
|
|
969 |
|
|
* src/hal_misc.c (hal_enable_caches): Unlock caches before
|
970 |
|
|
invalidating.
|
971 |
|
|
|
972 |
|
|
1998-12-09 Jesper Skov
|
973 |
|
|
|
974 |
|
|
* src/hal_misc.c (hal_enable_caches): Don't enable caches when
|
975 |
|
|
configured for ROM.
|
976 |
|
|
|
977 |
|
|
1998-12-09 Jesper Skov
|
978 |
|
|
|
979 |
|
|
* include/ppc_regs.h: TBx_W are SPR registers.
|
980 |
|
|
|
981 |
|
|
* src/vectors.S (_init_CPU, _start): Added a few sync instructions.
|
982 |
|
|
|
983 |
|
|
1998-12-08 Jesper Skov
|
984 |
|
|
|
985 |
|
|
* include/ppc_regs.h (CYGARC_REG_IMM_OR_CSNT): Fixed typo.
|
986 |
|
|
|
987 |
|
|
1998-12-08 Jesper Skov
|
988 |
|
|
|
989 |
|
|
* include/ppc_regs.h: Added more definitions.
|
990 |
|
|
|
991 |
|
|
1998-12-07 Jesper Skov
|
992 |
|
|
|
993 |
|
|
* src/vectors.S (_init_CPU): Proper solution to the problem of
|
994 |
|
|
MMU/cache initialization.
|
995 |
|
|
|
996 |
|
|
1998-12-07 Jesper Skov
|
997 |
|
|
|
998 |
|
|
* src/vectors.S (_start): Map RAM before accessing it. Only
|
999 |
|
|
disable MMU just before (re)programming it.
|
1000 |
|
|
|
1001 |
|
|
1998-12-04 Jesper Skov
|
1002 |
|
|
|
1003 |
|
|
* src/hal_intr.c:
|
1004 |
|
|
* src/hal_intr.cxx:
|
1005 |
|
|
* src/PKGconf.mak:
|
1006 |
|
|
Renamed hal_intr.cxx to hal_intr.c.
|
1007 |
|
|
|
1008 |
|
|
1998-12-04 Jesper Skov
|
1009 |
|
|
|
1010 |
|
|
* tests/intr0.c: Improved somewhat. Also fixes PR 18440.
|
1011 |
|
|
|
1012 |
|
|
* src/hal_intr.cxx:
|
1013 |
|
|
* src/PKGconf.mak:
|
1014 |
|
|
Added hal_intr.cxx.
|
1015 |
|
|
|
1016 |
|
|
* include/ppc_regs.h: More register definitions.
|
1017 |
|
|
|
1018 |
|
|
* include/hal_intr.h: Handle decrementer in HAL_INTERRUPT_ mask
|
1019 |
|
|
and configure macros.
|
1020 |
|
|
Added declarations for interrupt arbiters.
|
1021 |
|
|
|
1022 |
|
|
1998-12-02 Jesper Skov
|
1023 |
|
|
PR 18425
|
1024 |
|
|
|
1025 |
|
|
* src/vectors.S:
|
1026 |
|
|
* include/ppc_regs.h:
|
1027 |
|
|
* include/hal_intr.h:
|
1028 |
|
|
Prefixed remaining definitions used by hal_intr.h.
|
1029 |
|
|
|
1030 |
|
|
* include/hal_intr.h:
|
1031 |
|
|
Added more definitions. Fixed wrong TBx_R values.
|
1032 |
|
|
|
1033 |
|
|
1998-12-01 Jesper Skov
|
1034 |
|
|
|
1035 |
|
|
* tests/PKGconf.mak:
|
1036 |
|
|
* tests/intr0.c:
|
1037 |
|
|
First simple test of 860 specific interrupt handling.
|
1038 |
|
|
|
1039 |
|
|
* src/vectors.S (__default_interrupt_vsr): Don't shift decoded
|
1040 |
|
|
vector number.
|
1041 |
|
|
|
1042 |
|
|
* src/hal_misc.c (hal_clear_MMU): Added.
|
1043 |
|
|
(hal_MMU_init): Call hal_clear_MMU to ensure a sane MMU state.
|
1044 |
|
|
|
1045 |
|
|
* include/ppc_regs.h: Added even more definitions.
|
1046 |
|
|
|
1047 |
|
|
* include/hal_intr.h: Fixed interrupt functions to deal with
|
1048 |
|
|
interleaved IRQ/LVL vectors.
|
1049 |
|
|
|
1050 |
|
|
1998-11-30 Jesper Skov
|
1051 |
|
|
|
1052 |
|
|
* src/vectors.S (__default_interrupt_vsr): Always call
|
1053 |
|
|
cyg_hal_gdb_isr when GDB_BREAK support is enabled.
|
1054 |
|
|
Added comment about nesting.
|
1055 |
|
|
|
1056 |
|
|
1998-11-30 Jesper Skov
|
1057 |
|
|
|
1058 |
|
|
* include/ppc_regs.h: Added a few more definitions.
|
1059 |
|
|
|
1060 |
|
|
* src/vectors.S (decode_interrupt): Added 1st level arbitration
|
1061 |
|
|
for MPC860.
|
1062 |
|
|
|
1063 |
|
|
* include/hal_intr.h: Added (properly ordered) LVL vectors.
|
1064 |
|
|
Changed if/else to switch/case.
|
1065 |
|
|
Added configuration of priorities/level.
|
1066 |
|
|
|
1067 |
|
|
1998-11-30 Jesper Skov
|
1068 |
|
|
|
1069 |
|
|
* src/vectors.S (decode_interrupt): Update the vector in the state
|
1070 |
|
|
frame.
|
1071 |
|
|
|
1072 |
|
|
1998-11-27 Jesper Skov
|
1073 |
|
|
|
1074 |
|
|
* include/ppc_regs.h: Added more 860 IMM registers.
|
1075 |
|
|
|
1076 |
|
|
* include/hal_io.h: Changed HAL_IO_BARRIER so it can be used from
|
1077 |
|
|
C++.
|
1078 |
|
|
|
1079 |
|
|
* include/hal_intr.h: First part of 860 interrupt controller
|
1080 |
|
|
support.
|
1081 |
|
|
|
1082 |
|
|
* src/vectors.S:
|
1083 |
|
|
* include/hal_intr.h:
|
1084 |
|
|
Exchanged extern and decrementer interrupt ISR vectors to allow
|
1085 |
|
|
more sensible extension.
|
1086 |
|
|
|
1087 |
|
|
1998-11-27 Jesper Skov
|
1088 |
|
|
|
1089 |
|
|
* src/hal_misc.c: The memory map descriptor table is now weakly
|
1090 |
|
|
defined so applications can override it.
|
1091 |
|
|
|
1092 |
|
|
1998-11-26 Jesper Skov
|
1093 |
|
|
|
1094 |
|
|
* include/ppc_regs.h:
|
1095 |
|
|
* src/hal_misc.c (hal_map_memory):
|
1096 |
|
|
Added handling of Guarded attribute.
|
1097 |
|
|
|
1098 |
|
|
1998-11-26 Jesper Skov
|
1099 |
|
|
|
1100 |
|
|
* include/hal_arch.h: Added definition for magic constant.
|
1101 |
|
|
|
1102 |
|
|
1998-11-26 Jesper Skov
|
1103 |
|
|
|
1104 |
|
|
* src/vectors.S:
|
1105 |
|
|
* include/hal_arch.h:
|
1106 |
|
|
* include/ppc.inc:
|
1107 |
|
|
Moved SPR definitions to ppc_regs.h.
|
1108 |
|
|
|
1109 |
|
|
1998-11-26 Jesper Skov
|
1110 |
|
|
|
1111 |
|
|
* src/vectors.S:
|
1112 |
|
|
* src/ppc_stub.c:
|
1113 |
|
|
* src/hal_misc.c:
|
1114 |
|
|
Changes due to ppc_regs.h cleanup.
|
1115 |
|
|
|
1116 |
|
|
* src/ppc_stub.h: Added convenience definition for SP register.
|
1117 |
|
|
|
1118 |
|
|
* include/ppc_regs.h: Got rid of GDB register definitions.
|
1119 |
|
|
Cleaned up a bit.
|
1120 |
|
|
|
1121 |
|
|
* include/ppc_regs.h:
|
1122 |
|
|
* include/hal_cache.h:
|
1123 |
|
|
Prefixed register names with CYGARC_REG_ to avoid name space
|
1124 |
|
|
pollution.
|
1125 |
|
|
|
1126 |
|
|
* include/hal_arch.h:
|
1127 |
|
|
* src/context.S:
|
1128 |
|
|
Replaced magic constants in jmpbuf with defines.
|
1129 |
|
|
|
1130 |
|
|
1998-11-25 Jesper Skov
|
1131 |
|
|
|
1132 |
|
|
* src/vectors.S (__start): Got rid of a few magic constants.
|
1133 |
|
|
|
1134 |
|
|
* include/hal_intr.h (HAL_CLOCK_INITIALIZE,
|
1135 |
|
|
HAL_CLOCK_RESET): Cleaned up a bit.
|
1136 |
|
|
|
1137 |
|
|
* include/ppc_regs.h: Added DC_ADR_ and TBU/TBL macros.
|
1138 |
|
|
|
1139 |
|
|
* include/hal_cache.h: Got rid of a few magic constants.
|
1140 |
|
|
Changed types in cyg_memdesc_t.
|
1141 |
|
|
* src/hal_misc.c (hal_map_memory): Changed argument types.
|
1142 |
|
|
|
1143 |
|
|
* include/hal_arch.h: Changed a few comments.
|
1144 |
|
|
|
1145 |
|
|
1998-11-23 Jesper Skov
|
1146 |
|
|
|
1147 |
|
|
* src/vectors.S: Cleaned up CYG_MSR definition.
|
1148 |
|
|
|
1149 |
|
|
* src/hal_misc.c (mem_map): Added mapping for SIM.
|
1150 |
|
|
(hal_map_memory): Added 603 BAT mapping.
|
1151 |
|
|
|
1152 |
|
|
* include/ppc_regs.h: Added definitions for BATs.
|
1153 |
|
|
|
1154 |
|
|
1998-11-19 Jesper Skov
|
1155 |
|
|
|
1156 |
|
|
* include/ppc_regs.h:
|
1157 |
|
|
* include/hal_cache.h:
|
1158 |
|
|
Use operand constants to pass macro values to assembly code.
|
1159 |
|
|
|
1160 |
|
|
1998-11-18 Jesper Skov
|
1161 |
|
|
|
1162 |
|
|
* src/context.S:
|
1163 |
|
|
* include/ppc.inc:
|
1164 |
|
|
* include/hal_arch.h:
|
1165 |
|
|
Improved GDB thread info output by making a context switch frame
|
1166 |
|
|
look like an exception/interrupt frame.
|
1167 |
|
|
|
1168 |
|
|
1998-11-18 Gary Thomas
|
1169 |
|
|
|
1170 |
|
|
* include/hal_intr.h: Add support for interrupt latency
|
1171 |
|
|
measurements, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY.
|
1172 |
|
|
|
1173 |
|
|
1998-11-18 Jesper Skov
|
1174 |
|
|
|
1175 |
|
|
* include/ppc.inc: Renamed CYG_HAL_POWERPC_MP860 to
|
1176 |
|
|
CYG_HAL_POWERPC_MPC860.
|
1177 |
|
|
|
1178 |
|
|
1998-11-17 Jesper Skov
|
1179 |
|
|
|
1180 |
|
|
* hal/powerpc/arch/current/include/hal_cache.h
|
1181 |
|
|
* hal/powerpc/arch/current/include/hal_intr.h
|
1182 |
|
|
* hal/powerpc/arch/current/include/ppc_regs.h
|
1183 |
|
|
* hal/powerpc/arch/current/src/hal_misc.c
|
1184 |
|
|
* hal/powerpc/arch/current/src/ppc_stub.c
|
1185 |
|
|
* hal/powerpc/arch/current/src/vectors.S
|
1186 |
|
|
Renamed CYG_HAL_POWERPC_MP860 to CYG_HAL_POWERPC_MPC860.
|
1187 |
|
|
|
1188 |
|
|
1998-11-16 Jesper Skov
|
1189 |
|
|
|
1190 |
|
|
* src/vectors.S:
|
1191 |
|
|
* include/hal_intr.h:
|
1192 |
|
|
Added vector translation.
|
1193 |
|
|
|
1194 |
|
|
* src/vectors.S: Use r14 instead of r15 in interrupt handler.
|
1195 |
|
|
|
1196 |
|
|
1998-11-09 Jesper Skov
|
1197 |
|
|
|
1198 |
|
|
* include/hal_cache.h: Added memory mapping structure.
|
1199 |
|
|
|
1200 |
|
|
* src/hal_misc.c (hal_MMU_init): Cleaned up memory mapping.
|
1201 |
|
|
|
1202 |
|
|
1998-11-09 Jesper Skov
|
1203 |
|
|
|
1204 |
|
|
* src/hal_misc.c (hal_enable_caches): Also disable serialization.
|
1205 |
|
|
|
1206 |
|
|
* include/ppc_regs.h: Added more register definitions.
|
1207 |
|
|
|
1208 |
|
|
1998-11-06 Jesper Skov
|
1209 |
|
|
|
1210 |
|
|
* src/vectors.S: Don't enable MMU when target is SIM. Caches are
|
1211 |
|
|
not used anyway, and there's a serious performance hit.
|
1212 |
|
|
(added comment).
|
1213 |
|
|
|
1214 |
|
|
1998-11-04 Jesper Skov
|
1215 |
|
|
|
1216 |
|
|
* include/hal_cache.h: Proper separation of SIM and MPC860 cache
|
1217 |
|
|
defines.
|
1218 |
|
|
|
1219 |
|
|
1998-11-04 Jesper Skov
|
1220 |
|
|
|
1221 |
|
|
* src/ppc_stub.c (cyg_hal_gdb_interrupt,
|
1222 |
|
|
cyg_hal_gdb_remove_break): Add cache flushes after fiddling with
|
1223 |
|
|
the program data.
|
1224 |
|
|
|
1225 |
|
|
* src/vectors.S (__default_interrupt_vsr,
|
1226 |
|
|
__default_exception_vsr): Enable MMU on entry.
|
1227 |
|
|
|
1228 |
|
|
1998-11-04 Jesper Skov
|
1229 |
|
|
|
1230 |
|
|
* src/vectors.S: Make calls to MMU init function and cache
|
1231 |
|
|
enabling function. Enable MMU.
|
1232 |
|
|
|
1233 |
|
|
* src/hal_misc.c (hal_map_memory, hal_MMU_init,
|
1234 |
|
|
hal_enable_caches): Added.
|
1235 |
|
|
|
1236 |
|
|
* include/ppc_regs.h: Added MMU register definitions.
|
1237 |
|
|
|
1238 |
|
|
* include/hal_cache.h: Enabled cache macros and made them work
|
1239 |
|
|
properly.
|
1240 |
|
|
|
1241 |
|
|
1998-11-02 Jesper Skov
|
1242 |
|
|
|
1243 |
|
|
* include/ppc_stub.h:
|
1244 |
|
|
* src/ppc_stub.c (cyg_hal_gdb_interrupt,
|
1245 |
|
|
cyg_hal_gdb_remove_break): New names for the new GDB BREAK support
|
1246 |
|
|
functions.
|
1247 |
|
|
|
1248 |
|
|
1998-11-02 Jesper Skov
|
1249 |
|
|
|
1250 |
|
|
* src/vectors.S (__default_interrupt_vsr): Fill r15 before doing
|
1251 |
|
|
cyg_hal_gdb_isr call, or it might be skipped.
|
1252 |
|
|
cyg_hal_gdb_isr now takes PC as first argument.
|
1253 |
|
|
|
1254 |
|
|
* src/ppc_stub.c:
|
1255 |
|
|
* src/ppc_stub.h:
|
1256 |
|
|
Added proper GDB interrupt support.
|
1257 |
|
|
|
1258 |
|
|
1998-10-27 Jesper Skov
|
1259 |
|
|
|
1260 |
|
|
* src/vectors.S: Also save registers 13-15 in minimum context for
|
1261 |
|
|
convenience.
|
1262 |
|
|
|
1263 |
|
|
1998-10-25 Jesper Skov
|
1264 |
|
|
|
1265 |
|
|
* src/vectors.S: Removed pkgconf/kernel.h include fix-me.
|
1266 |
|
|
|
1267 |
|
|
1998-10-23 Jesper Skov
|
1268 |
|
|
|
1269 |
|
|
* include/ppc_stub.h: Include generic-stub.h from hal.
|
1270 |
|
|
|
1271 |
|
|
Fri Oct 23 04:47:11 1998 Jonathan Larmour
|
1272 |
|
|
|
1273 |
|
|
* include/hal_cache.h:
|
1274 |
|
|
Include HAL configuration file to be sure we get all the right
|
1275 |
|
|
defines. This is a potential problem, that I had thought may be
|
1276 |
|
|
the cause of PR 17839, but that turned out to be a config tool
|
1277 |
|
|
problem
|
1278 |
|
|
|
1279 |
|
|
1998-10-16 Bart Veer
|
1280 |
|
|
|
1281 |
|
|
* src/vectors.S (__interrupt_stack):
|
1282 |
|
|
Made the interrupt stack size configurable.
|
1283 |
|
|
|
1284 |
|
|
1998-10-15 Jesper Skov
|
1285 |
|
|
|
1286 |
|
|
* src/ppc_stub.c (__computeSignal): Use SIGSYS for 'sc'
|
1287 |
|
|
exceptions.
|
1288 |
|
|
|
1289 |
|
|
1998-10-15 Jesper Skov
|
1290 |
|
|
PR 17808
|
1291 |
|
|
|
1292 |
|
|
* include/hal_arch.h (HAL_JMP_BUF_SIZE): Increased to 23.
|
1293 |
|
|
|
1294 |
|
|
* src/context.S (hal_setjmp, hal_longjmp): Also save CR[2-4].
|
1295 |
|
|
|
1296 |
|
|
1998-10-15 Jesper Skov
|
1297 |
|
|
|
1298 |
|
|
* src/vectors.S: CYGDBG_KERNEL_DEBUG_GDB_INCLUDE_STUBS changed to
|
1299 |
|
|
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
|
1300 |
|
|
|
1301 |
|
|
1998-10-15 Jesper Skov
|
1302 |
|
|
|
1303 |
|
|
* src/ppc_stub.c: Replaced include with SIGxxx
|
1304 |
|
|
definitions.
|
1305 |
|
|
|
1306 |
|
|
1998-10-15 Jesper Skov
|
1307 |
|
|
|
1308 |
|
|
* src/ppc_stub.c: Graceful error if attempted compiled for
|
1309 |
|
|
simulator.
|
1310 |
|
|
Also do proper include of dbg-threads-api.h.
|
1311 |
|
|
|
1312 |
|
|
* src/vectors.S: Changed CYG_HAL_GDB_BREAK to
|
1313 |
|
|
CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT.
|
1314 |
|
|
|
1315 |
|
|
1998-10-15 Jesper Skov
|
1316 |
|
|
|
1317 |
|
|
* src/ppc_stub.c (single_step, clear_single_step): Disable
|
1318 |
|
|
interrupts when doing a single-step.
|
1319 |
|
|
|
1320 |
|
|
1998-10-14 Nick Garnett
|
1321 |
|
|
|
1322 |
|
|
* include/hal_io.h:
|
1323 |
|
|
* src/ppc_stub.c:
|
1324 |
|
|
* src/hal_misc.c:
|
1325 |
|
|
Minor modifications to permit building without kernel.
|
1326 |
|
|
|
1327 |
|
|
1998-10-14 Jesper Skov
|
1328 |
|
|
|
1329 |
|
|
* include/hal_intr.h (HAL_QUERY_INTERRUPTS): Fixed to do the right
|
1330 |
|
|
thing.
|
1331 |
|
|
|
1332 |
|
|
1998-10-13 Jesper Skov
|
1333 |
|
|
|
1334 |
|
|
* src/ppc_stub.c:
|
1335 |
|
|
* src/hal_misc.c:
|
1336 |
|
|
Added thread support. Primarily a change in the way registers are
|
1337 |
|
|
accessed.
|
1338 |
|
|
|
1339 |
|
|
* include/hal_arch.h (HAL_GET_GDB_REGISTERS,
|
1340 |
|
|
HAL_SET_GDB_REGISTERS): Added a few more registers.
|
1341 |
|
|
|
1342 |
|
|
1998-10-12 Jesper Skov
|
1343 |
|
|
|
1344 |
|
|
* Reverted below to avoid problems with test farm. Waiting for
|
1345 |
|
|
approval of other diffs.
|
1346 |
|
|
|
1347 |
|
|
1998-10-12 Jesper Skov
|
1348 |
|
|
|
1349 |
|
|
* src/ppc_stub.c:
|
1350 |
|
|
* src/hal_misc.c:
|
1351 |
|
|
Added thread support. Primarily a change in the way registers are
|
1352 |
|
|
accessed.
|
1353 |
|
|
|
1354 |
|
|
* include/hal_arch.h (HAL_GET_GDB_REGISTERS,
|
1355 |
|
|
HAL_SET_GDB_REGISTERS): Added a few more registers.
|
1356 |
|
|
|
1357 |
|
|
1998-10-12 Jesper Skov
|
1358 |
|
|
|
1359 |
|
|
* include/ppc_stub.h: Added CYGONCE protection.
|
1360 |
|
|
Fixed warning.
|
1361 |
|
|
|
1362 |
|
|
1998-10-09 Jesper Skov
|
1363 |
|
|
|
1364 |
|
|
* include/hal_intr.h: Added HAL_TRANSLATE_VECTOR.
|
1365 |
|
|
|
1366 |
|
|
1998-10-08 Jesper Skov
|
1367 |
|
|
|
1368 |
|
|
* src/vectors.S: Protect kernel.h inclusion by CYGPKG_KERNEL.
|
1369 |
|
|
|
1370 |
|
|
1998-10-08 Jesper Skov
|
1371 |
|
|
|
1372 |
|
|
* include/hal_arch.h
|
1373 |
|
|
* include/ppc_regs.h
|
1374 |
|
|
* src/hal_misc.c
|
1375 |
|
|
Changed /**/ comments to //.
|
1376 |
|
|
|
1377 |
|
|
1998-10-08 Jesper Skov
|
1378 |
|
|
|
1379 |
|
|
* src/makefile: Removed.
|
1380 |
|
|
|
1381 |
|
|
1998-10-08 Jesper Skov
|
1382 |
|
|
|
1383 |
|
|
* include/basetype.h:
|
1384 |
|
|
* include/hal_arch.h:
|
1385 |
|
|
* include/hal_cache.h:
|
1386 |
|
|
* include/hal_intr.h:
|
1387 |
|
|
* include/hal_io.h:
|
1388 |
|
|
* include/ppc_regs.h:
|
1389 |
|
|
* include/pkgconf/hal_powerpc.h:
|
1390 |
|
|
* src/context.S:
|
1391 |
|
|
* src/hal_misc.c:
|
1392 |
|
|
* src/vectors.S:
|
1393 |
|
|
Expanded TABs.
|
1394 |
|
|
|
1395 |
|
|
1998-10-08 Jesper Skov
|
1396 |
|
|
|
1397 |
|
|
* src/vectors.S: Added GDB interrupt support.
|
1398 |
|
|
Call GDB stub init at startup.
|
1399 |
|
|
|
1400 |
|
|
1998-10-08 Jesper Skov
|
1401 |
|
|
|
1402 |
|
|
* include/ppc_regs.h: Added defines for Internal Memory Map. Added
|
1403 |
|
|
CYGONCE protection.
|
1404 |
|
|
|
1405 |
|
|
1998-10-07 Jesper Skov
|
1406 |
|
|
|
1407 |
|
|
* include/hal_io.h: Enforce in-order IO.
|
1408 |
|
|
|
1409 |
|
|
1998-10-01 Jesper Skov
|
1410 |
|
|
|
1411 |
|
|
* src/vectors.S (_start): Comment change.
|
1412 |
|
|
|
1413 |
|
|
* include/hal_intr.h: Added empty HAL_INTERRUPT_SET_LEVEL macro.
|
1414 |
|
|
|
1415 |
|
|
Thu Sep 17 17:40:01 1998 Jesper Skov
|
1416 |
|
|
|
1417 |
|
|
* src/vectors.S: Simulator does not support DER register.
|
1418 |
|
|
|
1419 |
|
|
1998-09-14 Bart Veer
|
1420 |
|
|
|
1421 |
|
|
* src/PKGconf.mak:
|
1422 |
|
|
Made vectors.o dependent on the various files that can contain
|
1423 |
|
|
makefile variables or rules. This is needed after changes to
|
1424 |
|
|
pkgconf.tcl for PRs 17195 and 17286.
|
1425 |
|
|
|
1426 |
|
|
1998-09-12 Bart Veer
|
1427 |
|
|
|
1428 |
|
|
* include/pkgconf/hal_powerpc.h:
|
1429 |
|
|
Added missing descriptions (PR 17184)
|
1430 |
|
|
|
1431 |
|
|
* src/hal_misc.c (exception_handler):
|
1432 |
|
|
Sort out exception handling options (PR 16953)
|
1433 |
|
|
|
1434 |
|
|
Fri Sep 4 12:03:54 1998 Jesper Skov
|
1435 |
|
|
|
1436 |
|
|
* src/context.S: Always save/restore CR as the compiler may only
|
1437 |
|
|
do a partial restore.
|
1438 |
|
|
|
1439 |
|
|
Thu Sep 3 10:12:46 1998 Jesper Skov
|
1440 |
|
|
|
1441 |
|
|
* include/hal_cache.h: Replaced CACHE macros with dummies. The
|
1442 |
|
|
errata for the revision A.2 MPC860 is pretty grim wrt cache side
|
1443 |
|
|
effects.
|
1444 |
|
|
|
1445 |
|
|
* include/hal_cache.h:
|
1446 |
|
|
* include/hal_io.h:
|
1447 |
|
|
* include/hal_arch.h:
|
1448 |
|
|
* include/hal_intr.h:
|
1449 |
|
|
Wrapped multi-line macros with CYG_MACRO_START/END.
|
1450 |
|
|
|
1451 |
|
|
1998-09-02 Bart Veer
|
1452 |
|
|
|
1453 |
|
|
* include/pkgconf/hal_powerpc.h:
|
1454 |
|
|
New header file for architecture-specific configuration options
|
1455 |
|
|
|
1456 |
|
|
* tests/PKGconf.mak:
|
1457 |
|
|
* src/PKGconf.mak:
|
1458 |
|
|
Sort out package naming conventions.
|
1459 |
|
|
|
1460 |
|
|
1998-09-01 Nick Garnett
|
1461 |
|
|
|
1462 |
|
|
* include/hal_intr.h:
|
1463 |
|
|
Added CYG_VSR_COUNT, CYG_EXCEPTION_COUNT and CYG_ISR_COUNT.
|
1464 |
|
|
|
1465 |
|
|
Tue Sep 1 14:43:48 1998 Jesper Skov
|
1466 |
|
|
|
1467 |
|
|
* include/hal_cache.h (HAL_DCACHE_SYNC): Write data in the cache
|
1468 |
|
|
back to memory.
|
1469 |
|
|
(HAL_ICACHE_SYNC): Do nothing.
|
1470 |
|
|
|
1471 |
|
|
Tue Sep 1 10:26:10 1998 Jesper Skov
|
1472 |
|
|
|
1473 |
|
|
* src/hal_misc.c: Define empty __eabi to override compiler
|
1474 |
|
|
generated version of the same.
|
1475 |
|
|
|
1476 |
|
|
Mon Aug 31 16:32:34 1998 Jesper Skov
|
1477 |
|
|
|
1478 |
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors): Renamed from
|
1479 |
|
|
__eabi.
|
1480 |
|
|
|
1481 |
|
|
Mon Aug 31 16:31:18 1998 Jesper Skov
|
1482 |
|
|
|
1483 |
|
|
* src/vectors.S (_start): Call C++ constructors.
|
1484 |
|
|
|
1485 |
|
|
Mon Aug 31 15:32:22 1998 Jesper Skov
|
1486 |
|
|
|
1487 |
|
|
* src/vectors.S (__default_interrupt_vsr): Added config options:
|
1488 |
|
|
CYGFUN_HAL_COMMON_KERNEL_SUPPORT and
|
1489 |
|
|
CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK.
|
1490 |
|
|
(restore_state): Moved from bottom of __default_exception_vsr to
|
1491 |
|
|
bottom of __default_interrupt_vsr.
|
1492 |
|
|
|
1493 |
|
|
Mon Aug 31 13:33:04 1998 Jesper Skov
|
1494 |
|
|
|
1495 |
|
|
* src/ppc_stub.c (__computeSignal): Added handling of MC860
|
1496 |
|
|
specific exceptions.
|
1497 |
|
|
Made VECTOR_PROGRAM decode actual exception type.
|
1498 |
|
|
|
1499 |
|
|
* include/hal_intr.h: Defined MC860 specific vectors.
|
1500 |
|
|
|
1501 |
|
|
Mon Aug 31 10:12:44 1998 Jesper Skov
|
1502 |
|
|
|
1503 |
|
|
* src/hal_misc.c:
|
1504 |
|
|
* src/vectors.S:
|
1505 |
|
|
Added ha_default_isr.
|
1506 |
|
|
|
1507 |
|
|
* include/hal_cache.h:
|
1508 |
|
|
* include/ppc_regs.h:
|
1509 |
|
|
Defined HAL_DCACHE_x macros.
|
1510 |
|
|
|
1511 |
|
|
* include/hal_arch.h:
|
1512 |
|
|
* src/hal_misc:
|
1513 |
|
|
Added hal_idle_thread_action.
|
1514 |
|
|
|
1515 |
|
|
1998-08-28 Bart Veer
|
1516 |
|
|
|
1517 |
|
|
* src/vectors.S, src/context.S, src/hal_misc.c, src/ppc_stub.c,
|
1518 |
|
|
include/hal_intr.h :
|
1519 |
|
|
Updated for new kernel configuration option symbol names
|
1520 |
|
|
|
1521 |
|
|
Fri Aug 28 17:55:46 1998 Jesper Skov
|
1522 |
|
|
|
1523 |
|
|
* src/vectors.S: Added some more comments.
|
1524 |
|
|
(_start): Disable 860 "Development Support" as it breaks PowerPC
|
1525 |
|
|
standard single-stepping exceptions.
|
1526 |
|
|
|
1527 |
|
|
* src/ppc_stub.c: Handle single-step exceptions properly. Also
|
1528 |
|
|
enable exception-after-branch.
|
1529 |
|
|
|
1530 |
|
|
Fri Aug 28 17:41:34 1998 Jesper Skov
|
1531 |
|
|
|
1532 |
|
|
* include/ppc_regs.h: Added some more definitions.
|
1533 |
|
|
|
1534 |
|
|
* include/hal_cache.h: Defined HAL_ICACHE_x macros.
|
1535 |
|
|
|
1536 |
|
|
* include/hal_arch.h (HAL_BREAKINST): Use same opcode as GDB.
|
1537 |
|
|
|
1538 |
|
|
Fri Aug 28 10:11:06 1998 Jonathan Larmour
|
1539 |
|
|
|
1540 |
|
|
* src/vectors.S (_start):
|
1541 |
|
|
Change call of main() to cyg_start(), and change comments
|
1542 |
|
|
accordingly. Definitely never call exit().
|
1543 |
|
|
|
1544 |
|
|
Thu Aug 27 15:30:27 1998 Jesper Skov
|
1545 |
|
|
|
1546 |
|
|
* include/ppc_stub.h (REGSIZE): Floats are 64 bit.
|
1547 |
|
|
|
1548 |
|
|
Thu Aug 27 13:58:16 1998 Jesper Skov
|
1549 |
|
|
|
1550 |
|
|
* src/hal_misc.c: Removed GDB C-C stuff again.
|
1551 |
|
|
|
1552 |
|
|
Wed Aug 26 16:05:53 1998 Jesper Skov
|
1553 |
|
|
|
1554 |
|
|
* src/hal_misc.c (hal_ctrlc_isr, hal_init_ctrlc_intr):
|
1555 |
|
|
Added GDB C-C support (temporary location).
|
1556 |
|
|
|
1557 |
|
|
Wed Aug 26 15:12:31 1998 Jesper Skov
|
1558 |
|
|
|
1559 |
|
|
* src/hal_misc.c (__eabi): Changed to match the constructor table
|
1560 |
|
|
generated by the linker script.
|
1561 |
|
|
|
1562 |
|
|
Wed Aug 26 09:38:07 1998 Jesper Skov
|
1563 |
|
|
|
1564 |
|
|
* include/hal_arch.h (HAL_GET_GDB_REGISTERS): Fixed typo.
|
1565 |
|
|
(HAL_SET_GDB_REGISTERS): Same.
|
1566 |
|
|
|
1567 |
|
|
1998-08-25 Nick Garnett
|
1568 |
|
|
|
1569 |
|
|
* src/vectors.S:
|
1570 |
|
|
Now pass pointer to saved registers as third argument to
|
1571 |
|
|
interrupt_end().
|
1572 |
|
|
|
1573 |
|
|
* include/hal_arch.h:
|
1574 |
|
|
Added macros to support GDB.
|
1575 |
|
|
|
1576 |
|
|
Tue Aug 25 16:57:27 1998 Jesper Skov
|
1577 |
|
|
|
1578 |
|
|
* src/ppc_stub.c: Comment changes.
|
1579 |
|
|
|
1580 |
|
|
Tue Aug 25 11:11:49 1998 Jesper Skov
|
1581 |
|
|
|
1582 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_ATTACH): Added cast to avoid
|
1583 |
|
|
compiler warning.
|
1584 |
|
|
|
1585 |
|
|
Tue Aug 25 11:08:00 1998 Jesper Skov
|
1586 |
|
|
|
1587 |
|
|
* include/hal_arch.h (HAL_REORDER_BARRIER): Added side effect to
|
1588 |
|
|
"memory".
|
1589 |
|
|
|
1590 |
|
|
Mon Aug 24 13:15:07 1998 Jesper Skov
|
1591 |
|
|
|
1592 |
|
|
* include/ppc_stub.h: Corrected NUMREGS.
|
1593 |
|
|
|
1594 |
|
|
Mon Aug 24 11:14:08 1998 Jesper Skov
|
1595 |
|
|
|
1596 |
|
|
* src/vectors.S (__default_exception_vsr): Don't access register
|
1597 |
|
|
hid0.
|
1598 |
|
|
|
1599 |
|
|
Mon Aug 24 10:37:04 1998 Jesper Skov
|
1600 |
|
|
|
1601 |
|
|
* src/vectors.S (_start): Removed non-functional OCD control.
|
1602 |
|
|
|
1603 |
|
|
1998-08-21 Nick Garnett
|
1604 |
|
|
|
1605 |
|
|
* include/hal_cache.h:
|
1606 |
|
|
Now includes cyg_type.h rather than ktypes.h.
|
1607 |
|
|
|
1608 |
|
|
Thu Aug 20 17:43:50 1998 Jesper Skov
|
1609 |
|
|
|
1610 |
|
|
* src/vectors.S: Disable OCD control to allow debugging of gdb
|
1611 |
|
|
stub.
|
1612 |
|
|
|
1613 |
|
|
* src/vectors.S: Temporary stack definition.
|
1614 |
|
|
|
1615 |
|
|
Thu Aug 20 17:37:10 1998 Jesper Skov
|
1616 |
|
|
|
1617 |
|
|
* src/hal_misc.c: Added GDB stub support.
|
1618 |
|
|
|
1619 |
|
|
* include/ppc.inc: Added some 860 register definitions.
|
1620 |
|
|
|
1621 |
|
|
* include/hal_arch.h: Added breakpoint stuff.
|
1622 |
|
|
|
1623 |
|
|
Thu Aug 20 16:07:03 1998 Jesper Skov
|
1624 |
|
|
|
1625 |
|
|
* src/PKGconf.mak: Include GDB support files.
|
1626 |
|
|
|
1627 |
|
|
Thu Aug 20 16:00:21 1998 Jesper Skov
|
1628 |
|
|
|
1629 |
|
|
* include/ppc_stub.h:
|
1630 |
|
|
* include/ppc_regs.h:
|
1631 |
|
|
* src/ppc_stub.c:
|
1632 |
|
|
Added for GDB support.
|
1633 |
|
|
|
1634 |
|
|
Tue Aug 18 18:44:00 1998 Jesper Skov
|
1635 |
|
|
|
1636 |
|
|
* include/hal_intr.h:
|
1637 |
|
|
* include/hal_arch.h:
|
1638 |
|
|
Use cyg_type.h rather than ktypes.h.
|
1639 |
|
|
|
1640 |
|
|
Tue Aug 18 18:38:43 1998 Jesper Skov
|
1641 |
|
|
|
1642 |
|
|
* include/basetype.h: Fixed typo.
|
1643 |
|
|
|
1644 |
|
|
1998-08-18 Nick Garnett
|
1645 |
|
|
|
1646 |
|
|
* src/context.S:
|
1647 |
|
|
* src/hal_misc.c:
|
1648 |
|
|
* include/hal_intr.h:
|
1649 |
|
|
* src/vectors.S:
|
1650 |
|
|
Now uses hal.h rather than kernel.h.
|
1651 |
|
|
|
1652 |
|
|
Mon Aug 17 16:23:46 1998 Jesper Skov
|
1653 |
|
|
|
1654 |
|
|
* include/hal_intr.h (HAL_DISABLE_INTERRUPTS): Fix MACRO line
|
1655 |
|
|
continuation.
|
1656 |
|
|
(HAL_RESTORE_INTERRUPTS): Same.
|
1657 |
|
|
|
1658 |
|
|
//===========================================================================
|
1659 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
1660 |
|
|
// -------------------------------------------
|
1661 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
1662 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
1663 |
|
|
//
|
1664 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
1665 |
|
|
// the terms of the GNU General Public License as published by the Free
|
1666 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
1667 |
|
|
//
|
1668 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
1669 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
1670 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
1671 |
|
|
// for more details.
|
1672 |
|
|
//
|
1673 |
|
|
// You should have received a copy of the GNU General Public License along
|
1674 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
1675 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
1676 |
|
|
//
|
1677 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
1678 |
|
|
// or inline functions from this file, or you compile this file and link it
|
1679 |
|
|
// with other works to produce a work based on this file, this file does not
|
1680 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
1681 |
|
|
// License. However the source code for this file must still be made available
|
1682 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
1683 |
|
|
//
|
1684 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
1685 |
|
|
// this file might be covered by the GNU General Public License.
|
1686 |
|
|
//
|
1687 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
1688 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
1689 |
|
|
// -------------------------------------------
|
1690 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
1691 |
|
|
//===========================================================================
|