1 |
786 |
skrzyp |
2004-04-22 Jani Monoses
|
2 |
|
|
|
3 |
|
|
* cdl/hal_mn10300.cdl :
|
4 |
|
|
Invoke tail with stricter syntax that works in latest coreutils.
|
5 |
|
|
|
6 |
|
|
2003-12-08 Gary Thomas
|
7 |
|
|
|
8 |
|
|
* src/hal_misc.c: Only declare __mem_fault_handler if GDB stubs
|
9 |
|
|
are included (and it will be used).
|
10 |
|
|
|
11 |
|
|
2003-01-31 Mark Salter
|
12 |
|
|
|
13 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
|
14 |
|
|
handle exit.
|
15 |
|
|
|
16 |
|
|
2002-12-06 Mark Salter
|
17 |
|
|
|
18 |
|
|
* cdl/hal_mn10300.cdl: Add CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
|
19 |
|
|
* include/hal_intr.h: Support CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
|
20 |
|
|
|
21 |
|
|
2002-04-29 Jonathan Larmour
|
22 |
|
|
|
23 |
|
|
* src/vectors.S:
|
24 |
|
|
Don't use .file as it can confuse debugging since the .file
|
25 |
|
|
doesn't contain the path and therefore the debugger will never
|
26 |
|
|
know where it lives! This conflicts with using -Wa,--gstabs.
|
27 |
|
|
|
28 |
|
|
2002-04-15 Jonathan Larmour
|
29 |
|
|
|
30 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
|
31 |
|
|
__do_syscall.
|
32 |
|
|
|
33 |
|
|
2001-11-16 Nick Garnett
|
34 |
|
|
|
35 |
|
|
* src/hal_misc.c (hal_msbit_index): Fixed this function so that it
|
36 |
|
|
actually works!
|
37 |
|
|
|
38 |
|
|
2001-10-16 David Howells
|
39 |
|
|
|
40 |
|
|
* src/hal_syscall.c: mustn't increment the return address by 4.
|
41 |
|
|
* cdl/hal_mn10300.cdl: moved the RTC configuration previously
|
42 |
|
|
added to the ASB2305 platform.
|
43 |
|
|
|
44 |
|
|
2001-10-16 David Howells
|
45 |
|
|
|
46 |
|
|
* src/vectors.S: conditionally call diagnostic macros on entry and
|
47 |
|
|
exit to default NMI handler and make inclusion of RedBoot header
|
48 |
|
|
file conditional.
|
49 |
|
|
|
50 |
|
|
2001-10-15 David Howells
|
51 |
|
|
|
52 |
|
|
* include/mn10300_stub.h: added syscall handling.
|
53 |
|
|
* src/hal_syscall.c: ditto
|
54 |
|
|
* src/mn10300_stub.c: ditto
|
55 |
|
|
* src/vectors.S: ditto
|
56 |
|
|
* cdl/hal_mn10300.cdl: added RTC configuration.
|
57 |
|
|
|
58 |
|
|
2001-07-27 David Howells
|
59 |
|
|
|
60 |
|
|
* include/mn10300_stub.h: set NUMREGS to be the correct value to
|
61 |
|
|
keep gdb happy.
|
62 |
|
|
* include/hal_io.h: refer to plf_io.h
|
63 |
|
|
* include/arch.inc: note presence of the ASB2305 platform
|
64 |
|
|
* src/vectors.S: Adjusted exception handling to be able to cope
|
65 |
|
|
with AM33v2 exceptions.
|
66 |
|
|
|
67 |
|
|
2001-01-18 Nick Garnett
|
68 |
|
|
|
69 |
|
|
* src/vectors.S: Added underscore to reference to
|
70 |
|
|
cyg_scheduler_sched_lock, since CYGBLD_ATTRIB_ASM_ALIAS() now adds
|
71 |
|
|
one automatically.
|
72 |
|
|
|
73 |
|
|
2000-11-30 Drew Moseley
|
74 |
|
|
|
75 |
|
|
* include/hal_arch.h: Handle Cygmon interrupt stack. ie For
|
76 |
|
|
Cygmon we must switch to a new stack immediately on exception to
|
77 |
|
|
make sure that we don't modify the application stack at all since
|
78 |
|
|
GDB may be using it.
|
79 |
|
|
* src/vectors.S: Ditto.
|
80 |
|
|
|
81 |
|
|
2000-10-20 Jesper Skov
|
82 |
|
|
|
83 |
|
|
* src/hal_misc.c: Update __mem_fault_handler declaration.
|
84 |
|
|
|
85 |
|
|
2000-09-04 Jonathan Larmour
|
86 |
|
|
|
87 |
|
|
* include/basetype.h (CYGARC_ALIGNMENT): mn10300 has 4 byte alignment
|
88 |
|
|
(CYGARC_P2ALIGNMENT): Likewise
|
89 |
|
|
|
90 |
|
|
2000-08-29 Jonathan Larmour
|
91 |
|
|
|
92 |
|
|
* src/vectors.S (__default_nmi_vsr): Fix quoting in comment problem
|
93 |
|
|
|
94 |
|
|
2000-08-15 Drew Moseley
|
95 |
|
|
|
96 |
|
|
* src/mn10300_stub.c (__is_breakpoint_function): Prepend an _ to
|
97 |
|
|
breakinst. Apparently the symbol generation has changed requiring
|
98 |
|
|
this.
|
99 |
|
|
|
100 |
|
|
2000-08-14 Drew Moseley
|
101 |
|
|
|
102 |
|
|
* src/vectors.S: Use some generic MN10300 code rather than AM33-specific.
|
103 |
|
|
|
104 |
|
|
* include/mn10300_stub.h: Some cleanups of AM33/2.00 includes.
|
105 |
|
|
|
106 |
|
|
* src/mn10300_stub.c (__computeSignal): Make sure SIGSYSCALL is
|
107 |
|
|
defined before returning it.
|
108 |
|
|
|
109 |
|
|
2000-08-12 Drew Moseley
|
110 |
|
|
|
111 |
|
|
* include/mn10300_stub.h: More rearranging of GDB regnames.
|
112 |
|
|
|
113 |
|
|
2000-08-11 Drew Moseley
|
114 |
|
|
|
115 |
|
|
* include/mn10300_stub.h: Rearranged regnames to correspond to
|
116 |
|
|
what GDB is expecting.
|
117 |
|
|
|
118 |
|
|
* include/arch.inc: Fixed error in declaration of hal_intc_decode.
|
119 |
|
|
|
120 |
|
|
2000-08-10 Drew Moseley
|
121 |
|
|
|
122 |
|
|
* src/vectors.S: Added syscall handling.
|
123 |
|
|
Added HAL_EARLY_INIT.
|
124 |
|
|
Added CTRLC_SUPPORT.
|
125 |
|
|
Added CYGMON support.
|
126 |
|
|
|
127 |
|
|
* src/mn10300_stub.c: Added breakpoint list handling.
|
128 |
|
|
Added syscall handling.
|
129 |
|
|
|
130 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler): Added support for
|
131 |
|
|
exceptions caused by the stubs which are passed transparently
|
132 |
|
|
back.
|
133 |
|
|
Also added VIRTUAL_VECTOR support.
|
134 |
|
|
|
135 |
|
|
* include/hal_arch.h: Added HAL_BREAKINST_TYPE.
|
136 |
|
|
Added Cygmon support.
|
137 |
|
|
|
138 |
|
|
* include/arch.inc: Added AM33/2.00 board support.
|
139 |
|
|
|
140 |
|
|
* include/mn10300_stub.h: Added AM33/2.00 support.
|
141 |
|
|
|
142 |
|
|
* cdl/hal_mn10300.cdl: Added option for CTRLC_SUPPORT.
|
143 |
|
|
* include/pkgconf/hal_mn10300.h: Ditto.
|
144 |
|
|
|
145 |
|
|
2000-06-21 Nick Garnett
|
146 |
|
|
|
147 |
|
|
* include/hal_arch.h: Added underscores to label in
|
148 |
|
|
HAL_BREAKINST().
|
149 |
|
|
|
150 |
|
|
* include/basetype.h:
|
151 |
|
|
Removed definition of CYG_LABEL_NAME() and added one for
|
152 |
|
|
CYG_LABEL_DEFN().
|
153 |
|
|
|
154 |
|
|
2000-06-08 Jesper Skov
|
155 |
|
|
|
156 |
|
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
157 |
|
|
Added.
|
158 |
|
|
|
159 |
|
|
2000-03-20 Jonathan Larmour
|
160 |
|
|
|
161 |
|
|
* src/vectors.S (__default_interrupt_vsr): Pass variant-specific PC
|
162 |
|
|
offset from register context into cyg_hal_gdb_isr()
|
163 |
|
|
|
164 |
|
|
* include/hal_arch.h: Move HAL_SavedRegisters into variant HALs
|
165 |
|
|
|
166 |
|
|
2000-03-19 Jonathan Larmour
|
167 |
|
|
|
168 |
|
|
* include/mn10300_stub.h: Make C++ safe
|
169 |
|
|
|
170 |
|
|
2000-02-16 Jesper Skov
|
171 |
|
|
|
172 |
|
|
* cdl/hal_mn10300.cdl: remove fix me.
|
173 |
|
|
|
174 |
|
|
1999-11-09 Jonathan Larmour
|
175 |
|
|
|
176 |
|
|
* include/hal_intr.h (HAL_RESTORE_INTERRUPTS): Ensure we restore the
|
177 |
|
|
old state exactly, including "restoring" by disabling interrupts
|
178 |
|
|
Requested by Matsushita in case 102544
|
179 |
|
|
|
180 |
|
|
1999-12-02 John Dallaway
|
181 |
|
|
|
182 |
|
|
* cdl/hal_mn10300.cdl:
|
183 |
|
|
|
184 |
|
|
Use the token in custom rules.
|
185 |
|
|
|
186 |
|
|
1999-12-01 John Dallaway
|
187 |
|
|
|
188 |
|
|
* cdl/hal_mn10300.cdl:
|
189 |
|
|
|
190 |
|
|
Use the token in custom rules.
|
191 |
|
|
|
192 |
|
|
1999-11-04 John Dallaway
|
193 |
|
|
|
194 |
|
|
* cdl/hal_mn10300.cdl:
|
195 |
|
|
|
196 |
|
|
Output custom rule dependency information to .deps files in
|
197 |
|
|
the current directory.
|
198 |
|
|
|
199 |
|
|
Dispense with the need to create a 'src' sub-directory.
|
200 |
|
|
|
201 |
|
|
1999-11-03 Jesper Skov
|
202 |
|
|
|
203 |
|
|
* cdl/hal_mn10300.cdl: Added.
|
204 |
|
|
|
205 |
|
|
1999-09-10 Jonathan Larmour
|
206 |
|
|
|
207 |
|
|
* include/hal_cache.h: Change CYG_HAL_MN10300_SIM to
|
208 |
|
|
CYG_HAL_MN10300_AM31_SIM
|
209 |
|
|
Only include var_cache.h when not sim
|
210 |
|
|
|
211 |
|
|
1999-08-18 Nick Garnett
|
212 |
|
|
|
213 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler):
|
214 |
|
|
Use CYGNUM_HAL_EXCEPTION_WATCHDOG rather than
|
215 |
|
|
CYGNUM_HAL_INTERRUPT_WATCHDOG in test for watchdog exceptions.
|
216 |
|
|
|
217 |
|
|
1999-08-17 Nick Garnett
|
218 |
|
|
|
219 |
|
|
* include/arch.inc: Modified hal_cpu_int_merge to avoid corrupting
|
220 |
|
|
any registers other than the one passed as an argument.
|
221 |
|
|
|
222 |
|
|
1999-08-16 Jonathan Larmour
|
223 |
|
|
|
224 |
|
|
* include/arch.inc: rename CYGPKG_HAL_MN10300_AM32_STDEVAL1 to
|
225 |
|
|
CYGPKG_HAL_MN10300_AM31_STDEVAL1
|
226 |
|
|
|
227 |
|
|
1999-08-13 Nick Garnett
|
228 |
|
|
|
229 |
|
|
* include/arch.inc: Moved AM33 trace address to uncached memory
|
230 |
|
|
window.
|
231 |
|
|
|
232 |
|
|
* src/vectors.S (_start): Tidied away some superfluous trace
|
233 |
|
|
code.
|
234 |
|
|
|
235 |
|
|
1999-08-12 Nick Garnett
|
236 |
|
|
|
237 |
|
|
Imported following changed from development branch.
|
238 |
|
|
|
239 |
|
|
1999-08-11 Nick Garnett
|
240 |
|
|
|
241 |
|
|
* src/vectors.S: Removed debug code.
|
242 |
|
|
|
243 |
|
|
* include/hal_intr.h: Made mn10300_interrupt_control[] unsized
|
244 |
|
|
since it is different sizes on different variants.
|
245 |
|
|
|
246 |
|
|
* include/arch.inc:
|
247 |
|
|
Changed hal_cpu_int_merge so that both the IE and IPL bits are
|
248 |
|
|
changed across a thread switch.
|
249 |
|
|
Some minor tweaks to trace code for AM32.
|
250 |
|
|
|
251 |
|
|
1999-08-10 Jonathan Larmour
|
252 |
|
|
|
253 |
|
|
* include/pkgconf/hal_mn10300.h:
|
254 |
|
|
Move CYGPKG_HAL_MN10300's "target mn10300" under the variant
|
255 |
|
|
packages instead.
|
256 |
|
|
Add CYGPKG_HAL_MN10300_VARIANTS
|
257 |
|
|
|
258 |
|
|
1999-07-30 Nick Garnett
|
259 |
|
|
|
260 |
|
|
* src/hal_misc.c: Added default ISR.
|
261 |
|
|
|
262 |
|
|
* src/vectors.S:
|
263 |
|
|
Added Ctrl-C support. Extended VSR table to include new
|
264 |
|
|
exceptions. Install default ISR by default.
|
265 |
|
|
|
266 |
|
|
* src/mn10300_stub.c:
|
267 |
|
|
Added asynchronous breakpoint support.
|
268 |
|
|
[Later] Tidied up install_async_breakpoint() and fixed indirection
|
269 |
|
|
bug.
|
270 |
|
|
|
271 |
|
|
* include/hal_intr.h:
|
272 |
|
|
Added default ISR. Removed HAL_INTERRUPT_CONFIGURE(), this is now
|
273 |
|
|
variant-specific.
|
274 |
|
|
|
275 |
|
|
1999-07-27 Nick Garnett
|
276 |
|
|
|
277 |
|
|
* src/vectors.S:
|
278 |
|
|
Some reorganization to make code more generic.
|
279 |
|
|
Some diagnostic macros added.
|
280 |
|
|
Note: some trace/debug code has been left in place temporarily,
|
281 |
|
|
this will be removed eventually.
|
282 |
|
|
|
283 |
|
|
* include/mn10300_stub.h: Added extra regnames for AM33.
|
284 |
|
|
|
285 |
|
|
* include/hal_arch.h:
|
286 |
|
|
Added macros to get and set extra registers for AM33.
|
287 |
|
|
* include/arch.inc:
|
288 |
|
|
Changed all *_MIPS_* to *_MN10300_*.
|
289 |
|
|
Added some temporary trace/debug macros.
|
290 |
|
|
|
291 |
|
|
1999-07-16 Nick Garnett
|
292 |
|
|
|
293 |
|
|
* src/hal_misc.c:
|
294 |
|
|
* include/hal_arch.h:
|
295 |
|
|
Added hal_idle_thread_action();
|
296 |
|
|
|
297 |
|
|
* include/arch.inc: Made hal_cpu_init definition optional.
|
298 |
|
|
|
299 |
|
|
1999-07-08 Nick Garnett
|
300 |
|
|
|
301 |
|
|
* src/vectors.S:
|
302 |
|
|
Moved some code to variant specific macros. Now pass ISR register
|
303 |
|
|
to cyg_hal_exception_handler() to enable further decoding.
|
304 |
|
|
|
305 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler):
|
306 |
|
|
Added extra argument to pass ISR register value. Now decodes ISR
|
307 |
|
|
value to specify extra exceptions.
|
308 |
|
|
|
309 |
|
|
1999-07-07 Nick Garnett
|
310 |
|
|
|
311 |
|
|
* include/hal_intr.h:
|
312 |
|
|
Added HAL_INTERRUPT_STACK_CALL_PENDING_DSRS() macro to support
|
313 |
|
|
calling of DSRs on the interrupt stack.
|
314 |
|
|
|
315 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT):
|
316 |
|
|
Initialize the PSW to enable all interrupts on entry to thread.
|
317 |
|
|
|
318 |
|
|
* include/arch.inc:
|
319 |
|
|
Added implementations of CPU control macros.
|
320 |
|
|
|
321 |
|
|
* src/context.S:
|
322 |
|
|
Added code to preserve PSW across context switches.
|
323 |
|
|
|
324 |
|
|
* src/vectors.S:
|
325 |
|
|
Implemented mechanism to call DSRs on the interrupt stack.
|
326 |
|
|
Refined condition for defining VSR table here.
|
327 |
|
|
|
328 |
|
|
1999-06-30 Nick Garnett
|
329 |
|
|
|
330 |
|
|
* src/context.S:
|
331 |
|
|
* src/vectors.S:
|
332 |
|
|
Use hal_cpu_save_all and hal_cpu_load_all macros to save and
|
333 |
|
|
restore CPU register sets.
|
334 |
|
|
|
335 |
|
|
* include/hal_arch.h:
|
336 |
|
|
Modified HAL_THREAD_INIT_CONTEXT_EXTRA() to take some arguments.
|
337 |
|
|
|
338 |
|
|
1999-06-29 Nick Garnett
|
339 |
|
|
|
340 |
|
|
* include/hal_arch.h:
|
341 |
|
|
Added code in preparation for AM33 port.
|
342 |
|
|
Added include of variant header.
|
343 |
|
|
|
344 |
|
|
* include/hal_cache.h:
|
345 |
|
|
* include/hal_intr.h:
|
346 |
|
|
* src/vectors.S:
|
347 |
|
|
* src/hal_misc.c:
|
348 |
|
|
Extensive changes to convert to new HAL organization. These mostly
|
349 |
|
|
involve moving variant and platform specific stuff out to the
|
350 |
|
|
appropriate headers in the variant and platform directories.
|
351 |
|
|
|
352 |
|
|
* src/PKGconf.mak:
|
353 |
|
|
* src/mn10300.ld (removed):
|
354 |
|
|
Moved build of target.ld to variant directory.
|
355 |
|
|
|
356 |
|
|
* include/arch.inc:
|
357 |
|
|
Added this file to contain architecture specific macros.
|
358 |
|
|
|
359 |
|
|
1999-06-08 Jesper Skov
|
360 |
|
|
|
361 |
|
|
* src/hal_misc.c (cyg_hal_dcache_store): Only define for HW target.
|
362 |
|
|
|
363 |
|
|
1999-06-07 Jesper Skov
|
364 |
|
|
PR 20136
|
365 |
|
|
* src/hal_misc.c (cyg_hal_dcache_store):
|
366 |
|
|
* include/hal_cache.h (HAL_DCACHE_STORE):
|
367 |
|
|
DCACHE store operation needs 4 register variables. Put it in a
|
368 |
|
|
separate function to ensure registers are availble.
|
369 |
|
|
|
370 |
|
|
1999-05-21 Hugo Tyson
|
371 |
|
|
|
372 |
|
|
* include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
|
373 |
|
|
HAL_INTERRUPT_STACK_TOP so that stack usage macros in
|
374 |
|
|
kernel/.../stackmon.hxx can work.
|
375 |
|
|
|
376 |
|
|
* src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
|
377 |
|
|
the interrupt stack and its friend for the stack top so that we
|
378 |
|
|
can publish them with nice names.
|
379 |
|
|
|
380 |
|
|
1999-05-13 Hugo Tyson
|
381 |
|
|
|
382 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack
|
383 |
|
|
(rather conservatively) before use.
|
384 |
|
|
|
385 |
|
|
1999-04-28 Bart Veer
|
386 |
|
|
|
387 |
|
|
* src/PKGconf.mak:
|
388 |
|
|
Remove the -n argument to tail, it does not appear to be required
|
389 |
|
|
on any supported host and causes problems with some
|
390 |
|
|
implementations of tail.
|
391 |
|
|
|
392 |
|
|
1999-04-20 Jonathan Larmour
|
393 |
|
|
|
394 |
|
|
* include/hal_cache.h:
|
395 |
|
|
(HAL_DCACHE_IS_ENABLED) (HAL_ICACHE_IS_ENABLED): Add these new macros
|
396 |
|
|
(HAL_DCACHE_DISABLE) (HAL_ICACHE_DISABLE): Make variables register
|
397 |
|
|
variables
|
398 |
|
|
Ensure the cache has finished its operation before exitting.
|
399 |
|
|
(HAL_DCACHE_INVALIDATE_ALL) (HAL_ICACHE_INVALIDATE_ALL): Make
|
400 |
|
|
variables register variables.
|
401 |
|
|
Re-enable cache if it was enabled on entry.
|
402 |
|
|
(HAL_DCACHE_WRITE_MODE): Make variables register variables.
|
403 |
|
|
Re-enable data cache if it was enabled on entry.
|
404 |
|
|
Ensure the cache has finished its operation before exitting.
|
405 |
|
|
(HAL_DCACHE_STORE): Make variables register variables.
|
406 |
|
|
Re-enable data cache if it was enabled on entry.
|
407 |
|
|
|
408 |
|
|
These fix PR19887
|
409 |
|
|
|
410 |
|
|
1999-04-15 Jonathan Larmour
|
411 |
|
|
|
412 |
|
|
* src/mn10300.ld: Define __bss_end at the end of the BSS
|
413 |
|
|
* src/vectors.S (_start): Use __bss_end rather than _end when clearing
|
414 |
|
|
BSS
|
415 |
|
|
These fix PR 19750
|
416 |
|
|
|
417 |
|
|
1999-04-15 Jonathan Larmour
|
418 |
|
|
|
419 |
|
|
* src/hal_misc.c:
|
420 |
|
|
* src/vectors.S:
|
421 |
|
|
Separate parts of cyg_hal_invoke_constructors() out into new functions
|
422 |
|
|
cyg_hal_enable_caches() and cyg_hal_debug_init() so that
|
423 |
|
|
cyg_hal_invoke_constructors() can be called again safely if
|
424 |
|
|
necessary
|
425 |
|
|
Fix for PR19642
|
426 |
|
|
|
427 |
|
|
1999-04-14 Jonathan Larmour
|
428 |
|
|
|
429 |
|
|
* src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
|
430 |
|
|
But do define EXTRAS every time for the linker script.
|
431 |
|
|
|
432 |
|
|
1999-04-09 Jesper Skov
|
433 |
|
|
|
434 |
|
|
* src/mn10300_stub.c:
|
435 |
|
|
Moved get_register and put_register to hal_stub.c.
|
436 |
|
|
|
437 |
|
|
1999-04-08 John Dallaway
|
438 |
|
|
|
439 |
|
|
* src/*.ld: Revised SECTION_* macro arguments to
|
440 |
|
|
avoid padded output sections (PR 19787)
|
441 |
|
|
|
442 |
|
|
1999-03-31 Nick Garnett
|
443 |
|
|
|
444 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align initial SP
|
445 |
|
|
to a 4 byte boundary. Fixes PR 19695.
|
446 |
|
|
|
447 |
|
|
* include/hal_cache.h: Added include of hal.h and a test that a
|
448 |
|
|
valid set of macros have been added.
|
449 |
|
|
|
450 |
|
|
1999-03-26 Gary Thomas
|
451 |
|
|
|
452 |
|
|
* include/hal_arch.h (CYGNUM_HAL_STACK_SIZE_MINIMUM): Be a little
|
453 |
|
|
more generous since this stack should allow at least a kernel API
|
454 |
|
|
call which could be at least 4 levels deep.
|
455 |
|
|
|
456 |
|
|
1999-03-23 Nick Garnett
|
457 |
|
|
|
458 |
|
|
* include/hal_arch.h:
|
459 |
|
|
Modified stack size definitions to be more accurate.
|
460 |
|
|
|
461 |
|
|
1999-03-22 Jonathan Larmour
|
462 |
|
|
|
463 |
|
|
* include/mn10300_stub.h: Update copyright
|
464 |
|
|
|
465 |
|
|
* src/mn10300_stub.c: Update copyright
|
466 |
|
|
|
467 |
|
|
1999-03-22 Hugo Tyson
|
468 |
|
|
|
469 |
|
|
* include/hal_arch.h:
|
470 |
|
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
471 |
|
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
472 |
|
|
|
473 |
|
|
1999-03-19 Nick Garnett
|
474 |
|
|
|
475 |
|
|
* src/hal_misc.c:
|
476 |
|
|
* src/vectors.S:
|
477 |
|
|
Fixed problem with taking breakpoints after watchdog interrupts
|
478 |
|
|
and memory access exceptions. See the comments in
|
479 |
|
|
__default_nmi_vsr in vector.S for details.
|
480 |
|
|
|
481 |
|
|
1999-03-17 John Dallaway
|
482 |
|
|
|
483 |
|
|
* src/PKGconf.mak: Remove dependence on echo '-e' switch.
|
484 |
|
|
|
485 |
|
|
1999-03-12 Gary Thomas
|
486 |
|
|
|
487 |
|
|
* include/hal_arch.h: Add definition of 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
|
488 |
|
|
|
489 |
|
|
1999-03-10 Jesper Skov
|
490 |
|
|
|
491 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_ATTACH): Added.
|
492 |
|
|
|
493 |
|
|
1999-03-08 Nick Garnett
|
494 |
|
|
|
495 |
|
|
* src/mn10300.ld:
|
496 |
|
|
Added alignment before definition of __DEVTAB__.
|
497 |
|
|
|
498 |
|
|
1999-03-05 Gary Thomas
|
499 |
|
|
|
500 |
|
|
* src/PKGconf.mak:
|
501 |
|
|
* src/mn10300.ld: Clean up I/O package changes.
|
502 |
|
|
|
503 |
|
|
1999-03-04 Jonathan Larmour
|
504 |
|
|
|
505 |
|
|
* src/mn10300.ld:
|
506 |
|
|
Unconditionalize use of libextras.a and add to GROUP()
|
507 |
|
|
|
508 |
|
|
1999-02-25 Nick Garnett
|
509 |
|
|
|
510 |
|
|
* src/hal_misc.c:
|
511 |
|
|
Now tests for whether the kernel is present before trying to use
|
512 |
|
|
patch_dbg_syscalls().
|
513 |
|
|
|
514 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_CONFIGURE): fixed some compile
|
515 |
|
|
bugs in this macro.
|
516 |
|
|
|
517 |
|
|
* src/vectors.S:
|
518 |
|
|
Changed label used to access scheduler lock to one that is not
|
519 |
|
|
mangled by C++. This is intended to make support for interrupt
|
520 |
|
|
handling in non-kernel configurations easier.
|
521 |
|
|
|
522 |
|
|
1999-02-20 Jonathan Larmour
|
523 |
|
|
|
524 |
|
|
* include/hal_arch.h:
|
525 |
|
|
Rename deliver_exception() -> cyg_hal_deliver_exception()
|
526 |
|
|
QA improvements
|
527 |
|
|
|
528 |
|
|
* include/hal_intr.h:
|
529 |
|
|
Reorganise vector/interrupt/exception names according to purpose
|
530 |
|
|
QA improvements
|
531 |
|
|
|
532 |
|
|
* src/hal_misc.c:
|
533 |
|
|
Rename deliver_exception() -> cyg_hal_deliver_exception()
|
534 |
|
|
Rename CYG_VECTOR_* according to hal_intr.h changes above
|
535 |
|
|
QA improvements
|
536 |
|
|
|
537 |
|
|
* src/vectors.S:
|
538 |
|
|
Rename exception_handler() -> cyg_hal_exception_handler()
|
539 |
|
|
|
540 |
|
|
1999-02-16 Jesper Skov
|
541 |
|
|
|
542 |
|
|
* src/vectors.S: Changed set_debug_traps to initialize_stub.
|
543 |
|
|
|
544 |
|
|
* src/mn10300_stub.c:
|
545 |
|
|
* include/mn10300_stub.h:
|
546 |
|
|
Cleaned up to only include arch specific stub code.
|
547 |
|
|
|
548 |
|
|
1999-02-15 Jesper Skov
|
549 |
|
|
|
550 |
|
|
* include/basetype.h: Added CYG_LABEL_NAME macro.
|
551 |
|
|
|
552 |
|
|
1999-02-11 Nick Garnett
|
553 |
|
|
|
554 |
|
|
* include/hal_cache.h (HAL_DCACHE_STORE):
|
555 |
|
|
Added "register" keywords to the variables used in this macro. If
|
556 |
|
|
these are not in registers then when the cache is disabled, they
|
557 |
|
|
can be stranded in the cache and the random values in main memory
|
558 |
|
|
are used instead. This is only a problem when optimization is
|
559 |
|
|
disabled; under optimization the compiler puts these variables
|
560 |
|
|
into registers as a matter of course.
|
561 |
|
|
Fixes PR 19165.
|
562 |
|
|
(HAL_DCACHE_SYNC): Divide cache size by number of ways to
|
563 |
|
|
calculate correct size to pass to HAL_DCACHE_STORE().
|
564 |
|
|
|
565 |
|
|
1999-02-05 John Dallaway
|
566 |
|
|
|
567 |
|
|
* src/mn10300.ld: Add LMA_EQ_VMA macro definition.
|
568 |
|
|
|
569 |
|
|
1999-02-01 Nick Garnett
|
570 |
|
|
|
571 |
|
|
* include/hal_cache.h: Fixed implementation of HAL_DCACHE_STORE() so
|
572 |
|
|
that it now works, and changed implementation of HAL_DCACHE_SYNC()
|
573 |
|
|
to use it.
|
574 |
|
|
Fixes PR 18577 and is a better fix to 18849.
|
575 |
|
|
|
576 |
|
|
1999-01-27 Nick Garnett
|
577 |
|
|
|
578 |
|
|
* include/hal_intr.h:
|
579 |
|
|
* src/vectors.S:
|
580 |
|
|
Allow for NMI vectors in ISR table when using chained
|
581 |
|
|
interrupts. This largely consists of moving the interrupt vector
|
582 |
|
|
slots up by 3 entries.
|
583 |
|
|
|
584 |
|
|
1999-01-26 Hugo Tyson
|
585 |
|
|
|
586 |
|
|
* src/mn10300.ld:
|
587 |
|
|
Add copyright notice. (Though these files will later be generated
|
588 |
|
|
by a tool and so not copyright, these default setups are.)
|
589 |
|
|
|
590 |
|
|
1999-01-25 Jesper Skov
|
591 |
|
|
|
592 |
|
|
* src/mn10300_stub.c (__build_t_packet): Rewrote fix me text. Added PR
|
593 |
|
|
number, but otherwise left the note.
|
594 |
|
|
|
595 |
|
|
1999-01-25 Nick Garnett
|
596 |
|
|
|
597 |
|
|
* include/hal_cache.h (HAL_DCACHE_SYNC): Add implementation of
|
598 |
|
|
this macro to enable test programs to work.
|
599 |
|
|
Fixes PR 18849.
|
600 |
|
|
|
601 |
|
|
1999-01-21 Jonathan Larmour
|
602 |
|
|
|
603 |
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
604 |
|
|
Add code to deal with CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG
|
605 |
|
|
Tidy up and update description header
|
606 |
|
|
Shorten needlessly long lines
|
607 |
|
|
Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
|
608 |
|
|
|
609 |
|
|
1999-01-14 John Dallaway
|
610 |
|
|
|
611 |
|
|
* src/mn10300.ld: do not define _hal_vsr_table for minimal
|
612 |
|
|
simulator builds
|
613 |
|
|
|
614 |
|
|
1999-01-13 Gary Thomas
|
615 |
|
|
|
616 |
|
|
* include/basetype.h: CYG_DOUBLE_BYTEORDER now in
|
617 |
|
|
|
618 |
|
|
1999-01-13 John Dallaway
|
619 |
|
|
|
620 |
|
|
* src/mn10300.ld: define FOLLOWING () macro to simplify
|
621 |
|
|
hand editing of linker script fragments
|
622 |
|
|
|
623 |
|
|
1999-01-12 Gary Thomas
|
624 |
|
|
|
625 |
|
|
* include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering
|
626 |
|
|
for words within doubles.
|
627 |
|
|
|
628 |
|
|
1999-01-12 Nick Garnett
|
629 |
|
|
|
630 |
|
|
* src/hal_misc.c: Altered call to patch_dbg_syscalls() to pass
|
631 |
|
|
pointer to base of vector rather than a single vector entry.
|
632 |
|
|
|
633 |
|
|
1999-01-12 John Dallaway
|
634 |
|
|
|
635 |
|
|
* src/mn10300.ld: new linker script for MLT
|
636 |
|
|
* src/PKGconf.mak: add mn10300.ld rules for MLT
|
637 |
|
|
|
638 |
|
|
1998-12-15 Jesper Skov
|
639 |
|
|
|
640 |
|
|
* include/hal_arch.h:
|
641 |
|
|
* src/context.S (_hal_setjmp, _hal_longjmp):
|
642 |
|
|
Added CYGARC definitions for jmpbuf entries.
|
643 |
|
|
|
644 |
|
|
1998-12-10 Jesper Skov
|
645 |
|
|
|
646 |
|
|
* include/hal_cache.h (HAL_DCACHE_UNLOCK_ALL,
|
647 |
|
|
HAL_ICACHE_UNLOCK_ALL): Added.
|
648 |
|
|
|
649 |
|
|
1998-11-25 Jesper Skov
|
650 |
|
|
|
651 |
|
|
* include/hal_arch.h (HAL_REORDER_BARRIER): Changed to same form
|
652 |
|
|
as on the other archs.
|
653 |
|
|
|
654 |
|
|
1998-11-18 Gary Thomas
|
655 |
|
|
|
656 |
|
|
* include/hal_intr.h: Add support for interrupt latency
|
657 |
|
|
measurement, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY.
|
658 |
|
|
|
659 |
|
|
1998-11-09 Jesper Skov
|
660 |
|
|
|
661 |
|
|
* src/vectors.S (__default_interrupt_vsr): Added GDB break
|
662 |
|
|
support.
|
663 |
|
|
Added call to GDB initialization during startup.
|
664 |
|
|
|
665 |
|
|
* src/mn10300_stub.c: Changed instruction word type.
|
666 |
|
|
|
667 |
|
|
1998-11-06 Jesper Skov
|
668 |
|
|
|
669 |
|
|
* src/PKGconf.mak:
|
670 |
|
|
Added stub to object list.
|
671 |
|
|
|
672 |
|
|
* include/mn10300_stub.h:
|
673 |
|
|
* src/mn10300_stub.c:
|
674 |
|
|
Added GDB stub.
|
675 |
|
|
|
676 |
|
|
* src/hal_misc.c (exception_handler): Added GDB stub call.
|
677 |
|
|
|
678 |
|
|
1998-11-06 Jesper Skov
|
679 |
|
|
|
680 |
|
|
* include/basetype.h (CYG_BYTEORDER): Fixed comment.
|
681 |
|
|
|
682 |
|
|
1998-11-16 Nick Garnett
|
683 |
|
|
|
684 |
|
|
* include/hal_cache.h:
|
685 |
|
|
Added volatile keyword to appropriate places to prevent compiler
|
686 |
|
|
optimizing out cache control register access.
|
687 |
|
|
|
688 |
|
|
1998-10-21 Nick Garnett
|
689 |
|
|
|
690 |
|
|
* include/hal_intr.h (HAL_CLOCK_READ):
|
691 |
|
|
Fixed this macro to return correct value.
|
692 |
|
|
|
693 |
|
|
1998-10-16 Bart Veer
|
694 |
|
|
|
695 |
|
|
* src/vectors.S (__interrupt_stack):
|
696 |
|
|
Made the interrupt stack size configurable.
|
697 |
|
|
|
698 |
|
|
1998-10-16 Nick Garnett
|
699 |
|
|
|
700 |
|
|
* src/hal_misc.c:
|
701 |
|
|
Enabled caches by default.
|
702 |
|
|
|
703 |
|
|
1998-10-13 Nick Garnett
|
704 |
|
|
|
705 |
|
|
* src/hal_misc.c:
|
706 |
|
|
Altered ifdefs to allow builds without kernel.
|
707 |
|
|
|
708 |
|
|
Thu Sep 24 18:14:19 1998 Jesper Skov
|
709 |
|
|
|
710 |
|
|
* include/hal_intr.h: Read the interrupt control registers back
|
711 |
|
|
after writing to them to ensure that the value is not sitting in
|
712 |
|
|
the store buffer.
|
713 |
|
|
Also put _ around variable names in HAL_INTERRUPT_CONFIGURE for
|
714 |
|
|
consistency.
|
715 |
|
|
|
716 |
|
|
1998-09-24 Nick Garnett
|
717 |
|
|
|
718 |
|
|
* include/hal_intr.h:
|
719 |
|
|
Inverted mask for level in HAL_INTERRUPT_SET_LEVEL().
|
720 |
|
|
|
721 |
|
|
* src/vectors.S:
|
722 |
|
|
Added correct implementations of decode_interrupt macro for
|
723 |
|
|
chained interrupt processing.
|
724 |
|
|
Modified call to cyg_instrument() to pass table offset as well as
|
725 |
|
|
vector number.
|
726 |
|
|
Include to allow call to cyg_instrument() to be
|
727 |
|
|
enabled.
|
728 |
|
|
|
729 |
|
|
1998-09-14 Bart Veer
|
730 |
|
|
|
731 |
|
|
* src/PKGconf.mak:
|
732 |
|
|
Made vectors.o dependent on the various files that can contain
|
733 |
|
|
makefile variables or rules. This is needed after changes to
|
734 |
|
|
pkgconf.tcl for PRs 17195 and 17286.
|
735 |
|
|
|
736 |
|
|
Mon Sep 14 11:08:40 1998 Jesper Skov
|
737 |
|
|
PR 17230
|
738 |
|
|
|
739 |
|
|
* include/hal_intr.h:
|
740 |
|
|
* src/vectors.S:
|
741 |
|
|
Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with new
|
742 |
|
|
CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN.
|
743 |
|
|
|
744 |
|
|
1998-09-12 Bart Veer
|
745 |
|
|
|
746 |
|
|
* include/pkgconf/hal_mn10300.h:
|
747 |
|
|
Added missing descriptions (PR 17184)
|
748 |
|
|
|
749 |
|
|
* src/hal_misc.c (exception_handler):
|
750 |
|
|
Sort out exception handling options (PR 16953)
|
751 |
|
|
|
752 |
|
|
Thu Sep 10 20:24:02 1998 Hugo Tyson
|
753 |
|
|
|
754 |
|
|
* src/vectors.S (__default_interrupt_vsr):
|
755 |
|
|
Fix a bug. Wrong offset when restoring the PSW tends to screw
|
756 |
|
|
things up rather.
|
757 |
|
|
|
758 |
|
|
Thu Sep 10 15:12:21 1998 Jesper Skov
|
759 |
|
|
PR 17153
|
760 |
|
|
|
761 |
|
|
* src/vectors.S (__default_interrupt_vsr): Pass correct vector
|
762 |
|
|
value to isr.
|
763 |
|
|
|
764 |
|
|
1998-09-09 Nick Garnett
|
765 |
|
|
|
766 |
|
|
* include/hal_arch.h:
|
767 |
|
|
Removed distinction between interrupt and thread switch contexts
|
768 |
|
|
in HAL_SavedRegisters. Modified appropriate macros to reflect this.
|
769 |
|
|
|
770 |
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
771 |
|
|
Added call to patch_dbg_syscalls() for Cygmon hosted builds.
|
772 |
|
|
|
773 |
|
|
* src/context.S (_hal_thread_switch_context):
|
774 |
|
|
Adjust thread context so that it has the same structure as the
|
775 |
|
|
state saved by interrupt and exception handlers. This makes
|
776 |
|
|
supporting thread-aware debugging easier.
|
777 |
|
|
|
778 |
|
|
* src/vectors.S:
|
779 |
|
|
Moved nmi and trap vectors to correct slots in vsr table.
|
780 |
|
|
Now place arg3 of interrupt_end() in correct stack slot.
|
781 |
|
|
|
782 |
|
|
1998-09-04 Bart Veer
|
783 |
|
|
|
784 |
|
|
* src/vectors.S (__default_interrupt_vsr):
|
785 |
|
|
Fixed type in configuration option name.
|
786 |
|
|
|
787 |
|
|
Thu Sep 3 15:15:57 1998 Tim Goodwin
|
788 |
|
|
|
789 |
|
|
* hal/mn10300/arch/current/src/PKGconf.mak
|
790 |
|
|
* hal/mn10300/arch/current/src/makefile
|
791 |
|
|
* hal/mn10300/arch/current/tests/PKGconf.mak
|
792 |
|
|
|
793 |
|
|
s/panx/mn10300/g
|
794 |
|
|
|
795 |
|
|
1998-09-03 Nick Garnett
|
796 |
|
|
|
797 |
|
|
* src/vectors.S:
|
798 |
|
|
Fixed offset bug in __trap.
|
799 |
|
|
Changed conditionals on runtime initialisation of VSR table to not
|
800 |
|
|
do it in simulated targets.
|
801 |
|
|
|
802 |
|
|
1998-09-02 Bart Veer
|
803 |
|
|
|
804 |
|
|
* include/pkgconf/hal_mn10300.h:
|
805 |
|
|
New header file for architecture-specific configuration options
|
806 |
|
|
|
807 |
|
|
* tests/PKGconf.mak:
|
808 |
|
|
* src/PKGconf.mak:
|
809 |
|
|
Sort out package naming conventions.
|
810 |
|
|
|
811 |
|
|
1998-09-02 Nick Garnett
|
812 |
|
|
|
813 |
|
|
* src/vectors.S:
|
814 |
|
|
Moved NMI and TRAP VSRs down 1 word to match cygmon's use of the
|
815 |
|
|
vector table. This may need to change back in the future.
|
816 |
|
|
|
817 |
|
|
1998-09-01 Nick Garnett
|
818 |
|
|
|
819 |
|
|
* include/hal_intr.h:
|
820 |
|
|
Added CYG_VSR_COUNT, CYG_EXCEPTION_COUNT and CYG_ISR_COUNT.
|
821 |
|
|
Modified HAL_TRANSLATE_VECTOR() for mn103002 to provide slots
|
822 |
|
|
for the NMI vectors at start of hal_interrupt_* tables.
|
823 |
|
|
|
824 |
|
|
* src/hal_misc.c (exception_handler):
|
825 |
|
|
Added support for decoding NMI vectors and for calling watchdog
|
826 |
|
|
ISR if present.
|
827 |
|
|
|
828 |
|
|
* src/vectors.S:
|
829 |
|
|
Modified behaviour of __default_nmi_vsr to support watchdog timer
|
830 |
|
|
properly.
|
831 |
|
|
Fixed indirection bug in __nmi and __trap.
|
832 |
|
|
Modified offsets in hal_interrupt_* tables to provide slots for
|
833 |
|
|
NMI vectors at start in mn103002.
|
834 |
|
|
|
835 |
|
|
1998-08-28 Bart Veer
|
836 |
|
|
|
837 |
|
|
* src/vectors.S, src/context.S, src/hal_misc.c, include/hal_intr.h:
|
838 |
|
|
Updated for new kernel configuration option symbol names
|
839 |
|
|
|
840 |
|
|
Fri Aug 28 10:09:03 1998 Jonathan Larmour
|
841 |
|
|
|
842 |
|
|
* src/hal_misc.c:
|
843 |
|
|
rename __main() to cyg_hal_invoke_constructors() and remove
|
844 |
|
|
initialised test
|
845 |
|
|
|
846 |
|
|
* src/vectors.S (_start):
|
847 |
|
|
Change call of __main() to cyg_hal_invoke_constructors(), and call
|
848 |
|
|
of main() to cyg_start()
|
849 |
|
|
|
850 |
|
|
1998-08-25 Nick Garnett
|
851 |
|
|
|
852 |
|
|
* src/vectors.S:
|
853 |
|
|
Now pass pointer to saved registers as third argument to
|
854 |
|
|
interrupt_end().
|
855 |
|
|
|
856 |
|
|
* include/hal_arch.h:
|
857 |
|
|
Added macros to support GDB.
|
858 |
|
|
|
859 |
|
|
1998-08-21 Nick Garnett
|
860 |
|
|
|
861 |
|
|
* include/hal_cache.h:
|
862 |
|
|
Now includes cyg_type.h rather than ktypes.h.
|
863 |
|
|
|
864 |
|
|
* src/hal_misc.c:
|
865 |
|
|
Added calls to turn the caches on. But disabled them
|
866 |
|
|
since they interact poorly with Cygmon (Cygmon does not
|
867 |
|
|
flush the caches when setting/clearing breakpoints).
|
868 |
|
|
|
869 |
|
|
Wed Aug 19 18:19:32 1998 Jonathan Larmour
|
870 |
|
|
|
871 |
|
|
* src/hal_misc.c (__main):
|
872 |
|
|
Add void to function prototypes to silence warnings
|
873 |
|
|
|
874 |
|
|
1998-08-18 Nick Garnett
|
875 |
|
|
|
876 |
|
|
* include/hal_arch.h:
|
877 |
|
|
* include/hal_intr.h:
|
878 |
|
|
Now includes cyg_type.h rather than ktypes.h.
|
879 |
|
|
|
880 |
|
|
* src/context.S:
|
881 |
|
|
* src/vectors.S:
|
882 |
|
|
* src/hal_misc.c:
|
883 |
|
|
Now uses hal.h rather than kernel.h.
|
884 |
|
|
|
885 |
|
|
1998-08-17 Nick Garnett
|
886 |
|
|
|
887 |
|
|
* src/vectors.S:
|
888 |
|
|
Reorgnized ifdefs to better support kernel porting.
|
889 |
|
|
|
890 |
|
|
//===========================================================================
|
891 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
892 |
|
|
// -------------------------------------------
|
893 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
894 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
895 |
|
|
//
|
896 |
|
|
// This program is free software; you can redistribute it and/or modify
|
897 |
|
|
// it under the terms of the GNU General Public License as published by
|
898 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
899 |
|
|
// later version.
|
900 |
|
|
//
|
901 |
|
|
// This program is distributed in the hope that it will be useful, but
|
902 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
903 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
904 |
|
|
// General Public License for more details.
|
905 |
|
|
//
|
906 |
|
|
// You should have received a copy of the GNU General Public License
|
907 |
|
|
// along with this program; if not, write to the
|
908 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
909 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
910 |
|
|
// -------------------------------------------
|
911 |
|
|
// ####GPLCOPYRIGHTEND####
|
912 |
|
|
//===========================================================================
|