1 |
786 |
skrzyp |
2011-01-02 Sergei Gavrikov
|
2 |
|
|
|
3 |
|
|
* cdl/hal_i386.cdl: Eliminate some warnings. [ Bugzilla 1001083 ]
|
4 |
|
|
|
5 |
|
|
2005-09-19 David Vrabel
|
6 |
|
|
|
7 |
|
|
* src/redboot_linux_exec.c: No need to include pcmb_serial.h.
|
8 |
|
|
|
9 |
|
|
2005-07-18 David Vrabel
|
10 |
|
|
|
11 |
|
|
* include/hal_arch.h: #define CYGARC_VIRTUAL_ADDRESS.
|
12 |
|
|
|
13 |
|
|
2005-06-10 Jonathan Larmour
|
14 |
|
|
|
15 |
|
|
* src/i386.ld: gcc_except_table subsections don't need to be
|
16 |
|
|
kept.
|
17 |
|
|
|
18 |
|
|
2005-06-03 Jonathan Larmour
|
19 |
|
|
|
20 |
|
|
* src/i386.ld: gcc_except_table needs to be marked KEEP.
|
21 |
|
|
|
22 |
|
|
2005-04-22 David Vrabel
|
23 |
|
|
|
24 |
|
|
* cdl/hal_i386.cdl (CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS): Don't
|
25 |
|
|
require CYGINT_HAL_I386_PCMB_SCREEN_SUPPORT so we can use the exec
|
26 |
|
|
command on platforms without a screen.
|
27 |
|
|
|
28 |
|
|
2005-04-21 David Vrabel
|
29 |
|
|
|
30 |
|
|
* src/i386_stub.c: Rename the local memcpy function to
|
31 |
|
|
local_memcpy so it doesn't conflict with later GCC's built-in
|
32 |
|
|
memcpy.
|
33 |
|
|
|
34 |
|
|
* src/i386.ld: Add .2ram section.
|
35 |
|
|
|
36 |
|
|
2005-04-17 Andrew Lunn
|
37 |
|
|
|
38 |
|
|
* cdl/hal_i386.cdl:
|
39 |
|
|
* src/redboot_linux_exec.c: Moved the RedBoot command "exec" from
|
40 |
|
|
the pc package to this generic package.
|
41 |
|
|
|
42 |
|
|
2005-03-21 Bart Veer
|
43 |
|
|
|
44 |
|
|
* src/vectors.S, src/hal_misc.c, cdl/hal_i386.cdl: add profiling
|
45 |
|
|
support.
|
46 |
|
|
|
47 |
|
|
2004-04-22 Jani Monoses
|
48 |
|
|
|
49 |
|
|
* cdl/hal_i386.cdl :
|
50 |
|
|
Invoke tail with stricter syntax that works in latest coreutils.
|
51 |
|
|
|
52 |
|
|
2003-12-08 Gary Thomas
|
53 |
|
|
|
54 |
|
|
* src/hal_misc.c: Only declare __mem_fault_handler if GDB stubs
|
55 |
|
|
are included (and it will be used).
|
56 |
|
|
|
57 |
|
|
2003-07-23 Nick Garnett
|
58 |
|
|
|
59 |
|
|
* include/hal_intr.h: Tidied up some compiler warnings.
|
60 |
|
|
|
61 |
|
|
2003-04-10 Nick Garnett
|
62 |
|
|
|
63 |
|
|
* src/i386.ld:
|
64 |
|
|
Added libsupc++.a to GROUP() directive for GCC versions later than
|
65 |
|
|
3.0.
|
66 |
|
|
|
67 |
|
|
2003-01-31 Mark Salter
|
68 |
|
|
|
69 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
|
70 |
|
|
handle exit.
|
71 |
|
|
|
72 |
|
|
2002-11-28 Nick Garnett
|
73 |
|
|
|
74 |
|
|
* src/vectors.S: Added GRUB startup option to tests for IDT
|
75 |
|
|
initialization. Added call to breakpoint() before cyg_start(),
|
76 |
|
|
controlled by CYGDBG_HAL_DEBUG_GDB_INITIAL_BREAK.
|
77 |
|
|
|
78 |
|
|
2002-05-17 Nick Garnett
|
79 |
|
|
|
80 |
|
|
* src/vectors.S: Rearranged interrupt stack definitions to make it
|
81 |
|
|
work correctly in SMP case. The #ifdefs were improperly nested.
|
82 |
|
|
|
83 |
|
|
2002-04-29 Jonathan Larmour
|
84 |
|
|
|
85 |
|
|
* src/vectors.S:
|
86 |
|
|
Don't use .file as it can confuse debugging since the .file
|
87 |
|
|
doesn't contain the path and therefore the debugger will never
|
88 |
|
|
know where it lives! This conflicts with using -Wa,--gstabs.
|
89 |
|
|
|
90 |
|
|
2002-04-15 Jonathan Larmour
|
91 |
|
|
|
92 |
|
|
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
|
93 |
|
|
__do_syscall.
|
94 |
|
|
|
95 |
|
|
2002-01-08 Nick Garnett
|
96 |
|
|
|
97 |
|
|
* include/hal_arch.h:
|
98 |
|
|
Removed consideration of lazy FPU context switching in determining
|
99 |
|
|
the size of CYGNUM_HAL_STACK_CONTEXT_SIZE, since it does not
|
100 |
|
|
actually make any difference - and previously resulted in too
|
101 |
|
|
small a value for CYGNUM_HAL_STACK_SIZE_MINIMUM.
|
102 |
|
|
|
103 |
|
|
2002-01-07 Nick Garnett
|
104 |
|
|
|
105 |
|
|
* src/vectors.S (__fpu_switch_vsr): Fixed register usage bug.
|
106 |
|
|
|
107 |
|
|
2001-12-19 Mark Salter
|
108 |
|
|
|
109 |
|
|
* include/arch.inc: Use fnsave instead of fsave.
|
110 |
|
|
* src/vectors.S: Ditto.
|
111 |
|
|
|
112 |
|
|
2001-12-11 Nick Garnett
|
113 |
|
|
|
114 |
|
|
* src/i386.ld (SECTION_rel__got): Added entry for
|
115 |
|
|
.rel.gnu.linkonce* that more recent versions of the compiler seem
|
116 |
|
|
to generate.
|
117 |
|
|
|
118 |
|
|
2001-12-07 Jonathan Larmour
|
119 |
|
|
|
120 |
|
|
* src/i386.ld: Add missing close bracket.
|
121 |
|
|
|
122 |
|
|
2001-12-06 Jonathan Larmour
|
123 |
|
|
|
124 |
|
|
* src/i386.ld: Add .rel.text and .rel.data sections to avoid
|
125 |
|
|
linker warnings, which can cause the linker to then get confused.
|
126 |
|
|
(From nickc)
|
127 |
|
|
|
128 |
|
|
2001-11-21 Mark Salter
|
129 |
|
|
|
130 |
|
|
* src/i386_stub.c (__do_read_msr): Add mem_fault handling.
|
131 |
|
|
(__do_write_msr): Ditto.
|
132 |
|
|
|
133 |
|
|
2001-10-19 Ian Campbell
|
134 |
|
|
|
135 |
|
|
* include/hal_cache.h: Provide HAL_DCACHE_IS_ENABLED and
|
136 |
|
|
HAL_ICACHE_IS_ENABLED macros.
|
137 |
|
|
|
138 |
|
|
2001-10-15 Mark Salter
|
139 |
|
|
|
140 |
|
|
* src/i386_stub.c (hal_get_gdb_registers): Save idt/gdt in GDB regs.
|
141 |
|
|
({put,get}_register_as_bytes): Support idt/gdt.
|
142 |
|
|
|
143 |
|
|
2001-10-12 Mark Salter
|
144 |
|
|
|
145 |
|
|
* include/i386_stub.h: Add support for FPU and other regs.
|
146 |
|
|
* src/i386_stub.c: Ditto.
|
147 |
|
|
|
148 |
|
|
* src/vectors.S: Add SSE support.
|
149 |
|
|
* include/i386.inc: Ditto.
|
150 |
|
|
* include/arch.inc: Ditto.
|
151 |
|
|
* include/hal_arch.h: Add SSE state to HAL_FPU_Context.
|
152 |
|
|
* cdl/hal_i386.cdl: Add CYGHWR_HAL_I386_PENTIUM and
|
153 |
|
|
CYGHWR_HAL_I386_PENTIUM_SSE.
|
154 |
|
|
* cdl/hal_i386.cdl: Add CYGHWR_HAL_I386_PENTIUM_GDB_REGS.
|
155 |
|
|
|
156 |
|
|
2001-10-08 Ian Campbell
|
157 |
|
|
|
158 |
|
|
* cdl/hal_i386.cdl: move CYGBLD_BUILD_I386_ROMBOOT and
|
159 |
|
|
CYGBLD_BUILD_REDBOOT_BIN_ROM to pc package.
|
160 |
|
|
* src/romboot.S: Moved to pc package
|
161 |
|
|
* src/romboot.ld: Moved to pc package
|
162 |
|
|
|
163 |
|
|
2001-10-11 Fabrice Gautier
|
164 |
|
|
|
165 |
|
|
* include/hal_io.h: Add _STRING variants of I/O macros to allow
|
166 |
|
|
writing of consecutive items to the same registers.
|
167 |
|
|
|
168 |
|
|
2001-10-10 Fabrice Gautier
|
169 |
|
|
2001-10-10 Jonathan Larmour
|
170 |
|
|
|
171 |
|
|
* src/vectors.S: Don't use apostrophes in comments as it can confuse
|
172 |
|
|
preprocessors sometimes.
|
173 |
|
|
|
174 |
|
|
2001-10-05 Mark Salter
|
175 |
|
|
|
176 |
|
|
* src/vectors.S: Support separate stub stack.
|
177 |
|
|
(__syscall_tramp): Trampoline for GNUPRo syscalls (int $0x80).
|
178 |
|
|
|
179 |
|
|
* src/i386_stub.c (__is_bsp_syscall): New function.
|
180 |
|
|
|
181 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler): Add mem fault handling.
|
182 |
|
|
|
183 |
|
|
* cdl/hal_i386.cdl: Add hal_syscalls.c to compile list.
|
184 |
|
|
|
185 |
|
|
* src/hal_syscall.c: New file. Support GNUPro syscalls.
|
186 |
|
|
|
187 |
|
|
2001-10-01 Ian Campbell
|
188 |
|
|
|
189 |
|
|
* src/vectors.S: include CYGBLD_HAL_PLATFORM_H rather than
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
2001-09-05 Jonathan Larmour
|
193 |
|
|
|
194 |
|
|
* src/vectors.S (__default_interrupt_vsr): Adjust saved stack pointer
|
195 |
|
|
for the hardware and trampoline saved data.
|
196 |
|
|
(__default_exception_vsr): Ditto.
|
197 |
|
|
|
198 |
|
|
2001-08-31 Nick Garnett
|
199 |
|
|
|
200 |
|
|
* include/arch.inc: Clean up typo in stack switching macros.
|
201 |
|
|
|
202 |
|
|
2001-08-22 Nick Garnett
|
203 |
|
|
|
204 |
|
|
* include/hal_io.h: Added some macros to do in-memory data
|
205 |
|
|
accesses for memory mapped devices.
|
206 |
|
|
|
207 |
|
|
* include/hal_arch.h: Attempted to make some sense out of the
|
208 |
|
|
stack size macros.
|
209 |
|
|
|
210 |
|
|
* include/hal_intr.h: Extended VSR table to its full 256 entries.
|
211 |
|
|
|
212 |
|
|
* src/vectors.S: Lots of changes to incorporate SMP support.
|
213 |
|
|
|
214 |
|
|
* src/i386.ld: Added SMP related data, that must be shared between
|
215 |
|
|
RedBoot and applications, for example.
|
216 |
|
|
|
217 |
|
|
* include/hal_smp.h: Added this file to define SMP related HAL
|
218 |
|
|
interfaces.
|
219 |
|
|
|
220 |
|
|
* include/arch.inc: Added SMP support. This includes explicit SMP
|
221 |
|
|
macros and stack-switching macros that have single CPU and SMP
|
222 |
|
|
variants. Some SMP modifications to the lazy FPU switching code
|
223 |
|
|
leave it functional in the single CPU case, but do not yet work in
|
224 |
|
|
the SMP case. Lazy FPU switching is currently disabled for SMP in
|
225 |
|
|
the CDL.
|
226 |
|
|
|
227 |
|
|
* cdl/hal_i386.cdl: Added SMP configury.
|
228 |
|
|
|
229 |
|
|
2001-07-31 Jonathan Larmour
|
230 |
|
|
|
231 |
|
|
* src/hal_misc.c: Fix "implicit decl of diag_printf" warning.
|
232 |
|
|
|
233 |
|
|
2001-07-13 Nick Garnett
|
234 |
|
|
|
235 |
|
|
* include/arch.inc:
|
236 |
|
|
Added code to clear CR0:TS bit in hal_fpu_init macro. If this bit
|
237 |
|
|
is not clear, then the following finit might trap, and we don't
|
238 |
|
|
want that.
|
239 |
|
|
Added a compare to hal_fpu_push_exc macro for a zero fpu state
|
240 |
|
|
owner. The code was assuming the move set the condition codes,
|
241 |
|
|
which it doesn't.
|
242 |
|
|
|
243 |
|
|
2001-07-08 Jonathan Larmour
|
244 |
|
|
|
245 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_FPU_CONTEXT): Fix indirection to
|
246 |
|
|
fpucontext members.
|
247 |
|
|
|
248 |
|
|
2001-07-05 Jonathan Larmour
|
249 |
|
|
|
250 |
|
|
* include/hal_intr.h (HAL_RESTORE_INTERRUPTS): Don't change name
|
251 |
|
|
for clobbers.
|
252 |
|
|
|
253 |
|
|
2001-07-04 Jonathan Larmour
|
254 |
|
|
|
255 |
|
|
* include/hal_intr.h: Be pedantic about register constraint syntax
|
256 |
|
|
to satisfy newer compilers
|
257 |
|
|
* include/hal_io.h: Ditto
|
258 |
|
|
|
259 |
|
|
2001-06-13 Jonathan Larmour
|
260 |
|
|
|
261 |
|
|
* cdl/hal_i386.cdl: Default to enabling FPU support since gcc assumes
|
262 |
|
|
a hardware FPU anyway. Also default to lazy FPU switching since
|
263 |
|
|
this is cheapest in the modal case.
|
264 |
|
|
|
265 |
|
|
2001-05-01 Nick Garnett
|
266 |
|
|
|
267 |
|
|
[x86 branch]
|
268 |
|
|
* src/context.S: Fixed bug in hal_setjmp() that corrupted EBX.
|
269 |
|
|
|
270 |
|
|
2001-04-26 Nick Garnett
|
271 |
|
|
|
272 |
|
|
[x86 branch]
|
273 |
|
|
* include/hal_intr.h:
|
274 |
|
|
Tidied up mapping of exceptions to vectors. Added implementation
|
275 |
|
|
of HAL_VSR_SET_TO_ECOS_HANDLER().
|
276 |
|
|
|
277 |
|
|
2001-04-19 Nick Garnett
|
278 |
|
|
|
279 |
|
|
[x86 branch]
|
280 |
|
|
* src/vectors.S (__default_exception_vsr):
|
281 |
|
|
Disabled ROM monitor stack switching here. There are problems with
|
282 |
|
|
this that I do not have time to worry about now.
|
283 |
|
|
|
284 |
|
|
2001-03-30 Nick Garnett
|
285 |
|
|
|
286 |
|
|
[x86 branch]
|
287 |
|
|
* src/romboot.S: Added code to call video BIOS to initialize
|
288 |
|
|
display.
|
289 |
|
|
|
290 |
|
|
* src/vectors.S: Added code to copy data section from ROM to RAM
|
291 |
|
|
in ROM booted systems.
|
292 |
|
|
|
293 |
|
|
2001-03-16 Nick Garnett
|
294 |
|
|
|
295 |
|
|
[x86 branch]
|
296 |
|
|
* src/romboot.S:
|
297 |
|
|
* src/romboot.ld:
|
298 |
|
|
Added these files to build 256 byte realmode bootstrap at the top
|
299 |
|
|
of ROM.
|
300 |
|
|
(This is work in progress and is not yet complete.)
|
301 |
|
|
|
302 |
|
|
* cdl/hal_i386.cdl:
|
303 |
|
|
Added options for building a bootstrap ROM.
|
304 |
|
|
(This is work in progress and is not yet complete.)
|
305 |
|
|
|
306 |
|
|
* include/basetype.h:
|
307 |
|
|
Returned alignment to 32 bytes, now that I have discovered, the
|
308 |
|
|
hard way, why it was that value in the first place.
|
309 |
|
|
|
310 |
|
|
* src/i386.ld: Force alignment of tables to 32 bytes.
|
311 |
|
|
|
312 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_FPU_CONTEXT_SPACE): Fixed
|
313 |
|
|
compiler warning.
|
314 |
|
|
|
315 |
|
|
2001-03-14 Nick Garnett
|
316 |
|
|
|
317 |
|
|
[x86 branch]
|
318 |
|
|
* src/vectors.S:
|
319 |
|
|
Removed memory size stuff.
|
320 |
|
|
Moved BSS zero code here to avoid doing a procedure call. The
|
321 |
|
|
interrupt stack is in the BSS so zeroing it would blow the return
|
322 |
|
|
address away.
|
323 |
|
|
Moved interrupt stack to BSS.
|
324 |
|
|
|
325 |
|
|
* src/hal_misc.c: Removed hal_zero_bss(), hal_lsbit_index() and
|
326 |
|
|
hal_msbit_index() functions.
|
327 |
|
|
|
328 |
|
|
* include/hal_arch.h:
|
329 |
|
|
Replaced hal_[lm]sbit_index() functions with inline assembler
|
330 |
|
|
using the bsf and bsr instructions.
|
331 |
|
|
Added support for dynamic memory size finder.
|
332 |
|
|
|
333 |
|
|
* cdl/hal_i386.cdl:
|
334 |
|
|
Added interface CYGINT_HAL_I386_MEM_REAL_REGION_TOP.
|
335 |
|
|
|
336 |
|
|
2001-03-13 Nick Garnett
|
337 |
|
|
|
338 |
|
|
[x86 branch]
|
339 |
|
|
* src/vectors.S: Enabled FPU support.
|
340 |
|
|
Added FPU state save and restore macros to default exception and
|
341 |
|
|
interrupt VSRs.
|
342 |
|
|
Added __fpu_switch_vsr to perform lazy context switch of FPU
|
343 |
|
|
state.
|
344 |
|
|
Made use of i386reg_xxx definitions.
|
345 |
|
|
|
346 |
|
|
* src/context.S: Added FPU save and restore macros to thread
|
347 |
|
|
switch code. Made use of i386reg_xxx definitions.
|
348 |
|
|
|
349 |
|
|
* include/hal_arch.h: Added HAL_FPU_Context structure to contain
|
350 |
|
|
FPU state. Added code to HAL_THREAD_INIT_CONTEXT() to create
|
351 |
|
|
FPU context.
|
352 |
|
|
|
353 |
|
|
* include/i386.inc: Updated savestate format in line with hal_arch.h
|
354 |
|
|
|
355 |
|
|
* include/arch.inc: Added macros to implement FPU initialization,
|
356 |
|
|
save and restore for threads, exceptions and interrupts.
|
357 |
|
|
|
358 |
|
|
* cdl/hal_i386.cdl: Added initial FPU configuration options.
|
359 |
|
|
|
360 |
|
|
2001-03-09 Nick Garnett
|
361 |
|
|
|
362 |
|
|
[x86 branch]
|
363 |
|
|
* src/vectors.S:
|
364 |
|
|
Added support for use of interrupt stack, together with support
|
365 |
|
|
for running DSRs on it.
|
366 |
|
|
Added instrumentation support to default interrupt VSR.
|
367 |
|
|
Miscellaneous tidies to code and comments.
|
368 |
|
|
|
369 |
|
|
* src/context.S:
|
370 |
|
|
Rewrote context switch code to permit preservation of the
|
371 |
|
|
interrupt disable state of a thread. This is to support use of an
|
372 |
|
|
interrupt stack, calling DSRs on it and brings the i386 HAL in
|
373 |
|
|
line with other HALs.
|
374 |
|
|
|
375 |
|
|
* include/hal_intr.h:
|
376 |
|
|
Added HAL_INTERRUPT_STACK_CALL_PENDING_DSRS(),
|
377 |
|
|
HAL_INTERRUPT_STACK_BASE and HAL_INTERRUPT_STACK_TOP.
|
378 |
|
|
|
379 |
|
|
* include/i386.inc:
|
380 |
|
|
* include/hal_arch.h:
|
381 |
|
|
* src/i386_stub.c:
|
382 |
|
|
Changed naming of last two HAL_SavedRegisters fields.
|
383 |
|
|
Modified HAL_THREAD_INIT_CONTEXT() to match new context switch
|
384 |
|
|
code.
|
385 |
|
|
|
386 |
|
|
2001-03-08 Nick Garnett
|
387 |
|
|
|
388 |
|
|
[x86 branch]
|
389 |
|
|
* src/vectors.S: Eliminated some unnecessary code. Tidied up some
|
390 |
|
|
comments.
|
391 |
|
|
|
392 |
|
|
* include/hal_intr.h:
|
393 |
|
|
Moved common exception vector definitions here.
|
394 |
|
|
Moved CPU interrupt enable/disable macros here.
|
395 |
|
|
|
396 |
|
|
* include/hal_arch.h:
|
397 |
|
|
* src/i386_stub.c:
|
398 |
|
|
Converted arguments to hal_[g|s]et_gdb_registers() to CYG_ADDRWORD
|
399 |
|
|
from target_register_t.
|
400 |
|
|
|
401 |
|
|
* include/arch.inc:
|
402 |
|
|
Moved FPU control stuff here - this still needs a lot of work to
|
403 |
|
|
get running.
|
404 |
|
|
Moved A20 gate enable macro here. Since the A20 gate stuff is part
|
405 |
|
|
of all recent CPUs, this has become an architectural feature.
|
406 |
|
|
|
407 |
|
|
2001-03-06 Nick Garnett
|
408 |
|
|
|
409 |
|
|
[x86 branch]
|
410 |
|
|
* include/hal_arch.h: Added CYGARC_CACHED_ADDRESS() and friends.
|
411 |
|
|
|
412 |
|
|
2001-03-05 Nick Garnett
|
413 |
|
|
|
414 |
|
|
[x86 branch]
|
415 |
|
|
* src/hal_misc.c (hal_arch_default_isr): Restored diag_printf() in
|
416 |
|
|
here. Without the reference, RedBoot does not include anything
|
417 |
|
|
from infra/diag.cxx, does not call HAL_DIAG_INIT() and will not
|
418 |
|
|
mangle diagnostic output.
|
419 |
|
|
|
420 |
|
|
2001-03-02 Nick Garnett
|
421 |
|
|
|
422 |
|
|
[x86 branch]
|
423 |
|
|
Some of these changes here were initially made by Fabrice Gautier
|
424 |
|
|
and then liberally modified by me.
|
425 |
|
|
|
426 |
|
|
* src/vectors.S:
|
427 |
|
|
Removed Synthetic target support - this is moving to its own HAL.
|
428 |
|
|
Added __default_exception_vsr to capture exceptions.
|
429 |
|
|
Renamed hal_pc_generic_interrupt to __default_interrupt_vsr in
|
430 |
|
|
line with other HALs. Generally tidied and polished.
|
431 |
|
|
Added VSR entry trampolines.
|
432 |
|
|
Added interrupt stack definition.
|
433 |
|
|
|
434 |
|
|
* src/i386_stub.c: Removed a lot of unnecessary stuff.
|
435 |
|
|
|
436 |
|
|
* src/i386.ld: Added absolute defines for IDT, VSR and virtual
|
437 |
|
|
vector tables.
|
438 |
|
|
|
439 |
|
|
* src/hal_misc.c: Tidied up and added eCos exception support.
|
440 |
|
|
|
441 |
|
|
* src/context.S:
|
442 |
|
|
Modified to save and restore context in new format.
|
443 |
|
|
|
444 |
|
|
* include/i386_stub.h:
|
445 |
|
|
Added definition of HAL_STUB_PLATFORM_STUBS_FIXUP() macro.
|
446 |
|
|
|
447 |
|
|
* include/hal_io.h: Implemented these macros as inline assembler.
|
448 |
|
|
|
449 |
|
|
* include/hal_intr.h: Various changes to interrupt and VSR table
|
450 |
|
|
handling macros.
|
451 |
|
|
|
452 |
|
|
* include/hal_arch.h:
|
453 |
|
|
* include/i386.inc:
|
454 |
|
|
Redfined HAL_SavedRegisters structure and init macro. Now all
|
455 |
|
|
contexts consist of a full register set, vector number, and
|
456 |
|
|
PC,CS,EFLAGS as pushed by the hardware.
|
457 |
|
|
|
458 |
|
|
* include/basetype.h: Changed alignment to 4 bytes.
|
459 |
|
|
|
460 |
|
|
2000-11-01 Jonathan Larmour
|
461 |
|
|
|
462 |
|
|
* src/vectors.S (hal_pc_irq): Use correct register for ISR return value
|
463 |
|
|
when calling interrupt_end()
|
464 |
|
|
Thanks to Phil Hinton for reporting.
|
465 |
|
|
|
466 |
|
|
2000-10-20 Jonathan Larmour
|
467 |
|
|
|
468 |
|
|
* src/vectors.S (_start): call constructors after initializing
|
469 |
|
|
stub so that they can be debugged. Reported to work okay
|
470 |
|
|
by Fabrice Gautier.
|
471 |
|
|
|
472 |
|
|
2000-09-05 Jonathan Larmour
|
473 |
|
|
|
474 |
|
|
* include/basetype.h: Use 32-byte alignment
|
475 |
|
|
|
476 |
|
|
2000-08-14 Jonathan Larmour
|
477 |
|
|
|
478 |
|
|
From Fabrice Gautier:
|
479 |
|
|
* src/hal_misc.c (hal_zero_bss): Use __bss_end not _end
|
480 |
|
|
* src/i386.ld: Add __bss_end symbol to end of SECTION_bss
|
481 |
|
|
|
482 |
|
|
2000-06-21 Nick Garnett
|
483 |
|
|
|
484 |
|
|
* src/i386_stub.c: Removed use of CYG_LABEL_NAME() and added
|
485 |
|
|
underscore to _breakinst.
|
486 |
|
|
|
487 |
|
|
* src/i386.ld: Switched to new table definition mechanism.
|
488 |
|
|
|
489 |
|
|
* include/basetype.h: Removed definition of CYG_LABEL_NAME().
|
490 |
|
|
|
491 |
|
|
2000-06-08 Jesper Skov
|
492 |
|
|
|
493 |
|
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
494 |
|
|
Added.
|
495 |
|
|
|
496 |
|
|
2000-03-27 Jonathan Larmour
|
497 |
|
|
|
498 |
|
|
* include/basetype.h: Let cyg_halbool revert to the system default
|
499 |
|
|
(i.e. a word)
|
500 |
|
|
|
501 |
|
|
2000-03-24 Jesper Skov
|
502 |
|
|
|
503 |
|
|
* include/basetype.h: Define bool type since it's only 8 bits.
|
504 |
|
|
(cyg_halbool): always unsigned char.
|
505 |
|
|
|
506 |
|
|
2000-03-02 Jonathan Larmour
|
507 |
|
|
|
508 |
|
|
* src/hal_misc.c (cyg_hal_exception_handler): Comment out since
|
509 |
|
|
it's unimplemented
|
510 |
|
|
|
511 |
|
|
2000-02-16 Jesper Skov
|
512 |
|
|
|
513 |
|
|
* src/i386_stub.c: CYG_HAL_I386 -> CYGPKG_HAL_I386
|
514 |
|
|
|
515 |
|
|
2000-02-16 Jesper Skov
|
516 |
|
|
|
517 |
|
|
* cdl/hal_i386.cdl: remove fix mes.
|
518 |
|
|
|
519 |
|
|
2000-02-10 Nick Garnett
|
520 |
|
|
|
521 |
|
|
* include/hal_arch.h: Merged PC platform support changes
|
522 |
|
|
contributed by Patrick O'Grady (pjo)(patrick@softprocess.com).
|
523 |
|
|
|
524 |
|
|
* include/hal_intr.h: Moved Linux specific support out to its own
|
525 |
|
|
var_intr.h.
|
526 |
|
|
|
527 |
|
|
* src/context.S: Added FP switch code from pjo, suitably
|
528 |
|
|
protected.
|
529 |
|
|
|
530 |
|
|
* src/PKGconf.mak: Added i386_stub.c to COMPILE list.
|
531 |
|
|
|
532 |
|
|
* cdl/hal_i386.cdl: Added i386_stub.c to compile list.
|
533 |
|
|
|
534 |
|
|
* src/i386_stub.c:
|
535 |
|
|
* include/arch.inc: Files added.
|
536 |
|
|
|
537 |
|
|
* src/hal_misc.c: Added hal_zero_bss().
|
538 |
|
|
|
539 |
|
|
* src/vectors.S: Added PC support code.
|
540 |
|
|
|
541 |
|
|
2000-01-28 Gary Thomas
|
542 |
|
|
|
543 |
|
|
* src/i386.ld: Add support for network package.
|
544 |
|
|
|
545 |
|
|
2000-01-21 Jesper Skov
|
546 |
|
|
|
547 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_MASK, HAL_INTERRUPT_UNMASK):
|
548 |
|
|
Define.
|
549 |
|
|
|
550 |
|
|
(HAL_INTERRUPT_ACKNOWLEDGE):
|
551 |
|
|
(HAL_CLOCK_RESET):
|
552 |
|
|
Let acknowledge clear pending flag, but leave unblocking to
|
553 |
|
|
clients of the interrupt (i.e., RTC).
|
554 |
|
|
|
555 |
|
|
1999-12-02 John Dallaway
|
556 |
|
|
|
557 |
|
|
* cdl/hal_i386.cdl:
|
558 |
|
|
|
559 |
|
|
Use the token in custom rules.
|
560 |
|
|
|
561 |
|
|
1999-12-01 John Dallaway
|
562 |
|
|
|
563 |
|
|
* cdl/hal_i386.cdl:
|
564 |
|
|
|
565 |
|
|
Use the token in custom rules.
|
566 |
|
|
|
567 |
|
|
1999-11-04 John Dallaway
|
568 |
|
|
|
569 |
|
|
* cdl/hal_i386.cdl:
|
570 |
|
|
|
571 |
|
|
Output custom rule dependency information to .deps files in
|
572 |
|
|
the current directory.
|
573 |
|
|
|
574 |
|
|
Dispense with the need to create a 'src' sub-directory.
|
575 |
|
|
|
576 |
|
|
1999-11-01 Jesper Skov
|
577 |
|
|
|
578 |
|
|
* cdl/hal_i386.cdl: Added.
|
579 |
|
|
|
580 |
|
|
1999-10-25 Jonathan Larmour
|
581 |
|
|
|
582 |
|
|
* src/i386.ld: Add asterisks to input section names to make them more
|
583 |
|
|
tolerant of subtle differences
|
584 |
|
|
|
585 |
|
|
1999-10-05 Jesper Skov
|
586 |
|
|
From Andrew Lunn (lunn@ma.tech.ascom.ch)
|
587 |
|
|
* include/hal_arch.h (HAL_IDLE_THREAD_ACTION): Defined.
|
588 |
|
|
|
589 |
|
|
1999-05-14 Jesper Skov
|
590 |
|
|
PR 18956
|
591 |
|
|
* src/i386.ld: Fixed problem with rel_got.
|
592 |
|
|
Encode . in section name as __.
|
593 |
|
|
|
594 |
|
|
1999-05-13 Hugo Tyson
|
595 |
|
|
|
596 |
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack
|
597 |
|
|
(rather conservatively) before use.
|
598 |
|
|
|
599 |
|
|
1999-04-28 Bart Veer
|
600 |
|
|
|
601 |
|
|
* src/PKGconf.mak:
|
602 |
|
|
Remove the -n argument to tail, it does not appear to be required
|
603 |
|
|
on any supported host and causes problems with some
|
604 |
|
|
implementations of tail.
|
605 |
|
|
|
606 |
|
|
1999-04-14 Jonathan Larmour
|
607 |
|
|
|
608 |
|
|
* src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
|
609 |
|
|
But do define EXTRAS every time for the linker script
|
610 |
|
|
|
611 |
|
|
1999-04-08 John Dallaway
|
612 |
|
|
|
613 |
|
|
* src/*.ld: Use double underscore substitution for period
|
614 |
|
|
character in SECTION_* macro names (PR 19787)
|
615 |
|
|
|
616 |
|
|
1999-04-08 John Dallaway
|
617 |
|
|
|
618 |
|
|
* src/*.ld: Revised SECTION_* macro arguments to
|
619 |
|
|
avoid padded output sections (PR 19787)
|
620 |
|
|
|
621 |
|
|
1999-03-23 Jesper Skov
|
622 |
|
|
|
623 |
|
|
* include/hal_arch.h: Added stack values.
|
624 |
|
|
|
625 |
|
|
1999-03-22 Hugo Tyson
|
626 |
|
|
|
627 |
|
|
* include/hal_arch.h:
|
628 |
|
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
629 |
|
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
630 |
|
|
|
631 |
|
|
1999-03-22 Jesper Skov
|
632 |
|
|
|
633 |
|
|
* src/vectors.S:
|
634 |
|
|
* include/hal_intr.h:
|
635 |
|
|
Changed CYG_HAL_ to CYGPKG_HAL_
|
636 |
|
|
|
637 |
|
|
* include/hal_intr.h:
|
638 |
|
|
Include the hal_i386_linux header file.
|
639 |
|
|
|
640 |
|
|
1999-03-22 Jesper Skov
|
641 |
|
|
|
642 |
|
|
* include/hal_intr.h:
|
643 |
|
|
* include/hal_arch.h:
|
644 |
|
|
Cleaned up some FIX MEs.
|
645 |
|
|
|
646 |
|
|
1999-03-17 John Dallaway
|
647 |
|
|
|
648 |
|
|
* src/PKGconf.mak: Remove dependence on echo '-e' switch.
|
649 |
|
|
|
650 |
|
|
1999-03-16 Jesper Skov
|
651 |
|
|
|
652 |
|
|
* include/hal_intr.h:
|
653 |
|
|
Cleaned up macros.
|
654 |
|
|
Renamed hal_ to cyg_hal_.
|
655 |
|
|
|
656 |
|
|
1999-03-12 Jesper Skov
|
657 |
|
|
|
658 |
|
|
* include/hal_intr.h: Default contents of vector table changed.
|
659 |
|
|
|
660 |
|
|
1999-03-12 Gary Thomas
|
661 |
|
|
|
662 |
|
|
* include/hal_arch.h: Add definition of 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
|
663 |
|
|
|
664 |
|
|
1999-03-10 Jesper Skov
|
665 |
|
|
|
666 |
|
|
* include/hal_intr.h (HAL_INTERRUPT_IN_USE): Added.
|
667 |
|
|
|
668 |
|
|
1999-03-08 Nick Garnett
|
669 |
|
|
|
670 |
|
|
* src/i386.ld:
|
671 |
|
|
Added alignment before definition of __DEVTAB__.
|
672 |
|
|
|
673 |
|
|
1999-03-05 Gary Thomas
|
674 |
|
|
|
675 |
|
|
* src/i386.ld:
|
676 |
|
|
* src/PKGconf.mak: Clean up I/O package changes.
|
677 |
|
|
|
678 |
|
|
1999-03-04 Jonathan Larmour
|
679 |
|
|
|
680 |
|
|
* src/i386.ld:
|
681 |
|
|
Add INPUT(libextras.a), add libextras.a to GROUP() and include
|
682 |
|
|
new section for device driver table
|
683 |
|
|
|
684 |
|
|
1999-02-25 Nick Garnett
|
685 |
|
|
|
686 |
|
|
* src/i386.ld:
|
687 |
|
|
Removed alias for Cyg_Scheduler::sched_lock, since this is now
|
688 |
|
|
handled elsewhere.
|
689 |
|
|
|
690 |
|
|
1999-02-20 Jonathan Larmour
|
691 |
|
|
|
692 |
|
|
* include/hal_arch.h:
|
693 |
|
|
Rename deliver_exception -> cyg_hal_deliver_exception
|
694 |
|
|
|
695 |
|
|
* include/hal_intr.h:
|
696 |
|
|
Reorganise vector/interrupt/exception names according to purpose
|
697 |
|
|
QA improvements
|
698 |
|
|
|
699 |
|
|
* src/hal_misc.c:
|
700 |
|
|
Rename deliver_exception -> cyg_hal_deliver_exception
|
701 |
|
|
Rename exception_handler -> cyg_hal_exception_handler
|
702 |
|
|
|
703 |
|
|
1999-02-08 Jesper Skov
|
704 |
|
|
|
705 |
|
|
* include/hal_intr.h: Always allocate space for at least one
|
706 |
|
|
exception vector.
|
707 |
|
|
|
708 |
|
|
1999-02-05 John Dallaway
|
709 |
|
|
|
710 |
|
|
* src/i386.ld: Add LMA_EQ_VMA macro definition.
|
711 |
|
|
|
712 |
|
|
1999-01-29 Jesper Skov
|
713 |
|
|
PR 18966
|
714 |
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors): Added
|
715 |
|
|
cyg_hal_stop_constructors code.
|
716 |
|
|
|
717 |
|
|
1999-01-25 Jesper Skov
|
718 |
|
|
|
719 |
|
|
* src/i386.ld: Added rel.got section. Cleaned up a bit.
|
720 |
|
|
|
721 |
|
|
1999-01-22 Jesper Skov
|
722 |
|
|
|
723 |
|
|
* src/hal_misc.c: Moved external declarations into top-level
|
724 |
|
|
scope to avoid compiler warning.
|
725 |
|
|
|
726 |
|
|
1999-01-20 Jesper Skov
|
727 |
|
|
|
728 |
|
|
* include/hal_arch.h:
|
729 |
|
|
* src/context.S:
|
730 |
|
|
Added setjmp/longjmp support.
|
731 |
|
|
|
732 |
|
|
* src/hal_misc.c: Removed bogus setjmp/longjmp functions.
|
733 |
|
|
|
734 |
|
|
1999-01-20 Jesper Skov
|
735 |
|
|
|
736 |
|
|
* src/context.S:
|
737 |
|
|
* include/hal_arch.h:
|
738 |
|
|
* include/i386.inc: [added]
|
739 |
|
|
Rewrote the context switch code.
|
740 |
|
|
|
741 |
|
|
1999-01-20 Jesper Skov
|
742 |
|
|
|
743 |
|
|
* src/i386.ld (SECTION_bss): Added align statement.
|
744 |
|
|
|
745 |
|
|
1999-01-14 Jesper Skov
|
746 |
|
|
|
747 |
|
|
* src/hal_misc.c: Add bogus setjmp & longjmp functions to prevent
|
748 |
|
|
compiler error.
|
749 |
|
|
|
750 |
|
|
1999-01-12 Jesper Skov
|
751 |
|
|
|
752 |
|
|
* include/hal_intr.h: Made virtual timer the default.
|
753 |
|
|
|
754 |
|
|
1999-01-12 Jesper Skov
|
755 |
|
|
|
756 |
|
|
* include/hal_intr.h (HAL_CLOCK_LATENCY): Return the clock read
|
757 |
|
|
value.
|
758 |
|
|
|
759 |
|
|
1999-01-12 Jesper Skov
|
760 |
|
|
|
761 |
|
|
* include/hal_intr.h: Made all Linux stuff CYG_HAL_I386_LINUX
|
762 |
|
|
conditional.
|
763 |
|
|
|
764 |
|
|
* include/hal_cache.h: Added HAL_DCACHE_UNLOCK_ALL (empty) macro.
|
765 |
|
|
|
766 |
|
|
1999-01-12 Jesper Skov
|
767 |
|
|
|
768 |
|
|
* include/pkgconf/hal_i386.h: Added.
|
769 |
|
|
|
770 |
|
|
1999-01-11 Jesper Skov
|
771 |
|
|
|
772 |
|
|
* include/hal_arch.h: Fix HAL_SavedRegisters struct definition.
|
773 |
|
|
|
774 |
|
|
* include/hal_intr.h: Made interrupt enable/disable macros behave
|
775 |
|
|
more like the macros used for real HW CPUs.
|
776 |
|
|
|
777 |
|
|
1999-01-11 Jesper Skov
|
778 |
|
|
|
779 |
|
|
* include/hal_intr.h: Removed IN_OUT target conditional.
|
780 |
|
|
|
781 |
|
|
1999-01-11 Jesper Skov
|
782 |
|
|
|
783 |
|
|
* include/hal_intr.h:
|
784 |
|
|
* include/hal_io.h:
|
785 |
|
|
Cleaned up some more.
|
786 |
|
|
|
787 |
|
|
* include/hal_diag.h: Moved to i386/linux
|
788 |
|
|
|
789 |
|
|
* include/hal_arch.h:
|
790 |
|
|
* include/basetype.h:
|
791 |
|
|
Comment fix.
|
792 |
|
|
|
793 |
|
|
1999-01-08 Jesper Skov
|
794 |
|
|
|
795 |
|
|
* include/basetype.h (CYG_LABEL_NAME): Added.
|
796 |
|
|
|
797 |
|
|
1999-01-07 Jesper Skov
|
798 |
|
|
|
799 |
|
|
* include/hal_intr.h (HAL_CLOCK_INITIALIZE): Use _period_
|
800 |
|
|
argument.
|
801 |
|
|
Added CYG_VECTOR_ definitions.
|
802 |
|
|
Added choice for real/virtual time (no config yet).
|
803 |
|
|
|
804 |
|
|
1999-01-07 Jesper Skov
|
805 |
|
|
|
806 |
|
|
* src/vectors.S:
|
807 |
|
|
* src/hal_misc.c:
|
808 |
|
|
* src/context.S:
|
809 |
|
|
* include/hal_io.h:
|
810 |
|
|
* include/hal_cache.h:
|
811 |
|
|
* include/hal_arch.h:
|
812 |
|
|
* include/basetype.h:
|
813 |
|
|
* include/hal_diag.h:
|
814 |
|
|
Changed comment style & removed tabs.
|
815 |
|
|
|
816 |
|
|
1999-01-07 Jesper Skov
|
817 |
|
|
|
818 |
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors): Match new link
|
819 |
|
|
behavior.
|
820 |
|
|
|
821 |
|
|
1999-01-07 Jesper Skov
|
822 |
|
|
|
823 |
|
|
* src/vectors.S: Added. Simple stub for now.
|
824 |
|
|
|
825 |
|
|
* src/crt_end.c:
|
826 |
|
|
* src/crtbegin.c:
|
827 |
|
|
Removed.
|
828 |
|
|
|
829 |
|
|
* src/PKGconf.mak:
|
830 |
|
|
* include/hal_intr.h:
|
831 |
|
|
Cleaned up.
|
832 |
|
|
|
833 |
|
|
1999-01-06 Jesper Skov
|
834 |
|
|
|
835 |
|
|
* src/crtbegin.c:
|
836 |
|
|
* src/crt_end.c:
|
837 |
|
|
* include/hal_intr.h:
|
838 |
|
|
* include/hal_diag.h:
|
839 |
|
|
* include/hal_arch.h:
|
840 |
|
|
Fixed remaining warnings.
|
841 |
|
|
|
842 |
|
|
* include/hal_intr.h (HAL_CLOCK_INITIALIZE): Changed timeout
|
843 |
|
|
value.
|
844 |
|
|
|
845 |
|
|
1999-01-06 Jesper Skov
|
846 |
|
|
|
847 |
|
|
* include/hal_intr.h: Move extern declarations into global scope,
|
848 |
|
|
extern"C" doesn't work in sub-scopes.
|
849 |
|
|
* include/hal_arch.h: Use CYG_MACRO_START/END, not HAL_...
|
850 |
|
|
|
851 |
|
|
1998-12-18 Jesper Skov
|
852 |
|
|
|
853 |
|
|
* include/hal_intr.h:
|
854 |
|
|
* include/hal_arch.h:
|
855 |
|
|
Fixed compiler warnings.
|
856 |
|
|
Use CYG_MACRO_START/END.
|
857 |
|
|
Added new HAL macros.
|
858 |
|
|
|
859 |
|
|
Wed Dec 9 14:09:47 GMT 1998 Chris Provenzano
|
860 |
|
|
|
861 |
|
|
* src/crtbegin.c: Added.
|
862 |
|
|
* src/crt_begin.c: Removed.
|
863 |
|
|
* src/PKGconf.mak: Compile crtbegin.c to create the correct file
|
864 |
|
|
for linking. This is to turn on init-priority for i386 linux target.
|
865 |
|
|
|
866 |
|
|
The default i386 linker script looks for the file named crtbegin.o
|
867 |
|
|
and then looks for the .ctors section within that file to
|
868 |
|
|
determine where to put the sorted constructors.
|
869 |
|
|
|
870 |
|
|
Mon Nov 9 15:18:11 GMT 1998 Chris Provenzano
|
871 |
|
|
|
872 |
|
|
Initial i386 linux port.
|
873 |
|
|
|
874 |
|
|
//===========================================================================
|
875 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
876 |
|
|
// -------------------------------------------
|
877 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
878 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
879 |
|
|
//
|
880 |
|
|
// This program is free software; you can redistribute it and/or modify
|
881 |
|
|
// it under the terms of the GNU General Public License as published by
|
882 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
883 |
|
|
// later version.
|
884 |
|
|
//
|
885 |
|
|
// This program is distributed in the hope that it will be useful, but
|
886 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
887 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
888 |
|
|
// General Public License for more details.
|
889 |
|
|
//
|
890 |
|
|
// You should have received a copy of the GNU General Public License
|
891 |
|
|
// along with this program; if not, write to the
|
892 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
893 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
894 |
|
|
// -------------------------------------------
|
895 |
|
|
// ####GPLCOPYRIGHTEND####
|
896 |
|
|
//===========================================================================
|