1 |
27 |
unneback |
2003-04-13 Bart Veer
|
2 |
|
|
|
3 |
|
|
* src/vectors.S (start): fix build problem with -mthumb
|
4 |
|
|
|
5 |
|
|
2003-02-13 Mark Salter
|
6 |
|
|
|
7 |
|
|
* src/redboot_linux_exec.c (do_exec): Add missing semicolon.
|
8 |
|
|
|
9 |
|
|
2003-02-13 Gary Thomas
|
10 |
|
|
|
11 |
|
|
* src/redboot_linux_exec.c (CYGHWR_REDBOOT_LINUX_ATAG_MEM):
|
12 |
|
|
Add CYG_MACRO_START/END markers.
|
13 |
|
|
|
14 |
|
|
2003-02-12 Gary Thomas inspired by
|
15 |
|
|
2003-02-12 Robin Farine
|
16 |
|
|
|
17 |
|
|
* src/redboot_linux_exec.c: Allow platform to override memory layout.
|
18 |
|
|
Also, give error if no "-b" option and base/load address unknown.
|
19 |
|
|
2003-02-06 Gary Thomas
|
20 |
|
|
|
21 |
|
|
* src/redboot_linux_exec.c: Make sure RAM description is sane.
|
22 |
|
|
|
23 |
|
|
2003-01-31 Mark Salter
|
24 |
|
|
|
25 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
|
26 |
|
|
handle exit.
|
27 |
|
|
|
28 |
|
|
2003-01-17 Patrick Doyle
|
29 |
|
|
|
30 |
|
|
* src/redboot_linux_exec.c (do_exec): Round the length up to a
|
31 |
|
|
multiple of 4 so that the copy loop (which decrements the count by
|
32 |
|
|
4 each time through) runs a finite length of time.
|
33 |
|
|
|
34 |
|
|
Fixed the calculation of params->u.mem.size so that it doesn't
|
35 |
|
|
double the memory size if it is already a power of two.
|
36 |
|
|
|
37 |
|
|
2003-01-06 Patrick Doyle
|
38 |
|
|
|
39 |
|
|
* src/redboot_linux_exec.c (do_exec): Added support for, and
|
40 |
|
|
changed to use, ATAG_INITRD2 instead of ATAG_INITRD. ATAG_INITRD
|
41 |
|
|
specifies the virtual address of the ramdisk while ATAG_INITRD2
|
42 |
|
|
specifies the physical address.
|
43 |
|
|
|
44 |
|
|
2002-12-11 Mark Salter
|
45 |
|
|
|
46 |
|
|
* include/hal_io.h: Allow variant or platform HALs to override
|
47 |
|
|
default IO macros.
|
48 |
|
|
|
49 |
|
|
2002-11-12 Mark Salter
|
50 |
|
|
|
51 |
|
|
* src/arm_stub.c (target_ins): Account for PC prefetch when PC is
|
52 |
|
|
source register in data processing insns.
|
53 |
|
|
|
54 |
|
|
2002-08-29 Mark Salter
|
55 |
|
|
|
56 |
|
|
* src/vectors.S: Avoid entering thumb mode in exception handlers.
|
57 |
|
|
|
58 |
|
|
2002-08-27 Mark Salter
|
59 |
|
|
|
60 |
|
|
* src/arm.ld: Undefine arm to avoid problem with .note.arm.ident.
|
61 |
|
|
|
62 |
|
|
2002-08-22 Mark Salter
|
63 |
|
|
|
64 |
|
|
* src/arm.ld: Add .note.arm.ident section used by tools to identify
|
65 |
|
|
architecture variants.
|
66 |
|
|
|
67 |
|
|
2002-08-21 Mark Salter
|
68 |
|
|
|
69 |
|
|
* src/arm_stub.c: Add support for large registers (e.g. FPU).
|
70 |
|
|
* include/arm_stub.h: Add infrastructure for support of coprocessors.
|
71 |
|
|
* include/hal_arch.h: Ditto.
|
72 |
|
|
|
73 |
|
|
2002-08-02 Andrew Lunn
|
74 |
|
|
|
75 |
|
|
* cdl/hal_arm.cdl: Redboot exec command can now be disabled by CDL
|
76 |
|
|
|
77 |
|
|
2002-07-15 Mark Salter
|
78 |
|
|
|
79 |
|
|
* include/arm_stub.h: Comment out NUMREGBYTES.
|
80 |
|
|
|
81 |
|
|
2002-05-28 Mark Salter
|
82 |
|
|
|
83 |
|
|
* cdl/hal_arm.cdl: Tweaked description for
|
84 |
|
|
CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS.
|
85 |
|
|
Add CYGHWR_REDBOOT_ARM_LINUX_TAGS_ADDRESS.
|
86 |
|
|
|
87 |
|
|
* src/redboot_linux_exec.c (do_exec): Rework transition to MMU
|
88 |
|
|
off and jump to kernel so that it works for non 1-1 mapped
|
89 |
|
|
platforms.
|
90 |
|
|
|
91 |
|
|
2002-05-20 Gary Thomas
|
92 |
|
|
|
93 |
|
|
* include/hal_io.h: Fix ...STRING macros - not using index.
|
94 |
|
|
Pointed out by Thomas Koeller .
|
95 |
|
|
|
96 |
|
|
2002-05-09 Nick Garnett
|
97 |
|
|
|
98 |
|
|
* src/vectors.S (handle_IRQ_or_FIQ): Save SVC mode LR in interrupt
|
99 |
|
|
handling as well as exceptions.
|
100 |
|
|
|
101 |
|
|
* src/context.S (hal_thread_switch_context): Use correct size
|
102 |
|
|
for skipping new HAL_SavedRegisters fields.
|
103 |
|
|
|
104 |
|
|
2002-05-08 Jonathan Larmour
|
105 |
|
|
|
106 |
|
|
* cdl/hal_arm.cdl: Remove -malignment-traps here - add it only from
|
107 |
|
|
packages when needed.
|
108 |
|
|
|
109 |
|
|
2002-05-08 Nick Garnett
|
110 |
|
|
|
111 |
|
|
* src/vectors.S: Added code to save and restore value of SVC mode
|
112 |
|
|
LR during exception processing. If the exception comes from a
|
113 |
|
|
non-SVC mode then handling it originally corrupted the SVC mode
|
114 |
|
|
LR. If the program subsequent returned to SVC mode it was likely
|
115 |
|
|
to have problems. The registers for modes other than SVC and the
|
116 |
|
|
exception mode are not touched, so we do not have to save/restore
|
117 |
|
|
those.
|
118 |
|
|
|
119 |
|
|
* src/hal_mk_defs.c: Added definitions for armreg_r10 and
|
120 |
|
|
armreg_svclr.
|
121 |
|
|
|
122 |
|
|
* include/hal_arch.h: Added svc_lr field to HAL_SavedRegisters to
|
123 |
|
|
save SVC mode link register during exception handling.
|
124 |
|
|
|
125 |
|
|
2002-04-30 Jesper Skov
|
126 |
|
|
|
127 |
|
|
* cdl/hal_arm.cdl: Forcibly add -malignment-traps to the compiler
|
128 |
|
|
options to work around problem with recent compiler. This can be
|
129 |
|
|
removed when the tools are respun.
|
130 |
|
|
|
131 |
|
|
2002-04-29 Jonathan Larmour
|
132 |
|
|
|
133 |
|
|
* src/vectors.S:
|
134 |
|
|
Don't use .file as it can confuse debugging since the .file
|
135 |
|
|
doesn't contain the path and therefore the debugger will never
|
136 |
|
|
know where it lives! This conflicts with using -Wa,--gstabs.
|
137 |
|
|
|
138 |
|
|
2002-04-25 Gary Thomas
|
139 |
|
|
|
140 |
|
|
* src/vectors.S: Safer clearing of BSS.
|
141 |
|
|
|
142 |
|
|
2002-04-15 Jonathan Larmour
|
143 |
|
|
|
144 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
|
145 |
|
|
__do_syscall.
|
146 |
|
|
|
147 |
|
|
2002-04-15 Mark Salter
|
148 |
|
|
|
149 |
|
|
* src/vectors.S: Rewrite exception handling to allow exceptions
|
150 |
|
|
in any privileged mode.
|
151 |
|
|
* src/hal_mk_defs.c (main): Add some regs.
|
152 |
|
|
* include/hal_arch.h (HAL_SavedRegisters): Slight rearrangement.
|
153 |
|
|
* src/context.S (hal_thread_switch_context): Use new context layout.
|
154 |
|
|
(hal_thread_load_context): Ditto.
|
155 |
|
|
|
156 |
|
|
2002-04-11 Jesper Skov
|
157 |
|
|
|
158 |
|
|
* src/arm.ld: Fixed .sbss rule.
|
159 |
|
|
|
160 |
|
|
2002-04-10 Jonathan Larmour
|
161 |
|
|
|
162 |
|
|
* src/arm.ld: Define .gnu.linkonce sections properly.
|
163 |
|
|
Remove sbss from data section.
|
164 |
|
|
|
165 |
|
|
2002-03-27 Gary Thomas
|
166 |
|
|
|
167 |
|
|
* src/vectors.S: Use interrupt stack during system initialzation
|
168 |
|
|
if configured since this stack will be much larger than the default
|
169 |
|
|
idle thread stack. Some configurations (think networking) may use
|
170 |
|
|
lots of stack space during system startup and the assumption that
|
171 |
|
|
the idle thread stack does not need much space fails miserably.
|
172 |
|
|
|
173 |
|
|
2002-02-19 Mark Salter
|
174 |
|
|
|
175 |
|
|
* src/arm_stub.c (target_thumb_ins): Check architecture version
|
176 |
|
|
to decide how to handle pop insn.
|
177 |
|
|
(v5T_semantics): New function. Returns true for v5 and later.
|
178 |
|
|
|
179 |
|
|
2002-02-08 Jesper Skov
|
180 |
|
|
|
181 |
|
|
* src/arm_stub.c (target_thumb_ins): The result of a POP
|
182 |
|
|
instruction changing the PC must be the address of a THUMB
|
183 |
|
|
instruction.
|
184 |
|
|
|
185 |
|
|
2002-01-29 Jesper Skov
|
186 |
|
|
|
187 |
|
|
* src/redboot_linux_exec.c: Include hal_io.h instead of CRUFT_H.
|
188 |
|
|
(do_exec): Add nops after loop copying trampoline code. Removed
|
189 |
|
|
one argument to the assembly: code only works if virt==phys
|
190 |
|
|
mapping anyway. This should be rewritten to be safe for all
|
191 |
|
|
possible targets.
|
192 |
|
|
|
193 |
|
|
2002-01-28 Jesper Skov
|
194 |
|
|
|
195 |
|
|
* include/hal_io.h: Include var_io.h if present, otherwise include
|
196 |
|
|
plf_io.h. This makes the ARM HAL match the other HALs better in
|
197 |
|
|
this regard, allowing platform IO definitions to override variant
|
198 |
|
|
IO definitions while allowing sharing code between platforms of
|
199 |
|
|
the same variant.
|
200 |
|
|
|
201 |
|
|
2002-01-25 Jesper Skov
|
202 |
|
|
|
203 |
|
|
* cdl/hal_arm.cdl: Added RedBoot options.
|
204 |
|
|
* src/redboot_linux_exec.c: Added generic version of the RedBoot
|
205 |
|
|
exec command to be shared by all ARM platforms. Still needs some
|
206 |
|
|
cleaning up after CYGARC_ memory macros find their proper home.
|
207 |
|
|
|
208 |
|
|
2002-01-08 Hugo Tyson
|
209 |
|
|
|
210 |
|
|
* cdl/hal_arm.cdl (CYGOPT_HAL_ARM_SYSCALL_GPROF_SUPPORT): New
|
211 |
|
|
option, implements CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT so
|
212 |
|
|
RedBoot knows we can do this. Only active if indeed we can.
|
213 |
|
|
|
214 |
|
|
* include/hal_arch.h (HAL_GET_PROFILE_INFO): New macro, to extract
|
215 |
|
|
the interrupted PC and SP from a struct HAL_SavedRegisters. Used
|
216 |
|
|
for histogram-style profiling.
|
217 |
|
|
|
218 |
|
|
2001-11-02 Hugo Tyson
|
219 |
|
|
|
220 |
|
|
* include/arm_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION): Nasty
|
221 |
|
|
bodge to fix a tools issue where an "unused" label is migrated to
|
222 |
|
|
where some real code is, ie. the wrong place in this case.
|
223 |
|
|
Problem applies to arm9e-elf tools and other arm variants also.
|
224 |
|
|
|
225 |
|
|
2001-10-29 Hugo Tyson
|
226 |
|
|
|
227 |
|
|
* src/arm.ld (SECTION_rom_vectors): Define symbols used for ROMRAM
|
228 |
|
|
startup; for some reason these were not in the trunk. They are:
|
229 |
|
|
__rom_vectors_vma and __rom_vectors_lma
|
230 |
|
|
|
231 |
|
|
2001-10-24 Gary Thomas
|
232 |
|
|
|
233 |
|
|
* src/hal_misc.c (hal_msbindex): Fix calculation.
|
234 |
|
|
|
235 |
|
|
2001-10-23 Hugo Tyson
|
236 |
|
|
|
237 |
|
|
* include/hal_mmu.h (MMU_Control_Z,F,RR): Some extra defines for
|
238 |
|
|
newer ARM architectures.
|
239 |
|
|
|
240 |
|
|
2001-10-11 Fabrice Gautier
|
241 |
|
|
|
242 |
|
|
* include/hal_io.h: Add _STRING variants of I/O macros to allow
|
243 |
|
|
writing of consecutive items to the same registers.
|
244 |
|
|
|
245 |
|
|
2001-10-02 Jonathan Larmour
|
246 |
|
|
|
247 |
|
|
* include/hal_arch.h: Remove CYG_HAL_TABLE_BEGIN and CYG_HAL_TABLE_END
|
248 |
|
|
as the common versions are acceptable.
|
249 |
|
|
|
250 |
|
|
2001-10-01 Jonathan Larmour
|
251 |
|
|
|
252 |
|
|
* src/arm.ld: Make separate section for GOT and .eh_frame.
|
253 |
|
|
Make macro section for all reloc sections.
|
254 |
|
|
Input extras.o unconditionally.
|
255 |
|
|
* cdl/hal_arm.cdl: Don't bother with -DEXTRAS=1 - unconditional now.
|
256 |
|
|
|
257 |
|
|
2001-08-24 Mark Salter
|
258 |
|
|
|
259 |
|
|
* src/arm_stub.c (target_thumb_ins): Add support for pop insn.
|
260 |
|
|
|
261 |
|
|
2001-08-21 Hugo Tyson
|
262 |
|
|
|
263 |
|
|
* include/hal_intr.h: Only define HAL_CLOCK_LATENCY() if it's not
|
264 |
|
|
defined already (if it's needed at all). This is for platforms
|
265 |
|
|
which need a separate routine, such as sa11x0.
|
266 |
|
|
|
267 |
|
|
2001-07-19 Gary Thomas
|
268 |
|
|
|
269 |
|
|
* src/vectors.S: Support ROMRAM startup mode. Note: most of
|
270 |
|
|
the support for this mode will be in the platform setup code.
|
271 |
|
|
|
272 |
|
|
2001-07-18 Gary Thomas
|
273 |
|
|
|
274 |
|
|
* src/hal_mk_defs.c (main): FIQ no longer listed as an exception.
|
275 |
|
|
|
276 |
|
|
2001-07-17 Jonathan Larmour
|
277 |
|
|
|
278 |
|
|
* include/hal_intr.h: Define range of exceptions more accurately.
|
279 |
|
|
|
280 |
|
|
2001-07-16 Gary Thomas
|
281 |
|
|
|
282 |
|
|
* src/hal_misc.c (exception_handler): Allow memory faults to be
|
283 |
|
|
caught, even when GDB stubs are not included.
|
284 |
|
|
|
285 |
|
|
2001-06-22 Gary Thomas
|
286 |
|
|
|
287 |
|
|
* include/arm_stub.h (NUMREGBYTES): Define - this tells GDB how
|
288 |
|
|
large it's communications buffers need to be.
|
289 |
|
|
|
290 |
|
|
2001-06-05 Gary Thomas
|
291 |
|
|
2001-06-05 Thomas Fähnle
|
292 |
|
|
|
293 |
|
|
* src/vectors.S (spurious_IRQ): Better handling of spurious ints.
|
294 |
|
|
Pass register frame to handler.
|
295 |
|
|
|
296 |
|
|
2001-05-23 Gary Thomas
|
297 |
|
|
|
298 |
|
|
* src/vectors.S: Allow platforms to define a 'preamble' which gets
|
299 |
|
|
included _before_ the vectors. This is often required for modules
|
300 |
|
|
which are run from ROM/Flash.
|
301 |
|
|
|
302 |
|
|
2001-04-30 Gary Thomas
|
303 |
|
|
|
304 |
|
|
* src/vectors.S (__exception_handlers): Platforms must explicitly
|
305 |
|
|
define CYGSEM_HAL_ROM_RESET_USES_JUMP if required.
|
306 |
|
|
|
307 |
|
|
2001-04-27 Hugo Tyson
|
308 |
|
|
|
309 |
|
|
* src/vectors.S: Platforms without CYGHWR_HAL_ARM_HAS_MMU defined
|
310 |
|
|
require that the reset jump be straight up to ROM. So you can't
|
311 |
|
|
just use a local branch. This is needed to make RedBoot in the
|
312 |
|
|
EBSA285 work, for example.
|
313 |
|
|
|
314 |
|
|
2001-04-19 Gary Thomas
|
315 |
|
|
|
316 |
|
|
* cdl/hal_arm.cdl: Fix typo for ARM9 systems.
|
317 |
|
|
|
318 |
|
|
2001-04-18 Gary Thomas
|
319 |
|
|
|
320 |
|
|
* src/vectors.S: Add new flag 'CYG_HAL_ROM_RESET_USES_JUMP' to control
|
321 |
|
|
how RESET is handled. This is normally set for ROM applications, but
|
322 |
|
|
can be overridden by platform code for situations when it is unsuitable
|
323 |
|
|
to have a branch as the RESET instruction.
|
324 |
|
|
|
325 |
|
|
2001-04-16 Gary Thomas
|
326 |
|
|
|
327 |
|
|
* cdl/hal_arm.cdl: Add new interfaces to describe CPU family and
|
328 |
|
|
option possiblities.
|
329 |
|
|
|
330 |
|
|
2001-04-07 Mark Salter
|
331 |
|
|
|
332 |
|
|
* src/arm_stub.c: Add support for v5T BLX insn.
|
333 |
|
|
|
334 |
|
|
2001-03-30 Mark Salter
|
335 |
|
|
|
336 |
|
|
* src/vectors.S (__exception_handlers): Don't use relative branch
|
337 |
|
|
for reset on iq80310.
|
338 |
|
|
|
339 |
|
|
2001-03-28 Hugo Tyson
|
340 |
|
|
|
341 |
|
|
* src/vectors.S (__GDB_stack_base): Increase stubs stack size to
|
342 |
|
|
"enough". We tend to have either RedBoot (with no interrupt
|
343 |
|
|
stack) or an app (with no stubs stack) these days, so I used
|
344 |
|
|
CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE. It defaults to 4k in
|
345 |
|
|
RedBoot which is enough compared to the previous hard-wired 1k.
|
346 |
|
|
The overflow occurred in RedBoot, with i82559 ether driver, during
|
347 |
|
|
GDB connection - but manifested as "network stack out of buffers"
|
348 |
|
|
because of a recursion in trying to report a trap.
|
349 |
|
|
|
350 |
|
|
2001-02-24 Gary Thomas
|
351 |
|
|
|
352 |
|
|
* include/hal_mmu.h (MMU_Control_X): Add - used by Win/CE.
|
353 |
|
|
|
354 |
|
|
* src/vectors.S (__exception_handlers): Change RESET vector
|
355 |
|
|
to use jump for ROM based applications [safer].
|
356 |
|
|
(warm_reset): Only do 'swi' contortions when starting RAM
|
357 |
|
|
applications from Angel.
|
358 |
|
|
|
359 |
|
|
2001-02-22 Jesper Skov
|
360 |
|
|
|
361 |
|
|
* src/arm.ld: Relocate .2ram sections to the .data section.
|
362 |
|
|
|
363 |
|
|
2001-02-20 Jesper Skov
|
364 |
|
|
|
365 |
|
|
* cdl/hal_arm.cdl: Added CYGBLD_ARM_ENABLE_THUMB_INTERWORK.
|
366 |
|
|
|
367 |
|
|
2001-02-13 Gary Thomas
|
368 |
|
|
|
369 |
|
|
* src/vectors.S (handle_IRQ_or_FIQ): Change behaviour for
|
370 |
|
|
handling spurious interrupts.
|
371 |
|
|
|
372 |
|
|
* src/hal_misc.c (hal_spurious_IRQ): New function - called
|
373 |
|
|
when a spurious interrupt is detected. Defined as "weak"
|
374 |
|
|
so platforms can provide localized support.
|
375 |
|
|
|
376 |
|
|
* src/hal_mk_defs.c:
|
377 |
|
|
* include/hal_intr.h (CYGNUM_HAL_INTERRUPT_NONE): Define.
|
378 |
|
|
|
379 |
|
|
2001-02-09 Hugo Tyson
|
380 |
|
|
|
381 |
|
|
* src/vectors.S (UNMAPPED()): Handle CYGHWR_HAL_ROM_VADDR if so
|
382 |
|
|
defined; this is used when compiling for a different location from
|
383 |
|
|
the base of ROM. hal_platform_setup.h might define it. For
|
384 |
|
|
example, if flash is from 0x50000000 upwards (as on SA11x0), and
|
385 |
|
|
we are to execute at 0x50040000, then we want the reset vector to
|
386 |
|
|
point to 0x0004pqrs - the unmapped ROM address of the code -
|
387 |
|
|
rather than 0x0000pqrs, which is the offset into our flash block.
|
388 |
|
|
But usually it's not defined, so the behaviour is the obvious.
|
389 |
|
|
|
390 |
|
|
2001-02-08 Jesper Skov
|
391 |
|
|
|
392 |
|
|
* include/arm_vv.h: Removed again, compiler does magic to thumb
|
393 |
|
|
function pointers.
|
394 |
|
|
* include/hal_arch.h: Same.
|
395 |
|
|
|
396 |
|
|
2001-02-07 Jesper Skov
|
397 |
|
|
|
398 |
|
|
* include/arm_vv.h: Added virtual vector accessor macros that will
|
399 |
|
|
properly mangle function pointers in thumb mode.
|
400 |
|
|
* include/hal_arch.h: Include arm_vv.h
|
401 |
|
|
* src/vectors.S: ctrlc_init can be called for thumb now (but
|
402 |
|
|
requires ROM monitor to be built with -mthumb-interwork)
|
403 |
|
|
|
404 |
|
|
2001-02-02 Mark Salter
|
405 |
|
|
|
406 |
|
|
* src/arm_stub.c (__arm_breakinst): New ARM breakpoint insn.
|
407 |
|
|
(__thumb_breakinst): New thumb breakpoint insn.
|
408 |
|
|
(__is_bsp_syscall): Check for actual SWI number and support
|
409 |
|
|
thumb.
|
410 |
|
|
|
411 |
|
|
* include/hal_arch.h (HAL_BREAKINST_ADDR): New macro to provide
|
412 |
|
|
address of correct breakpoint insn of the given length.
|
413 |
|
|
|
414 |
|
|
2001-02-01 Jesper Skov
|
415 |
|
|
|
416 |
|
|
* src/hal_misc.c: Don't use diag_printf directly (rely on tracing
|
417 |
|
|
macros).
|
418 |
|
|
|
419 |
|
|
2001-01-31 Mark Salter
|
420 |
|
|
|
421 |
|
|
* src/vectors.S (FIQ): Fix broken fiq handling.
|
422 |
|
|
|
423 |
|
|
2001-01-31 Jesper Skov
|
424 |
|
|
|
425 |
|
|
* cdl/hal_arm.cdl: Get rid of CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL
|
426 |
|
|
options. They are replaced by the
|
427 |
|
|
CYGSEM_HAL_DIAG_MANGLER option.
|
428 |
|
|
|
429 |
|
|
2001-01-24 Jonathan Larmour
|
430 |
|
|
|
431 |
|
|
* src/vectors.S (init_flag): Add explicit alignment, just in case.
|
432 |
|
|
From Ilko Iliev
|
433 |
|
|
|
434 |
|
|
2001-01-11 Hugo Tyson
|
435 |
|
|
|
436 |
|
|
* src/vectors.S (hal_dram_size): Create hal_dram_type in memory at
|
437 |
|
|
0x44, right after hal_dram_size.
|
438 |
|
|
|
439 |
|
|
* include/hal_intr.h: Add an extern for the word at 0x44, named
|
440 |
|
|
hal_dram_type (as in hal_dram_size). This can be used for
|
441 |
|
|
platform HALs to know how to decode VIRT_TO_PHYS addresses and
|
442 |
|
|
vice versa.
|
443 |
|
|
|
444 |
|
|
2000-12-13 Hugo Tyson
|
445 |
|
|
|
446 |
|
|
* include/hal_intr.h: Handle variant-, and possible overriding
|
447 |
|
|
platform-, specific interrupt files .
|
448 |
|
|
This is to simplify the multiple SA11x0 targets which have no
|
449 |
|
|
variation there.
|
450 |
|
|
|
451 |
|
|
2000-12-11 Gary Thomas
|
452 |
|
|
|
453 |
|
|
* src/vectors.S (warm_reset): 'hal_dram_size' is now only set in
|
454 |
|
|
platform code - no need to mess with (pure pollution) it here.
|
455 |
|
|
|
456 |
|
|
2000-11-19 Gary Thomas
|
457 |
|
|
|
458 |
|
|
* include/hal_io.h: Use CYGBLD_HAL_PLATFORM_IO_H for those platforms
|
459 |
|
|
which define it (relieves this file of messy includes).
|
460 |
|
|
|
461 |
|
|
2000-11-16 Jesper Skov
|
462 |
|
|
|
463 |
|
|
* include/basetype.h: Define LABEL mangling macros.
|
464 |
|
|
|
465 |
|
|
* include/arch.inc: Added.
|
466 |
|
|
|
467 |
|
|
2000-11-06 Mark Salter
|
468 |
|
|
|
469 |
|
|
* src/hal_syscall.c: New file. Arm interface to redboot's
|
470 |
|
|
handler for GNUPro based application library syscalls.
|
471 |
|
|
|
472 |
|
|
* src/arm_stub.c (__is_bsp_syscall): New function. Return
|
473 |
|
|
true if exception caused by bsp SWI.
|
474 |
|
|
|
475 |
|
|
* include/arm_stub.h: Add declaration for __is_bp_syscall.
|
476 |
|
|
|
477 |
|
|
* cdl/hal_arm.cdl: Add hal_syscall.c to compile list.
|
478 |
|
|
|
479 |
|
|
2000-11-04 Mark Salter
|
480 |
|
|
|
481 |
|
|
* include/hal_io.h: Include cyg/hal/plf_io.h for IQ80310.
|
482 |
|
|
|
483 |
|
|
* src/arm_stub.c (__computeSignal): New interface for
|
484 |
|
|
HAL_STUB_IS_STOPPED_BY_HARDWARE
|
485 |
|
|
|
486 |
|
|
2000-10-27 Mark Salter
|
487 |
|
|
|
488 |
|
|
* src/arm_stub.c: Removed uneccesary include.
|
489 |
|
|
|
490 |
|
|
* src/vectors.S (start): Fix use of registers which may have
|
491 |
|
|
been destroyed by an LED macro.
|
492 |
|
|
|
493 |
|
|
2000-10-26 Mark Salter
|
494 |
|
|
|
495 |
|
|
* src/arm_stub.c (__computeSignal): Add hook for platforms to
|
496 |
|
|
check for hw watchpoint/breakpoint events.
|
497 |
|
|
(__install_breakpoints): Support HAL breakpoint list.
|
498 |
|
|
(__clear_breakpoints): Ditto.
|
499 |
|
|
|
500 |
|
|
* include/hal_arch.h (HAL_BREAKINST_TYPE): Define. Needed by
|
501 |
|
|
hw watchpoint/breakpoint support in stub.
|
502 |
|
|
|
503 |
|
|
2000-10-20 Jesper Skov
|
504 |
|
|
|
505 |
|
|
* src/hal_misc.c: Update __mem_fault_handler declaration.
|
506 |
|
|
|
507 |
|
|
2000-09-05 Andrew Lunn
|
508 |
|
|
|
509 |
|
|
* include/basetype.h: Override the alignment macros for the ARM
|
510 |
|
|
architecture. The ARM compiler only alows a maximum of 4 bytes
|
511 |
|
|
of alignment where as the default is 8
|
512 |
|
|
|
513 |
|
|
2000-08-15 Hugo Tyson
|
514 |
|
|
|
515 |
|
|
* src/arm.ld (SECTION_text): Change it back so that
|
516 |
|
|
infra/... range checking can see them. _stext and _etext as seen
|
517 |
|
|
from C are the eventual destination, so this is a step in the
|
518 |
|
|
right direction. You must hack if building redboot, for now.
|
519 |
|
|
|
520 |
|
|
2000-08-14 Hugo Tyson
|
521 |
|
|
|
522 |
|
|
* src/arm.ld (SECTION_text): Change to stext and etext unadorned
|
523 |
|
|
with underlines so that RedBoot can see them.
|
524 |
|
|
|
525 |
|
|
2000-08-14 Gary Thomas
|
526 |
|
|
|
527 |
|
|
* include/hal_arch.h:
|
528 |
|
|
* src/arm.ld: Changes to support new [anonymous] tables.
|
529 |
|
|
|
530 |
|
|
2000-07-17 Jesper Skov
|
531 |
|
|
|
532 |
|
|
* src/vectors.S (start): Hack to allow thumb tests to run in farm
|
533 |
|
|
until vector table Thumb/ARM API is fixed.
|
534 |
|
|
|
535 |
|
|
2000-07-07 Jesper Skov
|
536 |
|
|
|
537 |
|
|
* src/arm_stub.c: Changes to support CygMon changes.
|
538 |
|
|
|
539 |
|
|
* src/hal_misc.c: Fix warnings.
|
540 |
|
|
|
541 |
|
|
2000-07-05 Jesper Skov
|
542 |
|
|
|
543 |
|
|
* src/hal_misc.c:
|
544 |
|
|
* src/vectors.S:
|
545 |
|
|
All platforms now has VECTOR_SUPPORT (or provide alternative
|
546 |
|
|
implementations). Removed checks for the option.
|
547 |
|
|
|
548 |
|
|
2000-07-04 Jonathan Larmour
|
549 |
|
|
|
550 |
|
|
* cdl/hal_arm.cdl: Add CYGINT_HAL_ARM_MEM_REAL_REGION_TOP
|
551 |
|
|
interface
|
552 |
|
|
|
553 |
|
|
* include/hal_intr.h: If the platform implements the
|
554 |
|
|
CYGINT_HAL_ARM_MEM_REAL_REGION_TOP interface, define a new
|
555 |
|
|
HAL_MEM_REAL_REGION_TOP macro appropriately
|
556 |
|
|
|
557 |
|
|
2000-06-28 Jesper Skov
|
558 |
|
|
|
559 |
|
|
* src/hal_mk_defs.c:
|
560 |
|
|
* src/arm_stub.c:
|
561 |
|
|
Fix compiler warnings.
|
562 |
|
|
|
563 |
|
|
2000-06-21 Nick Garnett
|
564 |
|
|
|
565 |
|
|
* include/hal_arch.h:
|
566 |
|
|
Added local variants of CYG_HAL_TABLE_BEGIN() and
|
567 |
|
|
CYG_HAL_TABLE_END() since the ARM assembler implements some of
|
568 |
|
|
this code with a slightly different syntax to all the other
|
569 |
|
|
targets.
|
570 |
|
|
|
571 |
|
|
* include/basetype.h:
|
572 |
|
|
Removed definition of CYG_LABEL_NAME(). Now dealt with by default
|
573 |
|
|
definition in cyg_type.h.
|
574 |
|
|
|
575 |
|
|
* src/hal_misc.c:
|
576 |
|
|
* src/arm_stub.c:
|
577 |
|
|
Removed use of CYG_LABEL_NAME(), added underscore to _breakinst.
|
578 |
|
|
|
579 |
|
|
* src/arm.ld:
|
580 |
|
|
Added extra underscores to _stext and _etext.
|
581 |
|
|
Switched over to new table creation mechanism.
|
582 |
|
|
|
583 |
|
|
2000-06-19 Gary Thomas
|
584 |
|
|
|
585 |
|
|
* src/vectors.S: Changes for virtual vector support.
|
586 |
|
|
(hal_virtual_vector_table): Need to protect if virtual vector
|
587 |
|
|
stuff not defined.
|
588 |
|
|
|
589 |
|
|
* src/hal_mk_defs.c: Add symbols for virtual vector table.
|
590 |
|
|
|
591 |
|
|
* src/hal_misc.c (hal_arch_default_isr): New function. Used in
|
592 |
|
|
place of 'hal_default_isr' if virtual vector support is enabled.
|
593 |
|
|
|
594 |
|
|
* include/hal_intr.h: "Fixed" items now exported in 'vectors.S'
|
595 |
|
|
|
596 |
|
|
* src/vectors.S: Add notion of "fixed vectors" to all platforms.
|
597 |
|
|
|
598 |
|
|
2000-06-08 Jesper Skov
|
599 |
|
|
|
600 |
|
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
601 |
|
|
Added.
|
602 |
|
|
|
603 |
|
|
2000-06-04 Gary Thomas
|
604 |
|
|
|
605 |
|
|
* src/vectors.S: Add support for platform specific "vectors"
|
606 |
|
|
which may need to end up in predefined memory locations.
|
607 |
|
|
* src/arm.ld: Add separate 'fixed_vectors' section.
|
608 |
|
|
|
609 |
|
|
2000-06-01 Gary Thomas
|
610 |
|
|
|
611 |
|
|
* include/hal_mmu.h (MMU_Control_I): Added for StrongARM support.
|
612 |
|
|
|
613 |
|
|
2000-04-10 Hugo Tyson
|
614 |
|
|
|
615 |
|
|
* include/arm_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION): Only
|
616 |
|
|
use this complex version if we have
|
617 |
|
|
CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT ie. the place_break &c routines
|
618 |
|
|
existed anyway. This is an artificial limitation, somewhat, but
|
619 |
|
|
not so painful in reality.
|
620 |
|
|
|
621 |
|
|
2000-04-04 Jesper Skov
|
622 |
|
|
|
623 |
|
|
* src/context.S:
|
624 |
|
|
* src/vectors.S:
|
625 |
|
|
Wrap the trivial thumb stuff in macros so the important bits stand
|
626 |
|
|
out.
|
627 |
|
|
Fix dumb bug.
|
628 |
|
|
|
629 |
|
|
2000-03-24 Jesper Skov
|
630 |
|
|
|
631 |
|
|
* src/arm_stub.c: Make place_break thumb-aware.
|
632 |
|
|
|
633 |
|
|
* include/arm_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION):
|
634 |
|
|
Thumb-aware definition.
|
635 |
|
|
|
636 |
|
|
2000-03-01 Gary Thomas
|
637 |
|
|
|
638 |
|
|
* cdl/hal_arm.cdl:
|
639 |
|
|
Implement CYGINT_HAL_DIAG_DISABLE_GDB_PROTOCOL_SUPPORTED.
|
640 |
|
|
|
641 |
|
|
2000-02-29 Jonathan Larmour
|
642 |
|
|
|
643 |
|
|
* include/arm_stub.h: Make header C++ safe
|
644 |
|
|
|
645 |
|
|
2000-02-28 Gary Thomas
|
646 |
|
|
|
647 |
|
|
* src/hal_misc.c: Use standard 'diag_dump_buf()' instead of
|
648 |
|
|
private version.
|
649 |
|
|
|
650 |
|
|
2000-02-16 Jesper Skov
|
651 |
|
|
|
652 |
|
|
* src/arm_stub.c: CYG_HAL_ARM -> CYGPKG_HAL_ARM
|
653 |
|
|
|
654 |
|
|
2000-02-10 Jesper Skov
|
655 |
|
|
|
656 |
|
|
* src/vectors.S (reset_platform):
|
657 |
|
|
Removed handling of stubs startup type.
|
658 |
|
|
|
659 |
|
|
2000-02-09 Jesper Skov
|
660 |
|
|
|
661 |
|
|
* cdl/hal_arm.cdl: Removed some fix mes.
|
662 |
|
|
|
663 |
|
|
2000-02-01 Jonathan Larmour
|
664 |
|
|
|
665 |
|
|
* cdl/hal_arm.cdl: Add missing CYGIMP_HAL_PROCESS_ALL_EXCEPTIONS
|
666 |
|
|
and CYGHWR_HAL_ARM_ICE_THREAD_SUPPORT
|
667 |
|
|
options from include/pkgconf/hal_arm.h
|
668 |
|
|
|
669 |
|
|
2000-02-01 Jesper Skov
|
670 |
|
|
|
671 |
|
|
* src/vectors.S: Treat ROM startup+ROM monitor as STUBS startup.
|
672 |
|
|
|
673 |
|
|
* src/arm.ld: Changed PID BE workaround to work with ROM startup.
|
674 |
|
|
Not just when building stubs.
|
675 |
|
|
|
676 |
|
|
2000-01-28 Gary Thomas
|
677 |
|
|
|
678 |
|
|
* src/arm.ld: Add new section 'netdevtab' used to support
|
679 |
|
|
network device initialization.
|
680 |
|
|
|
681 |
|
|
2000-01-26 Jonathan Larmour
|
682 |
|
|
|
683 |
|
|
* src/hal_misc.c (exception_handler): Replace CYGDAT_CYGMON_ENABLE
|
684 |
|
|
dependency with just CYGPKG_CYGMON
|
685 |
|
|
* src/arm_stub.c (__clear_breakpoints): Likewise
|
686 |
|
|
|
687 |
|
|
1999-12-16 Gary Thomas
|
688 |
|
|
|
689 |
|
|
* src/arm.ld: Include all SRAM (*.sram*) sections.
|
690 |
|
|
|
691 |
|
|
1999-12-09 John Dallaway
|
692 |
|
|
|
693 |
|
|
* cdl/hal_arm.cdl: Add big-endian option.
|
694 |
|
|
|
695 |
|
|
1999-12-08 Gary Thomas
|
696 |
|
|
|
697 |
|
|
* src/arm.ld: Add ".sram" section support (used by platforms
|
698 |
|
|
that have separate SRAM and DRAM).
|
699 |
|
|
|
700 |
|
|
1999-12-07 Jesper Skov
|
701 |
|
|
|
702 |
|
|
* cdl/hal_arm.cdl: Added ARM7/ARM9 family option.
|
703 |
|
|
|
704 |
|
|
1999-12-06 Gary Thomas
|
705 |
|
|
|
706 |
|
|
* src/vectors.S (software_interrupt): Context save was incorrect
|
707 |
|
|
for this mode. Note that when entering from supervisor mode, the
|
708 |
|
|
link register (LR) is destroyed.
|
709 |
|
|
|
710 |
|
|
1999-12-02 John Dallaway
|
711 |
|
|
|
712 |
|
|
* cdl/hal_arm.cdl:
|
713 |
|
|
|
714 |
|
|
Use the token in custom rules.
|
715 |
|
|
|
716 |
|
|
1999-12-01 John Dallaway
|
717 |
|
|
|
718 |
|
|
* cdl/hal_arm.cdl:
|
719 |
|
|
|
720 |
|
|
Use the token in custom rules.
|
721 |
|
|
|
722 |
|
|
1999-11-22 Gary Thomas
|
723 |
|
|
|
724 |
|
|
* src/arm.ld: Add section for definining static MMU tables.
|
725 |
|
|
|
726 |
|
|
* src/vectors.S: Introduce PLATFORM_EXTRAS, which if defined provides
|
727 |
|
|
a hook to include platform code in the "vectors.S" file. In particular,
|
728 |
|
|
some platforms will define this to be
|
729 |
|
|
and define static MMU tables there.
|
730 |
|
|
|
731 |
|
|
1999-11-19 Jonathan Larmour
|
732 |
|
|
|
733 |
|
|
* include/basetype.h (CYG_BYTEORDER): If the toolchain tells us to be
|
734 |
|
|
big-endian, be big-endian
|
735 |
|
|
Reported by Grant Edwards
|
736 |
|
|
|
737 |
|
|
1999-11-12 Gary Thomas
|
738 |
|
|
|
739 |
|
|
* src/vectors.S (reset_platform): New function used to reset board
|
740 |
|
|
in the absense of real hardware reset (not possible on all boards).
|
741 |
|
|
|
742 |
|
|
1999-11-11 John Dallaway
|
743 |
|
|
|
744 |
|
|
* cdl/hal_arm.cdl:
|
745 |
|
|
|
746 |
|
|
Generate 'arm.inc' in the build tree.
|
747 |
|
|
|
748 |
|
|
1999-11-05 John Dallaway
|
749 |
|
|
|
750 |
|
|
* cdl/hal_arm.cdl:
|
751 |
|
|
|
752 |
|
|
Add complete dependency analysis to the custom
|
753 |
|
|
rule for 'arm.inc'.
|
754 |
|
|
|
755 |
|
|
1999-11-04 John Dallaway
|
756 |
|
|
|
757 |
|
|
* cdl/hal_arm.cdl:
|
758 |
|
|
|
759 |
|
|
Tidy up custom rules.
|
760 |
|
|
|
761 |
|
|
1999-11-04 John Dallaway
|
762 |
|
|
|
763 |
|
|
* cdl/hal_arm.cdl:
|
764 |
|
|
|
765 |
|
|
Output custom rule dependency information to .deps files in
|
766 |
|
|
the current directory.
|
767 |
|
|
|
768 |
|
|
Dispense with the need to create a 'src' sub-directory.
|
769 |
|
|
|
770 |
|
|
1999-11-01 Jonathan Larmour
|
771 |
|
|
|
772 |
|
|
* src/hal_misc.c (exception_handler): Check for CYGDAT_CYGMON_ENABLE
|
773 |
|
|
rather than just CYGPKG_CYGMON
|
774 |
|
|
Include to get this define
|
775 |
|
|
|
776 |
|
|
1999-10-29 Simon FitzMaurice
|
777 |
|
|
|
778 |
|
|
* cdl/hal_arm.cdl:
|
779 |
|
|
|
780 |
|
|
Use fgrep instead of grep in custom rules. The latter seems
|
781 |
|
|
to behave weirdly under win32.
|
782 |
|
|
|
783 |
|
|
1999-10-27 Gary Thomas
|
784 |
|
|
|
785 |
|
|
* src/arm_stub.c: Fix typo (CYGDAT_CYGMON_ENABLE). Also need
|
786 |
|
|
to include
|
787 |
|
|
|
788 |
|
|
1999-10-27 Gary Thomas
|
789 |
|
|
|
790 |
|
|
* src/arm_stub.c: Add explicit enable for CygMon package.
|
791 |
|
|
|
792 |
|
|
1999-10-27 Hugo Tyson
|
793 |
|
|
|
794 |
|
|
* src/arm_stub.c (cyg_hal_gdb_interrupt): Bugfix to previous: ^Cs
|
795 |
|
|
were being ignored when received by the diag output code, because
|
796 |
|
|
there was already a break in place. Solution is to let
|
797 |
|
|
cyg_hal_gdb_interrupt() override any previous break, and tidy up
|
798 |
|
|
state of course.
|
799 |
|
|
|
800 |
|
|
1999-10-26 Hugo Tyson
|
801 |
|
|
|
802 |
|
|
* src/arm_stub.c (cyg_hal_gdb_place_break): Add this to the
|
803 |
|
|
ARM-specific GDB stub code. See hal/common/.../hal_stub for
|
804 |
|
|
details.
|
805 |
|
|
|
806 |
|
|
1999-10-26 John Dallaway
|
807 |
|
|
|
808 |
|
|
* cdl/hal_arm.cdl:
|
809 |
|
|
|
810 |
|
|
Invoke 'sh' version of 'mkdir' explicitly in custom rules.
|
811 |
|
|
|
812 |
|
|
1999-10-26 Jesper Skov
|
813 |
|
|
|
814 |
|
|
* src/vectors.S: Cleaned up LED code a bit.
|
815 |
|
|
|
816 |
|
|
1999-10-25 Gary Thomas
|
817 |
|
|
|
818 |
|
|
* src/hal_misc.c (exception_handler): If building for CygMon, defer
|
819 |
|
|
exception processing to it, not here.
|
820 |
|
|
|
821 |
|
|
* src/arm_stub.c (__install_breakpoints, __clear_breakpoints):
|
822 |
|
|
Leave out these [dummy] functions if building CygMon.
|
823 |
|
|
|
824 |
|
|
* include/pkgconf/hal_arm.h: Add new configuration option to let
|
825 |
|
|
programs which do not include GDB stubs still process "illegal
|
826 |
|
|
instruction" exceptions.
|
827 |
|
|
|
828 |
|
|
* src/vectors.S: Reorder context restore so stack changes are
|
829 |
|
|
protected (interrupts off).
|
830 |
|
|
|
831 |
|
|
1999-10-26 Jesper Skov
|
832 |
|
|
|
833 |
|
|
* src/arm.ld: Added support for merging RODATA sections into DATA
|
834 |
|
|
* include/hal_io.h: Added BE support.
|
835 |
|
|
|
836 |
|
|
* src/vectors.S (LED): Added definition for PID board.
|
837 |
|
|
|
838 |
|
|
1999-10-26 John Dallaway
|
839 |
|
|
|
840 |
|
|
* cdl/hal_arm.cdl:
|
841 |
|
|
|
842 |
|
|
Modify custom make rules to specify file paths relative
|
843 |
|
|
to the package version directory.
|
844 |
|
|
|
845 |
|
|
1999-10-22 Hugo Tyson
|
846 |
|
|
|
847 |
|
|
* src/arm_stub.c (cyg_hal_gdb_running_step):
|
848 |
|
|
(cyg_hal_gdb_break_is_set): Provide dummies for these two for now.
|
849 |
|
|
See changelog for hal/common/ hal_stub and generic_stub for info.
|
850 |
|
|
|
851 |
|
|
1999-10-21 Jonathan Larmour
|
852 |
|
|
|
853 |
|
|
* include/hal_arch.h: Tidy a bit so the breakpoint instruction is only
|
854 |
|
|
defined in one place
|
855 |
|
|
Change thumb breakpoint instruction to 0xbebe
|
856 |
|
|
|
857 |
|
|
1999-10-18 John Dallaway
|
858 |
|
|
|
859 |
|
|
* cdl/hal_arm.cdl:
|
860 |
|
|
|
861 |
|
|
Add cdl_option CYGHWR_THUMB.
|
862 |
|
|
|
863 |
|
|
1999-10-14 Jesper Skov
|
864 |
|
|
From James Ingham :
|
865 |
|
|
* src/PKGconf.mak: Make sed invocation Solaris safe.
|
866 |
|
|
|
867 |
|
|
1999-10-11 Jesper Skov
|
868 |
|
|
|
869 |
|
|
* src/vectors.S (reset_vector): Always execute PLATFORM_SETUP1.
|
870 |
|
|
|
871 |
|
|
1999-10-10 Gary Thomas
|
872 |
|
|
|
873 |
|
|
* include/pkgconf/hal_arm.h:
|
874 |
|
|
* src/vectors.S:
|
875 |
|
|
* src/arm_stub.c: Add thread debug support via Multi-ICE.
|
876 |
|
|
|
877 |
|
|
1999-10-08 Jonathan Larmour
|
878 |
|
|
|
879 |
|
|
* src/arm.ld (SECTION_bss): Make *(.bss*) rather than just .bss, to
|
880 |
|
|
cater for nickc's BSS gc improvements.
|
881 |
|
|
|
882 |
|
|
1999-10-06 Jesper Skov
|
883 |
|
|
|
884 |
|
|
* include/basetype.h: Set endian to BE if required.
|
885 |
|
|
|
886 |
|
|
1999-10-05 Jesper Skov
|
887 |
|
|
|
888 |
|
|
* src/arm.ld: Force output format to BE if required.
|
889 |
|
|
|
890 |
|
|
1999-09-30 Jesper Skov
|
891 |
|
|
|
892 |
|
|
* src/vectors.S: Add thumb_func before thumb code where switching
|
893 |
|
|
so GDB/objdump knows how to disassemble it.
|
894 |
|
|
* include/hal_arch.h: Change thumb breakpoint to undefined
|
895 |
|
|
instruction.
|
896 |
|
|
* src/arm_stub.c (target_thumb_ins): Corrected branch offsets.
|
897 |
|
|
|
898 |
|
|
1999-09-23 Gary Thomas
|
899 |
|
|
|
900 |
|
|
* src/vectors.S (call_exception_handler): Change on 09-19 messed up
|
901 |
|
|
status register wrt breakpoints, single stepping, etc.
|
902 |
|
|
|
903 |
|
|
1999-09-21 Gary Thomas
|
904 |
|
|
|
905 |
|
|
* include/hal_arch.h: Remove FIXME about GDB register layout.
|
906 |
|
|
|
907 |
|
|
* src/context.S (hal_thread_save_context): Change function prologue
|
908 |
|
|
to match APCS more closely (keeps GDB happier).
|
909 |
|
|
|
910 |
|
|
1999-09-19 Gary Thomas
|
911 |
|
|
|
912 |
|
|
* src/vectors.S (spurious_IRQ): Make sure interrupts are masked
|
913 |
|
|
when switching to IRQ mode.
|
914 |
|
|
|
915 |
|
|
* src/hal_misc.c (exception_handler): GDB stubs only take over
|
916 |
|
|
memory exceptions. This allows proper handling when an application
|
917 |
|
|
has it's own IRQ/FIQ VSR.
|
918 |
|
|
|
919 |
|
|
1999-09-16 Jesper Skov
|
920 |
|
|
|
921 |
|
|
* src/arm.ld: Handle thumb glue sections.
|
922 |
|
|
|
923 |
|
|
1999-09-16 Jesper Skov
|
924 |
|
|
|
925 |
|
|
* src/vectors.S: Always include thumb exception support.
|
926 |
|
|
|
927 |
|
|
1999-09-15 Jesper Skov
|
928 |
|
|
|
929 |
|
|
* src/context.S: Don't trash r0 which holds the thread's initial
|
930 |
|
|
argument.
|
931 |
|
|
|
932 |
|
|
* include/hal_arch.h:
|
933 |
|
|
* src/arm_stub.c:
|
934 |
|
|
Added thumb-aware GDB interrupt functions.
|
935 |
|
|
|
936 |
|
|
1999-09-14 Jesper Skov
|
937 |
|
|
|
938 |
|
|
* src/vectors.S (undefined_instruction): Adjusted wrong register.
|
939 |
|
|
* src/arm_stub.c (target_thumb_ins): Set thumb flag when required.
|
940 |
|
|
(target_ins): Added BX handling.
|
941 |
|
|
|
942 |
|
|
* src/vectors.S:
|
943 |
|
|
* include/hal_arch.h:
|
944 |
|
|
* src/hal_mk_defs.c:
|
945 |
|
|
* src/arm_stub.c (__single_step):
|
946 |
|
|
Determine thumb mode by looking at T bit.
|
947 |
|
|
|
948 |
|
|
1999-09-10 Jesper Skov
|
949 |
|
|
|
950 |
|
|
* src/arm_stub.c (target_thumb_ins): BL is a double instruction.
|
951 |
|
|
|
952 |
|
|
1999-09-13 Gary Thomas
|
953 |
|
|
|
954 |
|
|
* src/vectors.S (handle_IRQ_or_FIQ): Allow spurious interrupts
|
955 |
|
|
to be ignored. Some platforms (CL7xxx) have non-debounced
|
956 |
|
|
interrupt sources which can vanish before the hardware can be
|
957 |
|
|
queried.
|
958 |
|
|
|
959 |
|
|
1999-09-11 Jonathan Larmour
|
960 |
|
|
|
961 |
|
|
* src/arm_stub.c (__computeSignal): Synchronise return value with
|
962 |
|
|
what libbsp does and GDB expects
|
963 |
|
|
(__get_trap_number): Don't shift right 8 - it's already the right number
|
964 |
|
|
|
965 |
|
|
1999-09-10 Jesper Skov
|
966 |
|
|
|
967 |
|
|
* src/vectors.S (start): Moved stub vector changeover to after
|
968 |
|
|
stub init.
|
969 |
|
|
|
970 |
|
|
1999-09-09 Jesper Skov
|
971 |
|
|
|
972 |
|
|
* include/hal_arch.h (HAL_BREAKPOINT):
|
973 |
|
|
* src/arm_stub.c:
|
974 |
|
|
* src/vectors.S:
|
975 |
|
|
Added thumb stub support (except C-c support).
|
976 |
|
|
|
977 |
|
|
1999-08-24 Gary Thomas
|
978 |
|
|
|
979 |
|
|
* src/vectors.S: Fix misc THUMB procedures.
|
980 |
|
|
|
981 |
|
|
1999-08-24 Hugo Tyson
|
982 |
|
|
|
983 |
|
|
* src/vectors.S (handle_IRQ_or_FIQ): Set up the pointer-to-regset
|
984 |
|
|
in r2 for calling the ISR as well as the DSR. This is needed for
|
985 |
|
|
the cyg_hal_gdb_isr() for those platforms that handle ^C's
|
986 |
|
|
incoming that way - the ISR needs a regset to know where to plant
|
987 |
|
|
a breakpoint to stop the system in the interrupted context.
|
988 |
|
|
|
989 |
|
|
1999-08-24 Jesper Skov
|
990 |
|
|
|
991 |
|
|
* src/vectors.S (LED): Check XBUS setting jumper and behave
|
992 |
|
|
accordingly.
|
993 |
|
|
|
994 |
|
|
1999-08-23 Jesper Skov
|
995 |
|
|
|
996 |
|
|
* src/arm_stub.c
|
997 |
|
|
(target_ins): Check whether branches execute.
|
998 |
|
|
(ins_will_execute): Fixed HI and LS.
|
999 |
|
|
|
1000 |
|
|
1999-08-13 John Dallaway
|
1001 |
|
|
|
1002 |
|
|
* cdl/hal_arm.cdl: Add path to CYGBLD_LINKER_SCRIPT value.
|
1003 |
|
|
|
1004 |
|
|
1999-08-12 John Dallaway
|
1005 |
|
|
|
1006 |
|
|
* cdl/hal_arm.cdl: Define CYGBLD_LINKER_SCRIPT.
|
1007 |
|
|
|
1008 |
|
|
1999-08-12 Jesper Skov
|
1009 |
|
|
|
1010 |
|
|
* include/hal_io.h: Include plf_io.h when appropriate.
|
1011 |
|
|
|
1012 |
|
|
1999-08-06 Jesper Skov
|
1013 |
|
|
CR 101032
|
1014 |
|
|
* src/vectors.S (handle_IRQ_or_FIQ): Moved setup of register_frame
|
1015 |
|
|
argument to just before the interrupt_end call.
|
1016 |
|
|
|
1017 |
|
|
1999-07-28 Hugo Tyson
|
1018 |
|
|
|
1019 |
|
|
* src/vectors.S (_eCos_id): Remove bogus version string.
|
1020 |
|
|
|
1021 |
|
|
1999-07-26 Hugo Tyson
|
1022 |
|
|
|
1023 |
|
|
* src/hal_misc.c (hal_default_isr): Call the special platform HAL
|
1024 |
|
|
routine to see whether there is a ^C lurking in the serial device
|
1025 |
|
|
through a macro, if it's defined. Problem is that
|
1026 |
|
|
CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT *is* defined for platforms that
|
1027 |
|
|
do not support it.
|
1028 |
|
|
|
1029 |
|
|
1999-07-23 Hugo Tyson
|
1030 |
|
|
|
1031 |
|
|
* src/hal_misc.c (hal_default_isr): If we are including
|
1032 |
|
|
CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT, then poll a special platform
|
1033 |
|
|
HAL routine to see whether there is a ^C lurking in the serial
|
1034 |
|
|
device. This has to be done from the default ISR so that others
|
1035 |
|
|
(which must know about ^Cs is they are still to be handled) can
|
1036 |
|
|
install over the top. Not all platforms support this, so enabling
|
1037 |
|
|
CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT will not necessarily work.
|
1038 |
|
|
|
1039 |
|
|
1999-07-21 Hugo Tyson
|
1040 |
|
|
|
1041 |
|
|
* src/vectors.S (vectors): Re-organize startup a little to support
|
1042 |
|
|
ROMming of the image and stubrom creation. Withdraw publication
|
1043 |
|
|
of cyg_startup_stack; it's necessary to do this a different way,
|
1044 |
|
|
using...
|
1045 |
|
|
|
1046 |
|
|
* include/hal_intr.h (hal_dram_size): reserve location 0x40 for
|
1047 |
|
|
communicating DRAM size between boot ROMs and app during startup,
|
1048 |
|
|
and remembering it within ROM startup. Platforms that don't need
|
1049 |
|
|
this should zero the location.
|
1050 |
|
|
|
1051 |
|
|
1999-07-19 Hugo Tyson
|
1052 |
|
|
|
1053 |
|
|
* src/vectors.S (cyg_startup_stack): Publish this object for
|
1054 |
|
|
passing some DRAM size info around during startup.
|
1055 |
|
|
Remove the unused [well, ignored] array hal_vsr_table - the VSR
|
1056 |
|
|
table is defined to be at 0x20 by the code here in vectors.S
|
1057 |
|
|
|
1058 |
|
|
* include/hal_intr.h (HAL_VSR_SET): define hal_vsr_table to be at
|
1059 |
|
|
0x20 where the hardware vectors actually read VSR entries from.
|
1060 |
|
|
Renumber VSR symbols to match. Do not use the external
|
1061 |
|
|
"hal_vsr_table" symbol.
|
1062 |
|
|
|
1063 |
|
|
1999-07-15 Hugo Tyson
|
1064 |
|
|
|
1065 |
|
|
* src/vectors.S (reset_vector): Invalidate and disable caches for
|
1066 |
|
|
EBSA-285 startup is now in PLATFORM_SETUP1 as intended. Cache
|
1067 |
|
|
enabling is in hal_hardware_init; so, same results as before, but
|
1068 |
|
|
tidier.
|
1069 |
|
|
|
1070 |
|
|
1999-07-14 Hugo Tyson
|
1071 |
|
|
|
1072 |
|
|
* src/vectors.S: Add some startup debug via a LED macro - which
|
1073 |
|
|
has different content depending on platform, of course.
|
1074 |
|
|
For the EBSA-285, flush caches when writing vectors and the like,
|
1075 |
|
|
since RAM startup occurs with caches enabled, otherwise you get
|
1076 |
|
|
mysterious traps as CygMon is entered regardless at the first
|
1077 |
|
|
clock tick, for example. This may be taken out again as ROM
|
1078 |
|
|
startup is dealt with via PLATFORM_SETUP1, but for now...
|
1079 |
|
|
|
1080 |
|
|
1999-06-22 Gary Thomas
|
1081 |
|
|
|
1082 |
|
|
* src/vectors.S: Fix names of 'report' functions (debug dumps
|
1083 |
|
|
for various exceptions). These needed changes for two reasons:
|
1084 |
|
|
name pollution and naming clashes after new ABI adopted.
|
1085 |
|
|
Improve support for FIQ interrupts.
|
1086 |
|
|
|
1087 |
|
|
1999-06-16 Gary Thomas
|
1088 |
|
|
|
1089 |
|
|
* src/vectors.S: Add ".pool" directives which cause assembler
|
1090 |
|
|
to dump it's literal pool early. This is necessary because
|
1091 |
|
|
of the limited addressing available in THUMB mode.
|
1092 |
|
|
|
1093 |
|
|
1999-06-15 Gary Thomas
|
1094 |
|
|
|
1095 |
|
|
* src/vectors.S (vectors): Some boards have an MMU, but the
|
1096 |
|
|
reset vector needs to have an unmapped address!
|
1097 |
|
|
|
1098 |
|
|
1999-06-09 Gary Thomas
|
1099 |
|
|
|
1100 |
|
|
* src/vectors.S (reset_vector): Streamline ROM/STUBS code.
|
1101 |
|
|
|
1102 |
|
|
1999-05-25 Gary Thomas
|
1103 |
|
|
|
1104 |
|
|
* src/vectors.S (_eCos_id): Add version string. Useful for
|
1105 |
|
|
tracking when a system was configured (especially ROMs).
|
1106 |
|
|
Add initial pure-thumb support - only for kernel+application
|
1107 |
|
|
in thumb mode.
|
1108 |
|
|
|
1109 |
|
|
* include/hal_intr.h: Update interrupt support macros for
|
1110 |
|
|
thumb mode system.
|
1111 |
|
|
|
1112 |
|
|
* src/context.S: Add initial pure-thumb mode support.
|
1113 |
|
|
|
1114 |
|
|
1999-05-21 Hugo Tyson
|
1115 |
|
|
|
1116 |
|
|
* include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
|
1117 |
|
|
HAL_INTERRUPT_STACK_TOP so that stack usage macros in
|
1118 |
|
|
kernel/.../stackmon.hxx can work.
|
1119 |
|
|
|
1120 |
|
|
* src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
|
1121 |
|
|
the interrupt stack and its friend for the stack top so that we
|
1122 |
|
|
can publish them with nice names.
|
1123 |
|
|
|
1124 |
|
|
1999-05-19 Gary Thomas
|
1125 |
|
|
|
1126 |
|
|
* src/arm.ld: Change symbols to match new no-underscore ABI.
|
1127 |
|
|
|
1128 |
|
|
1999-05-19 Gary Thomas
|
1129 |
|
|
|
1130 |
|
|
* include/hal_intr.h: Define interrupt support functions for
|
1131 |
|
|
Thumb mode.
|
1132 |
|
|
|
1133 |
|
|
1999-05-16 Gary Thomas
|
1134 |
|
|
|
1135 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_STACK_CALL_PENDING_DSRS):
|
1136 |
|
|
Add macro for new DSR handling mechanism (was override of a
|
1137 |
|
|
"weak" symbol in kernel).
|
1138 |
|
|
|
1139 |
|
|
1999-05-13 Hugo Tyson
|
1140 |
|
|
|
1141 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack
|
1142 |
|
|
(rather conservatively) before use.
|
1143 |
|
|
|
1144 |
|
|
1999-05-11 Gary Thomas
|
1145 |
|
|
|
1146 |
|
|
* src/vectors.S: No separate interrupt stack if no kernel.
|
1147 |
|
|
|
1148 |
|
|
1999-05-10 Gary Thomas
|
1149 |
|
|
|
1150 |
|
|
* src/vectors.S:
|
1151 |
|
|
* src/hal_mk_defs.c:
|
1152 |
|
|
* include/hal_arch.h: Fix up machine states, initialize stacks.
|
1153 |
|
|
|
1154 |
|
|
1999-04-28 Bart Veer
|
1155 |
|
|
|
1156 |
|
|
* src/PKGconf.mak:
|
1157 |
|
|
Remove the -n argument to tail, it does not appear to be required
|
1158 |
|
|
on any supported host and causes problems with some
|
1159 |
|
|
implementations of tail.
|
1160 |
|
|
|
1161 |
|
|
1999-04-25 Gary Thomas
|
1162 |
|
|
|
1163 |
|
|
* src/vectors.S: Fix use of 'RAISE_INTR' which cannot be used in 'mov'
|
1164 |
|
|
instruction (doesn't fit). PR 19906
|
1165 |
|
|
|
1166 |
|
|
1999-04-23 John Dallaway
|
1167 |
|
|
|
1168 |
|
|
* src/PKGconf.mak: Avoid backslash in grep search pattern to
|
1169 |
|
|
workaround PR 19923.
|
1170 |
|
|
|
1171 |
|
|
1999-04-15 Jonathan Larmour
|
1172 |
|
|
|
1173 |
|
|
* src/arm.ld: Define __bss_end at the end of the BSS
|
1174 |
|
|
* src/vectors.S (start): Use __bss_end rather than _end when clearing
|
1175 |
|
|
BSS
|
1176 |
|
|
These fix PR 19750
|
1177 |
|
|
|
1178 |
|
|
1999-04-14 Jonathan Larmour
|
1179 |
|
|
|
1180 |
|
|
* src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
|
1181 |
|
|
But do define EXTRAS every time for the linker script
|
1182 |
|
|
|
1183 |
|
|
1999-04-13 Gary Thomas
|
1184 |
|
|
|
1185 |
|
|
* src/vectors.S: Use new include
|
1186 |
|
|
which includes macros and definitions for platform specifics.
|
1187 |
|
|
This keeps 'ifdef's out of "vectors.S" and makes cleaner code.
|
1188 |
|
|
Major restructuring of interrupt handling to support full use
|
1189 |
|
|
of a separate interrupt stack.
|
1190 |
|
|
|
1191 |
|
|
1999-04-09 Jesper Skov
|
1192 |
|
|
|
1193 |
|
|
* src/arm_stub.c:
|
1194 |
|
|
Moved get_register and put_register to hal_stub.c.
|
1195 |
|
|
|
1196 |
|
|
1999-04-08 John Dallaway
|
1197 |
|
|
|
1198 |
|
|
* src/*.ld: Revised SECTION_* macro arguments to
|
1199 |
|
|
avoid padded output sections (PR 19787)
|
1200 |
|
|
|
1201 |
|
|
1999-03-22 Jonathan Larmour
|
1202 |
|
|
|
1203 |
|
|
* include/arm_stub.h: Update copyright
|
1204 |
|
|
|
1205 |
|
|
* src/arm_stub.c: Update copyright
|
1206 |
|
|
|
1207 |
|
|
1999-03-22 Hugo Tyson
|
1208 |
|
|
|
1209 |
|
|
* include/hal_arch.h:
|
1210 |
|
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
1211 |
|
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
1212 |
|
|
|
1213 |
|
|
1999-03-16 Gary Thomas
|
1214 |
|
|
|
1215 |
|
|
* src/hal_misc.c: Change how breakpoint is described (just a long).
|
1216 |
|
|
|
1217 |
|
|
* src/vectors.S: Pass registers to ISR for GDB break support.
|
1218 |
|
|
|
1219 |
|
|
1999-03-17 John Dallaway
|
1220 |
|
|
|
1221 |
|
|
* src/PKGconf.mak: Remove dependence on echo '-e' switch.
|
1222 |
|
|
|
1223 |
|
|
1999-03-12 Gary Thomas
|
1224 |
|
|
|
1225 |
|
|
* include/hal_arch.h: Add definition of 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
|
1226 |
|
|
|
1227 |
|
|
1999-03-11 Gary Thomas
|
1228 |
|
|
|
1229 |
|
|
* include/pkgconf/hal_arm.h: Fix comment (name was incorrect)
|
1230 |
|
|
|
1231 |
|
|
1999-03-10 Jesper Skov
|
1232 |
|
|
|
1233 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_ATTACH): Added.
|
1234 |
|
|
|
1235 |
|
|
1999-03-09 Gary Thomas
|
1236 |
|
|
|
1237 |
|
|
* src/hal_misc.c: Move declaration of __CTOR_LIST__ to avoid warning.
|
1238 |
|
|
|
1239 |
|
|
1999-03-09 Gary Thomas
|
1240 |
|
|
|
1241 |
|
|
* src/vectors.S: Remove warning on stack size redefine.
|
1242 |
|
|
|
1243 |
|
|
1999-03-08 Gary Thomas
|
1244 |
|
|
|
1245 |
|
|
* src/vectors.S: Override default stack size on AEB.
|
1246 |
|
|
|
1247 |
|
|
1999-03-05 Gary Thomas
|
1248 |
|
|
|
1249 |
|
|
* src/vectors.S:
|
1250 |
|
|
* include/pkgconf/hal_arm.h: DOn't print exception info if GDB stubs enabled.
|
1251 |
|
|
|
1252 |
|
|
* src/PKGconf.mak:
|
1253 |
|
|
* src/arm.ld: Clean up I/O package changes.
|
1254 |
|
|
|
1255 |
|
|
1999-03-04 Jonathan Larmour
|
1256 |
|
|
|
1257 |
|
|
* src/arm.ld:
|
1258 |
|
|
Unconditionalize use of libextras.a and add libextras.a to GROUP()
|
1259 |
|
|
|
1260 |
|
|
1999-03-04 Gary Thomas
|
1261 |
|
|
|
1262 |
|
|
These changes merged from 'ecos-new_devs-19990216-branch'
|
1263 |
|
|
|
1264 |
|
|
(1999-02-18 Gary Thomas )
|
1265 |
|
|
|
1266 |
|
|
* src/PKGconf.mak (DRIVERS):
|
1267 |
|
|
* src/arm.ld: Support special linking requirements for I/O drivers.
|
1268 |
|
|
|
1269 |
|
|
(1999-02-16 Gary Thomas )
|
1270 |
|
|
|
1271 |
|
|
* src/arm.ld: Changes for new I/O [device drivers] subsystem.
|
1272 |
|
|
|
1273 |
|
|
1999-02-26 Gary Thomas
|
1274 |
|
|
|
1275 |
|
|
* src/vectors.S: Add separate interrupt stack handling.
|
1276 |
|
|
|
1277 |
|
|
Fix memory region layouts for AEB allowing better error detection.
|
1278 |
|
|
|
1279 |
|
|
1999-02-25 Nick Garnett
|
1280 |
|
|
|
1281 |
|
|
* src/vectors.S:
|
1282 |
|
|
Changed label used to access scheduler lock to one that is not
|
1283 |
|
|
mangled by C++. This is intended to make support for interrupt
|
1284 |
|
|
handling in non-kernel configurations easier.
|
1285 |
|
|
|
1286 |
|
|
1999-02-20 Jonathan Larmour
|
1287 |
|
|
|
1288 |
|
|
* include/hal_arch.h:
|
1289 |
|
|
Rename deliver_exception -> cyg_hal_deliver_exception
|
1290 |
|
|
QA improvements
|
1291 |
|
|
|
1292 |
|
|
* include/hal_intr.h:
|
1293 |
|
|
Reorganise vector/interrupt/exception names according to purpose
|
1294 |
|
|
QA improvements
|
1295 |
|
|
|
1296 |
|
|
* arch/current/src/hal_misc.c:
|
1297 |
|
|
Rename deliver_exception -> cyg_hal_deliver_exception
|
1298 |
|
|
Rename vectors due to hal_intr.h changes
|
1299 |
|
|
QA improvements
|
1300 |
|
|
|
1301 |
|
|
* arch/current/src/hal_mk_defs.c:
|
1302 |
|
|
* arch/current/src/vectors.S
|
1303 |
|
|
Rename vectors due to hal_intr.h changes
|
1304 |
|
|
QA improvements
|
1305 |
|
|
|
1306 |
|
|
1999-02-16 Jesper Skov
|
1307 |
|
|
|
1308 |
|
|
* src/vectors.S: Changed set_debug_traps to initialize_stub.
|
1309 |
|
|
|
1310 |
|
|
* src/arm_stub.c:
|
1311 |
|
|
* include/arm_stub.h:
|
1312 |
|
|
Cleaned up to only include arch specific stub code.
|
1313 |
|
|
|
1314 |
|
|
1999-02-16 Gary Thomas
|
1315 |
|
|
|
1316 |
|
|
* src/arm.ld: Changes for new I/O [device drivers] subsystem.
|
1317 |
|
|
|
1318 |
|
|
1999-02-10 Gary Thomas
|
1319 |
|
|
|
1320 |
|
|
* src/hal_misc.c (hal_default_isr): Add diagnostic message for PR 19145-19147
|
1321 |
|
|
|
1322 |
|
|
1999-02-05 John Dallaway
|
1323 |
|
|
|
1324 |
|
|
* src/arm.ld: Add LMA_EQ_VMA macro definition.
|
1325 |
|
|
|
1326 |
|
|
1999-02-04 Gary Thomas
|
1327 |
|
|
|
1328 |
|
|
* src/vectors.S: Use symbolic 'raise interrupt' instead of hard coded value.
|
1329 |
|
|
Better GDB stubs stack handling.
|
1330 |
|
|
|
1331 |
|
|
* src/hal_mk_defs.c: Add symbolic symbol for 'raise interrupt' instrumentation.
|
1332 |
|
|
|
1333 |
|
|
1999-02-03 Gary Thomas
|
1334 |
|
|
|
1335 |
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
1336 |
|
|
* src/vectors.S (start): Use C coded 'cyg_hal_invoke_constructors()'
|
1337 |
|
|
|
1338 |
|
|
* src/hal_misc.c (exception_handler): Remove debug message ...oops!
|
1339 |
|
|
|
1340 |
|
|
* include/hal_arch.h (HAL_SET_GDB_REGISTERS): Restore PSR.
|
1341 |
|
|
|
1342 |
|
|
* src/vectors.S: Use separate stack for GDB stubs exception handlers.
|
1343 |
|
|
|
1344 |
|
|
1999-02-01 Gary Thomas
|
1345 |
|
|
|
1346 |
|
|
* src/hal_misc.c: Need for 'dump exception' option.
|
1347 |
|
|
|
1348 |
|
|
* src/vectors.S: Fix ROM startup machine initialization.
|
1349 |
|
|
|
1350 |
|
|
1999-01-25 Gary Thomas
|
1351 |
|
|
|
1352 |
|
|
* src/arm.ld: Add Copyright
|
1353 |
|
|
|
1354 |
|
|
1999-01-25 Jesper Skov
|
1355 |
|
|
|
1356 |
|
|
* src/arm_stub.c (__build_t_packet): Rewrote fix me text. Added PR
|
1357 |
|
|
number, but otherwise left the note.
|
1358 |
|
|
|
1359 |
|
|
1999-01-21 Gary Thomas
|
1360 |
|
|
|
1361 |
|
|
* src/arm_stub.c (ins_will_execute): Computation of LS/HI
|
1362 |
|
|
was incorrect.
|
1363 |
|
|
|
1364 |
|
|
1999-01-20 Gary Thomas
|
1365 |
|
|
|
1366 |
|
|
* src/arm.ld: Change "etext" to "__etext".
|
1367 |
|
|
|
1368 |
|
|
1999-01-19 Gary Thomas
|
1369 |
|
|
|
1370 |
|
|
* src/vectors.S: Rework exception handlers.
|
1371 |
|
|
(start): Fix for new startup type (STUBS)
|
1372 |
|
|
|
1373 |
|
|
* src/hal_misc.c (exception_handler): Allow GDB stubs to take over all
|
1374 |
|
|
exceptions while the stubs are executing. Also move some common stubs
|
1375 |
|
|
initialization into this file.
|
1376 |
|
|
|
1377 |
|
|
1999-01-18 Gary Thomas
|
1378 |
|
|
|
1379 |
|
|
* include/pkgconf/hal_arm.h: Add configurations for GDB stubs/normal ROM.
|
1380 |
|
|
|
1381 |
|
|
* src/arm.ld: Include HAL/ARM specifics.
|
1382 |
|
|
|
1383 |
|
|
* include/pkgconf/hal_arm.h:
|
1384 |
|
|
* src/hal_misc.c:
|
1385 |
|
|
* src/vectors.S: Add configure option 'CYGHWR_HAL_ARM_DUMP_EXCEPTIONS'
|
1386 |
|
|
which is used to chose whether to print diagnostic exception dumps
|
1387 |
|
|
or not.
|
1388 |
|
|
|
1389 |
|
|
1999-01-15 Gary Thomas
|
1390 |
|
|
|
1391 |
|
|
* src/hal_misc.c: Clean up warnings
|
1392 |
|
|
|
1393 |
|
|
* include/hal_arch.h:
|
1394 |
|
|
* include/hal_intr.h: Add function prototypes to avoid warnings.
|
1395 |
|
|
|
1396 |
|
|
* src/arm.ld: Add definition of _stext. Take out
|
1397 |
|
|
GLOBAL_OFFSET_TABLE.
|
1398 |
|
|
|
1399 |
|
|
1999-01-14 Gary Thomas
|
1400 |
|
|
|
1401 |
|
|
* src/PKGconf.mak: Set up for MLT based linker scripts.
|
1402 |
|
|
|
1403 |
|
|
* src/arm.ld: New file
|
1404 |
|
|
|
1405 |
|
|
* include/hal_intr.h (HAL_QUERY_INTERRUPTS): Test was backwards
|
1406 |
|
|
|
1407 |
|
|
1999-01-13 Gary Thomas
|
1408 |
|
|
|
1409 |
|
|
* include/hal_intr.h (HAL_TRANSLATE_VECTOR): Add new macro
|
1410 |
|
|
|
1411 |
|
|
1999-01-12 Gary Thomas
|
1412 |
|
|
|
1413 |
|
|
* include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering
|
1414 |
|
|
of words within doubles.
|
1415 |
|
|
|
1416 |
|
|
1999-01-05 Gary Thomas
|
1417 |
|
|
|
1418 |
|
|
* src/vectors.S: Force AEB-1 memory configuration.
|
1419 |
|
|
|
1420 |
|
|
1998-12-16 Gary Thomas
|
1421 |
|
|
|
1422 |
|
|
* src/arm_stub.c (ins_will_execute): Fix warning.
|
1423 |
|
|
|
1424 |
|
|
* include/hal_intr.h: Add
|
1425 |
|
|
for platform specifics.
|
1426 |
|
|
|
1427 |
|
|
1998-12-15 Gary Thomas
|
1428 |
|
|
|
1429 |
|
|
* src/hal_mk_defs.c:
|
1430 |
|
|
* include/hal_io.h:
|
1431 |
|
|
* src/vectors.S: Changes to support kernel-less configuration.
|
1432 |
|
|
(___gccmain): Add new dummy function.
|
1433 |
|
|
|
1434 |
|
|
* src/hal_misc.c: Merge in platform independent code from
|
1435 |
|
|
old "pid/.../hal_misc.c"
|
1436 |
|
|
|
1437 |
|
|
1998-12-15 Jesper Skov
|
1438 |
|
|
|
1439 |
|
|
* include/hal_arch.h: Changed HAL_JMP_BUF_SIZE to
|
1440 |
|
|
CYGARC_JMP_BUF_SIZE.
|
1441 |
|
|
|
1442 |
|
|
1998-12-14 Gary Thomas
|
1443 |
|
|
|
1444 |
|
|
* src/hal_misc.c (exception_handler): Change config option
|
1445 |
|
|
to be consistent "CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS"
|
1446 |
|
|
|
1447 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Set initial
|
1448 |
|
|
PC for GDB thread info.
|
1449 |
|
|
|
1450 |
|
|
* src/arm_stub.c (__build_t_packet): Fix thread id's which
|
1451 |
|
|
must be send to GDB in big-endian.
|
1452 |
|
|
|
1453 |
|
|
1998-12-10 Jesper Skov
|
1454 |
|
|
|
1455 |
|
|
* include/hal_cache.h (HAL_DCACHE_UNLOCK_ALL,
|
1456 |
|
|
HAL_ICACHE_UNLOCK_ALL): Added.
|
1457 |
|
|
|
1458 |
|
|
1998-12-09 Gary Thomas
|
1459 |
|
|
|
1460 |
|
|
* src/vectors.S (abort_prefetch): Clean up all exception
|
1461 |
|
|
handlers (some were just broken).
|
1462 |
|
|
|
1463 |
|
|
* src/hal_misc.c (exception_handler): Improved exception
|
1464 |
|
|
handling for GDB stubs while accessing memory.
|
1465 |
|
|
|
1466 |
|
|
1998-12-04 Gary Thomas
|
1467 |
|
|
|
1468 |
|
|
* src/arm_stub.c (target_ins): Finish single step support.
|
1469 |
|
|
|
1470 |
|
|
1998-12-03 Gary Thomas
|
1471 |
|
|
|
1472 |
|
|
* src/vectors.S (_name): Add undefined instruction handling
|
1473 |
|
|
(for breakpoint/single step support). Plus some rework and
|
1474 |
|
|
general cleanup.
|
1475 |
|
|
|
1476 |
|
|
* src/arm_stub.c (single_step):
|
1477 |
|
|
* include/hal_arch.h (HAL_BREAKPOINT): Make breakpoint use
|
1478 |
|
|
an illegal instruction rather than SWI.
|
1479 |
|
|
|
1480 |
|
|
1998-12-02 Gary Thomas
|
1481 |
|
|
|
1482 |
|
|
* src/arm_stub.c (ins_will_execute): Take out debug messages
|
1483 |
|
|
|
1484 |
|
|
* include/pkgconf/hal_arm.h: New file
|
1485 |
|
|
|
1486 |
|
|
* include/arm_stub.h: Add PSR register definitions
|
1487 |
|
|
|
1488 |
|
|
* src/arm_stub.c (single_step): Support single stepping
|
1489 |
|
|
|
1490 |
|
|
1998-12-01 Gary Thomas
|
1491 |
|
|
|
1492 |
|
|
* src/vectors.S (reset_vector): Rework exception handing to leave
|
1493 |
|
|
vectors in place unless GDB stubs are included (or started in
|
1494 |
|
|
user mode via Angel)
|
1495 |
|
|
|
1496 |
|
|
1998-11-26 Gary Thomas
|
1497 |
|
|
|
1498 |
|
|
* src/vectors.S (_vectors): Rework to handle SWI exception
|
1499 |
|
|
Changes to make GDB stubs work.
|
1500 |
|
|
|
1501 |
|
|
* src/hal_misc.c (exception_handler):
|
1502 |
|
|
Save registers in global "_hal_registers"
|
1503 |
|
|
|
1504 |
|
|
* src/PKGconf.mak (COMPILE): Add arm_stub.c
|
1505 |
|
|
|
1506 |
|
|
* include/hal_io.h: Need to include
|
1507 |
|
|
|
1508 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT):
|
1509 |
|
|
Clean up stack usage - no need for 56 byte padding (PPC holdover)
|
1510 |
|
|
(HAL_BREAKPOINT):
|
1511 |
|
|
(HAL_GET_GDB_REGISTERS):
|
1512 |
|
|
(HAL_SET_GDB_REGISTERS): Clean up for working stubs
|
1513 |
|
|
|
1514 |
|
|
* src/arm_stub.c: New file, GDB stubs support
|
1515 |
|
|
|
1516 |
|
|
1998-11-18 Gary Thomas
|
1517 |
|
|
|
1518 |
|
|
* src/hal_mk_defs.c: Add define for 'HAL_SavedRegisters'
|
1519 |
|
|
|
1520 |
|
|
* include/hal_arch.h: cleanup comments
|
1521 |
|
|
|
1522 |
|
|
* include/basetype.h: cleanup comments
|
1523 |
|
|
|
1524 |
|
|
* src/vectors.S: Improved interrupt stack handling.
|
1525 |
|
|
|
1526 |
|
|
* include/hal_intr.h: Add support for interrupt latency
|
1527 |
|
|
measurement, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY.
|
1528 |
|
|
|
1529 |
|
|
1998-10-16 Bart Veer
|
1530 |
|
|
|
1531 |
|
|
* src/vectors.S (__interrupt_stack):
|
1532 |
|
|
Made the interrupt stack size configurable.
|
1533 |
|
|
|
1534 |
|
|
//===========================================================================
|
1535 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
1536 |
|
|
// -------------------------------------------
|
1537 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
1538 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
1539 |
|
|
//
|
1540 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
1541 |
|
|
// the terms of the GNU General Public License as published by the Free
|
1542 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
1543 |
|
|
//
|
1544 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
1545 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
1546 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
1547 |
|
|
// for more details.
|
1548 |
|
|
//
|
1549 |
|
|
// You should have received a copy of the GNU General Public License along
|
1550 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
1551 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
1552 |
|
|
//
|
1553 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
1554 |
|
|
// or inline functions from this file, or you compile this file and link it
|
1555 |
|
|
// with other works to produce a work based on this file, this file does not
|
1556 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
1557 |
|
|
// License. However the source code for this file must still be made available
|
1558 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
1559 |
|
|
//
|
1560 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
1561 |
|
|
// this file might be covered by the GNU General Public License.
|
1562 |
|
|
//
|
1563 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
1564 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
1565 |
|
|
// -------------------------------------------
|
1566 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
1567 |
|
|
//===========================================================================
|