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