1 |
786 |
skrzyp |
2008-11-18 Bart Veer
|
2 |
|
|
|
3 |
|
|
* whole package. Replace the original M68K port.
|
4 |
|
|
|
5 |
|
|
2008-11-17 Bart Veer
|
6 |
|
|
|
7 |
|
|
* doc/m68k.sgml, cdl/hal_m68k.cdl, include/arch.inc,
|
8 |
|
|
src/hal_arch.S, src/m68k.ld, src/m68k_stub.c: minor clean-ups.
|
9 |
|
|
|
10 |
|
|
2008-09-11 Bart Veer
|
11 |
|
|
|
12 |
|
|
* src/hal_arch.S: in the interrupt VSR only lock the scheduler in
|
13 |
|
|
kernel configurations.
|
14 |
|
|
|
15 |
|
|
* include/hal_intr.h (hal_interrupt_handlers): add a define'd
|
16 |
|
|
alias for cyg_hal_interrupt_handlers, needed by objloader.
|
17 |
|
|
|
18 |
|
|
2008-05-08 Bart Veer
|
19 |
|
|
|
20 |
|
|
* include/hal_arch.h: add bset and bclr utility macros.
|
21 |
|
|
|
22 |
|
|
2008-02-28 Bart Veer
|
23 |
|
|
|
24 |
|
|
* src/hal_arch.S: call DSRs even in non-kernel configurations.
|
25 |
|
|
|
26 |
|
|
* include/arch.inc: include some debug info in assembler functions
|
27 |
|
|
|
28 |
|
|
* cdl/hal_m68k.cdl, tests/iram1.c: add test for on-chip memory and
|
29 |
|
|
the iram linker script section.
|
30 |
|
|
|
31 |
|
|
2008-02-14 Bart Veer
|
32 |
|
|
|
33 |
|
|
* include/hal_io.h: cope with being #include'd from inside a
|
34 |
|
|
linker script.
|
35 |
|
|
|
36 |
|
|
* include/hal_intr.h: fix HAL_VSR_SET() macro for
|
37 |
|
|
autoincrement/decrement pointer argument. Fix HAL_DELAY_US()
|
38 |
|
|
support for cached vs. uncached execution.
|
39 |
|
|
|
40 |
|
|
2007-02-04 Bart Veer
|
41 |
|
|
|
42 |
|
|
* src/plf_stub.h (HAL_STUB_PLATFORM_INIT_SERIAL): do not both with
|
43 |
|
|
plf_comms_init() if the virtual vector init code has already taken
|
44 |
|
|
care of it.
|
45 |
|
|
|
46 |
|
|
2006-12-21 Bart Veer
|
47 |
|
|
|
48 |
|
|
* src/m68k.ld: ensure the ctors table is properly aligned.
|
49 |
|
|
|
50 |
|
|
2006-12-13 Bart Veer
|
51 |
|
|
|
52 |
|
|
* src/m68k.ld: default to placing _stext at the start of
|
53 |
|
|
.m68k_startup instead of .text, but allow platforms to override
|
54 |
|
|
this.
|
55 |
|
|
|
56 |
|
|
* src/vectors.S: minor code size optimizations to the startup
|
57 |
|
|
code.
|
58 |
|
|
|
59 |
|
|
2006-12-03 Bart Veer
|
60 |
|
|
|
61 |
|
|
* src/vectors.S: allow platforms to suppress the exception vector
|
62 |
|
|
entries in .ram_vectors while preserving the virtual vectors and
|
63 |
|
|
any variant/processor/platform-specific data.
|
64 |
|
|
|
65 |
|
|
* include/hal_cache.h: allow indirect inclusion from assembler
|
66 |
|
|
files.
|
67 |
|
|
|
68 |
|
|
2006-10-12 Bart Veer
|
69 |
|
|
|
70 |
|
|
* src/m68k.ld (SECTION_iram): fix alignment problems when the
|
71 |
|
|
on-chip code is not a multiple of 4 bytes
|
72 |
|
|
|
73 |
|
|
2006-10-11 Nick Garnett
|
74 |
|
|
|
75 |
|
|
* src/m68k.ld: Removed a stray '.' from _EH_FRAME1_. Added
|
76 |
|
|
_region_ argument to _EH_FRAME1_ and _GCC_EXCEPT_TABLE1_.
|
77 |
|
|
|
78 |
|
|
2006-09-25 Bart Veer
|
79 |
|
|
|
80 |
|
|
* doc/m68k.sgml: update to reflect recent changes in the M68K
|
81 |
|
|
HALs.
|
82 |
|
|
|
83 |
|
|
2006-09-25 John Dallaway
|
84 |
|
|
|
85 |
|
|
* cdl/hal_m68k.cdl: Restore CYGBLD_LINKER_SCRIPT - required by the
|
86 |
|
|
eCos Configuration Tool.
|
87 |
|
|
|
88 |
|
|
2006-09-13 Jonathan Larmour
|
89 |
|
|
|
90 |
|
|
* src/vectors.S: Place hal_m68k_exception_reset in its own
|
91 |
|
|
section, to avoid its section being at 0x0 which confuses
|
92 |
|
|
GDB.
|
93 |
|
|
|
94 |
|
|
2006-09-10 Bart Veer
|
95 |
|
|
|
96 |
|
|
* cdl/hal_m68k.cdl: there is no need for the linker script to be
|
97 |
|
|
an option.
|
98 |
|
|
|
99 |
|
|
* cdl/hal_m68k.cdl, src/plf_stub.h: allow the architectural HAL to
|
100 |
|
|
provide plf_stub.h at the platform HAL's request, to avoid lots of
|
101 |
|
|
duplication of the same header.
|
102 |
|
|
|
103 |
|
|
2006-09-08 Bart Veer
|
104 |
|
|
|
105 |
|
|
* src/m68k.ld: greatly simplify M68K linker script support. Add
|
106 |
|
|
support for on-chip RAM.
|
107 |
|
|
|
108 |
|
|
* src/vectors.S: tidy up. Add support for on-chip RAM.
|
109 |
|
|
|
110 |
|
|
* src/hal_m68k.c: move hal_if_init() up the hierarchy
|
111 |
|
|
|
112 |
|
|
* include/hal_io.h: can now be safely #include'd by assembler
|
113 |
|
|
files.
|
114 |
|
|
|
115 |
|
|
* include/hal_arch.h: change gdb stub target_register_t definition
|
116 |
|
|
to avoid compiler warning.
|
117 |
|
|
|
118 |
|
|
2006-09-05 Bart Veer
|
119 |
|
|
|
120 |
|
|
* src/vectors.S: fix fencepost bug in BSS initialization
|
121 |
|
|
|
122 |
|
|
* src/m68k.ld: discard exception-related sections unless libstdcxx
|
123 |
|
|
is in the configuration.
|
124 |
|
|
|
125 |
|
|
* src/hal_m68k.c: remove idle thread action function, now defaults
|
126 |
|
|
to just an empty macro.
|
127 |
|
|
|
128 |
|
|
* src/hal_arch.S: tidy up comment.
|
129 |
|
|
|
130 |
|
|
* include/hal_intr.h: HAL_VSR_SET() is now optional.
|
131 |
|
|
|
132 |
|
|
* include/hal_cache.h: fix default cache definitions.
|
133 |
|
|
|
134 |
|
|
* include/hal_arch.h: allow lower-level HAL to provide the LSBIT
|
135 |
|
|
and MSBIT macros. Do not initialize interrupts in a thread context
|
136 |
|
|
when building RedBoot, so loaded applications start with ints
|
137 |
|
|
disabled.
|
138 |
|
|
|
139 |
|
|
* cdl/hal_m68k.cdl: fix custom build rules for proper dependency
|
140 |
|
|
handling.
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
2006-07-10 Bart Veer
|
144 |
|
|
|
145 |
|
|
* src/m68k.ld, src/vectors.S: distinguish cleanly between the
|
146 |
|
|
exception vectors and the startup code. Add support for mcf52xx
|
147 |
|
|
cfm flash security settings.
|
148 |
|
|
|
149 |
|
|
* src/hal_m68k.c: rationalize hal_arch_default_isr() &
|
150 |
|
|
hal_default_isr() functions
|
151 |
|
|
|
152 |
|
|
* cdl/hal_m68k.cdl, src/hal_arch.S, include/arch.inc: default to
|
153 |
|
|
providing startup/interrupt stack in the architectural HAL
|
154 |
|
|
|
155 |
|
|
* include/hal_intr.h: default to providing HAL_DELAY_US() in the
|
156 |
|
|
architectural HAL
|
157 |
|
|
|
158 |
|
|
2006-06-26 Jonathan Larmour
|
159 |
|
|
|
160 |
|
|
* cdl/hal_m68k.cdl: Use correct syntax for modern GNU tail.
|
161 |
|
|
|
162 |
|
|
2006-03-10 John Dallaway
|
163 |
|
|
|
164 |
|
|
* cdl/hal_m68k.cdl: Add reference to M68k architecture documentation.
|
165 |
|
|
|
166 |
|
|
2006-02-21 Bart Veer
|
167 |
|
|
|
168 |
|
|
* include/hal_intr.h (HAL_ENABLE_INTERRUPTS): fix
|
169 |
|
|
DEFAULT_IPL_LEVEL usage.
|
170 |
|
|
|
171 |
|
|
2005-06-10 Jonathan Larmour
|
172 |
|
|
|
173 |
|
|
* src/m68k.ld: gcc_except_table subsections don't need to be
|
174 |
|
|
kept.
|
175 |
|
|
|
176 |
|
|
2005-06-03 Jonathan Larmour
|
177 |
|
|
|
178 |
|
|
* src/m68k.ld: gcc_except_table needs to be marked KEEP.
|
179 |
|
|
|
180 |
|
|
2005-05-23 Jonathan Larmour
|
181 |
|
|
2005-05-23 Bart Veer
|
182 |
|
|
|
183 |
|
|
* src/hal_arch.S (hal_m68k_exception_handler): Zero frame pointer
|
184 |
|
|
to improve GDB backtraces.
|
185 |
|
|
(hal_interrupt_stack_call_pending_DSRs): Ditto.
|
186 |
|
|
* src/vectors.S (hal_m68k_exception_reset): Use shorter suba.l
|
187 |
|
|
instruction to zero frame pointer.
|
188 |
|
|
|
189 |
|
|
2005-02-17 Jonathan Larmour
|
190 |
|
|
|
191 |
|
|
* src/m68k.ld: Use CYGBLD_HAL_LINKER_GROUPED_LIBS from the common HAL
|
192 |
|
|
for GROUP() list now.
|
193 |
|
|
|
194 |
|
|
2004-10-22 Bart Veer
|
195 |
|
|
|
196 |
|
|
* src/hal_m68k.c (hal_m68k_startup): add more init macros if the
|
197 |
|
|
platform needs them.
|
198 |
|
|
* doc/m68k.sgml: document the various init macros
|
199 |
|
|
|
200 |
|
|
2004-09-22 John Dallaway
|
201 |
|
|
|
202 |
|
|
* src/m68k.ld: Add got, frame and RELOCS sections. Accommodate .bss*
|
203 |
|
|
|
204 |
|
|
2004-06-24 Bart Veer
|
205 |
|
|
|
206 |
|
|
* src/vectors.S: extend fixed_vectors with sections for the
|
207 |
|
|
variant, processor and platform HALs. This makes it easier to
|
208 |
|
|
share data between RedBoot and the application.
|
209 |
|
|
|
210 |
|
|
* src/hal_m68k.c (hal_m68k_startup): support init routines
|
211 |
|
|
provided by the variant and processor HALs.
|
212 |
|
|
|
213 |
|
|
2004-02-11 Bart Veer
|
214 |
|
|
|
215 |
|
|
* src/vectors.S: give .fixed_vectors the right section attributes,
|
216 |
|
|
and fix comment.
|
217 |
|
|
|
218 |
|
|
* src/hal_arch.S (hal_m68k_interrupt_vsr): use new macro
|
219 |
|
|
hal_context_extract_isr_vector_shl2, saving an instruction in the
|
220 |
|
|
main interrupt handling path.
|
221 |
|
|
|
222 |
|
|
* doc/m68k.sgml: document new macro
|
223 |
|
|
hal_context_extract_isr_vector_shl2
|
224 |
|
|
|
225 |
|
|
2004-01-09 John Dallaway
|
226 |
|
|
|
227 |
|
|
* cdl/hal_m68k.cdl:
|
228 |
|
|
Correct capitalisation of "Variant details" string.
|
229 |
|
|
|
230 |
|
|
2004-01-05 Bart Veer
|
231 |
|
|
|
232 |
|
|
* src/hal_m68k.c (cyg_hal_invoke_constructors):
|
233 |
|
|
This function should not be static. In some configurations it may
|
234 |
|
|
get called from the libc startup code.
|
235 |
|
|
|
236 |
|
|
2003-09-30 Bart Veer
|
237 |
|
|
|
238 |
|
|
* src/hal_arch.S: __profile_mcount() was referenced even if the
|
239 |
|
|
profiling package was absent. This was only a problem when
|
240 |
|
|
building without linker garbage collection.
|
241 |
|
|
|
242 |
|
|
2003-09-26 Bart Veer
|
243 |
|
|
|
244 |
|
|
* cdl/hal_m68k.cdl, src/hal_arch.S, doc/m68k.sgml:
|
245 |
|
|
The architectural HAL now provides mcount profiling support.
|
246 |
|
|
|
247 |
|
|
2003-08-01 Bart Veer
|
248 |
|
|
|
249 |
|
|
* src/hal_arch.S: rework VSR and
|
250 |
|
|
hal_interrupt_stack_call_pending_DSRs so that interrupts are only
|
251 |
|
|
re-enabled while running the DSR, not elsewhere in the interrupt
|
252 |
|
|
handling code. Currently this is the only way to guarantee that
|
253 |
|
|
stack usage remains bounded.
|
254 |
|
|
|
255 |
|
|
* src/hal_m68k.c: define new variable hal_m68k_dsr_ipl_level,
|
256 |
|
|
the IPL level that should be used when running DSRs.
|
257 |
|
|
|
258 |
|
|
* include/hal_intr.h: HAL_INTERRUPT_STACK_CALL_PENDING_DSRS() is
|
259 |
|
|
now defined even when not running with an interrupt stack, so that
|
260 |
|
|
DSRs still run with interrupts enabled.
|
261 |
|
|
|
262 |
|
|
* doc/m68k.sgml: Minor updates following changes to the interrupt
|
263 |
|
|
handling.
|
264 |
|
|
|
265 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): A thread would be
|
266 |
|
|
initialized with the wrong status register value if the default
|
267 |
|
|
IPL level was not zero
|
268 |
|
|
|
269 |
|
|
2003-07-22 Bart Veer
|
270 |
|
|
|
271 |
|
|
* doc/m68k.sgml: Fix various typos etc.
|
272 |
|
|
|
273 |
|
|
2003-07-17 Bart Veer
|
274 |
|
|
|
275 |
|
|
* doc/m68k.sgml: update documentation.
|
276 |
|
|
|
277 |
|
|
2003-07-06 Bart Veer
|
278 |
|
|
|
279 |
|
|
* src/hal_arch.S: Add support for kernel interrupt
|
280 |
|
|
instrumentation.
|
281 |
|
|
|
282 |
|
|
2003-07-04 Bart Veer
|
283 |
|
|
|
284 |
|
|
* src/hal_arch.S:
|
285 |
|
|
Rework interrupt and exception VSR's to make the use of an
|
286 |
|
|
interrupt stack optional, and to allow interrupt nesting to be
|
287 |
|
|
disabled.
|
288 |
|
|
|
289 |
|
|
* src/hal_m68k.c:
|
290 |
|
|
* src/vectors.S:
|
291 |
|
|
hal_m68k_interrupt_nesting count is no longer required. Instead
|
292 |
|
|
the stack pointer itself is compared with the interrupt stack base
|
293 |
|
|
and top when deciding whether or not to switch to the interrupt
|
294 |
|
|
stack.
|
295 |
|
|
|
296 |
|
|
* include/hal_intr.h:
|
297 |
|
|
HAL_INTERRUPT_STACK_CALL_PENDING_DSRS() is only provided if there
|
298 |
|
|
is an interrupt stack
|
299 |
|
|
|
300 |
|
|
* include/hal_arch.h:
|
301 |
|
|
Adjust stack sizes for different interrupt-related configurations
|
302 |
|
|
|
303 |
|
|
* cdl/hal_m68k.cdl:
|
304 |
|
|
Interrupt stacks and nesting are now optional as on other
|
305 |
|
|
architectures.
|
306 |
|
|
|
307 |
|
|
2003-06-25 Bart Veer
|
308 |
|
|
|
309 |
|
|
* include/hal_arch.h:
|
310 |
|
|
Eliminate a build warning.
|
311 |
|
|
|
312 |
|
|
* include/hal_intr.h:
|
313 |
|
|
Provide default implementation of HAL_TRANSLATE_VECTOR()
|
314 |
|
|
|
315 |
|
|
2003-06-04 Bart Veer
|
316 |
|
|
|
317 |
|
|
* New version of the M68K support
|
318 |
|
|
|
319 |
|
|
//===========================================================================
|
320 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
321 |
|
|
// -------------------------------------------
|
322 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
323 |
|
|
// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
324 |
|
|
//
|
325 |
|
|
// This program is free software; you can redistribute it and/or modify
|
326 |
|
|
// it under the terms of the GNU General Public License as published by
|
327 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
328 |
|
|
// later version.
|
329 |
|
|
//
|
330 |
|
|
// This program is distributed in the hope that it will be useful, but
|
331 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
332 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
333 |
|
|
// General Public License for more details.
|
334 |
|
|
//
|
335 |
|
|
// You should have received a copy of the GNU General Public License
|
336 |
|
|
// along with this program; if not, write to the
|
337 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
338 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
339 |
|
|
// -------------------------------------------
|
340 |
|
|
// ####GPLCOPYRIGHTEND####
|
341 |
|
|
//===========================================================================
|