1 |
27 |
unneback |
2003-04-10 Nick Garnett
|
2 |
|
|
|
3 |
|
|
* src/sh.ld:
|
4 |
|
|
Added entry for .stack section in data section.
|
5 |
|
|
|
6 |
|
|
2003-01-31 Mark Salter
|
7 |
|
|
|
8 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
|
9 |
|
|
handle exit.
|
10 |
|
|
|
11 |
|
|
2002-08-02 Andrew Lunn
|
12 |
|
|
|
13 |
|
|
* cdl/hal_sh.cdl: The Redboot exec command can now be
|
14 |
|
|
disabled by CDL
|
15 |
|
|
|
16 |
|
|
2002-04-30 Jesper Skov
|
17 |
|
|
|
18 |
|
|
* include/hal_var_sp.inc: Allow variant to provide custom
|
19 |
|
|
interrupt vector layout. This means the size of
|
20 |
|
|
hal_interrupt_handlers/objects/data can be reduced if the vector
|
21 |
|
|
layout is sparse. Something similar could be done for
|
22 |
|
|
_HW_EXEC_ENTRY_TABLE, saving exception_vector_int entries in the
|
23 |
|
|
$vectors_code block. However, this code usually resides in flash
|
24 |
|
|
so there's not much point given todays flash block sizes.
|
25 |
|
|
|
26 |
|
|
* cdl/hal_sh.cdl: Added CYGHWR_HAL_SH_FPU and
|
27 |
|
|
CYGHWR_HAL_SH_NO_FPU, allowing an arch level control of FPU
|
28 |
|
|
related tests.
|
29 |
|
|
Skipping test handled in a different way now, so the implements
|
30 |
|
|
statement has been deleted again.
|
31 |
|
|
|
32 |
|
|
2002-04-29 Jesper Skov
|
33 |
|
|
|
34 |
|
|
* include/hal_var_bank.inc: Define hal_exception_entry_extras and
|
35 |
|
|
hal_interrupt_entry_extras.
|
36 |
|
|
* include/hal_var_sp.inc: Define hal_exception_entry_extras and
|
37 |
|
|
hal_interrupt_entry_extras. Disable interrupts on exception
|
38 |
|
|
entry.
|
39 |
|
|
* src/vectors.S: Call hal_exception_entry_extras and
|
40 |
|
|
hal_interrupt_entry_extras.
|
41 |
|
|
|
42 |
|
|
2002-04-29 Jonathan Larmour
|
43 |
|
|
|
44 |
|
|
* src/vectors.S:
|
45 |
|
|
Don't use .file as it can confuse debugging since the .file
|
46 |
|
|
doesn't contain the path and therefore the debugger will never
|
47 |
|
|
know where it lives! This conflicts with using -Wa,--gstabs.
|
48 |
|
|
|
49 |
|
|
2002-04-15 Jonathan Larmour
|
50 |
|
|
|
51 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
|
52 |
|
|
__do_syscall.
|
53 |
|
|
|
54 |
|
|
2002-04-22 Jesper Skov
|
55 |
|
|
|
56 |
|
|
* include/hal_var_sp.inc: 7044 needs different vector layout than
|
57 |
|
|
76xx since its vectors are hardwired.
|
58 |
|
|
|
59 |
|
|
2002-04-18 Jesper Skov
|
60 |
|
|
|
61 |
|
|
* include/hal_var_sp.inc: Do no translation of entry address if
|
62 |
|
|
cache module defines CYGARC_SH_MOD_CAC_NO_WINDOWS.
|
63 |
|
|
|
64 |
|
|
* include/hal_intr_vecs.h: Move all vectors after IRQ7 to variant
|
65 |
|
|
header. Define _IRQ and _LVL for all of the first 7
|
66 |
|
|
interrupts. Define CYGNUM_HAL_INTERRUPT_LVL_MAX
|
67 |
|
|
|
68 |
|
|
2002-03-06 Jesper Skov
|
69 |
|
|
|
70 |
|
|
* include/hal_var_sp.inc: Fix asm comments.
|
71 |
|
|
|
72 |
|
|
2002-02-28 Jesper Skov
|
73 |
|
|
|
74 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Added.
|
75 |
|
|
* src/sh_stub.c (__is_bsp_syscall): Added.
|
76 |
|
|
* cdl/hal_sh.cdl: Build hal_syscall.c
|
77 |
|
|
|
78 |
|
|
2002-02-27 Jesper Skov
|
79 |
|
|
|
80 |
|
|
* src/sh_stub.c (__computeSignal): Changed to use DATA_ACCESS
|
81 |
|
|
names as well.
|
82 |
|
|
* include/hal_intr_vecs.h (_CYGNUM_HAL_VECTOR_FIRST_MEM_FAULT,
|
83 |
|
|
_CYGNUM_HAL_VECTOR_LAST_MEM_FAULT): Same.
|
84 |
|
|
|
85 |
|
|
2002-02-26 Jesper Skov
|
86 |
|
|
|
87 |
|
|
* include/hal_intr_vecs.h: Use DATA_ACCESS vector names instead of
|
88 |
|
|
ADDRESS_ERROR names.
|
89 |
|
|
|
90 |
|
|
2002-02-15 Jesper Skov
|
91 |
|
|
|
92 |
|
|
* src/sh_stub.c (__single_step): Use normal breakpoint instruction
|
93 |
|
|
(trapa #32) for single-stepping.
|
94 |
|
|
On the SH2 the use of trapa#255 causes a different (and unhandled)
|
95 |
|
|
exception, in the range reserved for application
|
96 |
|
|
exceptions/interrupts.
|
97 |
|
|
|
98 |
|
|
2002-02-14 Jesper Skov
|
99 |
|
|
|
100 |
|
|
* include/hal_var_bank.h: Switch mach/macl entries.
|
101 |
|
|
* include/hal_var_sp.h: Same.
|
102 |
|
|
|
103 |
|
|
* include/hal_var_sp.inc: Reserve (additional) trampoline for NMI
|
104 |
|
|
to make eCos interrupt numbers match. Make traps use trap numbers
|
105 |
|
|
32-64.
|
106 |
|
|
(hal_cpu_save_regs): Remember to adjust SP for R0 save location.
|
107 |
|
|
(hal_cpu_restore_regs_return): Rewritten to fix errors and allow
|
108 |
|
|
SP to be changed from GDB.
|
109 |
|
|
|
110 |
|
|
2002-02-13 Jesper Skov
|
111 |
|
|
|
112 |
|
|
* src/context.S (hal_thread_load_context): Load up stack pointer
|
113 |
|
|
before enabling interrupts.
|
114 |
|
|
|
115 |
|
|
* include/hal_var_sp.inc: Fetch the VSR pointer and jump to it
|
116 |
|
|
instead of into the VSR table.
|
117 |
|
|
(hal_cpu_restore_regs_return): adjust sp to point to exception
|
118 |
|
|
state before returning.
|
119 |
|
|
|
120 |
|
|
2002-02-08 Jesper Skov
|
121 |
|
|
|
122 |
|
|
* src/vectors.S: tweak ROMRAM relocation code.
|
123 |
|
|
|
124 |
|
|
2002-02-07 Jesper Skov
|
125 |
|
|
|
126 |
|
|
* include/hal_var_sp.inc: Moved _reset code to below vectors.
|
127 |
|
|
|
128 |
|
|
2002-01-17 Jesper Skov
|
129 |
|
|
|
130 |
|
|
* include/hal_var_bank.inc: Include SH3 register references. Make
|
131 |
|
|
better use of some delay slots.
|
132 |
|
|
|
133 |
|
|
* src/vectors.S: Don't save exception/interrupt state on stack
|
134 |
|
|
with debug markers. Load up event value in R4 before calling
|
135 |
|
|
hal_intc_decode so it can be a nop if desired. Removed some SH3
|
136 |
|
|
register references.
|
137 |
|
|
|
138 |
|
|
* include/hal_var_sp.inc: Include SH2 offsets, export
|
139 |
|
|
_HW_EXC_ENTRY_TABLE, fix some typos.
|
140 |
|
|
|
141 |
|
|
* include/hal_intr_vecs.h: IRL vectors renamed. Added IRQ
|
142 |
|
|
vectors.
|
143 |
|
|
|
144 |
|
|
2002-01-16 Jesper Skov
|
145 |
|
|
|
146 |
|
|
* include/hal_var_bank.h: Fix typo.
|
147 |
|
|
|
148 |
|
|
* src/sh_stub.c (__computeSignal): Only handle defined vectors.
|
149 |
|
|
|
150 |
|
|
* include/hal_intr_vecs.h: Decode NMI as interrupt 0, moved all
|
151 |
|
|
other vectors. Provide MEM_FAULT vector range.
|
152 |
|
|
* include/hal_var_sp.inc: Changes for NMI-as-interrupt-0.
|
153 |
|
|
* include/hal_var_sp.h: Renamed vector to event to share code.
|
154 |
|
|
|
155 |
|
|
* include/hal_intr_excevt.h: Added MEM_FAULT vector ranges and
|
156 |
|
|
CYGHWR_SH_RTC_TIMER_IS_TMU.
|
157 |
|
|
* src/hal_misc.c (hal_delay_us): Only build if
|
158 |
|
|
CYGHWR_SH_RTC_TIMER_IS_TMU. Use MEM_FAULT vector range.
|
159 |
|
|
|
160 |
|
|
* include/hal_intr.h: Deleted clock controls.
|
161 |
|
|
|
162 |
|
|
* cdl/hal_sh.cdl: Use CYGNUM_HAL_RTC_PRESCALE instread of
|
163 |
|
|
module-specific prescale variable.
|
164 |
|
|
|
165 |
|
|
* include/hal_intr_excevt.h (_CYGNUM_HAL_VECTOR_FIRST_MEM_FAULT,
|
166 |
|
|
_CYGNUM_HAL_VECTOR_LAST_MEM_FAULT): Define.
|
167 |
|
|
* include/hal_intr_vecs.h: Same.
|
168 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler): Use new _MEM_FAULT
|
169 |
|
|
vector range.
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
* include/hal_intr_vecs.h: Removed RTC code.
|
173 |
|
|
|
174 |
|
|
* include/hal_arch.h: Changed breakpoint instruction to match that
|
175 |
|
|
used in GDB 5.1.
|
176 |
|
|
It also makes better sense on the SH2.
|
177 |
|
|
|
178 |
|
|
* include/hal_intr_excevt.h: Interrupt/exception vectors and clock
|
179 |
|
|
handling code moved here...
|
180 |
|
|
* include/hal_intr.h: From here.
|
181 |
|
|
* include/hal_intr_vecs.h: Interrupt/exception vector layout +
|
182 |
|
|
clock handling for SH1/SH2 variants.
|
183 |
|
|
|
184 |
|
|
* include/hal_var_sp.inc: Added some comments, fixed number of
|
185 |
|
|
pre-VSR vectors, renamed HW_VSR_TABLE to HW_EXC_ENTRY_TABLE to
|
186 |
|
|
avoid confusion (it has nothing to do with eCos VSRs). Finally,
|
187 |
|
|
made the pre-VSR stuff only compile when really required (since
|
188 |
|
|
it's 4KiB).
|
189 |
|
|
|
190 |
|
|
2002-01-14 Jesper Skov
|
191 |
|
|
|
192 |
|
|
* include/hal_arch.h: Moved HAL_SavedRegisters structure to
|
193 |
|
|
bank variant headers. Same with HAL_THREAD_INIT_CONTEXT,
|
194 |
|
|
HAL_THREAD_GET_SAVED_REGISTERS, HAL_GET_GDB_REGISTERS,
|
195 |
|
|
HAL_SET_GDB_REGISTERS, CYGARC_BUS_ADDRESS, CYGARC_CACHED_ADDRESS,
|
196 |
|
|
and CYGARC_UNCACHED_ADDRESS.
|
197 |
|
|
* src/vectors.S: Moved exception/interrupt entry code to bank
|
198 |
|
|
variant include file.
|
199 |
|
|
* include/hal_var_sp.inc: Added. Contains (new) vectors.S stuff
|
200 |
|
|
for SH2.
|
201 |
|
|
* include/hal_var_sp.h: Added. Contains (new) hal_arch.h stuff for
|
202 |
|
|
SH2 variant.
|
203 |
|
|
* include/hal_var_bank.inc: Added. Contains old vectors.S stuff
|
204 |
|
|
for SH3/SH4 variants.
|
205 |
|
|
* include/hal_var_bank.h: Added. Contains old hal_arch.h stuff for
|
206 |
|
|
SH3/SH4 variants.
|
207 |
|
|
|
208 |
|
|
* src/hal_mk_defs.c: Added conversion for entry stack.
|
209 |
|
|
|
210 |
|
|
2001-11-16 Nick Garnett
|
211 |
|
|
|
212 |
|
|
* src/hal_misc.c (hal_msbit_index): Fixed this function so that it
|
213 |
|
|
actually works!
|
214 |
|
|
|
215 |
|
|
2001-10-15 David Howells
|
216 |
|
|
|
217 |
|
|
* cdl/hal_sh.cdl: improved the description on the RTC constants
|
218 |
|
|
component.
|
219 |
|
|
|
220 |
|
|
2001-10-11 Jesper Skov
|
221 |
|
|
|
222 |
|
|
* src/hal_mk_defs.c (main): Fixed warning.
|
223 |
|
|
|
224 |
|
|
2001-10-01 Jonathan Larmour
|
225 |
|
|
|
226 |
|
|
* src/sh.ld: Make separate section for GOT and .eh_frame.
|
227 |
|
|
Make macro section for all reloc sections.
|
228 |
|
|
Input extras.o unconditionally.
|
229 |
|
|
* cdl/hal_sh.cdl: Don't bother with -DEXTRAS=1 - unconditional now.
|
230 |
|
|
|
231 |
|
|
2001-09-12 Jesper Skov
|
232 |
|
|
|
233 |
|
|
* src/vectors.S: Don't include C intr header.
|
234 |
|
|
|
235 |
|
|
2001-09-11 Jonathan Larmour
|
236 |
|
|
|
237 |
|
|
* cdl/hal_sh.cdl (CYGHWR_HAL_SH_BIGENDIAN): Set the default
|
238 |
|
|
from what the platform requests, using the new
|
239 |
|
|
CYGINT_HAL_SH_PLF_LITTLEENDIAN_DEFAULT CDL interface.
|
240 |
|
|
|
241 |
|
|
* src/sh.ld: Support .rel.got input sections.
|
242 |
|
|
|
243 |
|
|
2001-09-05 Jesper Skov
|
244 |
|
|
|
245 |
|
|
* src/sh_stub.c (__single_step): Changed type 2 handling.
|
246 |
|
|
|
247 |
|
|
2001-08-22 Gary Thomas
|
248 |
|
|
|
249 |
|
|
* src/redboot_linux_exec.c:
|
250 |
|
|
printf() is no longer a part of RedBoot. Thus all programs
|
251 |
|
|
must use diag_printf() and related functions instead.
|
252 |
|
|
|
253 |
|
|
2001-07-09 Jesper Skov
|
254 |
|
|
|
255 |
|
|
* src/sh_stub.c: Fixed potential SH4 problem in UBC handling.
|
256 |
|
|
|
257 |
|
|
2001-07-02 Jesper Skov
|
258 |
|
|
|
259 |
|
|
* include/hal_arch.h: CYGARC_PHYSICAL_ADDRESS renamed to
|
260 |
|
|
CYGARC_BUS_ADDRESS.
|
261 |
|
|
|
262 |
|
|
2001-06-27 Jesper Skov
|
263 |
|
|
|
264 |
|
|
* include/hal_arch.h: Added CPU address space translation macros.
|
265 |
|
|
|
266 |
|
|
2001-06-19 Jesper Skov
|
267 |
|
|
|
268 |
|
|
* src/redboot_linux_exec.c: Only base address, entry and cmdline
|
269 |
|
|
options are always used. Other commands only affect image if
|
270 |
|
|
set. This allows combined kernel&initrd images to be loaded in one
|
271 |
|
|
file where the initrd address & size is already recorded at the
|
272 |
|
|
start of the image.
|
273 |
|
|
|
274 |
|
|
From YAEGASHI Takeshi with a few changes:
|
275 |
|
|
* cdl/hal_sh.cdl: Added RedBoot exec command options.
|
276 |
|
|
* src/redboot_linux_exec.c: Added.
|
277 |
|
|
|
278 |
|
|
2001-05-29 Jesper Skov
|
279 |
|
|
|
280 |
|
|
* include/hal_io.h: Include var_io.h
|
281 |
|
|
|
282 |
|
|
2001-05-28 Jesper Skov
|
283 |
|
|
|
284 |
|
|
* src/sh.ld: Added .2ram section handling.
|
285 |
|
|
|
286 |
|
|
2001-01-26 Jesper Skov
|
287 |
|
|
|
288 |
|
|
* tests/intr0.c: Moved test header inclusion to proper location.
|
289 |
|
|
|
290 |
|
|
2001-01-18 Jesper Skov
|
291 |
|
|
|
292 |
|
|
Case 105302
|
293 |
|
|
* src/vectors.S: Moved ILVL table to variant code.
|
294 |
|
|
* tests/intr0.c: Added.
|
295 |
|
|
|
296 |
|
|
2001-01-04 Jesper Skov
|
297 |
|
|
|
298 |
|
|
* src/sh.ld: Make sure .data and .bss section sizes are aligned.
|
299 |
|
|
|
300 |
|
|
2000-12-13 Jesper Skov
|
301 |
|
|
2000-12-13 Jonathan Larmour
|
302 |
|
|
|
303 |
|
|
* src/vectors.S (__reset): Use proper entry pointer for ROMRAM
|
304 |
|
|
startup type.
|
305 |
|
|
|
306 |
|
|
2000-12-08 Jesper Skov
|
307 |
|
|
|
308 |
|
|
* src/vectors.S (cyg_scheduler_sched_lock): Changed to use
|
309 |
|
|
SYM_PTR_REF. Brian Danilko spotted this.
|
310 |
|
|
|
311 |
|
|
2000-11-24 Jonathan Larmour
|
312 |
|
|
|
313 |
|
|
* src/sh.ld: _reset should be adorned with CYG_LABEL_DEFN
|
314 |
|
|
* src/vectors.S: CYG_LABEL_DEFN should have been used everywhere
|
315 |
|
|
that CYG_LABEL_NAME was used, except for the scheduler lock which
|
316 |
|
|
is special as it is defined in C as an asm alias.
|
317 |
|
|
* include/arch.inc: Similarly here for symbol macros
|
318 |
|
|
|
319 |
|
|
* include/basetype.h (CYG_LABEL_NAME): Delete. This is now obsolete.
|
320 |
|
|
|
321 |
|
|
2000-11-22 Jesper Skov
|
322 |
|
|
|
323 |
|
|
* src/sh.ld: Added mangling to all symbols.
|
324 |
|
|
* src/vectors.S: Same. Plus introduce macro to simplify (a bit)
|
325 |
|
|
the definition of inline immediate constants.
|
326 |
|
|
|
327 |
|
|
* include/sh_regs.h: Include HAL config.
|
328 |
|
|
|
329 |
|
|
* include/hal_arch.h: Don't prefix with _ in HAL_BREAKPOINT.
|
330 |
|
|
* src/sh_stub.c: Matching changes - hack to handle both
|
331 |
|
|
conventions.
|
332 |
|
|
|
333 |
|
|
* include/basetype.h: Made CYG_LABEL_DEFN depend on toolchain.
|
334 |
|
|
|
335 |
|
|
* include/arch.inc: Added symbol ref/def macros.
|
336 |
|
|
* src/context.S: Removed FUNC_START macro.
|
337 |
|
|
|
338 |
|
|
2000-11-09 Jesper Skov
|
339 |
|
|
|
340 |
|
|
* src/sh_stub.c (__single_step): Fix CPP problem.
|
341 |
|
|
|
342 |
|
|
2000-10-31 Jesper Skov
|
343 |
|
|
|
344 |
|
|
|
345 |
|
|
* include/mod_7707a.h: Moved to SH3 HAL.
|
346 |
|
|
* include/mod_7708.h: Same.
|
347 |
|
|
* include/mod_7709a.h: Same.
|
348 |
|
|
* include/mod_7729.h: Same.
|
349 |
|
|
* include/sh3_sci.h: Same.
|
350 |
|
|
* include/sh3_scif.h: Same.
|
351 |
|
|
* src/sh3_sci.c: Same.
|
352 |
|
|
* src/sh3_scif.c: Same.
|
353 |
|
|
|
354 |
|
|
* include/hal_cache.h: Moved SH3 code out to new SH3 HAL.
|
355 |
|
|
* cdl/hal_sh.cdl: Same.
|
356 |
|
|
* include/hal_intr.h: Same.
|
357 |
|
|
* include/sh_regs.h: Same.
|
358 |
|
|
* src/hal_misc.c: Same.
|
359 |
|
|
* src/hal_mk_defs.c: Same.
|
360 |
|
|
|
361 |
|
|
* src/vectors.S: Changed to support SH4. Moved CPU post-reset init
|
362 |
|
|
code to variant HALs. Moved interrupt decoding to variant HAL
|
363 |
|
|
macros. Moved cache code to variant HALs.
|
364 |
|
|
|
365 |
|
|
2000-10-24 Jesper Skov
|
366 |
|
|
|
367 |
|
|
* src/vectors.S (hal_hw_init): Added errata comment.
|
368 |
|
|
|
369 |
|
|
2000-10-23 Jesper Skov
|
370 |
|
|
|
371 |
|
|
* src/hal_misc.c: Always include hal_intr.h
|
372 |
|
|
|
373 |
|
|
* src/sh3_sci.c: Use specified value for default baud rate.
|
374 |
|
|
* src/sh3_scif.c: Same.
|
375 |
|
|
|
376 |
|
|
2000-10-20 Jesper Skov
|
377 |
|
|
|
378 |
|
|
* src/hal_misc.c: Update __mem_fault_handler declaration.
|
379 |
|
|
|
380 |
|
|
2000-10-19 Jesper Skov
|
381 |
|
|
|
382 |
|
|
* include/sh_regs.h (CYGARC_REG_WCR1_0WS, CYGARC_REG_WCR2_0WS):
|
383 |
|
|
Added for consistent init code.
|
384 |
|
|
|
385 |
|
|
2000-10-17 Jesper Skov
|
386 |
|
|
|
387 |
|
|
* src/vectors.S (__reset_platform): Rearrange constants used in
|
388 |
|
|
early init code.
|
389 |
|
|
|
390 |
|
|
2000-10-16 Jonathan Larmour
|
391 |
|
|
|
392 |
|
|
* include/hal_arch.h (CYGARC_JMP_BUF_SIZE): Define hal_jmp_buf in
|
393 |
|
|
terms of this.
|
394 |
|
|
|
395 |
|
|
2000-10-11 Jesper Skov
|
396 |
|
|
|
397 |
|
|
* src/vectors.S (__reset_platform): Clear watchdog control flags.
|
398 |
|
|
Added missing NOP in bra delay slot.
|
399 |
|
|
|
400 |
|
|
* src/hal_misc.c (hal_delay_us): Updated to use the correct config
|
401 |
|
|
constants.
|
402 |
|
|
|
403 |
|
|
* cdl/hal_sh.cdl: Fix typo.
|
404 |
|
|
|
405 |
|
|
* include/sh_regs.h: Added macros to compute CYGARC_RTCSR init
|
406 |
|
|
values for SDRAM refresh. Needs to be backed up by generic CDL
|
407 |
|
|
configury for memory controller.
|
408 |
|
|
|
409 |
|
|
2000-10-10 Jesper Skov
|
410 |
|
|
|
411 |
|
|
* include/sh_regs.h: Compute CPG init value for all versions.
|
412 |
|
|
|
413 |
|
|
* include/mod_7707a.h: Added CPG version.
|
414 |
|
|
* include/mod_7708.h: Same.
|
415 |
|
|
* include/mod_7709a.h: Same.
|
416 |
|
|
* include/mod_7729.h: Same.
|
417 |
|
|
|
418 |
|
|
* cdl/hal_sh.cdl: Support various CPG versions.
|
419 |
|
|
|
420 |
|
|
2000-10-05 Jesper Skov
|
421 |
|
|
|
422 |
|
|
* src/sh_stub.c: Handle UBC versions in CPUs currently supported
|
423 |
|
|
by HAL.
|
424 |
|
|
* include/sh_regs.h: Added UBC version differences.
|
425 |
|
|
* include/mod_7707a.h: Specify UBC version.
|
426 |
|
|
* include/mod_7708.h: Ditto.
|
427 |
|
|
* include/mod_7709a.h: Ditto.
|
428 |
|
|
* include/mod_7729.h: Ditto.
|
429 |
|
|
|
430 |
|
|
* src/hal_misc.c: Skip IRQ0-3 handling in IRQIRL mode.
|
431 |
|
|
* include/sh_regs.h: Define interrupt controler init value.
|
432 |
|
|
* src/vectors.S: Use interrupt controller init value.
|
433 |
|
|
* cdl/hal_sh.cdl: Put CPU type/endian mode in a component. Added
|
434 |
|
|
interrupt control options.
|
435 |
|
|
|
436 |
|
|
2000-10-03 Jesper Skov
|
437 |
|
|
|
438 |
|
|
* src/vectors.S: Added flush function. Changes to cache_write_mode
|
439 |
|
|
function.
|
440 |
|
|
|
441 |
|
|
* src/hal_mk_defs.c: Added cache definitions.
|
442 |
|
|
|
443 |
|
|
* src/hal_misc.c (cyg_hal_enable_caches): Let config control cache
|
444 |
|
|
init.
|
445 |
|
|
* include/hal_cache.h: Added flush macro. Changes to allow
|
446 |
|
|
mode function to handle different settings for the two
|
447 |
|
|
controllable areas.
|
448 |
|
|
|
449 |
|
|
* cdl/hal_sh.cdl: Added cache controls.
|
450 |
|
|
|
451 |
|
|
2000-09-26 Jesper Skov
|
452 |
|
|
|
453 |
|
|
* include/sh_regs.h: Added computation of initial FRQCR
|
454 |
|
|
value. Made watchdog timeout time depend on the proper clock
|
455 |
|
|
setting.
|
456 |
|
|
|
457 |
|
|
* include/hal_intr.h (HAL_CLOCK_INITIALIZE): Allow timer
|
458 |
|
|
prescaling to be controlled. Fix typo.
|
459 |
|
|
|
460 |
|
|
* cdl/hal_sh.cdl: Added options to properly compute/control the
|
461 |
|
|
various clock signals.
|
462 |
|
|
|
463 |
|
|
2000-09-25 Jesper Skov
|
464 |
|
|
|
465 |
|
|
* src/sh3_scif.c (cyg_hal_plf_scif_init_channel): Use _SCBRR_
|
466 |
|
|
macros.
|
467 |
|
|
|
468 |
|
|
* include/sh_regs.h (CYGARC_SCBRR_CKSx, CYGARC_SCBRR_N): Removed
|
469 |
|
|
duplicates of the macros. Compute _CKSx properly.
|
470 |
|
|
|
471 |
|
|
2000-09-06 Gary Thomas
|
472 |
|
|
|
473 |
|
|
* include/mod_7729.h: Includes PFC (programmable I/O) module.
|
474 |
|
|
|
475 |
|
|
2000-09-06 Jesper Skov
|
476 |
|
|
|
477 |
|
|
* cdl/hal_sh.cdl: Added 7729 option.
|
478 |
|
|
|
479 |
|
|
2000-08-31 Jesper Skov
|
480 |
|
|
|
481 |
|
|
* include/mod_7709a.h: Added UBC definition.
|
482 |
|
|
* include/mod_7708.h: Same.
|
483 |
|
|
* include/mod_7729.h: Same.
|
484 |
|
|
* include/mod_7707a.h: Same.
|
485 |
|
|
* include/sh_regs.h: Extra UBC definitions.
|
486 |
|
|
* src/sh_stub.c: If core supports UBC, use it for
|
487 |
|
|
single-stepping.
|
488 |
|
|
|
489 |
|
|
2000-08-29 Jesper Skov
|
490 |
|
|
|
491 |
|
|
* include/mod_7729.h: Added.
|
492 |
|
|
|
493 |
|
|
2000-07-20 Jesper Skov
|
494 |
|
|
|
495 |
|
|
* src/sh_stub.c (__single_step): Skip trap instructions.
|
496 |
|
|
|
497 |
|
|
2000-07-18 Gary Thomas
|
498 |
|
|
|
499 |
|
|
* src/vectors.S (__reset): Change calculation of uncached startup
|
500 |
|
|
address.
|
501 |
|
|
* include/mod_7707a.h: 7707a has 32K caches (we believe).
|
502 |
|
|
|
503 |
|
|
2000-07-17 Gary Thomas
|
504 |
|
|
|
505 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler): Handle exception caused by
|
506 |
|
|
GDB stubs memory accesses.
|
507 |
|
|
|
508 |
|
|
2000-07-16 Gary Thomas
|
509 |
|
|
|
510 |
|
|
* include/hal_intr.h: Define HAL_DELAY_US() - see below.
|
511 |
|
|
|
512 |
|
|
* src/hal_misc.c (hal_delay_us): New function. Used in ROM/stand-alone
|
513 |
|
|
applications when there is no kernel.
|
514 |
|
|
|
515 |
|
|
2000-07-15 Gary Thomas
|
516 |
|
|
|
517 |
|
|
* include/sh_regs.h: Add additional 7707 registers.
|
518 |
|
|
|
519 |
|
|
2000-07-06 Jesper Skov
|
520 |
|
|
|
521 |
|
|
* src/vectors.S:
|
522 |
|
|
* include/mod_7707a.h:
|
523 |
|
|
* include/hal_intr.h:
|
524 |
|
|
* include/sh_regs.h:
|
525 |
|
|
Added additional 7707 interrupt vectors.
|
526 |
|
|
|
527 |
|
|
2000-06-30 Jesper Skov
|
528 |
|
|
|
529 |
|
|
* src/vectors.S (__reset): Jump to VMA for RAM startup.
|
530 |
|
|
(_complete_setup): Fix merge bug.
|
531 |
|
|
|
532 |
|
|
* src/sh3_scif.c:
|
533 |
|
|
* src/sh3_sci.c:
|
534 |
|
|
calling i/f macro changes.
|
535 |
|
|
|
536 |
|
|
* src/vectors.S (__reset): Fix alignment problem.
|
537 |
|
|
|
538 |
|
|
2000-06-29 Gary Thomas
|
539 |
|
|
|
540 |
|
|
* src/vectors.S: Reorg initialization (reset) code to be all
|
541 |
|
|
in one, non-fixed location. Required for platforms with more
|
542 |
|
|
complex initialization sequences.
|
543 |
|
|
|
544 |
|
|
2000-06-29 Jesper Skov
|
545 |
|
|
|
546 |
|
|
* src/sh3_sci.c:
|
547 |
|
|
* src/sh3_scif.c:
|
548 |
|
|
Use per-channel data structure instead of code cruft.
|
549 |
|
|
|
550 |
|
|
2000-06-28 Jesper Skov
|
551 |
|
|
|
552 |
|
|
* include/sh3_sci.h: [added]
|
553 |
|
|
* include/sh3_scif.h: [added]
|
554 |
|
|
* include/sh3_scif.inl: [removed]
|
555 |
|
|
* include/sh_sci.inl: [removed]
|
556 |
|
|
* src/sh3_sci.c: [added]
|
557 |
|
|
* src/sh3_scif.c: [added]
|
558 |
|
|
* cdl/hal_sh.cdl:
|
559 |
|
|
Rewrote serial drivers for comm procs usage.
|
560 |
|
|
|
561 |
|
|
2000-06-27 Jesper Skov
|
562 |
|
|
|
563 |
|
|
* src/vectors.S: Added arch and platform init calls. Added ctrlc
|
564 |
|
|
init call. Replaced old BREAK magic with new ctrlc magic.
|
565 |
|
|
|
566 |
|
|
* src/sh.ld: Added extra _ on NETDEVTAB labels. Define
|
567 |
|
|
hal_virtual_vector_table.
|
568 |
|
|
|
569 |
|
|
* src/hal_misc.c: hal_default_isr moved to common HAL.
|
570 |
|
|
|
571 |
|
|
* cdl/hal_sh.cdl: Also build simple drivers.
|
572 |
|
|
|
573 |
|
|
2000-06-21 Nick Garnett
|
574 |
|
|
|
575 |
|
|
* src/sh_stub.c (__is_breakpoint_function): Removed use of
|
576 |
|
|
CYG_LABEL_NAME() and added underscore to _breakinst.
|
577 |
|
|
|
578 |
|
|
* src/context.S: Switched use of CYG_LABEL_NAME() to
|
579 |
|
|
CYG_LABEL_DEFN().
|
580 |
|
|
|
581 |
|
|
* include/basetype.h: Removed definition of CYG_LABEL_NAME() and
|
582 |
|
|
added CYG_LABEL_DEFN().
|
583 |
|
|
|
584 |
|
|
* src/sh.ld: Switched to new table definition mechanism.
|
585 |
|
|
|
586 |
|
|
2000-06-15 Jesper Skov
|
587 |
|
|
|
588 |
|
|
* include/hal_intr.h: Added HAL_DEFAULT_ISR.
|
589 |
|
|
|
590 |
|
|
2000-06-08 Jesper Skov
|
591 |
|
|
|
592 |
|
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
593 |
|
|
Added.
|
594 |
|
|
|
595 |
|
|
* include/mod_7708.h:
|
596 |
|
|
* include/mod_7709a.h:
|
597 |
|
|
* src/vectors.S:
|
598 |
|
|
Minor config change to get rid of growing list of variant checks.
|
599 |
|
|
|
600 |
|
|
2000-06-08 Jesper Skov
|
601 |
|
|
|
602 |
|
|
* include/mod_7707a.h:
|
603 |
|
|
* src/vectors.S:
|
604 |
|
|
* cdl/hal_sh.cdl:
|
605 |
|
|
Added first level of support for 7707A variant.
|
606 |
|
|
|
607 |
|
|
2000-06-06 Jesper Skov
|
608 |
|
|
|
609 |
|
|
* src/vectors.S: INTEVT2 is not defined on all variants. Protect
|
610 |
|
|
accordingly. (Haruki Kashiwaya)
|
611 |
|
|
|
612 |
|
|
2000-05-08 Jesper Skov
|
613 |
|
|
|
614 |
|
|
* cdl/hal_sh.cdl: Make sure CPU variant definition ends up in
|
615 |
|
|
system.h
|
616 |
|
|
|
617 |
|
|
2000-05-01 Jesper Skov
|
618 |
|
|
|
619 |
|
|
* include/mod_7709a.h:
|
620 |
|
|
* include/sh_regs.h:
|
621 |
|
|
Add PFC/C definitions.
|
622 |
|
|
|
623 |
|
|
2000-04-26 Jesper Skov
|
624 |
|
|
|
625 |
|
|
* src/hal_mk_defs.c: Added some caching data.
|
626 |
|
|
|
627 |
|
|
* src/vectors.S:
|
628 |
|
|
* include/hal_cache.h:
|
629 |
|
|
Rewrote caching functions in assembly with appropriate magic to
|
630 |
|
|
have the code execute out of a non-cachable memory shadow.
|
631 |
|
|
|
632 |
|
|
2000-04-25 Jesper Skov
|
633 |
|
|
|
634 |
|
|
* include/hal_cache.h (HAL_UCACHE_WRITE_MODE): Also wiggle the WT
|
635 |
|
|
bit. It has opposite polarity of the CB bit.
|
636 |
|
|
|
637 |
|
|
2000-04-25 Jesper Skov
|
638 |
|
|
|
639 |
|
|
* src/vectors.S: Init IPRC-E. Force IRQ mode.
|
640 |
|
|
* include/hal_intr.h: Added IRQ0-IRQ3 entries. Added simple
|
641 |
|
|
interrupt configuration and acknowledge.
|
642 |
|
|
* include/sh_regs.h: Added more interrupt control definitions.
|
643 |
|
|
|
644 |
|
|
2000-04-12 Jesper Skov
|
645 |
|
|
|
646 |
|
|
* src/vectors.S: Entry code rewritten to allow ROMRAM startups.
|
647 |
|
|
|
648 |
|
|
* src/sh.ld: Change LMA alignment to 16 (workaround
|
649 |
|
|
902557-CR). Provide vector LMA address.
|
650 |
|
|
|
651 |
|
|
* include/sh_sci.inl: Replaced hardcoded baud rate constant with
|
652 |
|
|
macro function.
|
653 |
|
|
|
654 |
|
|
* cdl/hal_sh.cdl: Don't let interface define anything.
|
655 |
|
|
|
656 |
|
|
2000-04-10 Jesper Skov
|
657 |
|
|
|
658 |
|
|
* src/vectors.S: Get interrupt event code from the proper register.
|
659 |
|
|
Removed some platform specific debug code. Let cyg_hal_gdb_isr
|
660 |
|
|
deal with C-c issues.
|
661 |
|
|
|
662 |
|
|
* include/sh_regs.h: Moved module registers to
|
663 |
|
|
0xa0000000-0xc0000000 which is also non-cachable. The reason is
|
664 |
|
|
that EVENT2 can only be accessed at 0xa4000000.
|
665 |
|
|
|
666 |
|
|
* include/sh3_scif.inl: Read back SR before clearing it (or the
|
667 |
|
|
clear don't have an effect).
|
668 |
|
|
|
669 |
|
|
* include/hal_intr.h: Mask/unmask functions handle entire ISR
|
670 |
|
|
range now.
|
671 |
|
|
|
672 |
|
|
2000-04-07 Jesper Skov
|
673 |
|
|
|
674 |
|
|
* include/sh3_scif.inl: Status register is 16 bit wide, not 8.
|
675 |
|
|
|
676 |
|
|
* include/sh_regs.h: Access all module registers in the space
|
677 |
|
|
0xe0000000-0xffffffff since caching is disabled here.
|
678 |
|
|
|
679 |
|
|
2000-04-06 Jesper Skov
|
680 |
|
|
|
681 |
|
|
* src/sh.ld (_hal_vsr_table): Get address from platform CDL.
|
682 |
|
|
|
683 |
|
|
2000-04-04 Jesper Skov
|
684 |
|
|
|
685 |
|
|
* include/sh3_scif.inl: Should be able to work with FIFO enabled.
|
686 |
|
|
* include/sh_regs.h: Fixed RCOUNT/TCOUNT and added some comments.
|
687 |
|
|
|
688 |
|
|
2000-04-03 Jesper Skov
|
689 |
|
|
|
690 |
|
|
* include/sh3_scif.inl: Can drive either IRDA or SCIF module.
|
691 |
|
|
|
692 |
|
|
* include/sh_regs.h:
|
693 |
|
|
* include/mod_7709a.h:
|
694 |
|
|
Added IRDA definitions (mostly a copy of SCIF definitions).
|
695 |
|
|
|
696 |
|
|
2000-03-31 Jesper Skov
|
697 |
|
|
|
698 |
|
|
* include/sh_regs.h: Added bit definitions for BSC.
|
699 |
|
|
|
700 |
|
|
* include/sh3_scif.inl: Added.
|
701 |
|
|
* include/hal_intr.h: Added hack to work around macro
|
702 |
|
|
problem. Need to rewrite macro as inline function, but need to
|
703 |
|
|
investigate a optimization problem first.
|
704 |
|
|
* include/sh_regs.h: Replaced hardcoded baud rate constants with
|
705 |
|
|
a macro which calculates the proper values based on baud rate
|
706 |
|
|
and CPU clock speed.
|
707 |
|
|
|
708 |
|
|
* include/sh_regs.h:
|
709 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_SET_LEVEL):
|
710 |
|
|
Level handling for 7709a added.
|
711 |
|
|
|
712 |
|
|
* src/vectors.S: ISR mask tables enabled per CPU variant, not
|
713 |
|
|
target.
|
714 |
|
|
|
715 |
|
|
2000-03-30 Jesper Skov
|
716 |
|
|
|
717 |
|
|
* include/hal_intr.h: Added 7709a interrupt definitions.
|
718 |
|
|
|
719 |
|
|
2000-03-20 Jesper Skov
|
720 |
|
|
|
721 |
|
|
* include/sh_regs.h: Add definitions for RTC module.
|
722 |
|
|
|
723 |
|
|
2000-03-20 Jesper Skov
|
724 |
|
|
|
725 |
|
|
* src/hal_mk_defs.c: Added CYGNUM_HAL_VSR_EXCEPTION_COUNT
|
726 |
|
|
|
727 |
|
|
2000-03-16 Jesper Skov
|
728 |
|
|
|
729 |
|
|
* include/mod_7709a.h:
|
730 |
|
|
* include/mod_7708.h:
|
731 |
|
|
* include/sh_regs.h:
|
732 |
|
|
Adding new module definitions, conditionally included depending on
|
733 |
|
|
chosen CPU implementation. Each CPU defines its own set of
|
734 |
|
|
included modules (and module versions).
|
735 |
|
|
|
736 |
|
|
* include/hal_cache.h: Get cache specs from CPU module file.
|
737 |
|
|
|
738 |
|
|
* cdl/hal_sh.cdl: Added CPU implementation controls.
|
739 |
|
|
|
740 |
|
|
2000-03-03 Jonathan Larmour
|
741 |
|
|
|
742 |
|
|
* include/sh_stub.h: Make C++ safe
|
743 |
|
|
|
744 |
|
|
2000-02-28 Jesper Skov
|
745 |
|
|
|
746 |
|
|
* src/vectors.S:
|
747 |
|
|
* src/hal_mk_defs.c:
|
748 |
|
|
* src/context.S:
|
749 |
|
|
* include/hal_arch.h:
|
750 |
|
|
* cdl/hal_sh.cdl:
|
751 |
|
|
Added hal_mk_defs allowing assembly to use C symbols.
|
752 |
|
|
Cleaned up setjmp/longjmp structure.
|
753 |
|
|
|
754 |
|
|
* include/arch.inc: Added interrupt macros.
|
755 |
|
|
* src/vectors.S: Leave interrupt enable to interrupt_end, ensuring
|
756 |
|
|
proper use of interrupt_stack. Use range-checking instead of
|
757 |
|
|
counter for switches to interrupt_stack.
|
758 |
|
|
* src/context.S: Save and restore interrupt state on thread
|
759 |
|
|
switches.
|
760 |
|
|
* include/hal_arch.h: Set thread initial SR state to allow
|
761 |
|
|
interrupts.
|
762 |
|
|
|
763 |
|
|
2000-02-18 Jesper Skov
|
764 |
|
|
|
765 |
|
|
* src/context.S: Fix comment character.
|
766 |
|
|
|
767 |
|
|
2000-02-16 Jesper Skov
|
768 |
|
|
|
769 |
|
|
* cdl/hal_sh.cdl:
|
770 |
|
|
* include/basetype.h:
|
771 |
|
|
Added LE support.
|
772 |
|
|
|
773 |
|
|
2000-02-15 Jesper Skov
|
774 |
|
|
|
775 |
|
|
* src/vectors.S: Leave vector initialization to platform. Get rid
|
776 |
|
|
of stubs startup type.
|
777 |
|
|
|
778 |
|
|
* src/sh.ld: Define hal_vsr_table address.
|
779 |
|
|
|
780 |
|
|
* include/hal_intr.h: provide CYGNUM_HAL_VSR_EXCEPTION_COUNT.
|
781 |
|
|
|
782 |
|
|
2000-02-02 Jesper Skov
|
783 |
|
|
|
784 |
|
|
* src/sh.ld: Fix typo.
|
785 |
|
|
|
786 |
|
|
2000-01-28 Gary Thomas
|
787 |
|
|
|
788 |
|
|
* src/sh.ld: Add support for network package.
|
789 |
|
|
|
790 |
|
|
2000-01-24 Jesper Skov
|
791 |
|
|
|
792 |
|
|
* src/vectors.S (__interrupt_stack): Remove stubs config check for
|
793 |
|
|
CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK.
|
794 |
|
|
|
795 |
|
|
1999-12-21 Jonathan Larmour
|
796 |
|
|
|
797 |
|
|
* include/hal_cache.h: Rename CYG_HAL_SH_SH7708 ->
|
798 |
|
|
CYGPKG_HAL_SH_EDK7708
|
799 |
|
|
|
800 |
|
|
* include/sh_regs.h: Likewise
|
801 |
|
|
|
802 |
|
|
* src/vectors.S: Likewise
|
803 |
|
|
Rename CYG_HAL_USE_ROM_MONITOR_GDB_STUBS ->
|
804 |
|
|
CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs
|
805 |
|
|
|
806 |
|
|
1999-12-02 John Dallaway
|
807 |
|
|
|
808 |
|
|
* cdl/hal_sh.cdl:
|
809 |
|
|
|
810 |
|
|
Use the token in custom rules.
|
811 |
|
|
|
812 |
|
|
1999-12-01 John Dallaway
|
813 |
|
|
|
814 |
|
|
* cdl/hal_sh.cdl:
|
815 |
|
|
|
816 |
|
|
Use the token in custom rules.
|
817 |
|
|
|
818 |
|
|
1999-11-04 John Dallaway
|
819 |
|
|
|
820 |
|
|
* cdl/hal_sh.cdl:
|
821 |
|
|
|
822 |
|
|
Output custom rule dependency information to .deps files in
|
823 |
|
|
the current directory.
|
824 |
|
|
|
825 |
|
|
Dispense with the need to create a 'src' sub-directory.
|
826 |
|
|
|
827 |
|
|
1999-10-29 Jesper Skov
|
828 |
|
|
|
829 |
|
|
* cdl/hal_sh.cdl: Added.
|
830 |
|
|
|
831 |
|
|
1999-09-01 Jesper Skov
|
832 |
|
|
|
833 |
|
|
* include/sh_regs.h: Added watchdog registers.
|
834 |
|
|
|
835 |
|
|
1999-07-30 Jesper Skov
|
836 |
|
|
|
837 |
|
|
* src/sh_stub.c (__single_step): Added handling of bt/s and bf/s.
|
838 |
|
|
|
839 |
|
|
1999-07-12 Jesper Skov
|
840 |
|
|
|
841 |
|
|
* src/sh_stub.c: Use UCOND_RBR_MASK instead of BRAF_MASK.
|
842 |
|
|
|
843 |
|
|
1999-07-05 Jesper Skov
|
844 |
|
|
|
845 |
|
|
* src/sh_stub.c (__single_step): And of bsrf.
|
846 |
|
|
|
847 |
|
|
1999-07-02 Jesper Skov
|
848 |
|
|
|
849 |
|
|
* src/sh_stub.c (__single_step): Added handling of braf
|
850 |
|
|
instruction.
|
851 |
|
|
|
852 |
|
|
1999-06-25 Jesper Skov
|
853 |
|
|
|
854 |
|
|
* src/vectors.S (__startup_stack): Increased size to allow the
|
855 |
|
|
twothreads example to run.
|
856 |
|
|
|
857 |
|
|
1999-06-24 Jesper Skov
|
858 |
|
|
|
859 |
|
|
* src/vectors.S: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS overrides use
|
860 |
|
|
of stubs in ROM.
|
861 |
|
|
|
862 |
|
|
* src/sh_stub.c (__computeSignal): Renamed _IO_ vectors to _DATA_.
|
863 |
|
|
|
864 |
|
|
1999-06-21 Jesper Skov
|
865 |
|
|
PR 20200
|
866 |
|
|
* include/hal_intr.h: Renamed _IO_ error vectors to _DATA_.
|
867 |
|
|
|
868 |
|
|
* src/vectors.S: Increased size of startup stack.
|
869 |
|
|
|
870 |
|
|
1999-06-08 Jesper Skov
|
871 |
|
|
|
872 |
|
|
* include/pkgconf/hal_sh.h: Added CDL for
|
873 |
|
|
CYGHWR_HAL_SH_HANDLE_SPURIOUS_INTERRUPTS.
|
874 |
|
|
|
875 |
|
|
* src/vectors.S:
|
876 |
|
|
* include/hal_intr.h:
|
877 |
|
|
Decode exceptions before the VSR level.
|
878 |
|
|
|
879 |
|
|
1999-06-02 Jesper Skov
|
880 |
|
|
|
881 |
|
|
* src/vectors.S: Cleaned up the interrupt entry/exit code.
|
882 |
|
|
Made it have consistent register-bank usage.
|
883 |
|
|
|
884 |
|
|
1999-06-01 Jesper Skov
|
885 |
|
|
|
886 |
|
|
* src/context.S (hal_thread_switch_context): Save PC when thread
|
887 |
|
|
debugging enabled.
|
888 |
|
|
|
889 |
|
|
* src/vectors.S:
|
890 |
|
|
* include/hal_arch.h:
|
891 |
|
|
* include/sh.inc:
|
892 |
|
|
Added handling of VBR and GBR.
|
893 |
|
|
|
894 |
|
|
* include/hal_intr.h:
|
895 |
|
|
* src/vectors.S:
|
896 |
|
|
Added proper handling of nested interrupts.
|
897 |
|
|
|
898 |
|
|
* src/vectors.S (__interrupt): Added handling of spurious event=0
|
899 |
|
|
interrupts.
|
900 |
|
|
|
901 |
|
|
1999-05-31 Jesper Skov
|
902 |
|
|
|
903 |
|
|
* src/vectors.S: Fixed comment.
|
904 |
|
|
|
905 |
|
|
* include/sh_sci.inl (cyg_hal_gdb_isr): Alter CR using the proper
|
906 |
|
|
mask.
|
907 |
|
|
|
908 |
|
|
* include/hal_cache.h (HAL_UCACHE_WRITE_MODE): Fixed typo.
|
909 |
|
|
|
910 |
|
|
* src/hal_misc.c (cyg_hal_enable_caches): Enable write-back mode.
|
911 |
|
|
|
912 |
|
|
* src/sh_stub.c (__computeSignal):
|
913 |
|
|
Added proper cause->signal decoding.
|
914 |
|
|
|
915 |
|
|
* src/sh_stub.c:
|
916 |
|
|
* src/hal_misc.c:
|
917 |
|
|
* include/hal_intr.h:
|
918 |
|
|
* include/hal_arch.h:
|
919 |
|
|
Cleaned up some FIX MEs.
|
920 |
|
|
|
921 |
|
|
* include/sh_regs.h: Added CYGARC_REG_SCSSR_CLEARMASK.
|
922 |
|
|
|
923 |
|
|
1999-05-28 Jesper Skov
|
924 |
|
|
|
925 |
|
|
* include/hal_arch.h:
|
926 |
|
|
* src/vectors.S:
|
927 |
|
|
Fixed stack size macros.
|
928 |
|
|
|
929 |
|
|
1999-05-27 Jesper Skov
|
930 |
|
|
|
931 |
|
|
* include/hal_cache.h: Include io and register header files.
|
932 |
|
|
|
933 |
|
|
* include/hal_intr.h:
|
934 |
|
|
* src/vectors.S (_hal_interrupt_stack_call_pending_DSRs):
|
935 |
|
|
Added DSR-calls-on-interrupt-stack support.
|
936 |
|
|
|
937 |
|
|
1999-05-27 Jesper Skov
|
938 |
|
|
|
939 |
|
|
* include/hal_cache.h: Force cache macros to use registers, or
|
940 |
|
|
they fail when compiled without optimization.
|
941 |
|
|
|
942 |
|
|
1999-05-26 Jesper Skov
|
943 |
|
|
|
944 |
|
|
* include/hal_intr.h:
|
945 |
|
|
Fix asm constraints.
|
946 |
|
|
|
947 |
|
|
* src/vectors.S: Fixed cyg_instrument call.
|
948 |
|
|
Added forgotten delay-slot nop after bra.
|
949 |
|
|
|
950 |
|
|
1999-05-26 Jesper Skov
|
951 |
|
|
|
952 |
|
|
* include/sh_regs.h: Added some more baud rate values.
|
953 |
|
|
|
954 |
|
|
1999-05-25 Jesper Skov
|
955 |
|
|
|
956 |
|
|
* src/vectors.S: Get ISR count from hal_intr.h.
|
957 |
|
|
Define regions of interrupt/exception handlers that are debugging
|
958 |
|
|
safe.
|
959 |
|
|
|
960 |
|
|
* include/hal_intr.h: Split in two parts - top is assembly safe.
|
961 |
|
|
|
962 |
|
|
1999-05-24 Jesper Skov
|
963 |
|
|
|
964 |
|
|
* src/hal_misc.c (cyg_hal_enable_caches): Disable writeback for
|
965 |
|
|
now.
|
966 |
|
|
|
967 |
|
|
* include/hal_cache.h:
|
968 |
|
|
Fixed typos and compiler warnings.
|
969 |
|
|
|
970 |
|
|
* src/hal_misc.c:
|
971 |
|
|
Renamed BCACHE to U(nified)CACHE.
|
972 |
|
|
|
973 |
|
|
1999-05-24 Jesper Skov
|
974 |
|
|
|
975 |
|
|
* include/sh_regs.h: Added cache register definitions.
|
976 |
|
|
|
977 |
|
|
* include/hal_cache.h: Defined cache macros.
|
978 |
|
|
|
979 |
|
|
* src/hal_misc.c (cyg_hal_enable_caches): Use BCACHE macros.
|
980 |
|
|
|
981 |
|
|
* src/vectors.S (_start): Call cache init function.
|
982 |
|
|
|
983 |
|
|
* include/hal_intr.h: Ignore reserved vectors when accessed by ISR
|
984 |
|
|
macros.
|
985 |
|
|
(HAL_CLOCK_INITIALIZE): Removed hack that made clock run at 1/4 speed.
|
986 |
|
|
|
987 |
|
|
* include/hal_arch.h:
|
988 |
|
|
* src/context.S:
|
989 |
|
|
Implemented setjmp/longjmp functions.
|
990 |
|
|
|
991 |
|
|
1999-05-21 Jesper Skov
|
992 |
|
|
|
993 |
|
|
* src/sh.ld: Fix _stext/_etext naming.
|
994 |
|
|
|
995 |
|
|
* include/hal_intr.h: Added missing interrupt sources.
|
996 |
|
|
|
997 |
|
|
* include/sh_sci.inl: Added GDB_BREAK support.
|
998 |
|
|
|
999 |
|
|
* src/vectors.S (__default_interrupt_vsr): Added GDB_BREAK
|
1000 |
|
|
support.
|
1001 |
|
|
Fixed register overwrite.
|
1002 |
|
|
Set SR on exception/interrupt entry to allow breakpoints in
|
1003 |
|
|
handlers.
|
1004 |
|
|
|
1005 |
|
|
1999-05-21 Jesper Skov
|
1006 |
|
|
|
1007 |
|
|
* src/vectors.S: Added support for handling of exceptions by stub
|
1008 |
|
|
in ROM.
|
1009 |
|
|
|
1010 |
|
|
* include/sh_sci.inl (init_serial): Added comment.
|
1011 |
|
|
|
1012 |
|
|
* src/vectors.S (_cyg_interrupt_stack_base, _cyg_interrupt_stack):
|
1013 |
|
|
Fixed naming.
|
1014 |
|
|
|
1015 |
|
|
* src/context.S: Removed MINIMUM_CONTEXT handling as it was
|
1016 |
|
|
flawed. A better version doesn't save many cycles.
|
1017 |
|
|
|
1018 |
|
|
1999-05-21 Hugo Tyson
|
1019 |
|
|
|
1020 |
|
|
* include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
|
1021 |
|
|
HAL_INTERRUPT_STACK_TOP so that stack usage macros in
|
1022 |
|
|
kernel/.../stackmon.hxx can work.
|
1023 |
|
|
|
1024 |
|
|
* src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
|
1025 |
|
|
the interrupt stack and its friend for the stack top so that we
|
1026 |
|
|
can publish them with nice names.
|
1027 |
|
|
|
1028 |
|
|
1999-05-21 Jesper Skov
|
1029 |
|
|
|
1030 |
|
|
* src/vectors.S (__default_exception_vsr): Decode cause of
|
1031 |
|
|
exception.
|
1032 |
|
|
|
1033 |
|
|
* src/sh_stub.c (__clear_single_step): Let fixup code handle PC
|
1034 |
|
|
decrementing.
|
1035 |
|
|
|
1036 |
|
|
* include/sh_stub.h: Fix PC after a trap instruction was hit.
|
1037 |
|
|
|
1038 |
|
|
1999-05-21 Jesper Skov
|
1039 |
|
|
|
1040 |
|
|
* src/vectors.S:
|
1041 |
|
|
* include/hal_intr.h:
|
1042 |
|
|
Use IMASK to control interrupts rather than BL.
|
1043 |
|
|
|
1044 |
|
|
* src/sh_stub.c: Added single step code.
|
1045 |
|
|
Don't skip instructions when single stepping.
|
1046 |
|
|
|
1047 |
|
|
1999-05-20 Jesper Skov
|
1048 |
|
|
|
1049 |
|
|
* src/vectors.S: Fixed errors due to trunk-move cleanup.
|
1050 |
|
|
Added counter to debug code. Fixed bug in debug code(!).
|
1051 |
|
|
Doubled startup stack size.
|
1052 |
|
|
|
1053 |
|
|
1999-05-20 Jesper Skov
|
1054 |
|
|
|
1055 |
|
|
* Moved files to CVS trunk.
|
1056 |
|
|
|
1057 |
|
|
1999-05-19 Jesper Skov
|
1058 |
|
|
|
1059 |
|
|
* src/vectors.S: Fixed comment.
|
1060 |
|
|
|
1061 |
|
|
* include/sh_sci.inl: Set speed to 38400 when not RAM startup.
|
1062 |
|
|
|
1063 |
|
|
* include/hal_arch.h: Enable interrupts before a trap.
|
1064 |
|
|
|
1065 |
|
|
1999-05-19 Jesper Skov
|
1066 |
|
|
|
1067 |
|
|
* src/vectors.S (__reset): Added initial jump to get from address
|
1068 |
|
|
|
1069 |
|
|
|
1070 |
|
|
* include/sh_regs.h: Added BSC register definitions.
|
1071 |
|
|
|
1072 |
|
|
1999-05-19 Jesper Skov
|
1073 |
|
|
|
1074 |
|
|
* Most things working now. Will start keeping track of changes.
|
1075 |
|
|
|
1076 |
|
|
|
1077 |
|
|
1999-04-22 Jesper Skov
|
1078 |
|
|
|
1079 |
|
|
* Set up directory structure.
|
1080 |
|
|
|
1081 |
|
|
//===========================================================================
|
1082 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
1083 |
|
|
// -------------------------------------------
|
1084 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
1085 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
1086 |
|
|
//
|
1087 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
1088 |
|
|
// the terms of the GNU General Public License as published by the Free
|
1089 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
1090 |
|
|
//
|
1091 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
1092 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
1093 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
1094 |
|
|
// for more details.
|
1095 |
|
|
//
|
1096 |
|
|
// You should have received a copy of the GNU General Public License along
|
1097 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
1098 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
1099 |
|
|
//
|
1100 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
1101 |
|
|
// or inline functions from this file, or you compile this file and link it
|
1102 |
|
|
// with other works to produce a work based on this file, this file does not
|
1103 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
1104 |
|
|
// License. However the source code for this file must still be made available
|
1105 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
1106 |
|
|
//
|
1107 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
1108 |
|
|
// this file might be covered by the GNU General Public License.
|
1109 |
|
|
//
|
1110 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
1111 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
1112 |
|
|
// -------------------------------------------
|
1113 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
1114 |
|
|
//===========================================================================
|