1 |
786 |
skrzyp |
2012-03-09 Sergei Gavrikov
|
2 |
|
|
|
3 |
|
|
* src/hal_if.c (hal_ctrlc_check): Fix compiler warning about
|
4 |
|
|
variable that is set but not used (isr_ret has been removed).
|
5 |
|
|
|
6 |
|
|
2011-01-13 John Dallaway
|
7 |
|
|
|
8 |
|
|
* cdl/hal.cdl: Add a CDL interface to control whether interrupt
|
9 |
|
|
state must be saved. [ Bugzilla 1001111 ]
|
10 |
|
|
* cdl/debugging.cdl: Implement the new interface within GDB Ctrl-C
|
11 |
|
|
break options.
|
12 |
|
|
* src/hal_if.c: Make declaration of the hal_saved_interrupt_state
|
13 |
|
|
variable conditional on an implementation of the new CDL interface.
|
14 |
|
|
|
15 |
|
|
2010-11-20 John Dallaway
|
16 |
|
|
|
17 |
|
|
* cdl/hal.cdl: Suppress -fprofile-arcs (which implies -lgcov) when
|
18 |
|
|
generating extras.o.
|
19 |
|
|
|
20 |
|
|
2010-10-09 John Dallaway
|
21 |
|
|
|
22 |
|
|
* doc/porting.sgml: Delete references to the memory layout editor.
|
23 |
|
|
|
24 |
|
|
2009-02-02 Bart Veer
|
25 |
|
|
|
26 |
|
|
* cdl/hal.cdl: add CYGBLD_GLOBAL_WARNFLAGS, as part of global
|
27 |
|
|
compiler flags update.
|
28 |
|
|
|
29 |
|
|
2008-11-21 Bart Veer
|
30 |
|
|
|
31 |
|
|
* include/hal_if.h (CYGNUM_CALL_IF_available_x): fix typo in
|
32 |
|
|
previous patch.
|
33 |
|
|
|
34 |
|
|
2008-11-20 Bart Veer
|
35 |
|
|
|
36 |
|
|
* cdl/hal.cdl, include/hal_if.h, src/hal_if.c: expunge
|
37 |
|
|
CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_CACHE and the corresponding code.
|
38 |
|
|
|
39 |
|
|
2008-05-20 Jonathan Larmour
|
40 |
|
|
|
41 |
|
|
* src/thread-packets.c (threadmatch): Silence pointer signedness
|
42 |
|
|
warning.
|
43 |
|
|
(threadref_to_int): Ditto.
|
44 |
|
|
* src/generic-stub.c (__mem2hex): Ditto.
|
45 |
|
|
(__mem2hex_safe): Ditto.
|
46 |
|
|
(__hex2mem): Ditto.
|
47 |
|
|
(__hex2mem_safe): Ditto.
|
48 |
|
|
* src/hal_if.c (delay_us): Ditto.
|
49 |
|
|
* include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION):
|
50 |
|
|
Instead of using a local variable to avoid compiler reordering
|
51 |
|
|
when taking the address of a label, instead call an external function.
|
52 |
|
|
(NB making the variable volatile isn't sufficient).
|
53 |
|
|
|
54 |
|
|
2008-05-13 Chris Zimman
|
55 |
|
|
|
56 |
|
|
* cdl/hal.cdl: Work around problem with current ARM EABI tools by
|
57 |
|
|
using /dev/null as linker script. Should be safe with other tools.
|
58 |
|
|
|
59 |
|
|
2007-11-27 Bart Veer
|
60 |
|
|
|
61 |
|
|
* src/hal_if.c (delay_us): use HAL_DELAY_US() rather than the
|
62 |
|
|
fancy implementation if the port cannot provide HAL_CLOCK_READ()
|
63 |
|
|
|
64 |
|
|
2007-09-27 Grant Edwards
|
65 |
|
|
|
66 |
|
|
* include/hal_endian.h (SWAP16): Fix "return value" so
|
67 |
|
|
that it only returns data in lower 16 bits instead of 24.
|
68 |
|
|
|
69 |
|
|
2006-05-09 Andrew Lunn
|
70 |
|
|
|
71 |
|
|
* src/hal_if.c (cyg_hal_diag_mangler_gdb_flush): Fix compiler
|
72 |
|
|
warning about signed/unsigned.
|
73 |
|
|
|
74 |
|
|
2006-04-19 Alexander Neundorf
|
75 |
|
|
|
76 |
|
|
* include/hal_if.h, src/hal_if.c: add a VV call for modifying
|
77 |
|
|
the FIS table from eCos applications
|
78 |
|
|
|
79 |
|
|
2005-06-27 Andrew Lunn
|
80 |
|
|
|
81 |
|
|
* include/hal_tables.h (CYG_HAL_TABLE_{QUALIFIED_}ENTRY): added
|
82 |
|
|
CYGBLD_ATTRIB_USED so that gcc 3.4.4 does not discard entries
|
83 |
|
|
which are not refereced explicitly. Problem reported by
|
84 |
|
|
Oliver Munz.
|
85 |
|
|
|
86 |
|
|
2005-06-26 Bart Veer
|
87 |
|
|
|
88 |
|
|
* doc/hal.sgml: make HAL_DELAY_US() mandatory and define it to be
|
89 |
|
|
thread-safe.
|
90 |
|
|
|
91 |
|
|
2005-05-19 Peter Korsgaard
|
92 |
|
|
|
93 |
|
|
* doc/porting.sgml: Changed dead sourceware.cygnus.com links to
|
94 |
|
|
ecos.sourceware.org.
|
95 |
|
|
|
96 |
|
|
2005-04-27 Enrico Piria
|
97 |
|
|
|
98 |
|
|
* src/hal_if.c Added missing declarations of tries when compiling
|
99 |
|
|
with CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES != 0.
|
100 |
|
|
|
101 |
|
|
2005-02-17 Jonathan Larmour
|
102 |
|
|
|
103 |
|
|
* cdl/common.cdl: Add CYGBLD_HAL_LINKER_GROUPED_LIBS to allow
|
104 |
|
|
CDL setting of libraries used for GROUP() directive in linker
|
105 |
|
|
script.
|
106 |
|
|
|
107 |
|
|
2004-11-20 Andrew Lunn
|
108 |
|
|
|
109 |
|
|
* tests/intr.c: Make the ISR call the DSR to make sure this works
|
110 |
|
|
correctly.
|
111 |
|
|
|
112 |
|
|
2004-08-22 Gary Thomas
|
113 |
|
|
|
114 |
|
|
* doc/porting.sgml: Replace [very misleading dated] comments
|
115 |
|
|
about CygMon and platforms which use/need GDB stubs.
|
116 |
|
|
|
117 |
|
|
2004-08-12 Jani Monoses
|
118 |
|
|
|
119 |
|
|
* include/hal_if.h: Make monitor locking work with CYGPKG_LWIP.
|
120 |
|
|
|
121 |
|
|
2004-05-19 John Newlin
|
122 |
|
|
|
123 |
|
|
* src/hal_stub.c:
|
124 |
|
|
(cyg_hal_gdb_interrupt)
|
125 |
|
|
(cyg_hal_gdb_remove_break): Changed both to use
|
126 |
|
|
_read_mem_safe/__write_mem_safe for inserting a breakpoint, and
|
127 |
|
|
restoring the original instruction.
|
128 |
|
|
The Xtensa architecture (and others maybe?) can have unaligned
|
129 |
|
|
instructions, which caused unaligned load/store exception.
|
130 |
|
|
|
131 |
|
|
2004-04-22 Jani Monoses
|
132 |
|
|
|
133 |
|
|
* cdl/hal.cdl :
|
134 |
|
|
Invoke tail with stricter syntax that works in latest coreutils.
|
135 |
|
|
|
136 |
|
|
2004-02-23 Jonathan Larmour
|
137 |
|
|
|
138 |
|
|
* cdl/debugging.cdl (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS): Included
|
139 |
|
|
stubs should always mean saving full context both on interrupts
|
140 |
|
|
and context swaps, so make it explicit.
|
141 |
|
|
|
142 |
|
|
2004-01-05 Gary Thomas
|
143 |
|
|
|
144 |
|
|
* include/hal_if.h: Minor fixup - new 'fconfig' functions broke
|
145 |
|
|
existing uses of CYGACC_CALL_IF_FLASH_CFG_OP. Added a new macro
|
146 |
|
|
CYGACC_CALL_IF_FLASH_CFG_OP2 which handles new API and a wrapper
|
147 |
|
|
to handle the old way (backwards compatability).
|
148 |
|
|
|
149 |
|
|
2003-12-21 Gary Thomas
|
150 |
|
|
|
151 |
|
|
* src/hal_if.c (flash_config_op):
|
152 |
|
|
* include/hal_if.h: New expanded functions for RedBoot 'fconfig'
|
153 |
|
|
database.
|
154 |
|
|
|
155 |
|
|
2003-09-04 Patrick Doyle
|
156 |
|
|
|
157 |
|
|
* include/hal_if.h:
|
158 |
|
|
* src/hal_if.c (flash_fis_op): Added support for the rest of the
|
159 |
|
|
FIS operations.
|
160 |
|
|
|
161 |
|
|
2003-08-06 Bob Koninckx
|
162 |
|
|
|
163 |
|
|
* src/drv_api.c: Added definition of cyg_interrupt_post_dsr() for
|
164 |
|
|
use in those HALs that need it.
|
165 |
|
|
|
166 |
|
|
* include/hal_arbiter.h (hal_call_isr): Removed ifdef on
|
167 |
|
|
CYGFUN_HAL_COMMON_KERNEL_SUPPORT around test and call to
|
168 |
|
|
cyg_interrupt_post_dsr().
|
169 |
|
|
|
170 |
|
|
2003-07-21 Nick Garnett
|
171 |
|
|
|
172 |
|
|
* doc/hal.sgml: Reorganized description of clock and timer related
|
173 |
|
|
stuff into their own section and added a piece about how to change
|
174 |
|
|
the clock frequency.
|
175 |
|
|
|
176 |
|
|
2003-06-25 Nick Garnett
|
177 |
|
|
|
178 |
|
|
* src/hal_if.c (delay_us): The first test against
|
179 |
|
|
CYGNUM_KERNEL_COUNTERS_RTC_PERIOD is now against the period
|
180 |
|
|
divided by two. By the time we get to this test we know that usecs
|
181 |
|
|
can never be > usec_per_period/2 so we can double the range of
|
182 |
|
|
period values that we can handle without overflow and use the more
|
183 |
|
|
efficient approximation. The second test is not changed since we
|
184 |
|
|
cannot make the same assumptions about the elapsed count.
|
185 |
|
|
|
186 |
|
|
2003-06-24 Jonathan Larmour
|
187 |
|
|
|
188 |
|
|
* src/generic-stub.c (crc32): Fix crctable option name typo.
|
189 |
|
|
|
190 |
|
|
* src/hal_if.c (hal_if_init): Remove kill_by_reset.
|
191 |
|
|
(kill_by_reset): Remove, unused.
|
192 |
|
|
(reset): ifdef test on HAL_PLATFORM_RESET and assert on reset failure.
|
193 |
|
|
|
194 |
|
|
* cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE): No
|
195 |
|
|
reason to forbid people setting this quite small.
|
196 |
|
|
|
197 |
|
|
2003-06-19 Nick Garnett
|
198 |
|
|
|
199 |
|
|
* src/hal_if.c (delay_us): Reorganized to cope with high frequency
|
200 |
|
|
timers by eliminating a source of arithmetic overflow.
|
201 |
|
|
|
202 |
|
|
2003-05-06 Mark Salter
|
203 |
|
|
|
204 |
|
|
* src/hal_stub.c (handle_exception_exit): Call sys_profile_reset from
|
205 |
|
|
here. Setup to return through return_from_stub() when appropriate.
|
206 |
|
|
(return_from_stub): New function to call CYGACC_CALL_IF_MONITOR_RETURN
|
207 |
|
|
from thread context.
|
208 |
|
|
|
209 |
|
|
* src/generic-stub.c (__handle_exception): Call exit_vec if
|
210 |
|
|
hal_syscall_handler returns negative number.
|
211 |
|
|
|
212 |
|
|
2003-04-08 Mark Salter
|
213 |
|
|
|
214 |
|
|
* src/hal_misc.c (hal_default_isr): Allow HAL to override default
|
215 |
|
|
GDB vector matching test.
|
216 |
|
|
|
217 |
|
|
2003-04-08 Yoshinori Sato
|
218 |
|
|
2003-04-08 Jonathan Larmour
|
219 |
|
|
|
220 |
|
|
* cdl/debugging.cdl: Allow CRC to be allocated in ROM as well as RAM.
|
221 |
|
|
* src/generic-stub.c: as above.
|
222 |
|
|
|
223 |
|
|
2003-04-02 Gary Thomas
|
224 |
|
|
|
225 |
|
|
* src/generic-stub.c:
|
226 |
|
|
* include/generic-stub.h: Cleanup when program args are not
|
227 |
|
|
supported (remove some unused static storage).
|
228 |
|
|
|
229 |
|
|
2003-03-03 Knud Woehler
|
230 |
|
|
|
231 |
|
|
* src/hal_if.c:
|
232 |
|
|
* include/hal_if.h: Add CYGNUM_CALL_IF_FLASH_FIS_OP. FIS read
|
233 |
|
|
via the virtual vector table.
|
234 |
|
|
|
235 |
|
|
2003-02-24 Jonathan Larmour
|
236 |
|
|
|
237 |
|
|
* cdl/hal.cdl: Fix doc links.
|
238 |
|
|
|
239 |
|
|
* doc/hal.sgml: hal-common-current-doc-porting-sgml entity ->
|
240 |
|
|
hal-common-porting-sgml in line with other docs.
|
241 |
|
|
|
242 |
|
|
2003-02-13 Mark Salter
|
243 |
|
|
|
244 |
|
|
* src/gdb-fileio.h (FILEIO_O_BINARY): New flag.
|
245 |
|
|
(FILEIO_O_TEXT): New flag.
|
246 |
|
|
|
247 |
|
|
2003-01-31 Mark Salter
|
248 |
|
|
|
249 |
|
|
* include/hal_if.h: Add CYGNUM_CALL_IF_MONITOR_RETURN.
|
250 |
|
|
|
251 |
|
|
2002-12-04 Gary Thomas
|
252 |
|
|
|
253 |
|
|
* cdl/hal.cdl: RAM applications should not claim (reset) version
|
254 |
|
|
string by default.
|
255 |
|
|
|
256 |
|
|
2002-12-03 Gary Thomas
|
257 |
|
|
|
258 |
|
|
* src/hal_if.c (hal_if_init):
|
259 |
|
|
* include/hal_if.h:
|
260 |
|
|
* cdl/hal.cdl: Allow monitor (RedBoot) version string to be exported
|
261 |
|
|
via the virtual vector table.
|
262 |
|
|
|
263 |
|
|
2002-11-13 Gary Thomas
|
264 |
|
|
|
265 |
|
|
* cdl/hal.cdl: Add CDL control over DATA cache startup mode.
|
266 |
|
|
|
267 |
|
|
2002-09-11 Mark Salter
|
268 |
|
|
|
269 |
|
|
* include/hal_if.h: Add __COMMCTL_ENABLE_LINE_FLUSH and
|
270 |
|
|
__COMMCTL_DISABLE_LINE_FLUSH.
|
271 |
|
|
|
272 |
|
|
2002-08-29 Mark Salter
|
273 |
|
|
|
274 |
|
|
* include/generic-stub.h: Add defines for Z packet types.
|
275 |
|
|
* src/bplist-dynamic.c: Add support for deferred hardware breakpoint
|
276 |
|
|
and watchpoint insertion/deletion. This gets around gdb problem where
|
277 |
|
|
gdb tries accessing watched memory before removing watchpoint.
|
278 |
|
|
* src/generic-stub.c (__process_packet): Ditto.
|
279 |
|
|
* include/hal_stub.h: Ditto.
|
280 |
|
|
|
281 |
|
|
2002-05-23 Jesper Skov
|
282 |
|
|
|
283 |
|
|
* cdl/hal.cdl: Don't build tests that are not applicable with the
|
284 |
|
|
current configuration.
|
285 |
|
|
Added CYGINT_HAL_TESTS_NO_CACHES which allows cache tests to be
|
286 |
|
|
suppressed.
|
287 |
|
|
|
288 |
|
|
2002-05-13 Jesper Skov
|
289 |
|
|
|
290 |
|
|
* cdl/hal.cdl: Removed
|
291 |
|
|
CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED option and its
|
292 |
|
|
dependencies.
|
293 |
|
|
|
294 |
|
|
2002-05-02 Nick Garnett
|
295 |
|
|
|
296 |
|
|
* doc/hal.sgml: Added description of HAL_DELAY_US().
|
297 |
|
|
|
298 |
|
|
* doc/porting.sgml: Expanded section on architecture porting.
|
299 |
|
|
|
300 |
|
|
2002-04-30 Jonathan Larmour
|
301 |
|
|
|
302 |
|
|
* src/gdb-fileio.c (cyg_hal_gdbfileio_process_F_packet): Reset
|
303 |
|
|
retcode/errno/ctrlc status every F packet.
|
304 |
|
|
|
305 |
|
|
2002-04-23 Jesper Skov
|
306 |
|
|
|
307 |
|
|
* doc/porting.sgml: Fix some typos.
|
308 |
|
|
|
309 |
|
|
2002-04-22 Jonathan Larmour
|
310 |
|
|
|
311 |
|
|
* include/generic-stub.h: Prototype __getpacket().
|
312 |
|
|
* src/generic-stub.c: Rename getpacket() -> __getpacket(),
|
313 |
|
|
remcomInBuffer -> __remcomInBuffer, and
|
314 |
|
|
remcomOutBuffer -> __remcomOutBuffer throughout file, and export
|
315 |
|
|
them (i.e. not file local).
|
316 |
|
|
(__process_packet): Handle $F packets file I/O protocol responses.
|
317 |
|
|
|
318 |
|
|
* src/gdb-fileio.c: New file to implement file I/O operations over
|
319 |
|
|
the GDB remote protocol.
|
320 |
|
|
* src/gdb-fileio.h: New file. Header for above.
|
321 |
|
|
|
322 |
|
|
2002-03-15 Nick Garnett
|
323 |
|
|
|
324 |
|
|
* doc/porting.sgml: Platform HAL porting guide tidied up and
|
325 |
|
|
expanded somewhat. Some work also done on variant
|
326 |
|
|
guide. Architecture guided needs a lot more work.
|
327 |
|
|
|
328 |
|
|
* doc/hal.sgml: Changed explicit section tags to recursive section
|
329 |
|
|
tags to make any future restructuring easier.
|
330 |
|
|
|
331 |
|
|
2002-03-14 Nick Garnett
|
332 |
|
|
|
333 |
|
|
* src/hal_stub.c: Add calls to HAL memory access check macros in
|
334 |
|
|
memory access functions.
|
335 |
|
|
|
336 |
|
|
* include/hal_stub.h: Added default definitions for HAL memory access
|
337 |
|
|
check macros.
|
338 |
|
|
|
339 |
|
|
2002-03-06 Nick Garnett
|
340 |
|
|
|
341 |
|
|
* tests/cache.c: Changed tests so that zero sized caches and HALs
|
342 |
|
|
that define HAL_DCACHE_PURGE_ALL() don't cause this test to throw
|
343 |
|
|
a compilation error.
|
344 |
|
|
|
345 |
|
|
2002-02-28 Jesper Skov
|
346 |
|
|
|
347 |
|
|
* src/generic-stub.c (__handle_exception): Pay attention to return
|
348 |
|
|
value from hal_syscall_handler.
|
349 |
|
|
|
350 |
|
|
2002-02-21 Mark Salter
|
351 |
|
|
|
352 |
|
|
* src/hal_if.c (cyg_hal_diag_mangler_gdb_flush): Don't do anything
|
353 |
|
|
if buffer is empty.
|
354 |
|
|
|
355 |
|
|
2002-02-20 Nick Garnett
|
356 |
|
|
|
357 |
|
|
* doc/hal.sgml: Updated and tidied. Now includes porting guide
|
358 |
|
|
from a separate file.
|
359 |
|
|
|
360 |
|
|
* doc/porting.sgml: Added this file to contain the porting guide
|
361 |
|
|
section of the HAL document. This is currently largely a
|
362 |
|
|
conversion of Jesper's porting guide from the website.
|
363 |
|
|
Unfortunately I have had no time to do much more than include it
|
364 |
|
|
wholesale, with only minor edits. There are some notes at the end
|
365 |
|
|
of the file describing what I would like to do.
|
366 |
|
|
|
367 |
|
|
2002-02-18 Nick Garnett
|
368 |
|
|
|
369 |
|
|
* doc/hal.sgml: Restructured most of this document and rewrote
|
370 |
|
|
large chunks of the basic HAL description stuff. Only the skeleton
|
371 |
|
|
of the porting guided is currently done. This checkin in mostly
|
372 |
|
|
for safety and to let others read the current state.
|
373 |
|
|
|
374 |
|
|
2002-02-06 Mark Salter
|
375 |
|
|
|
376 |
|
|
* src/hal_if.c (cyg_hal_diag_mangler_gdb_control): Add flush support.
|
377 |
|
|
(cyg_hal_diag_mangler_gdb_flush): New function to flush mangler output.
|
378 |
|
|
(cyg_hal_diag_mangler_gdb_putc): Use new function to flush output.
|
379 |
|
|
|
380 |
|
|
2002-01-30 Hugo Tyson
|
381 |
|
|
|
382 |
|
|
* include/hal_if.h (CYGNUM_FLASH_CFG_OP_CONFIG_INT): New defines for
|
383 |
|
|
getting Flash Config options out of RedBoot using VV call
|
384 |
|
|
CYGACC_CALL_IF_FLASH_CFG_OP(). These need to be kept uptodate
|
385 |
|
|
with (or must override) those in RedBoot's flash_config.h
|
386 |
|
|
Previously only used for getting an ESA.
|
387 |
|
|
|
388 |
|
|
2002-01-25 Hugo Tyson
|
389 |
|
|
|
390 |
|
|
* src/generic-stub.c (__process_packet): If detach or kill, call
|
391 |
|
|
sys_profile_reset() if BSP_SYSCALLS_GPROF are enabled, to clear
|
392 |
|
|
out any dangerous state there. Such as a callback function
|
393 |
|
|
pointer into application code.
|
394 |
|
|
|
395 |
|
|
2002-01-23 Jonathan Larmour
|
396 |
|
|
|
397 |
|
|
* include/drv_api.h: Add cyg_drv_interrupt_mask/unmask_intunsafe
|
398 |
|
|
* src/drv_api.c: Ditto. And modify
|
399 |
|
|
cyg_drv_interrupt_mask/unmask to be interrupt safe.
|
400 |
|
|
|
401 |
|
|
2002-01-21 Mark Salter
|
402 |
|
|
|
403 |
|
|
* include/hal_spd.h: New file. Definitions for SDRAM module SPD.
|
404 |
|
|
|
405 |
|
|
2002-01-18 Jesper Skov
|
406 |
|
|
|
407 |
|
|
* src/hal_stub.c (__build_t_packet): don't declare extend_val
|
408 |
|
|
twice.
|
409 |
|
|
|
410 |
|
|
2001-12-12 Jesper Skov
|
411 |
|
|
|
412 |
|
|
* include/hal_stub.h: Add goto to the used label.
|
413 |
|
|
* src/hal_misc.c: Added (dummy) got for label used in
|
414 |
|
|
CYGARC_HAL_GET_RETURN_ADDRESS_BACKUP.
|
415 |
|
|
|
416 |
|
|
2001-12-05 Jonathan Larmour
|
417 |
|
|
|
418 |
|
|
* src/dbg-threads-syscall.c (dbg_thread_syscall): Don't bother to
|
419 |
|
|
deref a func ptr. The opcode could theoretically be 0x0!
|
420 |
|
|
|
421 |
|
|
2001-12-04 Richard Sandiford
|
422 |
|
|
|
423 |
|
|
* src/generic-stub.c (__add_char_to_packet): Reverse check for
|
424 |
|
|
end of buffer and end of packet to fix potential buffer overrun.
|
425 |
|
|
|
426 |
|
|
2001-12-01 Jonathan Larmour
|
427 |
|
|
|
428 |
|
|
* src/dbg-threads-syscall.c (dbg_thread_syscall): check for
|
429 |
|
|
NULL dbg_syscall_ptr.
|
430 |
|
|
|
431 |
|
|
* cdl/hal.cdl: require CYGPKG_INFRA since all HALs do!
|
432 |
|
|
|
433 |
|
|
2001-11-29 Hugo Tyson
|
434 |
|
|
|
435 |
|
|
* src/hal_stub.c: Enable HAL_STUB_HW_SEND_STOP_REASON_TEXT for
|
436 |
|
|
XScale architectures per Mark's request; XScale GDB needs to know
|
437 |
|
|
what's happening with watchpoints (= work around previous change)
|
438 |
|
|
|
439 |
|
|
2001-11-29 Hugo Tyson
|
440 |
|
|
|
441 |
|
|
* src/hal_stub.c: Condition out sending the reason for hardware
|
442 |
|
|
watchpoint stop in the stop packet as $T05watch:01234568;... most
|
443 |
|
|
GDBs do not understand it and in fact object to it.
|
444 |
|
|
|
445 |
|
|
2001-11-23 Nick Garnett
|
446 |
|
|
|
447 |
|
|
* src/generic-stub.c (__process_packet): Fixed bogosity in
|
448 |
|
|
handling of 'r' packet. It tried to send two replies, messing up
|
449 |
|
|
the protocol and confusing GDB.
|
450 |
|
|
|
451 |
|
|
2001-11-02 Hugo Tyson
|
452 |
|
|
|
453 |
|
|
* include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION):
|
454 |
|
|
Permit this too to be defined externally ie. in a platform HAL.
|
455 |
|
|
|
456 |
|
|
2001-10-25 Gary Thomas
|
457 |
|
|
|
458 |
|
|
* cdl/hal.cdl:
|
459 |
|
|
* cdl/debugging.cdl: Reorg CDL a little so that GDB stub routines
|
460 |
|
|
are only compiled when needed (instead of being compiled "empty").
|
461 |
|
|
|
462 |
|
|
2001-10-24 Gary Thomas
|
463 |
|
|
|
464 |
|
|
* cdl/hal.cdl: Add 'basic' test.
|
465 |
|
|
|
466 |
|
|
* tests/basic.c: New test of some minimal HAL functionality.
|
467 |
|
|
|
468 |
|
|
2001-10-18 Gary Thomas
|
469 |
|
|
|
470 |
|
|
* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc):
|
471 |
|
|
* cdl/debugging.cdl: CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is now
|
472 |
|
|
defined as CDL 'data' flavor (tested via #if vs. #ifdef)
|
473 |
|
|
|
474 |
|
|
2001-10-17 Jesper Skov
|
475 |
|
|
|
476 |
|
|
* src/generic-stub.c: Prefixed local version of memcpy and memset
|
477 |
|
|
with _.
|
478 |
|
|
|
479 |
|
|
2001-10-17 Gary Thomas
|
480 |
|
|
|
481 |
|
|
* cdl/debugging.cdl:
|
482 |
|
|
* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Make retry/abort optional,
|
483 |
|
|
only attemped if CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is configured to
|
484 |
|
|
be non-zero (default now 0).
|
485 |
|
|
|
486 |
|
|
2001-10-16 Jesper Skov
|
487 |
|
|
|
488 |
|
|
* include/hal_stub.h: Allow ISOINFRA/LIBC to provide string
|
489 |
|
|
functions.
|
490 |
|
|
|
491 |
|
|
2001-10-16 Gary Thomas
|
492 |
|
|
|
493 |
|
|
* include/generic-stub.h: Add prototypes for breakpoint_list functions.
|
494 |
|
|
|
495 |
|
|
2001-10-15 David Howells
|
496 |
|
|
|
497 |
|
|
* include/hal_stub.h: put semicolon between goto-label and close curly.
|
498 |
|
|
|
499 |
|
|
2001-10-12 Mark Salter
|
500 |
|
|
|
501 |
|
|
* src/thread-packets.c: Don't specify array sizes in extern decls.
|
502 |
|
|
|
503 |
|
|
* src/hal_stub.c: Use HAL_STUB_REGISTERS_SIZE to set number of elements
|
504 |
|
|
in register save areas. Default to NUMREGS if not defined by HAL.
|
505 |
|
|
Allow HALs to provide specialized get_register()/put_register().
|
506 |
|
|
|
507 |
|
|
* src/generic-stub.c (stub_format_registers): Support 'p' packet.
|
508 |
|
|
(__process_packet): Rearrange ifdefs so error is sent for unsupported
|
509 |
|
|
Z packet types.
|
510 |
|
|
(process_query): Add hook for HAL specific queries.
|
511 |
|
|
(process_set): Add hook for HAL specific sets.
|
512 |
|
|
|
513 |
|
|
* include/generic-stub.h: Add extern decls to quiet compiler warnings.
|
514 |
|
|
|
515 |
|
|
2001-10-11 Gary Thomas
|
516 |
|
|
|
517 |
|
|
* include/generic-stub.h:
|
518 |
|
|
* src/generic-stub.c: Improve error handling more. Make sure that
|
519 |
|
|
packets are consumed, even if they are going to be tossed (overflow).
|
520 |
|
|
This keeps TCP based connections going, even when the data is bad.
|
521 |
|
|
(getpacket): Only send NAK in case of overflow.
|
522 |
|
|
|
523 |
|
|
2001-10-09 Jesper Skov
|
524 |
|
|
|
525 |
|
|
* src/hal_if.c (flash_config_op): Protect with
|
526 |
|
|
CYGARC_HAL_SAVE_GP.
|
527 |
|
|
|
528 |
|
|
2001-10-04 Jesper Skov
|
529 |
|
|
|
530 |
|
|
* include/hal_endian.h: Added.
|
531 |
|
|
Fix typo.
|
532 |
|
|
|
533 |
|
|
2001-10-03 Jonathan Larmour
|
534 |
|
|
|
535 |
|
|
* include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use plain "object"
|
536 |
|
|
because some (only some though) MIPS tools complain with %object.
|
537 |
|
|
(CYG_HAL_TABLE_END): Ditto.
|
538 |
|
|
|
539 |
|
|
2001-10-02 Jonathan Larmour
|
540 |
|
|
|
541 |
|
|
* include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use %object syntax
|
542 |
|
|
rather than @object since @ is a comment character on ARM. gas
|
543 |
|
|
accepts either syntax.
|
544 |
|
|
(CYG_HAL_TABLE_END): Ditto.
|
545 |
|
|
|
546 |
|
|
2001-10-01 Gary Thomas
|
547 |
|
|
|
548 |
|
|
* src/generic-stub.c (getpacket): Send back error response (E01) if
|
549 |
|
|
packet received which overflows buffers. GDB doesn't always do much
|
550 |
|
|
with this error, but at least it keeps the protocol moving.
|
551 |
|
|
|
552 |
|
|
2001-09-26 Gary Thomas
|
553 |
|
|
|
554 |
|
|
* cdl/common.cdl: New interface CYGINT_HAL_SUPPORTS_MMU_TABLES which
|
555 |
|
|
indicates if the HAL supports MMU tables (few do).
|
556 |
|
|
|
557 |
|
|
2001-09-25 Gary Thomas
|
558 |
|
|
|
559 |
|
|
* cdl/common.cdl (CYGSEM_HAL_INSTALL_MMU_TABLES): Change to be
|
560 |
|
|
default for ROM startup.
|
561 |
|
|
|
562 |
|
|
2001-09-20 Jesper Skov
|
563 |
|
|
|
564 |
|
|
* tests/vaargs.c (cyg_start): Call CYG_TEST_INIT.
|
565 |
|
|
|
566 |
|
|
2001-09-10 Nick Garnett
|
567 |
|
|
|
568 |
|
|
* include/hal_stub.h (strlen): Changed return type to size_t from
|
569 |
|
|
int so it matches . For some reason the compiler has
|
570 |
|
|
suddenly started complaining about the type mismatch. Strange.
|
571 |
|
|
|
572 |
|
|
2001-09-07 Nick Garnett
|
573 |
|
|
|
574 |
|
|
* src/hal_stub.c (put_register): Added kludge for VR4300 targets
|
575 |
|
|
to sign extent the PC when it is being set. This is due to the
|
576 |
|
|
age of the VR4300 toolchain and the fact that the VR4300 is the
|
577 |
|
|
only target to do full 64bit register saves/restores.
|
578 |
|
|
|
579 |
|
|
2001-09-07 Jesper Skov
|
580 |
|
|
|
581 |
|
|
* include/hal_if.h: Fix typo in below change.
|
582 |
|
|
|
583 |
|
|
2001-09-07 Jonathan Larmour
|
584 |
|
|
|
585 |
|
|
* include/hal_if.h (CYGACC_CALL_IF_DBG_SYSCALL): Define and call
|
586 |
|
|
with correct arguments.
|
587 |
|
|
|
588 |
|
|
2001-08-24 Mark Salter
|
589 |
|
|
|
590 |
|
|
* src/generic-stub.c (__process_packet): Add support for 'D' packet.
|
591 |
|
|
(__process_packet): Check for impossible mem write length.
|
592 |
|
|
|
593 |
|
|
2001-08-17 Jonathan Larmour
|
594 |
|
|
|
595 |
|
|
* cdl/hal.cdl: Add CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
|
596 |
|
|
interface.
|
597 |
|
|
|
598 |
|
|
2001-08-16 Gary Thomas
|
599 |
|
|
|
600 |
|
|
* cdl/hal.cdl: Add CDL options to control GDB protocol retries.
|
601 |
|
|
|
602 |
|
|
2001-08-14 Gary Thomas
|
603 |
|
|
|
604 |
|
|
* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Use timeout
|
605 |
|
|
functions to allow for retries. This should improve the case
|
606 |
|
|
where [for whatever reason] the host GDB misses or ignores
|
607 |
|
|
a $O packet - it will get resent after a reasonable timeout.
|
608 |
|
|
|
609 |
|
|
2001-08-03 Gary Thomas
|
610 |
|
|
2001-08-03 Jesper Skov
|
611 |
|
|
|
612 |
|
|
* include/hal_if.h: Use inline functions for calls - allowing
|
613 |
|
|
interrupts to be disabled while services are called
|
614 |
|
|
[CYGACC_COMM_IF_CONTROL is an exception since it's using variable
|
615 |
|
|
arguments - so it's still a macro].
|
616 |
|
|
Pruned unused IF vectors: ICTRL_TABLE, EXC_TABLE, DBG_VECTOR,
|
617 |
|
|
CPU_DATA, BOARD_DATA, SYSINFO, SET_SERIAL_BAUD.
|
618 |
|
|
Note: this should fix bug CR 902745-CR.
|
619 |
|
|
|
620 |
|
|
* cdl/hal.cdl: Removed CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_ICTRL.
|
621 |
|
|
* src/hal_if.c (hal_if_init): Removed initialization of
|
622 |
|
|
ICTRL_TABLE, EXC_TABLE, CPU_DATA and BOARD_DATA entries.
|
623 |
|
|
|
624 |
|
|
2001-08-03 Nick Garnett
|
625 |
|
|
|
626 |
|
|
Imported from a development branch:
|
627 |
|
|
|
628 |
|
|
2001-07-11 Nick Garnett
|
629 |
|
|
|
630 |
|
|
* include/drv_api.h:
|
631 |
|
|
* src/drv_api.c:
|
632 |
|
|
Added API for controlling routing of interrupts to CPUs in SMP
|
633 |
|
|
configurations.
|
634 |
|
|
|
635 |
|
|
2001-06-29 Nick Garnett
|
636 |
|
|
|
637 |
|
|
* include/drv_api.h:
|
638 |
|
|
* src/drv_api.c:
|
639 |
|
|
Added API for using spinlocks.
|
640 |
|
|
|
641 |
|
|
2001-08-03 Jesper Skov
|
642 |
|
|
|
643 |
|
|
* tests/vaargs.c: Added.
|
644 |
|
|
* cdl/hal.cdl: Added CYGPKG_HAL_BUILD_COMPILER_TESTS to allow cpp1
|
645 |
|
|
and vaargs tests to be compiled conditionally.
|
646 |
|
|
|
647 |
|
|
2001-07-27 Jesper Skov
|
648 |
|
|
|
649 |
|
|
* tests/intr.c: Set up interrupt ISR using driver API so it works
|
650 |
|
|
properly in chained mode in the presence of arbiters.
|
651 |
|
|
|
652 |
|
|
* src/drv_api.c (chain_isr): Call default ISR when
|
653 |
|
|
appropriate. Return ISR return value.
|
654 |
|
|
|
655 |
|
|
* include/hal_arbiter.h (hal_call_isr): Added version to be used
|
656 |
|
|
with interrupt chaining.
|
657 |
|
|
|
658 |
|
|
2001-07-24 Mark Salter
|
659 |
|
|
|
660 |
|
|
* cdl/hal.cdl (CYGINT_HAL_PLF_IF_IDE): New interface which
|
661 |
|
|
indicates platform supports IDE controller I/F macros.
|
662 |
|
|
|
663 |
|
|
2001-06-29 Jonathan Larmour
|
664 |
|
|
|
665 |
|
|
* cdl/hal.cdl (CYGPKG_HAL_TESTS): Remove redundant .c extension
|
666 |
|
|
|
667 |
|
|
2001-06-29 Jesper Skov
|
668 |
|
|
|
669 |
|
|
* include/hal_misc.h: Moved arbiter helper to
|
670 |
|
|
* include/hal_arbiter.h: this file to avoid header file inclusion
|
671 |
|
|
order problems.
|
672 |
|
|
|
673 |
|
|
2001-06-28 Jesper Skov
|
674 |
|
|
|
675 |
|
|
* include/hal_misc.h (hal_call_isr): Added. Used by ISR arbiters.
|
676 |
|
|
|
677 |
|
|
2001-06-22 Gary Thomas
|
678 |
|
|
|
679 |
|
|
* src/generic-stub.c (BUFMAX): Define as platform specific, thus
|
680 |
|
|
reducing memory requirements.
|
681 |
|
|
(__process_packet): Eliminate program arguments support until eCos
|
682 |
|
|
makes use of them (more memory savings).
|
683 |
|
|
|
684 |
|
|
2001-06-22 Mark Salter
|
685 |
|
|
|
686 |
|
|
* src/hal_stub.c (__do_copy_mem): Add goto statement to prevent
|
687 |
|
|
compiler from moving instructions across 'err' label.
|
688 |
|
|
|
689 |
|
|
2001-06-14 Jonathan Larmour
|
690 |
|
|
|
691 |
|
|
* src/generic-stub.c (__process_packet): Don't reset the board
|
692 |
|
|
straight away with a 'r' packet. Let a 'k' packet do it instead.
|
693 |
|
|
|
694 |
|
|
* src/hal_stub.c (__install_traps): Remove redundant comment.
|
695 |
|
|
|
696 |
|
|
2001-06-11 Jonathan Larmour
|
697 |
|
|
|
698 |
|
|
* src/hal_if.c (delay_us): Revert below change of 2001-05-17
|
699 |
|
|
|
700 |
|
|
2001-06-05 Hugo Tyson
|
701 |
|
|
|
702 |
|
|
* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): The nesting of
|
703 |
|
|
CYGARC_HAL_SAVE_GP() and the instant-out if sending a carriage
|
704 |
|
|
return "\r" was wrong - it scrambled the gp for the caller! Since
|
705 |
|
|
the return-test is trivial, I simply re-ordered rather than making
|
706 |
|
|
the exit clause complex with a restore in it.
|
707 |
|
|
|
708 |
|
|
2001-05-17 Jonathan Larmour
|
709 |
|
|
|
710 |
|
|
* src/hal_if.c (delay_us): Warn if using default
|
711 |
|
|
|
712 |
|
|
2001-05-14 Jonathan Larmour
|
713 |
|
|
|
714 |
|
|
* cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE):
|
715 |
|
|
Default stack size to 32K for non-kernel configs, and describe
|
716 |
|
|
why.
|
717 |
|
|
|
718 |
|
|
2001-05-07 Gary Thomas
|
719 |
|
|
|
720 |
|
|
* src/hal_if.c (hal_ctrlc_check): Only return 'true' if the ISR/DSR
|
721 |
|
|
actually processes a ^C. Otherwise, interrupts/date can be lost on
|
722 |
|
|
a shared channel (like an ethernet device).
|
723 |
|
|
|
724 |
|
|
2001-04-30 Gary Thomas
|
725 |
|
|
|
726 |
|
|
* cdl/hal.cdl: Add configury to control initial cache behaviour.
|
727 |
|
|
|
728 |
|
|
2001-04-30 Hugo Tyson
|
729 |
|
|
|
730 |
|
|
* cdl/hal.cdl: Add tests/cpp1.c to the tests list.
|
731 |
|
|
|
732 |
|
|
* tests/cpp1.c: New test, to test for regressions in the tools.
|
733 |
|
|
This one is for a CPP bug in the XScale tools where '+' binds too
|
734 |
|
|
strongly following a ')' because it is mistaken for unary plus.
|
735 |
|
|
|
736 |
|
|
2001-04-25 Bart Veer
|
737 |
|
|
|
738 |
|
|
* tests/cache.c:
|
739 |
|
|
Fix test for cache presence.
|
740 |
|
|
|
741 |
|
|
* src/drv_api.c (cyg_drv_interrupt_detach):
|
742 |
|
|
Added missing indirection.
|
743 |
|
|
|
744 |
|
|
2001-03-28 Jonathan Larmour
|
745 |
|
|
|
746 |
|
|
* include/dbg-threads-api.h: Add dbg_thread_id() function prototype.
|
747 |
|
|
|
748 |
|
|
2001-03-21 Mark Salter
|
749 |
|
|
|
750 |
|
|
* src/hal_if.c (hal_if_init): Add explicit typecast when setting
|
751 |
|
|
version. Needed when sizeof(int) < sizeof(CYG_ADDRWORD).
|
752 |
|
|
|
753 |
|
|
2001-03-21 Jesper Skov
|
754 |
|
|
|
755 |
|
|
* src/hal_if.c (hal_if_init): Added warning about debugging.
|
756 |
|
|
|
757 |
|
|
2001-03-20 Jonathan Larmour
|
758 |
|
|
|
759 |
|
|
* include/hal_if.h: Add argument names to __call_if_flash_cfg_op_fn_t
|
760 |
|
|
|
761 |
|
|
2001-03-16 Mark Salter
|
762 |
|
|
|
763 |
|
|
* src/hal_stub.c (__build_t_packet): Add hook for adding arch-specific
|
764 |
|
|
registers to T packet.
|
765 |
|
|
(handle_exception_cleanup): Skip orig_registers past breakpoint so we
|
766 |
|
|
return to original context rather than hit breakpoint again.
|
767 |
|
|
|
768 |
|
|
2001-03-16 Hugo Tyson
|
769 |
|
|
|
770 |
|
|
* include/hal_if.h: Define types and slots and macros themed with
|
771 |
|
|
the phrase CALL_IF_FLASH_CFG_OP following the pattern of what's
|
772 |
|
|
there for the other slots. Thus CYGNUM_CALL_IF_FLASH_CFG_OP,
|
773 |
|
|
CYGACC_CALL_IF_FLASH_CFG_OP(...) and __call_if_flash_cfg_op_fn_t
|
774 |
|
|
are all newly defined. Also CYGNUM_CALL_IF_FLASH_CFG_GET which is
|
775 |
|
|
the only operation supported in this initial version.
|
776 |
|
|
|
777 |
|
|
Also changed many typedef'd function pointers to not include the
|
778 |
|
|
pointerness; that way the type can be used to validate the
|
779 |
|
|
correctness of arguments in the called function.
|
780 |
|
|
|
781 |
|
|
* src/hal_stub.c (__reset): Minor change to reset function
|
782 |
|
|
handling; pointerness of typedef removed.
|
783 |
|
|
|
784 |
|
|
* src/hal_if.c (flash_config_op): New function to call flash ops
|
785 |
|
|
in RedBoot. This is so that RedBoot can manage ethernet addresses
|
786 |
|
|
for you, and the application can get at the data "cleanly".
|
787 |
|
|
(hal_if_init): Install flash_config_op() in the table if defined.
|
788 |
|
|
|
789 |
|
|
2001-03-12 Mark Salter
|
790 |
|
|
|
791 |
|
|
* src/hal_misc.c (cyg_hal_user_break): Use macro to find PC
|
792 |
|
|
in saved regs.
|
793 |
|
|
|
794 |
|
|
* src/generic-stub.c: Add support for harvard memories.
|
795 |
|
|
* src/bplist-dynamic.c: Ditto.
|
796 |
|
|
* include/generic-stub.h: Ditto.
|
797 |
|
|
* include/hal_stub.h: Add dummy harvard memory macros for
|
798 |
|
|
princeton memory systems.
|
799 |
|
|
|
800 |
|
|
2001-03-12 Jesper Skov
|
801 |
|
|
|
802 |
|
|
* src/drv_api.c (cyg_drv_interrupt_detach): Fix missing intr->
|
803 |
|
|
change.
|
804 |
|
|
|
805 |
|
|
2001-03-08 Jesper Skov
|
806 |
|
|
|
807 |
|
|
* cdl/hal.cdl: Change sense of
|
808 |
|
|
CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_GUARANTEED to new
|
809 |
|
|
CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED.
|
810 |
|
|
|
811 |
|
|
2001-03-07 Jesper Skov
|
812 |
|
|
|
813 |
|
|
* src/drv_api.c: Use macro to provide symbol alias.
|
814 |
|
|
|
815 |
|
|
2001-03-05 Jesper Skov
|
816 |
|
|
|
817 |
|
|
* src/hal_if.c (hal_if_diag_init): Ensure the function only
|
818 |
|
|
executes once.
|
819 |
|
|
|
820 |
|
|
2001-03-02 Gary Thomas
|
821 |
|
|
|
822 |
|
|
* cdl/hal.cdl:
|
823 |
|
|
* include/hal_if.h:
|
824 |
|
|
* src/hal_if.c (hal_if_init):
|
825 |
|
|
Support platform specific initializations.
|
826 |
|
|
|
827 |
|
|
2001-02-26 Mark Salter
|
828 |
|
|
|
829 |
|
|
* src/generic-stub.c (__process_packet): Change 'k' packet to cause
|
830 |
|
|
return to original context. Change 'r' packet to respond with empty
|
831 |
|
|
packet before resetting board.
|
832 |
|
|
|
833 |
|
|
* src/hal_stub.c (handle_exception_exit): New function. Restores
|
834 |
|
|
original context saved when stub was entered for the first time.
|
835 |
|
|
(handle_exception_cleanup): Save original context.
|
836 |
|
|
(__install_traps): Set __process_exit_vec to handle_exception_exit.
|
837 |
|
|
|
838 |
|
|
2001-02-09 Jesper Skov
|
839 |
|
|
|
840 |
|
|
* cdl/debugging.cdl: Make CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and
|
841 |
|
|
CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT options have sensible defaults.
|
842 |
|
|
|
843 |
|
|
2001-02-08 Jesper Skov
|
844 |
|
|
|
845 |
|
|
* cdl/hal.cdl: Added CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE and
|
846 |
|
|
CHANNEL_CONFIGURABLE options.
|
847 |
|
|
* cdl/common.cdl: Added CYGDBG_HAL_DIAG_TO_DEBUG_CHAN option.
|
848 |
|
|
* src/hal_if.c: Changes to respect new options. Always do platform
|
849 |
|
|
driver init from CLAIM_COMMS code.
|
850 |
|
|
* src/hal_stub.c: Leave channel setup to CLAIM_COMMS code.
|
851 |
|
|
|
852 |
|
|
* src/hal_if.c: Added null mangler that gets called via the
|
853 |
|
|
virtual vector console comms entry and just forwards IO to the
|
854 |
|
|
debug comms entries. This differs from setting the console
|
855 |
|
|
channel to the same as the debug channel in that console output
|
856 |
|
|
will go to the debug channel even if the debug channel is changed.
|
857 |
|
|
|
858 |
|
|
2001-02-07 Jesper Skov
|
859 |
|
|
|
860 |
|
|
* include/hal_if.h: Allow architecture to override COMM and CALL
|
861 |
|
|
accessor macros.
|
862 |
|
|
|
863 |
|
|
2001-02-03 Gary Thomas
|
864 |
|
|
|
865 |
|
|
* src/bplist-dynamic.c (__set_breakpoint, __remove_breakpoint):
|
866 |
|
|
Fix error introduced below when no breakpoint list defined.
|
867 |
|
|
|
868 |
|
|
2001-02-02 Mark Salter
|
869 |
|
|
|
870 |
|
|
* src/generic-stub.c: __set_breakpoint and __remove_breakpoint now
|
871 |
|
|
take a length argument.
|
872 |
|
|
|
873 |
|
|
* src/bplist-dynamic.c: Support breakpoint length. Use
|
874 |
|
|
HAL_BREAKINST_ADDR macro (if defined) to get actual breakpoint based
|
875 |
|
|
on breakpoint length.
|
876 |
|
|
|
877 |
|
|
* include/hal_stub.h: Add len argument to __set_breakpoint and
|
878 |
|
|
__remove_breakpoint.
|
879 |
|
|
|
880 |
|
|
2001-02-01 Jesper Skov
|
881 |
|
|
|
882 |
|
|
* src/drv_api.c: Make it build with chaining.
|
883 |
|
|
|
884 |
|
|
* include/hal_if.h: Introduce macros for legal version range and
|
885 |
|
|
special hacked version number used by ctrlc magic.
|
886 |
|
|
* src/hal_if.c (hal_ctrlc_isr_init): Be more careful with how the
|
887 |
|
|
version number is checked (and trashed) by the ctrlc init code.
|
888 |
|
|
* src/hal_misc.c (hal_default_isr): Same.
|
889 |
|
|
|
890 |
|
|
* src/hal_stub.c: Moved mangling code to hal_if.c
|
891 |
|
|
* src/hal_if.c: New policies for when and how to initialize the
|
892 |
|
|
IO channels. Mangler code now set up by diag_init to allow for
|
893 |
|
|
mangling when no stub is included.
|
894 |
|
|
|
895 |
|
|
* include/hal_if.h: Added COMM version in upper 16 bits of version
|
896 |
|
|
word. Removed CYGPRI_HAL_IMPLEMENTS_IF_SERVICES.
|
897 |
|
|
* src/hal_misc.c: Use masks when checking vv versions.
|
898 |
|
|
|
899 |
|
|
* cdl/hal.cdl: Add new options for selecting which parts of the
|
900 |
|
|
virtual vector table to initialize.
|
901 |
|
|
* src/hal_if.c: Matching granularity in initialization code.
|
902 |
|
|
Extra checking of services before using these.
|
903 |
|
|
|
904 |
|
|
* cdl/debugging.cdl: Require channel initialization when enabling
|
905 |
|
|
stubs.
|
906 |
|
|
|
907 |
|
|
2001-01-31 Jesper Skov
|
908 |
|
|
|
909 |
|
|
* cdl/common.cdl: Get rid of CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL
|
910 |
|
|
options. They are replaced by the CYGSEM_HAL_DIAG_MANGLER option.
|
911 |
|
|
|
912 |
|
|
2001-01-31 Hugo Tyson
|
913 |
|
|
|
914 |
|
|
* include/hal_if.h: Make it possible to build logical ether driver
|
915 |
|
|
even without virtual vectors present, by defining a dummy
|
916 |
|
|
HAL_CTRLC_CHECK in that case; other code invokes it if debugging
|
917 |
|
|
per se is enabled.
|
918 |
|
|
|
919 |
|
|
2001-01-26 Jesper Skov
|
920 |
|
|
|
921 |
|
|
* src/hal_stub.c (__reset): Rename HAL_STUB_PLATFORM_RESETx macros
|
922 |
|
|
to HAL_PLATFORM_RESETx.
|
923 |
|
|
* src/hal_if.c (reset): Same.
|
924 |
|
|
|
925 |
|
|
2001-01-15 Nick Garnett
|
926 |
|
|
|
927 |
|
|
* src/drv_api.c: Initialized isr_disable_counter to 1 so that it
|
928 |
|
|
indicates that interrupts are initially disabled.
|
929 |
|
|
|
930 |
|
|
2000-12-15 Gary Thomas
|
931 |
|
|
|
932 |
|
|
* src/generic-stub.c: Define 'version' string to be a weak
|
933 |
|
|
symbol that can be easily overridden (e.g. by RedBoot).
|
934 |
|
|
|
935 |
|
|
2000-12-11 Gary Thomas
|
936 |
|
|
|
937 |
|
|
* src/hal_if.c: Remove unnecessary (polluting) include file.
|
938 |
|
|
|
939 |
|
|
* include/hal_stub.h: Support platform/variant supplied
|
940 |
|
|
include files. can now be layered
|
941 |
|
|
as which includes .
|
942 |
|
|
|
943 |
|
|
2000-12-06 Jesper Skov
|
944 |
|
|
|
945 |
|
|
* src/hal_if.c (delay_us): Ensure proper _GP save/restore.
|
946 |
|
|
Reduce number of loops in fall-back code.
|
947 |
|
|
|
948 |
|
|
2000-12-05 Drew Moseley
|
949 |
|
|
|
950 |
|
|
* src/hal_stub.c (__build_t_packet): Handle
|
951 |
|
|
CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T with Little Endian
|
952 |
|
|
target.
|
953 |
|
|
|
954 |
|
|
* include/hal_misc.h: Added BIT and SZ_ defines.
|
955 |
|
|
|
956 |
|
|
2000-11-22 Mark Salter
|
957 |
|
|
|
958 |
|
|
* src/hal_misc.c (hal_default_isr): Version check only when
|
959 |
|
|
CYGSEM_HAL_ROM_MONITOR not defined.
|
960 |
|
|
|
961 |
|
|
2000-11-20 Mark Salter
|
962 |
|
|
|
963 |
|
|
* src/hal_stub.c (hal_flush_output): New function to flush debug
|
964 |
|
|
comm interface.
|
965 |
|
|
|
966 |
|
|
* src/generic-stub.c (__process_packet): Use hal_flush_output when
|
967 |
|
|
killing or continuing.
|
968 |
|
|
|
969 |
|
|
* include/hal_stub.h: Add declaration for hal_flush_output().
|
970 |
|
|
|
971 |
|
|
* include/hal_if.h (__COMMCTL_FLUSH_OUTPUT): New comm control cmd.
|
972 |
|
|
|
973 |
|
|
2000-11-17 Jesper Skov
|
974 |
|
|
|
975 |
|
|
* src/hal_if.c (delay_us): Add dummy loop.
|
976 |
|
|
Duh! Take usecs argment into account.
|
977 |
|
|
|
978 |
|
|
2000-11-06 Mark Salter
|
979 |
|
|
|
980 |
|
|
* src/generic-stub.c (__handle_exception): Add support for GNUPro bsp
|
981 |
|
|
syscall handling.
|
982 |
|
|
|
983 |
|
|
* src/board.h: Include pkgconf/redboot.h for CYGSEM_REDBOOT_BSP_SYSCALLS.
|
984 |
|
|
|
985 |
|
|
2000-11-06 Jesper Skov
|
986 |
|
|
|
987 |
|
|
* src/hal_if.c (hal_if_diag_write_char): Clear interrupt flag before
|
988 |
|
|
setting breakpoint.
|
989 |
|
|
|
990 |
|
|
2000-11-04 Mark Salter
|
991 |
|
|
|
992 |
|
|
* src/hal_stub.c (__build_t_packet): Report reason and data
|
993 |
|
|
address if stopped by hw watchpoint.
|
994 |
|
|
|
995 |
|
|
* src/generic-stub.c (__process_packet): Remove experimental
|
996 |
|
|
support for type 5 Z packet.
|
997 |
|
|
|
998 |
|
|
* include/hal_stub.h: Define HAL_STUB_STOP_* reasons returned
|
999 |
|
|
by HAL_IS_STOPPED_BY_HARDWARE.
|
1000 |
|
|
|
1001 |
|
|
2000-10-27 Mark Salter
|
1002 |
|
|
|
1003 |
|
|
* src/generic-stub.c: Fixed preprocessor warning.
|
1004 |
|
|
|
1005 |
|
|
2000-10-27 Gary Thomas
|
1006 |
|
|
|
1007 |
|
|
* src/generic-stub.c (__process_packet): Remove warnings when
|
1008 |
|
|
hardware breakpoint support (Z packet) not enabled.
|
1009 |
|
|
|
1010 |
|
|
2000-10-26 Mark Salter
|
1011 |
|
|
|
1012 |
|
|
* src/generic-stub.c (__process_packet): Add Z packet support.
|
1013 |
|
|
|
1014 |
|
|
* src/bplist-dynamic.c: Include to pick up
|
1015 |
|
|
CYGNUM_HAL_BREAKPOINT_LIST_SIZE.
|
1016 |
|
|
|
1017 |
|
|
2000-10-24 Jesper Skov
|
1018 |
|
|
|
1019 |
|
|
* src/generic-stub.c (__process_packet): Disable buffer size
|
1020 |
|
|
z-packet.
|
1021 |
|
|
|
1022 |
|
|
2000-10-23 Jesper Skov
|
1023 |
|
|
|
1024 |
|
|
* src/hal_stub.c: Made __mem_fault_handler pointer volatile.
|
1025 |
|
|
|
1026 |
|
|
2000-10-20 Jonathan Larmour
|
1027 |
|
|
|
1028 |
|
|
* include/drv_api.h (cyg_interrupt): Make dsr_count volatile to
|
1029 |
|
|
prevent compilers optimizing accesses in the wrong place.
|
1030 |
|
|
|
1031 |
|
|
2000-10-20 Jesper Skov
|
1032 |
|
|
|
1033 |
|
|
* include/drv_api.h: Correct location of volatile keyword.
|
1034 |
|
|
* src/drv_api.c: Same.
|
1035 |
|
|
|
1036 |
|
|
2000-10-19 Gary Thomas
|
1037 |
|
|
|
1038 |
|
|
* src/generic-stub.c (__process_packet): Add RedBoot identifier
|
1039 |
|
|
in maintenance 'd' packet reply.
|
1040 |
|
|
|
1041 |
|
|
2000-10-18 Jesper Skov
|
1042 |
|
|
|
1043 |
|
|
* include/hal_if.h (CYGPRI_HAL_IMPLEMENTS_IF_SERVICES): Set for
|
1044 |
|
|
all non-RAM startup types.
|
1045 |
|
|
|
1046 |
|
|
2000-10-13 Jonathan Larmour
|
1047 |
|
|
|
1048 |
|
|
* src/stubrom/stubrom.c (cyg_start): Remove unnecessary call to
|
1049 |
|
|
initialize_stub()
|
1050 |
|
|
|
1051 |
|
|
2000-09-11 Jonathan Larmour
|
1052 |
|
|
|
1053 |
|
|
* include/hal_tables.h (CYG_HAL_TABLE_EXTRA): Use new definition of
|
1054 |
|
|
CYGBLD_ATTRIB_SECTION, and fix the string name up better.
|
1055 |
|
|
(CYG_HAL_TABLE_ENTRY): Ditto
|
1056 |
|
|
(CYG_HAL_TABLE_QUALIFIED_ENTRY): Ditto
|
1057 |
|
|
|
1058 |
|
|
2000-09-07 Jonathan Larmour
|
1059 |
|
|
|
1060 |
|
|
* include/hal_tables.h: Fix non-standard use of paste operator to
|
1061 |
|
|
remove warnings with recent gcc
|
1062 |
|
|
|
1063 |
|
|
2000-09-04 Jonathan Larmour
|
1064 |
|
|
|
1065 |
|
|
* include/hal_tables.h (CYG_HAL_TABLE_END): Use CYGARC_P2ALIGNMENT
|
1066 |
|
|
to align label
|
1067 |
|
|
(CYG_HAL_TABLE_TYPE): Define
|
1068 |
|
|
|
1069 |
|
|
2000-09-01 Jonathan Larmour
|
1070 |
|
|
|
1071 |
|
|
* src/hal_stub.c (__build_t_packet): Ensure sign extension applies
|
1072 |
|
|
in the higher word, not the lower.
|
1073 |
|
|
(__build_t_packet): Don't need to conditionalize on
|
1074 |
|
|
CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T as there should be no
|
1075 |
|
|
problems with the current code.
|
1076 |
|
|
* src/generic-stub.c (stub_format_registers): Likewise
|
1077 |
|
|
|
1078 |
|
|
* include/hal_if.h (CYGACC_COMM_IF_CONTROL): Remove warning due to
|
1079 |
|
|
unnecessary use of cpp paste operator
|
1080 |
|
|
|
1081 |
|
|
2000-08-28 Gary Thomas
|
1082 |
|
|
|
1083 |
|
|
* src/hal_if.c:
|
1084 |
|
|
* include/hal_if.h (hal_ctrlc_check): Define new routine to be
|
1085 |
|
|
called by interrupt handlers (DSRs) which may be using hardware
|
1086 |
|
|
shared with a debug channel. In particular, network adaptors
|
1087 |
|
|
need to call this function to see if a ^C has occurred on the
|
1088 |
|
|
network debug connection.
|
1089 |
|
|
|
1090 |
|
|
2000-08-24 Gary Thomas
|
1091 |
|
|
|
1092 |
|
|
* include/hal_tables.h: Need descriminated tables (for proper sorting).
|
1093 |
|
|
|
1094 |
|
|
2000-08-14 Drew Moseley
|
1095 |
|
|
|
1096 |
|
|
* src/hal_if.c: Added an extern declaration for
|
1097 |
|
|
cyg_hal_plf_comms_init.
|
1098 |
|
|
|
1099 |
|
|
* src/bplist-dynamic.c: Only use breakpoint lists when building
|
1100 |
|
|
stubs.
|
1101 |
|
|
|
1102 |
|
|
2000-08-10 Drew Moseley
|
1103 |
|
|
|
1104 |
|
|
* include/generic-stub.h: Added support for register validity
|
1105 |
|
|
checking.
|
1106 |
|
|
* src/generic-stub.c: Ditto.
|
1107 |
|
|
* src/hal_stub.c: Ditto.
|
1108 |
|
|
|
1109 |
|
|
* include/drv_api.h: Added cyg_code_t.
|
1110 |
|
|
|
1111 |
|
|
2000-08-03 Gary Thomas
|
1112 |
|
|
|
1113 |
|
|
* include/hal_if.h (CYGNUM_CALL_IF_DBG_DATA): Move to avoid
|
1114 |
|
|
conflict.
|
1115 |
|
|
|
1116 |
|
|
2000-07-26 Gary Thomas
|
1117 |
|
|
|
1118 |
|
|
* src/hal_stub.c (cyg_hal_gdb_diag_putc): Ignore any characters
|
1119 |
|
|
other than the protocol chars of ACK/NAK/^C.
|
1120 |
|
|
|
1121 |
|
|
* src/hal_if.c (hal_if_diag_init): Only reset console channel
|
1122 |
|
|
if user has configured a non-default choice.
|
1123 |
|
|
|
1124 |
|
|
2000-07-24 Drew Moseley
|
1125 |
|
|
|
1126 |
|
|
* src/bplist-dynamic.c (__install_breakpoint_list): Call
|
1127 |
|
|
HAL_ICACHE_SYNC() rather than HAL_ICACHE_INVALIDATE_ALL().
|
1128 |
|
|
|
1129 |
|
|
2000-07-21 Drew Moseley
|
1130 |
|
|
|
1131 |
|
|
* src/hal_stub.c: Cleanup of #define's.
|
1132 |
|
|
|
1133 |
|
|
* src/generic-stub.c: Rearrange the linkage between Cygmon and HAL so
|
1134 |
|
|
that Cygmon needs HAL but not vice-versa. ie HAL no longer calls
|
1135 |
|
|
any Cygmon functions.
|
1136 |
|
|
* src/hal_misc.c: Ditto.
|
1137 |
|
|
|
1138 |
|
|
* src/bplist-dynamic.c: Use HAL macros rather than Cygmon
|
1139 |
|
|
functions for flushing the cache.
|
1140 |
|
|
Also handle the case where target_register_t is not defined.
|
1141 |
|
|
|
1142 |
|
|
2000-07-21 Gary Thomas
|
1143 |
|
|
|
1144 |
|
|
* src/hal_if.c (CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS): Define to allow
|
1145 |
|
|
the number of channels to be extended by "AUX" packages.
|
1146 |
|
|
|
1147 |
|
|
2000-07-20 Drew Moseley
|
1148 |
|
|
|
1149 |
|
|
* src/generic-stub.c (stub_format_registers): Make the previous patch
|
1150 |
|
|
effective only if CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T is
|
1151 |
|
|
defined so as to not affect any other targets.
|
1152 |
|
|
* src/hal_stub.c: Ditto.
|
1153 |
|
|
|
1154 |
|
|
2000-07-19 Drew Moseley
|
1155 |
|
|
|
1156 |
|
|
* src/generic-stub.c (stub_format_registers): Handle the case
|
1157 |
|
|
where GDB is expecting registers larger than we are storing. ie
|
1158 |
|
|
MIPS gdb expects 64 bit registers even if we are on a 32 bit
|
1159 |
|
|
architecture. Also, handle the sign-extension correctly if
|
1160 |
|
|
necessary.
|
1161 |
|
|
* src/hal_stub.c (__build_t_packet): Ditto.
|
1162 |
|
|
|
1163 |
|
|
2000-07-18 Jesper Skov
|
1164 |
|
|
|
1165 |
|
|
* src/hal_misc.c (hal_default_isr):
|
1166 |
|
|
Version gets hacked by hal_if_init - check for the hacked value.
|
1167 |
|
|
|
1168 |
|
|
2000-07-18 Jesper Skov
|
1169 |
|
|
|
1170 |
|
|
* src/hal_stub.c (__mem_fault_handler): Made volatile.
|
1171 |
|
|
|
1172 |
|
|
2000-07-14 Drew Moseley
|
1173 |
|
|
|
1174 |
|
|
* src/generic-stub.c: Cleanups for better coexistence with Cygmon.
|
1175 |
|
|
* include/generic-stub.h: Ditto.
|
1176 |
|
|
* include/hal_if.h: Ditto.
|
1177 |
|
|
* include/hal_stub.h: Ditto.
|
1178 |
|
|
* src/hal_stub.c: Ditto.
|
1179 |
|
|
|
1180 |
|
|
* cdl/hal.cdl: Compile bplist-dynamic.c.
|
1181 |
|
|
|
1182 |
|
|
* src/bplist-dynamic.c: New file for supporting breakpoints in the HAL.
|
1183 |
|
|
|
1184 |
|
|
2000-07-14 Gary Thomas
|
1185 |
|
|
|
1186 |
|
|
* src/hal_if.c (delay_us): Use HAL_DELAY_US() if defined.
|
1187 |
|
|
|
1188 |
|
|
2000-07-07 Jesper Skov
|
1189 |
|
|
|
1190 |
|
|
* src/hal_stub.c (initHardware): Fix #endif location.
|
1191 |
|
|
|
1192 |
|
|
* src/hal_if.c (hal_ctrlc_isr_init): Added hack to work around a
|
1193 |
|
|
silly but critical problem.
|
1194 |
|
|
|
1195 |
|
|
* src/hal_stub.c: Removed some CygMon conditional exclusions.
|
1196 |
|
|
|
1197 |
|
|
* src/hal_if.c (hal_ctrlc_isr_init): Don't enable interrupts when
|
1198 |
|
|
configured as ROM monitor.
|
1199 |
|
|
|
1200 |
|
|
2000-07-05 Jesper Skov
|
1201 |
|
|
|
1202 |
|
|
* cdl/debugging.cdl: Only allow CTRLC support if there's stubs or
|
1203 |
|
|
a ROM monitor to handle it. (Haruki Kashiwaya (kashiwaya at redhat
|
1204 |
|
|
dot com)).
|
1205 |
|
|
|
1206 |
|
|
2000-06-30 Jesper Skov
|
1207 |
|
|
|
1208 |
|
|
* include/hal_if.h: Make CYGACC macros call functions. May have to
|
1209 |
|
|
add some _GET macros at some time if anyone needs to access the
|
1210 |
|
|
function pointers.
|
1211 |
|
|
|
1212 |
|
|
* src/hal_stub.c:
|
1213 |
|
|
* src/hal_misc.c:
|
1214 |
|
|
* src/hal_if.c:
|
1215 |
|
|
Matching changes of CYGACC clients.
|
1216 |
|
|
|
1217 |
|
|
2000-06-29 Jesper Skov
|
1218 |
|
|
|
1219 |
|
|
* src/hal_stub.c (cyg_hal_gdb_diag_putc): Check console interrupt
|
1220 |
|
|
flag and breakpoint if set.
|
1221 |
|
|
|
1222 |
|
|
2000-06-28 Jesper Skov
|
1223 |
|
|
|
1224 |
|
|
* src/hal_stub.c (cyg_hal_gdb_diag_putc): Don't try to set
|
1225 |
|
|
breakpoints in ROM startup - just disable interrupts. Also, use
|
1226 |
|
|
procs table function to disable device interrupts.
|
1227 |
|
|
|
1228 |
|
|
* include/hal_if.h: Mark vector/comms arrays volatile to avoid
|
1229 |
|
|
compiler confusion.
|
1230 |
|
|
|
1231 |
|
|
* include/dbg-threads-api.h: Fix C/C++ declaration issues.
|
1232 |
|
|
|
1233 |
|
|
* src/hal_stub.c: Moved stub platform init call below vector table
|
1234 |
|
|
setup.
|
1235 |
|
|
|
1236 |
|
|
* src/hal_misc.c:
|
1237 |
|
|
* src/hal_if.c:
|
1238 |
|
|
* include/hal_if.h: DBG_ISR_VECTOR and SET_TIMEOUT functions added
|
1239 |
|
|
to comms table. Added DELAY_US function to vector table. Made
|
1240 |
|
|
switching of debug channel dis/enable Ctrl-c interrupts as
|
1241 |
|
|
well. Made ctrlc_isr code use new vector entries. All this amounts
|
1242 |
|
|
to a properly switchable debug channel.
|
1243 |
|
|
|
1244 |
|
|
2000-06-21 Jesper Skov
|
1245 |
|
|
|
1246 |
|
|
* src/hal_stub.c: Fixed clients of vector procs tables to pass
|
1247 |
|
|
in the correct arguments. Hook O-packetizer up on procs slot
|
1248 |
|
|
reserved for IO mangler. Install mangler when necessary.
|
1249 |
|
|
|
1250 |
|
|
* src/hal_if.c: Extended set procs functions to allow temporarily
|
1251 |
|
|
switching console procs in a safe manner. Removed debug and
|
1252 |
|
|
console wrappers - all IO happens via drivers hooked up in tables
|
1253 |
|
|
rather than through hardwired macros. Proper initialization of
|
1254 |
|
|
console proc entry. Fixed clients of vector procs tables to pass
|
1255 |
|
|
in the correct arguments. Stub now does its own vector table
|
1256 |
|
|
initialization. Added special procs slot for IO manglers.
|
1257 |
|
|
|
1258 |
|
|
* include/hal_if.h: Define special IDs used by the set procs
|
1259 |
|
|
functions. PROCS_HANDLED removed since the procs table will now
|
1260 |
|
|
always service any port.
|
1261 |
|
|
|
1262 |
|
|
2000-06-21 Nick Garnett
|
1263 |
|
|
|
1264 |
|
|
* include/hal_stub.h: Added underscore to breakinst().
|
1265 |
|
|
|
1266 |
|
|
* include/hal_tables.h:
|
1267 |
|
|
Added this file to contain macros for defining datatables in a
|
1268 |
|
|
systematic and extensible way.
|
1269 |
|
|
|
1270 |
|
|
2000-06-19 Gary Thomas
|
1271 |
|
|
|
1272 |
|
|
* cdl/hal.cdl: Revert change below - GUARANTEED can exist
|
1273 |
|
|
with STUBS defined.
|
1274 |
|
|
|
1275 |
|
|
2000-06-18 Gary Thomas
|
1276 |
|
|
|
1277 |
|
|
* cdl/hal.cdl: Use of virtual vector functions for diagnostic
|
1278 |
|
|
output must be disabled when building with stubs. Note: this
|
1279 |
|
|
lets stubs be built for platforms with guaranteed virtual
|
1280 |
|
|
vector support.
|
1281 |
|
|
|
1282 |
|
|
2000-06-16 Jesper Skov
|
1283 |
|
|
|
1284 |
|
|
* include/hal_if.h: All vector-dependant features hidden when
|
1285 |
|
|
config option not enabled.
|
1286 |
|
|
|
1287 |
|
|
* src/hal_if.c (hal_if_init): Fix warning.
|
1288 |
|
|
|
1289 |
|
|
2000-06-15 Jesper Skov
|
1290 |
|
|
|
1291 |
|
|
* include/hal_if.h: Added console-include decision logic.
|
1292 |
|
|
|
1293 |
|
|
2000-06-15 Nick Garnett
|
1294 |
|
|
|
1295 |
|
|
* src/drv_api.c:
|
1296 |
|
|
* include/drv_api.h: Added boolean result to cyg_drv_cond_wait()
|
1297 |
|
|
to match change to the kernel and KAPI functionality.
|
1298 |
|
|
|
1299 |
|
|
2000-06-14 Jesper Skov
|
1300 |
|
|
|
1301 |
|
|
* src/hal_stub.c: Added O-packetizer used by GDB stubs for virtual
|
1302 |
|
|
vector table configs.
|
1303 |
|
|
|
1304 |
|
|
* src/hal_misc.c (hal_default_isr): Check Ctrlc for both CTRLC
|
1305 |
|
|
or BREAK options.
|
1306 |
|
|
|
1307 |
|
|
* src/hal_if.c:
|
1308 |
|
|
* include/hal_if.h:
|
1309 |
|
|
Define console wrappers when necessary. Platform HALs can use
|
1310 |
|
|
these by providing raw IO functions and some config data.
|
1311 |
|
|
|
1312 |
|
|
2000-06-09 Jesper Skov
|
1313 |
|
|
|
1314 |
|
|
* src/hal_if.c: Implemented most of the remaining services. Some
|
1315 |
|
|
just don't have an eCos equivalent at the moment.
|
1316 |
|
|
|
1317 |
|
|
* cdl/hal.cdl: Allow virtual_vector options to have sensible
|
1318 |
|
|
default values depending on when the platform HAL port was
|
1319 |
|
|
written.
|
1320 |
|
|
|
1321 |
|
|
* src/hal_misc.c (cyg_hal_user_break): Also expect CygMon to
|
1322 |
|
|
provide the breakpoint service.
|
1323 |
|
|
|
1324 |
|
|
* src/stubrom/stubrom.c (cyg_start): Reverted change. Now handled
|
1325 |
|
|
by hal_if_init.
|
1326 |
|
|
|
1327 |
|
|
* cdl/hal.cdl: Added option for controlling use of diag services
|
1328 |
|
|
in the virtual vector table.
|
1329 |
|
|
|
1330 |
|
|
2000-06-08 Jesper Skov
|
1331 |
|
|
|
1332 |
|
|
* src/stubrom/stubrom.c: Call hal_diag_init to ensure IF table
|
1333 |
|
|
entries related to diag IO get initialized.
|
1334 |
|
|
|
1335 |
|
|
* src/hal_stub.c (cyg_hal_gdb_interrupt): save/restore GP so it
|
1336 |
|
|
can be used by MIPS platforms.
|
1337 |
|
|
Use reset function in ROM if available.
|
1338 |
|
|
|
1339 |
|
|
* src/hal_misc.c:
|
1340 |
|
|
* include/hal_misc.h: Functions shared between HALs. More
|
1341 |
|
|
functions are likely to be moved here if appropriate.
|
1342 |
|
|
|
1343 |
|
|
* src/hal_if.c: Interfacing related functions: table init code and
|
1344 |
|
|
function wrappers.
|
1345 |
|
|
|
1346 |
|
|
* include/hal_if.h: ROM/RAM calling interface table
|
1347 |
|
|
definitions. The layout is a combination of libbsp and vectors
|
1348 |
|
|
already in use by some eCos platforms.
|
1349 |
|
|
|
1350 |
|
|
|
1351 |
|
|
* cdl/hal.cdl: Added CYGxxx_HAL_VIRTUAL_VECTOR_SUPPORT
|
1352 |
|
|
options. These are used to control whether a platform uses the new
|
1353 |
|
|
ROM/RAM calling interface. All platforms will be converted to use
|
1354 |
|
|
this, but piecemeal over a period of time, thus the requirement
|
1355 |
|
|
for selecting behavior.
|
1356 |
|
|
|
1357 |
|
|
2000-06-04 Gary Thomas
|
1358 |
|
|
|
1359 |
|
|
* cdl/hal.cdl: Support variant 'pkgconf' headers. This will allow
|
1360 |
|
|
[variant] common symbols to be defined, rather than duplicating
|
1361 |
|
|
them over all platforms using that variant.
|
1362 |
|
|
|
1363 |
|
|
2000-05-25 Jesper Skov
|
1364 |
|
|
|
1365 |
|
|
* cdl/debugging.cdl: Allow thread support to included for ROM
|
1366 |
|
|
monitor builds.
|
1367 |
|
|
|
1368 |
|
|
2000-05-22 Jesper Skov
|
1369 |
|
|
|
1370 |
|
|
* cdl/debugging.cdl: Allow platform to prevent CTRLC inclusion.
|
1371 |
|
|
|
1372 |
|
|
2000-04-12 Jesper Skov
|
1373 |
|
|
|
1374 |
|
|
* cdl/debugging.cdl: Don't let interfaces define anything.
|
1375 |
|
|
|
1376 |
|
|
2000-04-07 Jesper Skov
|
1377 |
|
|
|
1378 |
|
|
* cdl/hal.cdl: Fix dependencies for stub.
|
1379 |
|
|
|
1380 |
|
|
2000-03-28 Jesper Skov
|
1381 |
|
|
|
1382 |
|
|
* src/generic-stub.c (__process_packet): Added 'z' packet reply.
|
1383 |
|
|
|
1384 |
|
|
2000-03-28 John Dallaway
|
1385 |
|
|
|
1386 |
|
|
* cdl/hal.cdl:
|
1387 |
|
|
|
1388 |
|
|
Adjust documentation URLs.
|
1389 |
|
|
|
1390 |
|
|
2000-03-24 Jesper Skov
|
1391 |
|
|
|
1392 |
|
|
* include/hal_stub.h: Fixed a bad function name. Made it opssible
|
1393 |
|
|
for archs to define CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION.
|
1394 |
|
|
|
1395 |
|
|
2000-03-20 Jesper Skov
|
1396 |
|
|
|
1397 |
|
|
* cdl/debugging.cdl: Preclude USE_MONITOR when including stubs.
|
1398 |
|
|
|
1399 |
|
|
2000-03-01 Gary Thomas
|
1400 |
|
|
|
1401 |
|
|
* cdl/common.cdl:
|
1402 |
|
|
Define CYGINT_HAL_DIAG_DISABLE_GDB_PROTOCOL_SUPPORTED as an
|
1403 |
|
|
'interface' so implementations can be properly specified.
|
1404 |
|
|
|
1405 |
|
|
2000-02-29 Gary Thomas
|
1406 |
|
|
|
1407 |
|
|
* cdl/common.cdl: Option to disable GDB protocol now supported
|
1408 |
|
|
by QUICC based PowerPC systems.
|
1409 |
|
|
|
1410 |
|
|
2000-02-29 Jonathan Larmour
|
1411 |
|
|
|
1412 |
|
|
* include/generic-stub.h: Make header C++ safe
|
1413 |
|
|
|
1414 |
|
|
2000-02-16 Jesper Skov
|
1415 |
|
|
|
1416 |
|
|
* include/hal_stub.h: fixed endian definitions.
|
1417 |
|
|
|
1418 |
|
|
2000-02-10 Jesper Skov
|
1419 |
|
|
|
1420 |
|
|
* include/pkgconf/hal.h: Added CYGSEM_HAL_ROM_MONITOR
|
1421 |
|
|
* src/hal_stub.c (initHardware): CYG_HAL_STARTUP_STUBS ->
|
1422 |
|
|
CYGSEM_HAL_ROM_MONITOR.
|
1423 |
|
|
Removed HAL_STUB_PLATFORM_STUBS_INIT.
|
1424 |
|
|
|
1425 |
|
|
2000-02-09 Jesper Skov
|
1426 |
|
|
|
1427 |
|
|
* cdl/hal.cdl: Added remaining build dependencies.
|
1428 |
|
|
|
1429 |
|
|
2000-02-04 Jesper Skov
|
1430 |
|
|
|
1431 |
|
|
* cdl/hal.cdl: Fix test list display.
|
1432 |
|
|
|
1433 |
|
|
2000-02-03 Jesper Skov
|
1434 |
|
|
|
1435 |
|
|
* include/pkgconf/hal.h: CYG_HAL_POWERPC_x->CYGPKG_...
|
1436 |
|
|
|
1437 |
|
|
2000-02-03 Jesper Skov
|
1438 |
|
|
|
1439 |
|
|
* cdl/debugging.cdl: Use interfaces for stub capabilities instead
|
1440 |
|
|
of exclude list.
|
1441 |
|
|
* cdl/hal.cdl: Add extra dependencies to common stub build rule.
|
1442 |
|
|
|
1443 |
|
|
2000-02-02 Jesper Skov
|
1444 |
|
|
|
1445 |
|
|
* cdl/hal.cdl: Added HAL tests.
|
1446 |
|
|
|
1447 |
|
|
2000-01-31 Simon FitzMaurice
|
1448 |
|
|
* cdl/hal.cdl:
|
1449 |
|
|
|
1450 |
|
|
Adjust help URLs in line with new doc layout.
|
1451 |
|
|
|
1452 |
|
|
2000-01-28 Simon FitzMaurice
|
1453 |
|
|
* cdl/hal.cdl:
|
1454 |
|
|
|
1455 |
|
|
Adjust help URLs in line with new doc layout.
|
1456 |
|
|
|
1457 |
|
|
2000-01-27 Jesper Skov
|
1458 |
|
|
|
1459 |
|
|
* cdl/hal.cdl: Added simple build rules for common stub.
|
1460 |
|
|
|
1461 |
|
|
2000-01-26 Jonathan Larmour
|
1462 |
|
|
|
1463 |
|
|
* src/hal_stub.c (__reset): Replace CYGDAT_CYGMON_ENABLE
|
1464 |
|
|
dependency with just CYGPKG_CYGMON
|
1465 |
|
|
(initHardware): Likewise
|
1466 |
|
|
(__set_baud_rate): Likewise
|
1467 |
|
|
(putDebugChar): Likewise
|
1468 |
|
|
|
1469 |
|
|
2000-01-17 John Dallaway
|
1470 |
|
|
|
1471 |
|
|
* cdl/common.cdl,
|
1472 |
|
|
cdl/debugging.cdl:
|
1473 |
|
|
|
1474 |
|
|
Modify the default_value attribute for
|
1475 |
|
|
CYGFUN_HAL_COMMON_KERNEL_SUPPORT, CYGPKG_HAL_EXCEPTIONS
|
1476 |
|
|
and CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT to do the right
|
1477 |
|
|
thing in the absence of the eCos kernel package.
|
1478 |
|
|
|
1479 |
|
|
1999-12-22 John Dallaway
|
1480 |
|
|
|
1481 |
|
|
* cdl/hal.cdl:
|
1482 |
|
|
|
1483 |
|
|
Add CFLAGS to the custom rule for extras.o to accommodate
|
1484 |
|
|
arm big-endian targets.
|
1485 |
|
|
|
1486 |
|
|
1999-12-21 Jonathan Larmour
|
1487 |
|
|
|
1488 |
|
|
* include/pkgconf/hal.h: Rename all CYG_HAL_USE_ROM_MONITOR_GDB_STUBS
|
1489 |
|
|
-> CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs
|
1490 |
|
|
Rename all CYG_HAL_USE_ROM_MONITOR_CYGMON ->
|
1491 |
|
|
CYGSEM_HAL_USE_ROM_MONITOR_CygMon
|
1492 |
|
|
Rename all CYG_HAL_USE_ROM_MONITOR -> CYGSEM_HAL_USE_ROM_MONITOR
|
1493 |
|
|
Don't need to define CYG_HAL_SH_SH7708 any more
|
1494 |
|
|
|
1495 |
|
|
* cdl/hal.cdl: Add CYGPKG_HAL_ROM_MONITOR container package for
|
1496 |
|
|
platforms to put ROM-monitor related options into
|
1497 |
|
|
Move all ROM-monitor related options into individual platform CDL
|
1498 |
|
|
|
1499 |
|
|
1999-12-02 John Dallaway
|
1500 |
|
|
|
1501 |
|
|
* cdl/hal.cdl:
|
1502 |
|
|
|
1503 |
|
|
Use '$<' to reference custom rule dependency.
|
1504 |
|
|
|
1505 |
|
|
1999-12-01 John Dallaway
|
1506 |
|
|
|
1507 |
|
|
* cdl/hal.cdl:
|
1508 |
|
|
|
1509 |
|
|
Use the token in custom rules.
|
1510 |
|
|
|
1511 |
|
|
1999-11-29 John Dallaway
|
1512 |
|
|
|
1513 |
|
|
* cdl/hal.cdl:
|
1514 |
|
|
|
1515 |
|
|
Use wildcard in the custom rule for extras.o to
|
1516 |
|
|
accommodate 'make -n'.
|
1517 |
|
|
|
1518 |
|
|
1999-11-23 Simon Fitzmaurice
|
1519 |
|
|
* cdl\common.cdl: Correct example of illiteracy
|
1520 |
|
|
|
1521 |
|
|
1999-11-20 Gary Thomas
|
1522 |
|
|
|
1523 |
|
|
* cdl/common.cdl: Add MMU tables options.
|
1524 |
|
|
|
1525 |
|
|
* include/pkgconf/hal.h (CYGSEM_HAL_INSTALL_MMU_TABLES):
|
1526 |
|
|
(CYGSEM_HAL_STATIC_MMU_TABLES): New options to control MMU table
|
1527 |
|
|
flavour and placement.
|
1528 |
|
|
|
1529 |
|
|
1999-11-15 Jonathan Larmour
|
1530 |
|
|
|
1531 |
|
|
* include/dbg-threads-api.h, include/generic-stub.h,
|
1532 |
|
|
include/hal_stub.h: Add comments to explain these header files should
|
1533 |
|
|
not be included by user programs
|
1534 |
|
|
|
1535 |
|
|
1999-11-09 Gary Thomas
|
1536 |
|
|
|
1537 |
|
|
* cdl/common.cdl: Add CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL.
|
1538 |
|
|
|
1539 |
|
|
* include/pkgconf/hal.h (CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL):
|
1540 |
|
|
New option which [explicitly] controls use of GDB protocol
|
1541 |
|
|
for diagnostic I/O.
|
1542 |
|
|
|
1543 |
|
|
1999-11-03 Jesper Skov
|
1544 |
|
|
|
1545 |
|
|
* cdl/hal.cdl: More crud out + mn10300 fixes.
|
1546 |
|
|
|
1547 |
|
|
1999-11-02 Jesper Skov
|
1548 |
|
|
|
1549 |
|
|
* cdl/hal.cdl: Cleaned out some of the CPU config entries.
|
1550 |
|
|
|
1551 |
|
|
1999-10-29 Gary Thomas
|
1552 |
|
|
|
1553 |
|
|
* tests/PKGconf.mak: Add cache tests for Cirrus Logic boards.
|
1554 |
|
|
|
1555 |
|
|
1999-10-29 Jesper Skov
|
1556 |
|
|
|
1557 |
|
|
* tests/cache.c: Made safe for targets with no cache.
|
1558 |
|
|
|
1559 |
|
|
* tests/PKGconf.mak: Don't build cache test for ARM unless
|
1560 |
|
|
explicitly enabled.
|
1561 |
|
|
|
1562 |
|
|
1999-10-28 Jesper Skov
|
1563 |
|
|
|
1564 |
|
|
* tests/cache.c: Fix array size.
|
1565 |
|
|
|
1566 |
|
|
1999-10-27 Gary Thomas
|
1567 |
|
|
|
1568 |
|
|
* src/hal_stub.c: Fix typo (CYGDAT_CYGMON_ENABLE). Also need
|
1569 |
|
|
to include
|
1570 |
|
|
|
1571 |
|
|
1999-10-27 Gary Thomas
|
1572 |
|
|
|
1573 |
|
|
* src/hal_stub.c: Add explicit enable for CygMon package.
|
1574 |
|
|
|
1575 |
|
|
1999-10-27 Hugo Tyson
|
1576 |
|
|
|
1577 |
|
|
* src/hal_stub.c (cyg_hal_gdb_interrupt): Bugfix to previous: ^Cs
|
1578 |
|
|
were being ignored when received by the diag output code, because
|
1579 |
|
|
there was already a break in place. Solution is to let
|
1580 |
|
|
cyg_hal_gdb_interrupt() override any previous break, and tidy up
|
1581 |
|
|
state of course.
|
1582 |
|
|
|
1583 |
|
|
1999-10-26 Hugo Tyson
|
1584 |
|
|
|
1585 |
|
|
* include/hal_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION): Place
|
1586 |
|
|
the break at the address of a label within the calling context
|
1587 |
|
|
[normally hal_diag_write_char()]; this is neater and more
|
1588 |
|
|
portable; it's supported for more targets. Also use
|
1589 |
|
|
cyg_hal_place_break() to place it, define that, &c.
|
1590 |
|
|
|
1591 |
|
|
* src/hal_stub.c (cyg_hal_gdb_place_break): New routine to
|
1592 |
|
|
specially handle the inline breakpoint. It basically does the
|
1593 |
|
|
same as cyg_hal_gdb_interrupt(), except on some platforms where
|
1594 |
|
|
you must do different things to set a bp from a non-interrupt
|
1595 |
|
|
context.
|
1596 |
|
|
|
1597 |
|
|
1999-10-25 Gary Thomas
|
1598 |
|
|
|
1599 |
|
|
* src/hal_stub.c (putDebugChar, getDebugChar): When building with
|
1600 |
|
|
CygMon, these functions are defined by CygMon.
|
1601 |
|
|
|
1602 |
|
|
1999-10-26 John Dallaway
|
1603 |
|
|
|
1604 |
|
|
* cdl/hal.cdl:
|
1605 |
|
|
|
1606 |
|
|
Modify custom make rule to specify file paths relative
|
1607 |
|
|
to the package version directory.
|
1608 |
|
|
|
1609 |
|
|
1999-10-22 Hugo Tyson
|
1610 |
|
|
|
1611 |
|
|
* include/hal_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION):
|
1612 |
|
|
(CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION): new macros to be invoked
|
1613 |
|
|
in hal_diag routines to make atomic the code that outputs a
|
1614 |
|
|
complete GDB $O packet. This is required so that watching
|
1615 |
|
|
variables (which is implemented by stepping) and stepping itself
|
1616 |
|
|
does not try to ss through that $O output code. CASE 102327.
|
1617 |
|
|
|
1618 |
|
|
* src/hal_stub.c (cyg_hal_gdb_break_is_set): new routine to query
|
1619 |
|
|
whether a break is set: used by step in the stubs to decide to
|
1620 |
|
|
continue instead, because we are in a critical region.
|
1621 |
|
|
(cyg_hal_gdb_running_step): communication between generic stub and
|
1622 |
|
|
here: if set, a step has been converted into a continue, so we do
|
1623 |
|
|
NOT obey cyg_hal_gdb_remove_break until it is cleared, in
|
1624 |
|
|
handle_exception_cleanup().
|
1625 |
|
|
|
1626 |
|
|
* src/generic-stub.c (__process_packet): If there is a break set
|
1627 |
|
|
by the hal_stub.c, convert a step to continue, and set
|
1628 |
|
|
cyg_hal_gdb_running_step to say we did so.
|
1629 |
|
|
|
1630 |
|
|
1999-10-22 Jesper Skov
|
1631 |
|
|
Case 102379
|
1632 |
|
|
* src/generic-stub.c (__handle_exception): Flush and clear caches
|
1633 |
|
|
after cleaning up after single-stepping.
|
1634 |
|
|
|
1635 |
|
|
(memcpy, memset): Added to prevent stub hanging if user puts
|
1636 |
|
|
breakpoints in either function.
|
1637 |
|
|
|
1638 |
|
|
1999-10-19 Nick Garnett
|
1639 |
|
|
|
1640 |
|
|
* include/pkgconf/hal.h: Added monitor configury for Brother
|
1641 |
|
|
board.
|
1642 |
|
|
|
1643 |
|
|
1999-10-10 Gary Thomas
|
1644 |
|
|
|
1645 |
|
|
* src/thread-packets.c (stub_pkt_currthread): Fix typo in comment.
|
1646 |
|
|
|
1647 |
|
|
* src/generic-stub.c: Reorg to expose register get/set functions.
|
1648 |
|
|
|
1649 |
|
|
1999-10-08 Simon Fitzmaurice
|
1650 |
|
|
* cdl\interrupts.cdl: Quoted '[' and ']' (significant in TCL and thus CDL)
|
1651 |
|
|
|
1652 |
|
|
1999-10-08 Jesper Skov
|
1653 |
|
|
|
1654 |
|
|
* cdl/interrupts.cdl: Added
|
1655 |
|
|
CYGIMP_HAL_COMMON_INTERRUPTS_IGNORE_SPURIOUS.
|
1656 |
|
|
|
1657 |
|
|
1999-09-22 Simon FitzMaurice
|
1658 |
|
|
|
1659 |
|
|
* cdl\hal.cdl : add priority field to "extras.o" rule
|
1660 |
|
|
|
1661 |
|
|
1999-09-21 Gary Thomas
|
1662 |
|
|
|
1663 |
|
|
* src/thread-packets.c: Fix some typos in comments.
|
1664 |
|
|
|
1665 |
|
|
1999-09-15 Jesper Skov
|
1666 |
|
|
|
1667 |
|
|
* src/hal_stub.c: Override generic GDB interrupt functions for
|
1668 |
|
|
ARM. Need them to be thumb aware.
|
1669 |
|
|
|
1670 |
|
|
1999-09-13 Gary Thomas
|
1671 |
|
|
|
1672 |
|
|
* include/pkgconf/hal.h: Add new config option to allow spurious
|
1673 |
|
|
interrupts to be ignored by the HAL.
|
1674 |
|
|
|
1675 |
|
|
* src/generic-stub.c (__process_packet): Build in version string
|
1676 |
|
|
(date/time) for stubs in ROM to be returned via 'd' packet.
|
1677 |
|
|
|
1678 |
|
|
1999-09-09 Jonathan Larmour
|
1679 |
|
|
|
1680 |
|
|
* include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS): Rename
|
1681 |
|
|
CYGPKG_HAL_MN10300_SIM to CYGPKG_HAL_MN10300_AM31_SIM
|
1682 |
|
|
|
1683 |
|
|
1999-09-07 Nick Garnett
|
1684 |
|
|
|
1685 |
|
|
* src/dbg-threads-syscall.c (dbg_currthread_id): Fixed to return
|
1686 |
|
|
zero if dbg_currthread() returns false. Previously it could have
|
1687 |
|
|
returned a random value which would have made GDB think there had
|
1688 |
|
|
been a thread switch when there hadn't. It was particularly prone
|
1689 |
|
|
to do this in configurations where the kernel was absent.
|
1690 |
|
|
|
1691 |
|
|
1999-09-01 Gary Thomas
|
1692 |
|
|
|
1693 |
|
|
* include/pkgconf/hal.h: Always include target and platform package
|
1694 |
|
|
include (pkgconf) files.
|
1695 |
|
|
|
1696 |
|
|
1999-08-26 Jonathan Larmour
|
1697 |
|
|
|
1698 |
|
|
* src/generic-stub.c (__hex2mem_helper):
|
1699 |
|
|
Use target_register_t when casting to address type, rather than long
|
1700 |
|
|
Since the compiler can choose arbitrary alignment of unions, force
|
1701 |
|
|
to use byte array only
|
1702 |
|
|
Restore use of loop termination test for *hexMemSrc, just in case
|
1703 |
|
|
since that's how it used to be
|
1704 |
|
|
Increment destination, not source at end of loop
|
1705 |
|
|
|
1706 |
|
|
(__mem2hex_helper):
|
1707 |
|
|
Use target_register_t when casting to address type, rather than long.
|
1708 |
|
|
Since the compiler can choose arbitrary alignment of unions, force
|
1709 |
|
|
to use byte array only. Therefore use single __read_mem_safe() call
|
1710 |
|
|
|
1711 |
|
|
* src/hal_stub.c (__do_copy_mem): Reassign back from dst/src at start
|
1712 |
|
|
of each "if" clause in case we go round the loop again.
|
1713 |
|
|
|
1714 |
|
|
1999-08-24 Gary Thomas
|
1715 |
|
|
|
1716 |
|
|
* src/hal_stub.c (__do_copy_mem): Move temp variables to top of
|
1717 |
|
|
function - potentially safer if there is an error.
|
1718 |
|
|
|
1719 |
|
|
1999-08-23 Jonathan Larmour
|
1720 |
|
|
|
1721 |
|
|
* src/generic-stub.c (__process_packet): For 'g' and 'G' packets,
|
1722 |
|
|
when the register size differs from sizeof(target_register_t) we must
|
1723 |
|
|
adjust according to the endianness
|
1724 |
|
|
|
1725 |
|
|
* include/hal_stub.h: Ensure __LITTLE_ENDIAN__ is defined on
|
1726 |
|
|
little-endian targets
|
1727 |
|
|
|
1728 |
|
|
* src/hal_stub.c (__build_t_packet): Use the correct register sizes
|
1729 |
|
|
for PC and SP rather than assuming they are the same as target_register_t
|
1730 |
|
|
|
1731 |
|
|
1999-08-23 Gary Thomas
|
1732 |
|
|
|
1733 |
|
|
* include/generic-stub.h: Change prototypes for internal functions.
|
1734 |
|
|
|
1735 |
|
|
* src/hal_stub.c (__do_copy_mem):
|
1736 |
|
|
* src/generic-stub.c (__mem2hex_helper): Rework to perform aligned,
|
1737 |
|
|
multi-byte operations when conditions allow. This should handle
|
1738 |
|
|
most "hardware register" access cases. Note: there currently is
|
1739 |
|
|
no good way to force GDB to require/use such accesses.
|
1740 |
|
|
|
1741 |
|
|
1999-08-17 Jonathan Larmour
|
1742 |
|
|
|
1743 |
|
|
* tests/intr.c (cyg_start): Use CYG_TEST_NA rather than a pass saying
|
1744 |
|
|
it's inapplicable
|
1745 |
|
|
|
1746 |
|
|
1999-08-16 Jonathan Larmour
|
1747 |
|
|
|
1748 |
|
|
* include/pkgconf/hal.h: Rename CYG_HAL_MN10300_AM32_STDEVAL1 to
|
1749 |
|
|
CYG_HAL_MN10300_AM31_STDEVAL1
|
1750 |
|
|
|
1751 |
|
|
1999-08-13 Nick Garnett
|
1752 |
|
|
|
1753 |
|
|
* src/hal_stub.c: Removed superfluous trace() extern.
|
1754 |
|
|
|
1755 |
|
|
1999-08-12 Nick Garnett
|
1756 |
|
|
|
1757 |
|
|
Imported following changes from AM33 branch:
|
1758 |
|
|
|
1759 |
|
|
1999-07-27 Nick Garnett
|
1760 |
|
|
|
1761 |
|
|
* src/hal_stub.c: Added support for 1 byte breakpoints.
|
1762 |
|
|
Removed invalidates for cache flushes - I am not entirely sure why
|
1763 |
|
|
we have these here, since HAL_DCACHE_SYNC() should do what we
|
1764 |
|
|
need, and these invalidates are causing a problem on the MIPS and
|
1765 |
|
|
MN10300 targets.
|
1766 |
|
|
|
1767 |
|
|
* include/pkgconf/hal.h: Added Monitor selection for AM33.
|
1768 |
|
|
|
1769 |
|
|
1999-06-29 Nick Garnett
|
1770 |
|
|
|
1771 |
|
|
* include/pkgconf/hal.h: Modified to match new MN10300 HAL
|
1772 |
|
|
organization.
|
1773 |
|
|
|
1774 |
|
|
1999-08-06 Jesper Skov
|
1775 |
|
|
|
1776 |
|
|
* src/generic-stub.c (__process_packet): FLush and clear caches
|
1777 |
|
|
after call to __single_step.
|
1778 |
|
|
|
1779 |
|
|
1999-07-05 Jesper Skov
|
1780 |
|
|
|
1781 |
|
|
* tests/intr.c: Don't use kernel's RTC definitions.
|
1782 |
|
|
|
1783 |
|
|
1999-07-02 Jesper Skov
|
1784 |
|
|
PR20157
|
1785 |
|
|
* tests/cache.c: Print stride values, preventing timeout on slow
|
1786 |
|
|
targets.
|
1787 |
|
|
|
1788 |
|
|
1999-06-28 Jesper Skov
|
1789 |
|
|
|
1790 |
|
|
* include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT):
|
1791 |
|
|
Fixed parent.
|
1792 |
|
|
|
1793 |
|
|
1999-06-24 Jonathan Larmour
|
1794 |
|
|
|
1795 |
|
|
* include/pkgconf/hal.h: Clarify descriptions of
|
1796 |
|
|
CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and
|
1797 |
|
|
CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT.
|
1798 |
|
|
|
1799 |
|
|
1999-06-17 Nick Garnett
|
1800 |
|
|
|
1801 |
|
|
* include/pkgconf/hal.h: Added CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
|
1802 |
|
|
to enable inclusion of ^C interrupt handler. Added CDL to control
|
1803 |
|
|
it.
|
1804 |
|
|
|
1805 |
|
|
1999-06-10 Hugo Tyson
|
1806 |
|
|
|
1807 |
|
|
* include/pkgconf/hal.h: Add support for the PowerPC target MBX860
|
1808 |
|
|
platform, CYG_HAL_POWERPC_MBX.
|
1809 |
|
|
|
1810 |
|
|
1999-06-10 Gary Thomas
|
1811 |
|
|
|
1812 |
|
|
* src/hal_stub.c: Need to init register pointer.
|
1813 |
|
|
|
1814 |
|
|
1999-06-08 Jesper Skov
|
1815 |
|
|
|
1816 |
|
|
* include/pkgconf/hal.h: Added CYG_HAL_ROM_MONITOR for EDK7708.
|
1817 |
|
|
|
1818 |
|
|
1999-05-31 Jesper Skov
|
1819 |
|
|
|
1820 |
|
|
* src/hal_stub.c: Respect HAL_BREAKINST_SIZE setting.
|
1821 |
|
|
|
1822 |
|
|
1999-05-28 Jesper Skov
|
1823 |
|
|
|
1824 |
|
|
* include/pkgconf/hal.h: Renamed SH platform package to edk7708.
|
1825 |
|
|
|
1826 |
|
|
1999-05-28 Nick Garnett
|
1827 |
|
|
|
1828 |
|
|
* src/hal_stub.c (initHardware): Added call to
|
1829 |
|
|
HAL_STUB_PLATFORM_INIT if it is defined.
|
1830 |
|
|
|
1831 |
|
|
* include/pkgconf/hal.h: Added a #undef for CYG_HAL_ROM_MONITOR,
|
1832 |
|
|
largely so that a stubrom permutation can define it.
|
1833 |
|
|
|
1834 |
|
|
1999-05-27 Nick Garnett
|
1835 |
|
|
|
1836 |
|
|
* src/hal_stub.c: Do not call HAL_ICACHE_INVALIDATE_ALL() and
|
1837 |
|
|
HAL_DCACHE_INVALIDATE_ALL() in __instruction_cache() and
|
1838 |
|
|
__data_cache() for MIPS targets. These macros are simply
|
1839 |
|
|
duplicates.
|
1840 |
|
|
|
1841 |
|
|
1999-05-27 Jesper Skov
|
1842 |
|
|
|
1843 |
|
|
* tests/cache.c: Added handling of unified caches.
|
1844 |
|
|
|
1845 |
|
|
1999-05-25 Jonathan Larmour
|
1846 |
|
|
|
1847 |
|
|
* tests/cache.c: Use HAL_DCACHE_SYNC if available
|
1848 |
|
|
|
1849 |
|
|
1999-05-24 Jesper Skov
|
1850 |
|
|
|
1851 |
|
|
* include/pkgconf/hal.h: Added CPU specifier for EDK board.
|
1852 |
|
|
|
1853 |
|
|
1999-05-21 Jesper Skov
|
1854 |
|
|
|
1855 |
|
|
* src/hal_stub.c (__install_traps): Set exit vector to __reset.
|
1856 |
|
|
|
1857 |
|
|
1999-05-21 Nick Garnett
|
1858 |
|
|
|
1859 |
|
|
* include/pkgconf/hal.h: Switched VR4300 over to using GDB STUBS
|
1860 |
|
|
monitor from PMON.
|
1861 |
|
|
|
1862 |
|
|
1999-05-21 Jesper Skov
|
1863 |
|
|
|
1864 |
|
|
* tests/intr.c: Get RTC values from CYGBLD_HAL_PLATFORM_H.
|
1865 |
|
|
Ensure there are fallback definitions.
|
1866 |
|
|
|
1867 |
|
|
* src/hal_stub.c (handle_exception_cleanup): Added optional call
|
1868 |
|
|
of HAL_STUB_PLATFORM_STUBS_FIXUP macro.
|
1869 |
|
|
|
1870 |
|
|
1999-05-18 Jesper Skov
|
1871 |
|
|
|
1872 |
|
|
* src/hal_stub.c (hal_output_gdb_string): Added missing ;
|
1873 |
|
|
|
1874 |
|
|
1999-05-13 Nick Garnett
|
1875 |
|
|
|
1876 |
|
|
The following changes were all made on a branch and imported into
|
1877 |
|
|
the main trunk later.
|
1878 |
|
|
|
1879 |
|
|
1999-05-11 Nick Garnett
|
1880 |
|
|
|
1881 |
|
|
* include/pkgconf/hal.h:
|
1882 |
|
|
tidied up all MIPS targets to include CYGBLD_HAL_TARGET_H. This
|
1883 |
|
|
will eventually apply to all configurations.
|
1884 |
|
|
|
1885 |
|
|
1999-05-06 Nick Garnett
|
1886 |
|
|
|
1887 |
|
|
* src/PKGconf.mak (COMPILE): Added dbg-threads-syscall.c.
|
1888 |
|
|
|
1889 |
|
|
* include/dbg-thread-syscall.h:
|
1890 |
|
|
* src/dbg-threads-syscall.c:
|
1891 |
|
|
Files added to enable support for thread-awareness in GDB stub
|
1892 |
|
|
ROMs. The .h file has been moved from kernel/src/debug.
|
1893 |
|
|
|
1894 |
|
|
1999-04-28 Nick Garnett
|
1895 |
|
|
|
1896 |
|
|
* src/hal_stub.c (__build_t_packet): Changed sp variable to a
|
1897 |
|
|
non-pointer type to force it to be installed in the T packet with
|
1898 |
|
|
the right size.
|
1899 |
|
|
|
1900 |
|
|
* src/drv_api.c: Added cyg_interrupt_call_pending_DSRs() to keep
|
1901 |
|
|
HAL happy in non-kernel configurations.
|
1902 |
|
|
|
1903 |
|
|
1999-04-21 Nick Garnett
|
1904 |
|
|
|
1905 |
|
|
* include/pkgconf/hal.h:
|
1906 |
|
|
Added VR4300 configury for ROM monitor use and inclusion of
|
1907 |
|
|
variant-specific configuration header. This needs some further
|
1908 |
|
|
tidying up.
|
1909 |
|
|
|
1910 |
|
|
1999-04-28 Bart Veer
|
1911 |
|
|
|
1912 |
|
|
* src/PKGconf.mak:
|
1913 |
|
|
Use the new rules for generating libextras.a
|
1914 |
|
|
|
1915 |
|
|
1999-04-27 Jesper Skov
|
1916 |
|
|
|
1917 |
|
|
* include/pkgconf/hal.h: GDB_BREAK support now available for ARM
|
1918 |
|
|
targets.
|
1919 |
|
|
|
1920 |
|
|
1999-04-16 Bart Veer
|
1921 |
|
|
|
1922 |
|
|
* src/PKGconf.mak:
|
1923 |
|
|
* src/dummy.c:
|
1924 |
|
|
New file that can always be added to libextras.a without
|
1925 |
|
|
affecting image sizes.
|
1926 |
|
|
|
1927 |
|
|
1999-04-14 Jonathan Larmour
|
1928 |
|
|
|
1929 |
|
|
* include/hal_stub.h:
|
1930 |
|
|
Make sure all functions have C linkage even in C++
|
1931 |
|
|
|
1932 |
|
|
1999-04-14 Jesper Skov
|
1933 |
|
|
PR 19845
|
1934 |
|
|
* src/generic-stub.c (__process_packet): Reset _register pointer
|
1935 |
|
|
to the exception state before attempting to set up single-step
|
1936 |
|
|
magic.
|
1937 |
|
|
|
1938 |
|
|
1999-04-14 Jesper Skov
|
1939 |
|
|
|
1940 |
|
|
* include/hal_stub.h: Added declaration for __stub_copy_registers.
|
1941 |
|
|
|
1942 |
|
|
1999-04-14 Jesper Skov
|
1943 |
|
|
|
1944 |
|
|
* src/hal_stub.c: Use HAL_xCACHE_IS_ENABLED if defined.
|
1945 |
|
|
|
1946 |
|
|
1999-04-09 Jesper Skov
|
1947 |
|
|
|
1948 |
|
|
* src/hal_stub.c:
|
1949 |
|
|
Moved get_register and put_register here. Made them access the
|
1950 |
|
|
currently selected register set.
|
1951 |
|
|
|
1952 |
|
|
1999-03-22 Jonathan Larmour
|
1953 |
|
|
|
1954 |
|
|
* include/dbg-threads-api.h: Update copyright
|
1955 |
|
|
|
1956 |
|
|
* src/generic-stub.c: Change Cygnus Support->Cygnus Solutions
|
1957 |
|
|
|
1958 |
|
|
* src/thread-packets.c: Update copyright
|
1959 |
|
|
|
1960 |
|
|
* src/thread-pkts.h: Update copyright
|
1961 |
|
|
|
1962 |
|
|
1999-03-19 Nick Garnett
|
1963 |
|
|
|
1964 |
|
|
* tests/cache.c: Added interrupt disable and enable to cache state
|
1965 |
|
|
change blocks, in line with similar changes to kcache1.
|
1966 |
|
|
|
1967 |
|
|
1999-03-17 Jesper Skov
|
1968 |
|
|
|
1969 |
|
|
* src/hal_stub.c (hal_output_gdb_string): Use disable/restore
|
1970 |
|
|
macros to make sure it works even when interruptible() is a NOP
|
1971 |
|
|
function.
|
1972 |
|
|
|
1973 |
|
|
1999-03-10 Nick Garnett
|
1974 |
|
|
|
1975 |
|
|
* include/pkgconf/hal.h:
|
1976 |
|
|
Changed include of hal_tx39_jmr3904.h to hal_tx39.h.
|
1977 |
|
|
|
1978 |
|
|
1999-03-05 Nick Garnett
|
1979 |
|
|
|
1980 |
|
|
* include/drv_api.h:
|
1981 |
|
|
* src/drv_api.c:
|
1982 |
|
|
Fixed some typos in non-kernel configuration support.
|
1983 |
|
|
|
1984 |
|
|
1999-03-04 Jesper Skov
|
1985 |
|
|
PR 19367
|
1986 |
|
|
* include/pkgconf/hal.h: Exclude GDB stubs on sparc.
|
1987 |
|
|
|
1988 |
|
|
1999-02-26 Jesper Skov
|
1989 |
|
|
|
1990 |
|
|
* src/generic-stub.c:
|
1991 |
|
|
* include/generic-stub.h:
|
1992 |
|
|
Added binary download patches from libstub.
|
1993 |
|
|
|
1994 |
|
|
1999-02-25 Nick Garnett
|
1995 |
|
|
|
1996 |
|
|
* include/drv_api.h:
|
1997 |
|
|
* src/drv_api.c:
|
1998 |
|
|
Added these files to define driver API.
|
1999 |
|
|
|
2000 |
|
|
1999-02-23 Nick Garnett
|
2001 |
|
|
|
2002 |
|
|
* include/pkgconf/hal.h:
|
2003 |
|
|
Added include of to get TX39 speed
|
2004 |
|
|
configuration options.
|
2005 |
|
|
|
2006 |
|
|
1999-02-20 Jonathan Larmour
|
2007 |
|
|
|
2008 |
|
|
* tests/intr.c:
|
2009 |
|
|
Rename CYGNUM_VECTOR_RTC -> CYGNUM_HAL_INTERRUPT_RTC in line with
|
2010 |
|
|
HAL changes
|
2011 |
|
|
|
2012 |
|
|
1999-02-17 Jesper Skov
|
2013 |
|
|
|
2014 |
|
|
* src/hal_stub.c:
|
2015 |
|
|
* src/generic-stub.c (__handle_exception):
|
2016 |
|
|
Only include cyg_hal_gdb_break magic when stub is configured to
|
2017 |
|
|
handle GDB BREAK signals.
|
2018 |
|
|
|
2019 |
|
|
1999-02-17 Jesper Skov
|
2020 |
|
|
|
2021 |
|
|
* src/generic-stub.c (__handle_exception): Moved special signal
|
2022 |
|
|
handling here to avoid duplication for all architectures.
|
2023 |
|
|
|
2024 |
|
|
1999-02-16 Jesper Skov
|
2025 |
|
|
|
2026 |
|
|
* src/stubrom/stubrom.c: Changed set_debug_traps to initialize_stub.
|
2027 |
|
|
|
2028 |
|
|
* include/hal_stub.h: [added]
|
2029 |
|
|
* include/generic-stub.h:
|
2030 |
|
|
* src/hal_stub.c: [added]
|
2031 |
|
|
* src/board.h: [added]
|
2032 |
|
|
* src/thread-pkts.h:
|
2033 |
|
|
* src/thread-packets.c:
|
2034 |
|
|
* src/generic-stub.c:
|
2035 |
|
|
* src/PKGconf.mak:
|
2036 |
|
|
Merged in latest libstub changes. Moved most eCos specific changes
|
2037 |
|
|
into hal_stub.[ch], reducing effort required for further
|
2038 |
|
|
merging/integration.
|
2039 |
|
|
|
2040 |
|
|
1999-02-05 Jesper Skov
|
2041 |
|
|
|
2042 |
|
|
* include/pkgconf/hal.h: Cleaned up the MPC8xx configuration.
|
2043 |
|
|
|
2044 |
|
|
1999-01-29 Jesper Skov
|
2045 |
|
|
|
2046 |
|
|
* include/pkgconf/hal.h: Added simple MPC8xx configuration.
|
2047 |
|
|
|
2048 |
|
|
1999-01-26 Hugo Tyson
|
2049 |
|
|
|
2050 |
|
|
* tests/cache.c (time0): Waste much less time if running in a
|
2051 |
|
|
simulator. Do only 40 loops instead of 4000.
|
2052 |
|
|
In consequence the nasty meddling with MAX_STRIDE depending on
|
2053 |
|
|
HAL_xxx_SIM package definitions can go.
|
2054 |
|
|
|
2055 |
|
|
1999-01-22 Jesper Skov
|
2056 |
|
|
|
2057 |
|
|
* include/pkgconf/hal.h: Renamed CYG_HAL_POWERPC_FADS to
|
2058 |
|
|
CYGPKG_HAL_POWERPC_FADS.
|
2059 |
|
|
|
2060 |
|
|
1999-01-21 Jonathan Larmour
|
2061 |
|
|
|
2062 |
|
|
* include/pkgconf/hal.h:
|
2063 |
|
|
Tidy up and update description
|
2064 |
|
|
Add new CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG option to allow default
|
2065 |
|
|
priority static constructors to be deferred
|
2066 |
|
|
Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
|
2067 |
|
|
|
2068 |
|
|
1999-01-21 Jesper Skov
|
2069 |
|
|
Merge with FADS branch.
|
2070 |
|
|
|
2071 |
|
|
1998-12-17 Jesper Skov
|
2072 |
|
|
|
2073 |
|
|
* include/pkgconf/hal.h: Don't allow GDB BREAK support on FADS.
|
2074 |
|
|
Define _MPC860, not _MP860.
|
2075 |
|
|
|
2076 |
|
|
1998-12-17 Jesper Skov
|
2077 |
|
|
|
2078 |
|
|
* include/pkgconf/hal.h:
|
2079 |
|
|
Added FADS entry from Kevin Hester .
|
2080 |
|
|
|
2081 |
|
|
1999-01-19 Hugo Tyson
|
2082 |
|
|
|
2083 |
|
|
* include/pkgconf/hal.h:
|
2084 |
|
|
Add CYG_KERNEL_USE_INIT_PRIORITY for SPARCLITE.
|
2085 |
|
|
|
2086 |
|
|
1999-01-18 Jesper Skov
|
2087 |
|
|
PR 18823
|
2088 |
|
|
* include/pkgconf/hal.h: Don't allow GDB stubs to be configured
|
2089 |
|
|
for Linux target.
|
2090 |
|
|
|
2091 |
|
|
1999-01-18 Jesper Skov
|
2092 |
|
|
PR 18822
|
2093 |
|
|
* include/pkgconf/hal.h: GDB_BREAK support not available for ARM
|
2094 |
|
|
targets.
|
2095 |
|
|
|
2096 |
|
|
1999-01-14 Gary Thomas
|
2097 |
|
|
|
2098 |
|
|
* src/stubrom/PKGconf.mak: Rename 'TESTS' to 'PROGS' due to
|
2099 |
|
|
changes in 'makrules.prv'.
|
2100 |
|
|
|
2101 |
|
|
1999-01-14 Jesper Skov
|
2102 |
|
|
|
2103 |
|
|
* src/stubrom/stubrom.c (cyg_start): Fix compiler warning.
|
2104 |
|
|
|
2105 |
|
|
* include/dbg-threads-api.h: Include cyg_type.h to get externC
|
2106 |
|
|
definition.
|
2107 |
|
|
|
2108 |
|
|
1999-01-14 Nick Garnett
|
2109 |
|
|
|
2110 |
|
|
* include/dbg-threads-api.h: Added prototype for dbg_scheduler().
|
2111 |
|
|
|
2112 |
|
|
1999-01-13 Gary Thomas
|
2113 |
|
|
|
2114 |
|
|
* src/generic-stub.c (__output_hex_value): Change buffer size
|
2115 |
|
|
[2048 was rather large] and make stack based. Also don't
|
2116 |
|
|
allow for string to exceed buffer.
|
2117 |
|
|
|
2118 |
|
|
1999-01-13 Jesper Skov
|
2119 |
|
|
|
2120 |
|
|
* src/generic-stub.c (strcpy): Terminate copied string.
|
2121 |
|
|
|
2122 |
|
|
1999-01-11 Jesper Skov
|
2123 |
|
|
|
2124 |
|
|
* tests/intr.c (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): Added RTC data
|
2125 |
|
|
for Linux.
|
2126 |
|
|
|
2127 |
|
|
Wed Dec 9 14:07:30 GMT 1998 Chris Provenzano
|
2128 |
|
|
|
2129 |
|
|
* include/pkgconf/hal.h: Compile the i386 linux target with
|
2130 |
|
|
CYG_KERNEL_USE_INIT_PRIORITY defined.
|
2131 |
|
|
|
2132 |
|
|
1999-01-04 Jesper Skov
|
2133 |
|
|
|
2134 |
|
|
* src/generic-stub.c (interruptible): Cleaned up a bit.
|
2135 |
|
|
|
2136 |
|
|
1999-01-04 Jesper Skov
|
2137 |
|
|
PR 18572
|
2138 |
|
|
|
2139 |
|
|
* tests/cache.c: Purge data cache before invalidating it.
|
2140 |
|
|
|
2141 |
|
|
1998-12-09 Gary Thomas
|
2142 |
|
|
|
2143 |
|
|
* src/generic-stub.c: Better handling of errors while stubs
|
2144 |
|
|
are accessing memory on behalf of GDB. Requires support for
|
2145 |
|
|
GCC 'computed goto label' in top-level exception handler.
|
2146 |
|
|
|
2147 |
|
|
1998-12-09 Jesper Skov
|
2148 |
|
|
|
2149 |
|
|
* include/pkgconf/hal.h: Removed the
|
2150 |
|
|
CYGARC_HAL_COMMON_EXPORT_CPU_MACROS option. Causing failures in
|
2151 |
|
|
permutation tests.
|
2152 |
|
|
|
2153 |
|
|
1998-12-07 Jesper Skov
|
2154 |
|
|
|
2155 |
|
|
* src/generic-stub.c (process_exception): Send an acknowledge char
|
2156 |
|
|
on first entry so GDB doesn't timeout before resending its initial
|
2157 |
|
|
packet.
|
2158 |
|
|
|
2159 |
|
|
1998-11-26 Jesper Skov
|
2160 |
|
|
|
2161 |
|
|
* include/pkgconf/hal.h: Added
|
2162 |
|
|
CYGARC_HAL_COMMON_EXPORT_CPU_MACROS.
|
2163 |
|
|
|
2164 |
|
|
1998-11-23 Jesper Skov
|
2165 |
|
|
|
2166 |
|
|
* tests/cache.c: Only run with stride 1 on SIMs.
|
2167 |
|
|
|
2168 |
|
|
1998-11-23 Jesper Skov
|
2169 |
|
|
|
2170 |
|
|
* include/pkgconf/hal.h: Define SIM as a 603 CPU.
|
2171 |
|
|
|
2172 |
|
|
1998-11-19 Jesper Skov
|
2173 |
|
|
|
2174 |
|
|
* tests/intr.c:
|
2175 |
|
|
Make the test do nothing if kernel real-time clock is enabled.
|
2176 |
|
|
Added different timer constants for PPC SIM and HW.
|
2177 |
|
|
|
2178 |
|
|
1998-11-17 Jesper Skov
|
2179 |
|
|
|
2180 |
|
|
* tests/intr.c:
|
2181 |
|
|
* include/pkgconf/hal.h:
|
2182 |
|
|
Renamed CYG_HAL_POWERPC_MP860 to CYG_HAL_POWERPC_MPC860.
|
2183 |
|
|
|
2184 |
|
|
1998-11-04 Jesper Skov
|
2185 |
|
|
|
2186 |
|
|
* include/pkgconf/hal.h: Made CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT a
|
2187 |
|
|
sub-option of CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
|
2188 |
|
|
|
2189 |
|
|
1998-11-16 Jesper Skov
|
2190 |
|
|
|
2191 |
|
|
* include/pkgconf/hal.h: Allow GDB stubs to be configured for
|
2192 |
|
|
MN10300 HW. Allow GDB_BREAK for all but tx39.
|
2193 |
|
|
|
2194 |
|
|
1998-11-04 Jesper Skov
|
2195 |
|
|
|
2196 |
|
|
* include/pkgconf/hal.h: Made CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT a
|
2197 |
|
|
sub-option of CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
|
2198 |
|
|
|
2199 |
|
|
1998-11-04 Jesper Skov
|
2200 |
|
|
|
2201 |
|
|
* src/generic-stub.c (process_packet): Flush D cache before
|
2202 |
|
|
invalidating I cache.
|
2203 |
|
|
|
2204 |
|
|
1998-11-02 Jesper Skov
|
2205 |
|
|
|
2206 |
|
|
* src/generic-stub.c (__handle_exception): Check for breakpoints
|
2207 |
|
|
set by GDB interrupt handler.
|
2208 |
|
|
|
2209 |
|
|
1998-10-25 Jesper Skov
|
2210 |
|
|
|
2211 |
|
|
* src/thread-packets.c: Fixed closing #endif comment.
|
2212 |
|
|
|
2213 |
|
|
* src/generic-stub.c: Fixed closing #endif comment.
|
2214 |
|
|
|
2215 |
|
|
1998-10-23 Jesper Skov
|
2216 |
|
|
|
2217 |
|
|
* src/hal_common.c: Removed. We can't use weak default functions
|
2218 |
|
|
when they may conflict with strong functions in the library.
|
2219 |
|
|
|
2220 |
|
|
1998-10-23 Jesper Skov
|
2221 |
|
|
|
2222 |
|
|
* include/generic-stub.h: Added __interruptible_control.
|
2223 |
|
|
|
2224 |
|
|
1998-10-23 Jesper Skov
|
2225 |
|
|
PR 17460, PR 17913
|
2226 |
|
|
|
2227 |
|
|
* include/pkgconf/hal.h: Let HAL exception support require Kernel
|
2228 |
|
|
exception support.
|
2229 |
|
|
|
2230 |
|
|
1998-10-21 Jesper Skov
|
2231 |
|
|
PR 17842
|
2232 |
|
|
|
2233 |
|
|
* include/pkgconf/hal.h: Let HAL GDB thread support require Kernel
|
2234 |
|
|
GDB thread support.
|
2235 |
|
|
|
2236 |
|
|
1998-10-20 Jesper Skov
|
2237 |
|
|
PR 17460
|
2238 |
|
|
|
2239 |
|
|
* src/hal_common.c: Added. Includes a weak handle_exception
|
2240 |
|
|
definition.
|
2241 |
|
|
|
2242 |
|
|
1998-10-20 Jesper Skov
|
2243 |
|
|
PR 17885, 17880, 17841
|
2244 |
|
|
|
2245 |
|
|
* include/pkgconf/hal.h: Don't allow GDB stubs to be configured
|
2246 |
|
|
for SIMs or MN10300.
|
2247 |
|
|
|
2248 |
|
|
1998-10-19 Jesper Skov
|
2249 |
|
|
|
2250 |
|
|
* src/thread-packets.c: Sync'd with libstub source.
|
2251 |
|
|
|
2252 |
|
|
1998-10-16 Bart Veer
|
2253 |
|
|
|
2254 |
|
|
* include/pkgconf/hal.h (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE):
|
2255 |
|
|
Added new configuration option for interrupt stack size.
|
2256 |
|
|
|
2257 |
|
|
Thu Oct 15 21:25:55 1998 Jonathan Larmour
|
2258 |
|
|
|
2259 |
|
|
* include/pkgconf/hal.h:
|
2260 |
|
|
Make CYGFUN_HAL_COMMON_KERNEL_SUPPORT require the kernel, as it
|
2261 |
|
|
is enabling this is eCos-kernel specific, and relies on
|
2262 |
|
|
configuration options defined only in the kernel
|
2263 |
|
|
Required for PR 17229
|
2264 |
|
|
|
2265 |
|
|
1998-10-15 Jesper Skov
|
2266 |
|
|
|
2267 |
|
|
* include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT):
|
2268 |
|
|
Added config option.
|
2269 |
|
|
|
2270 |
|
|
1998-10-14 Nick Garnett
|
2271 |
|
|
|
2272 |
|
|
* include/pkgconf/hal.h:
|
2273 |
|
|
Move some configury from kernel.h to here. Particularly the
|
2274 |
|
|
support for GDB stubs.
|
2275 |
|
|
|
2276 |
|
|
* tests/cache.c:
|
2277 |
|
|
* tests/context.c:
|
2278 |
|
|
* tests/intr.c:
|
2279 |
|
|
* tests/PKGconf.mak:
|
2280 |
|
|
New directory of HAL-only test programs. Currently contains some
|
2281 |
|
|
very basic test programs.
|
2282 |
|
|
|
2283 |
|
|
* include/generic-stub.h:
|
2284 |
|
|
* include/dbg-threads-api.h:
|
2285 |
|
|
* src/generic-stub.c:
|
2286 |
|
|
* src/thread-packets.c:
|
2287 |
|
|
* src/thread-pkts.h:
|
2288 |
|
|
* src/stubrom/PKGconf.mak:
|
2289 |
|
|
* src/stubrom/stubrom.c:
|
2290 |
|
|
Moved these files here from kernel.
|
2291 |
|
|
|
2292 |
|
|
1998-10-08 Gary Thomas
|
2293 |
|
|
|
2294 |
|
|
* include/pkgconf/hal.h:
|
2295 |
|
|
Add support for new architecture.
|
2296 |
|
|
|
2297 |
|
|
1998-09-23 Nick Garnett
|
2298 |
|
|
|
2299 |
|
|
* include/pkgconf/hal.h:
|
2300 |
|
|
Switched TX39 over to using CYGMON from GDB stubs.
|
2301 |
|
|
|
2302 |
|
|
Tue Sep 15 19:13:04 1998 David Moore
|
2303 |
|
|
|
2304 |
|
|
* include/pkgconf/hal.h: Cleaned up comments.
|
2305 |
|
|
|
2306 |
|
|
Mon Sep 14 11:08:26 1998 Jesper Skov
|
2307 |
|
|
PR 17230
|
2308 |
|
|
|
2309 |
|
|
* include/pkgconf/hal.h: Added IMP_HAL_COMMON_INTERRUPTS_CHAIN
|
2310 |
|
|
option.
|
2311 |
|
|
|
2312 |
|
|
1998-09-14 Bart Veer
|
2313 |
|
|
|
2314 |
|
|
* include/pkgconf/hal.h:
|
2315 |
|
|
Fixed typo in description.
|
2316 |
|
|
|
2317 |
|
|
1998-09-12 Bart Veer
|
2318 |
|
|
|
2319 |
|
|
* include/pkgconf/hal.h:
|
2320 |
|
|
Sort out exception handling options (PR 16953)
|
2321 |
|
|
Added missing descriptions (PR 17184)
|
2322 |
|
|
|
2323 |
|
|
Tue Sep 8 17:16:39 1998 Hugo Tyson
|
2324 |
|
|
|
2325 |
|
|
* include/pkgconf/hal.h:
|
2326 |
|
|
Elide some spurious redefines of CYG_HAL_MN10300_STDEVAL1 and
|
2327 |
|
|
CYG_HAL_MN10300_SIM within ifdefs conditioned on same.
|
2328 |
|
|
|
2329 |
|
|
1998-09-03 Bart Veer
|
2330 |
|
|
|
2331 |
|
|
* include/pkgconf/hal.h:
|
2332 |
|
|
CYGPKG_HAL_COMMON is now a component, not a package.
|
2333 |
|
|
|
2334 |
|
|
1998-09-02 Bart Veer
|
2335 |
|
|
|
2336 |
|
|
* include/pkgconf/hal.h:
|
2337 |
|
|
Moved target and platform specific configuration data to
|
2338 |
|
|
the appropriate packages.
|
2339 |
|
|
|
2340 |
|
|
Symbols identifying the target hardware should be just defined,
|
2341 |
|
|
not given a value, as per the coding standards.
|
2342 |
|
|
|
2343 |
|
|
Mon Aug 31 09:16:08 1998 Jesper Skov
|
2344 |
|
|
|
2345 |
|
|
* include/pkgconf/hal.h: Added INIT_PRIORITY default setting for
|
2346 |
|
|
powerpc.
|
2347 |
|
|
|
2348 |
|
|
1998-08-28 Bart Veer
|
2349 |
|
|
|
2350 |
|
|
* include/pkgconf/hal.h:
|
2351 |
|
|
Added configuration data.
|
2352 |
|
|
|
2353 |
|
|
1998-08-20 Nick Garnett
|
2354 |
|
|
|
2355 |
|
|
* include/pkgconf/hal.h:
|
2356 |
|
|
Moved definition of CYG_KERNEL_USE_INIT_PRIORITY here from
|
2357 |
|
|
kernel.h.
|
2358 |
|
|
|
2359 |
|
|
1998-08-18 Nick Garnett
|
2360 |
|
|
|
2361 |
|
|
* include/pkgconf/hal.h:
|
2362 |
|
|
Created this file to contain HAL config options.
|
2363 |
|
|
|
2364 |
|
|
//===========================================================================
|
2365 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
2366 |
|
|
// -------------------------------------------
|
2367 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
2368 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2010, 2011 Free Software Foundation, Inc.
|
2369 |
|
|
//
|
2370 |
|
|
// This program is free software; you can redistribute it and/or modify
|
2371 |
|
|
// it under the terms of the GNU General Public License as published by
|
2372 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
2373 |
|
|
// later version.
|
2374 |
|
|
//
|
2375 |
|
|
// This program is distributed in the hope that it will be useful, but
|
2376 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
2377 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2378 |
|
|
// General Public License for more details.
|
2379 |
|
|
//
|
2380 |
|
|
// You should have received a copy of the GNU General Public License
|
2381 |
|
|
// along with this program; if not, write to the
|
2382 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
2383 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
2384 |
|
|
// -------------------------------------------
|
2385 |
|
|
// ####GPLCOPYRIGHTEND####
|
2386 |
|
|
//===========================================================================
|