1 |
27 |
unneback |
2001-11-26 Jesper Skov
|
2 |
|
|
|
3 |
|
|
* src/hal_misc.c (hal_msbit_index): Fixed.
|
4 |
|
|
|
5 |
|
|
2001-04-24 Jonathan Larmour
|
6 |
|
|
|
7 |
|
|
* src/vectors.S: Support daft platforms like the CEB which have
|
8 |
|
|
default on-chip flash that vector NMI to 2 insns after reset.
|
9 |
|
|
Also place hal_v85x_ice_syscall_info in fixed location, only
|
10 |
|
|
for ROM/ROMRAM builds.
|
11 |
|
|
|
12 |
|
|
2001-03-28 Jonathan Larmour
|
13 |
|
|
|
14 |
|
|
* src/vectors.S: Overhaul...
|
15 |
|
|
Make interrupt processing path faster, especially by implementing
|
16 |
|
|
CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT
|
17 |
|
|
Add ROMRAM startup support
|
18 |
|
|
Pass in correct argument to exception_handler
|
19 |
|
|
Call DSRs with parameter flushback area
|
20 |
|
|
Add __allow_nmi as a somewhat kludgy means of determining
|
21 |
|
|
whether NMIs should be ignored - important if the board resets
|
22 |
|
|
and the vector tables are temporarily inconsistent.
|
23 |
|
|
Initialize __vsr_table statically.
|
24 |
|
|
Add some generic elements of ICE debugging support
|
25 |
|
|
|
26 |
|
|
* src/v85x.ld: Remove - redundant.
|
27 |
|
|
|
28 |
|
|
* src/hal_mk_defs.c (main): Update to reflect new vector names
|
29 |
|
|
(to match official NEC docs)
|
30 |
|
|
|
31 |
|
|
* src/hal_misc.c (exception_handler): Remove cygmon cruft.
|
32 |
|
|
(hal_arch_default_isr): Report spurious interrupts.
|
33 |
|
|
(hal_idle_thread_action): use halt instruction
|
34 |
|
|
|
35 |
|
|
* include/hal_arch.h: Remove obsolete comment reference to arch.inc.
|
36 |
|
|
|
37 |
|
|
* include/basetype.h: No need to include
|
38 |
|
|
* include/hal_io.h: Ditto.
|
39 |
|
|
* include/nec-stub.h: Similarly for
|
40 |
|
|
|
41 |
|
|
* cdl/hal_v85x.cdl: Move CYGHWR_HAL_V85X_CPU_FREQ into platforms
|
42 |
|
|
(and make Hz, not MHz).
|
43 |
|
|
Add generic ICE debugging interface.
|
44 |
|
|
Description tidies.
|
45 |
|
|
|
46 |
|
|
2001-01-26 Jonathan Larmour
|
47 |
|
|
|
48 |
|
|
* include/hal_intr.h: Move HAL_STUB_PLATFORM_RESET and
|
49 |
|
|
HAL_STUB_PLATFORM_RESET_ENTRY here from platform stub headers.
|
50 |
|
|
Also rename to HAL_PLATFORM_RESET and HAL_PLATFORM_RESET_ENTRY
|
51 |
|
|
|
52 |
|
|
* src/vectors.S (_hal_reset_board): Renamed from hal_plf_reset_board
|
53 |
|
|
|
54 |
|
|
2001-01-18 Nick Garnett
|
55 |
|
|
|
56 |
|
|
* src/vectors.S: Added underscore to reference to
|
57 |
|
|
cyg_scheduler_sched_lock, since CYGBLD_ATTRIB_ASM_ALIAS() now adds
|
58 |
|
|
one automatically.
|
59 |
|
|
|
60 |
|
|
2000-10-20 Jesper Skov
|
61 |
|
|
|
62 |
|
|
* src/hal_misc.c: Update __mem_fault_handler declaration.
|
63 |
|
|
|
64 |
|
|
2000-10-16 Jonathan Larmour
|
65 |
|
|
|
66 |
|
|
* include/hal_arch.h (CYGARC_JMP_BUF_SIZE): Define hal_jmp_buf in
|
67 |
|
|
terms of this.
|
68 |
|
|
|
69 |
|
|
2000-10-09 Gary Thomas
|
70 |
|
|
|
71 |
|
|
* src/vectors.S (start): Need to handle ^C for all applications.
|
72 |
|
|
|
73 |
|
|
2000-09-13 Jonathan Larmour
|
74 |
|
|
|
75 |
|
|
* src/vectors.S: When calling C functions, ensure there is 16 bytes
|
76 |
|
|
space for the parameter flushback area (as per the calling convention)
|
77 |
|
|
on the stack
|
78 |
|
|
|
79 |
|
|
2000-09-07 Jonathan Larmour
|
80 |
|
|
|
81 |
|
|
* include/basetype.h: Don't need special alignment after all - it was
|
82 |
|
|
a bug elsewhere.
|
83 |
|
|
|
84 |
|
|
2000-09-06 Gary Thomas
|
85 |
|
|
|
86 |
|
|
* include/basetype.h: Need special alignment to match the way
|
87 |
|
|
the compiler/linker actually do things.
|
88 |
|
|
|
89 |
|
|
* cdl/hal_v85x.cdl: Improve variant handling and specification.
|
90 |
|
|
|
91 |
|
|
2000-08-30 Gary Thomas
|
92 |
|
|
|
93 |
|
|
* src/vectors.S (start): Allow programs to field NMI exceptions.
|
94 |
|
|
|
95 |
|
|
2000-07-24 Jonathan Larmour
|
96 |
|
|
|
97 |
|
|
* include/basetype.h: Removed definition of CYG_LABEL_NAME().
|
98 |
|
|
|
99 |
|
|
* src/v85x.ld: Switched to new table definition mechanism.
|
100 |
|
|
|
101 |
|
|
2000-07-21 Gary Thomas
|
102 |
|
|
|
103 |
|
|
* src/vectors.S (_hal_plf_reset_board): Needs to be defined in all
|
104 |
|
|
configurations.
|
105 |
|
|
|
106 |
|
|
2000-06-27 Jesper Skov
|
107 |
|
|
|
108 |
|
|
* src/vectors.S:
|
109 |
|
|
* src/hal_mk_defs.c:
|
110 |
|
|
Fix compiler warnings.
|
111 |
|
|
|
112 |
|
|
* src/hal_misc.c (hal_default_isr): Let common version do the
|
113 |
|
|
checks.
|
114 |
|
|
|
115 |
|
|
2000-06-15 Gary Thomas
|
116 |
|
|
|
117 |
|
|
* src/hal_mk_defs.c:
|
118 |
|
|
* src/vectors.S:
|
119 |
|
|
* src/hal_misc.c (hal_default_isr): Update for new debug
|
120 |
|
|
vector support.
|
121 |
|
|
|
122 |
|
|
* include/hal_intr.h:
|
123 |
|
|
* src/vectors.S (do_interrupt): Proper handling of chained
|
124 |
|
|
interrupts.
|
125 |
|
|
|
126 |
|
|
2000-06-12 Gary Thomas
|
127 |
|
|
|
128 |
|
|
* src/vectors.S (return_from_exception_or_interrupt): Revert
|
129 |
|
|
reorg change (05-26) which broke GDB breakpoints.
|
130 |
|
|
|
131 |
|
|
2000-06-08 Jesper Skov
|
132 |
|
|
|
133 |
|
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
134 |
|
|
Added.
|
135 |
|
|
|
136 |
|
|
2000-05-26 Gary Thomas
|
137 |
|
|
|
138 |
|
|
* src/vectors.S: Slight reorg of trap vectors (more readable).
|
139 |
|
|
|
140 |
|
|
2000-05-25 John Dallaway
|
141 |
|
|
|
142 |
|
|
* cdl/hal_v85x.cdl: Tidy display strings.
|
143 |
|
|
|
144 |
|
|
2000-05-25 Gary Thomas
|
145 |
|
|
|
146 |
|
|
* src/vectors.S: Handle different chips (number of interrupt
|
147 |
|
|
sources differs, exception table is altered, etc).
|
148 |
|
|
|
149 |
|
|
* include/hal_intr.h: Actual interrupt layout now defined by
|
150 |
|
|
variant/platform since these differ depending on the chip.
|
151 |
|
|
|
152 |
|
|
2000-05-03 Gary Thomas
|
153 |
|
|
|
154 |
|
|
* include/hal_arch.h: New breakpoint instruction ("br *").
|
155 |
|
|
|
156 |
|
|
2000-04-14 Gary Thomas
|
157 |
|
|
|
158 |
|
|
* src/hal_misc.c (exception_handler): Proper handling of nested
|
159 |
|
|
[watchdog] interrupts - don't corrupt GDB registers.
|
160 |
|
|
|
161 |
|
|
* src/hal_mk_defs.c: Add some symbols required for NMI handling.
|
162 |
|
|
|
163 |
|
|
* src/vectors.S (return_from_exception_or_interrupt):
|
164 |
|
|
Properly handle different cases for exception, NMI and ISR.
|
165 |
|
|
|
166 |
|
|
* include/hal_intr.h (HAL_TRANSLATE_VECTOR): Ignore interrupt
|
167 |
|
|
chaining - doesn't happen on this hardware.
|
168 |
|
|
|
169 |
|
|
2000-04-11 Gary Thomas
|
170 |
|
|
|
171 |
|
|
* src/vectors.S (exception): Handle NMI. In particular, need to
|
172 |
|
|
have appropriate bits set so they clear and also get the state
|
173 |
|
|
from the proper save registers.
|
174 |
|
|
(exception): Register save was wrong - ROM only.
|
175 |
|
|
|
176 |
|
|
2000-03-31 Gary Thomas
|
177 |
|
|
|
178 |
|
|
* src/hal_mk_defs.c: Add definition for 'ep' register.
|
179 |
|
|
|
180 |
|
|
* include/hal_intr.h:
|
181 |
|
|
* cdl/hal_nec.cdl: Add config option to choose between inline and
|
182 |
|
|
real functions for interrupt macros.
|
183 |
|
|
|
184 |
|
|
* src/vectors.S: Tune up - use SLD/SST for smaller, faster code
|
185 |
|
|
in context load/save routines. Also remove IRQ trace/debug code.
|
186 |
|
|
|
187 |
|
|
2000-03-30 Gary Thomas
|
188 |
|
|
|
189 |
|
|
* src/vectors.S (do_interrupt): Can't use R13 across function calls.
|
190 |
|
|
This caused instability when turning on kernel instrumentation.
|
191 |
|
|
|
192 |
|
|
* include/hal_intr.h: Use out-of-line code for interrupt functions
|
193 |
|
|
for tracing/testing.
|
194 |
|
|
|
195 |
|
|
* src/vectors.S: Working support for separate interrupt stack.
|
196 |
|
|
Some debug/trace code left in.
|
197 |
|
|
|
198 |
|
|
* src/hal_mk_defs.c:
|
199 |
|
|
* include/hal_arch.h: Documented API does not match actual GCC
|
200 |
|
|
register usage. Need to save R1/R2/R4/R5 for setjmp/longjmp.
|
201 |
|
|
|
202 |
|
|
2000-03-27 Gary Thomas
|
203 |
|
|
|
204 |
|
|
* src/vectors.S (do_interrupt): Pass regs to ISR & DSR.
|
205 |
|
|
|
206 |
|
|
* include/basetype.h: Endian-ness was incorrect.
|
207 |
|
|
|
208 |
|
|
* include/hal_arch.h:
|
209 |
|
|
* src/hal_mk_defs.c: Complete setjmp/longjmp support.
|
210 |
|
|
|
211 |
|
|
* src/vectors.S: Add interrupt stack.
|
212 |
|
|
|
213 |
|
|
2000-03-21 Gary Thomas
|
214 |
|
|
|
215 |
|
|
* src/vectors.S (_hal_plf_reset_board): Add board reset function.
|
216 |
|
|
|
217 |
|
|
* include/hal_arch.h (CYGHWR_TEST_PROGRAM_EXIT): Define RESET for ROM
|
218 |
|
|
based programs.
|
219 |
|
|
|
220 |
|
|
//===========================================================================
|
221 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
222 |
|
|
// -------------------------------------------
|
223 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
224 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
225 |
|
|
//
|
226 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
227 |
|
|
// the terms of the GNU General Public License as published by the Free
|
228 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
229 |
|
|
//
|
230 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
231 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
232 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
233 |
|
|
// for more details.
|
234 |
|
|
//
|
235 |
|
|
// You should have received a copy of the GNU General Public License along
|
236 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
237 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
238 |
|
|
//
|
239 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
240 |
|
|
// or inline functions from this file, or you compile this file and link it
|
241 |
|
|
// with other works to produce a work based on this file, this file does not
|
242 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
243 |
|
|
// License. However the source code for this file must still be made available
|
244 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
245 |
|
|
//
|
246 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
247 |
|
|
// this file might be covered by the GNU General Public License.
|
248 |
|
|
//
|
249 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
250 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
251 |
|
|
// -------------------------------------------
|
252 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
253 |
|
|
//===========================================================================
|