📄 changelog
字号:
2005-09-19 David Vrabel <dvrabel@arcom.com>
* src/redboot_linux_exec.c: No need to include pcmb_serial.h.
2005-07-18 David Vrabel <dvrabel@arcom.com>
* include/hal_arch.h: #define CYGARC_VIRTUAL_ADDRESS.
2005-04-22 David Vrabel <dvrabel@arcom.com>
* cdl/hal_i386.cdl (CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS): Don't
require CYGINT_HAL_I386_PCMB_SCREEN_SUPPORT so we can use the exec
command on platforms without a screen.
2005-04-21 David Vrabel <dvrabel@arcom.com>
* src/i386_stub.c: Rename the local memcpy function to
local_memcpy so it doesn't conflict with later GCC's built-in
memcpy.
* src/i386.ld: Add .2ram section.
2005-04-17 Andrew Lunn <andrew.lunn@ascom.ch>
* cdl/hal_i386.cdl:
* src/redboot_linux_exec.c: Moved the RedBoot command "exec" from
the pc package to this generic package.
2005-03-21 Bart Veer <bartv@ecoscentric.com>
* src/vectors.S, src/hal_misc.c, cdl/hal_i386.cdl: add profiling
support.
2004-04-22 Jani Monoses <jani@iv.ro>
* cdl/hal_i386.cdl :
Invoke tail with stricter syntax that works in latest coreutils.
2003-12-08 Gary Thomas <gary@mlbassoc.com>
* src/hal_misc.c: Only declare __mem_fault_handler if GDB stubs
are included (and it will be used).
2003-07-23 Nick Garnett <nickg@balti.calivar.com>
* include/hal_intr.h: Tidied up some compiler warnings.
2003-04-10 Nick Garnett <nickg@balti.calivar.com>
* src/i386.ld:
Added libsupc++.a to GROUP() directive for GCC versions later than
3.0.
2003-01-31 Mark Salter <msalter@redhat.com>
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
handle exit.
2002-11-28 Nick Garnett <nickg@ecoscentric.com>
* src/vectors.S: Added GRUB startup option to tests for IDT
initialization. Added call to breakpoint() before cyg_start(),
controlled by CYGDBG_HAL_DEBUG_GDB_INITIAL_BREAK.
2002-05-17 Nick Garnett <nickg@redhat.com>
* src/vectors.S: Rearranged interrupt stack definitions to make it
work correctly in SMP case. The #ifdefs were improperly nested.
2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
* src/vectors.S:
Don't use .file as it can confuse debugging since the .file
doesn't contain the path and therefore the debugger will never
know where it lives! This conflicts with using -Wa,--gstabs.
2002-04-15 Jonathan Larmour <jlarmour@redhat.com>
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
__do_syscall.
2002-01-08 Nick Garnett <nickg@redhat.com>
* include/hal_arch.h:
Removed consideration of lazy FPU context switching in determining
the size of CYGNUM_HAL_STACK_CONTEXT_SIZE, since it does not
actually make any difference - and previously resulted in too
small a value for CYGNUM_HAL_STACK_SIZE_MINIMUM.
2002-01-07 Nick Garnett <nickg@redhat.com>
* src/vectors.S (__fpu_switch_vsr): Fixed register usage bug.
2001-12-19 Mark Salter <msalter@redhat.com>
* include/arch.inc: Use fnsave instead of fsave.
* src/vectors.S: Ditto.
2001-12-11 Nick Garnett <nickg@redhat.com>
* src/i386.ld (SECTION_rel__got): Added entry for
.rel.gnu.linkonce* that more recent versions of the compiler seem
to generate.
2001-12-07 Jonathan Larmour <jlarmour@redhat.com>
* src/i386.ld: Add missing close bracket.
2001-12-06 Jonathan Larmour <jlarmour@redhat.com>
* src/i386.ld: Add .rel.text and .rel.data sections to avoid
linker warnings, which can cause the linker to then get confused.
(From nickc)
2001-11-21 Mark Salter <msalter@redhat.com>
* src/i386_stub.c (__do_read_msr): Add mem_fault handling.
(__do_write_msr): Ditto.
2001-10-19 Ian Campbell <icampbell@arcom.co.uk>
* include/hal_cache.h: Provide HAL_DCACHE_IS_ENABLED and
HAL_ICACHE_IS_ENABLED macros.
2001-10-15 Mark Salter <msalter@redhat.com>
* src/i386_stub.c (hal_get_gdb_registers): Save idt/gdt in GDB regs.
({put,get}_register_as_bytes): Support idt/gdt.
2001-10-12 Mark Salter <msalter@redhat.com>
* include/i386_stub.h: Add support for FPU and other regs.
* src/i386_stub.c: Ditto.
* src/vectors.S: Add SSE support.
* include/i386.inc: Ditto.
* include/arch.inc: Ditto.
* include/hal_arch.h: Add SSE state to HAL_FPU_Context.
* cdl/hal_i386.cdl: Add CYGHWR_HAL_I386_PENTIUM and
CYGHWR_HAL_I386_PENTIUM_SSE.
* cdl/hal_i386.cdl: Add CYGHWR_HAL_I386_PENTIUM_GDB_REGS.
2001-10-08 Ian Campbell <icampbell@arcom.co.uk>
* cdl/hal_i386.cdl: move CYGBLD_BUILD_I386_ROMBOOT and
CYGBLD_BUILD_REDBOOT_BIN_ROM to pc package.
* src/romboot.S: Moved to pc package
* src/romboot.ld: Moved to pc package
2001-10-11 Fabrice Gautier <Fabrice_Gautier@sdesigns.com>
* include/hal_io.h: Add _STRING variants of I/O macros to allow
writing of consecutive items to the same registers.
2001-10-10 Fabrice Gautier <Fabrice_Gautier@sdesigns.com>
2001-10-10 Jonathan Larmour <jlarmour@redhat.com>
* src/vectors.S: Don't use apostrophes in comments as it can confuse
preprocessors sometimes.
2001-10-05 Mark Salter <msalter@redhat.com>
* src/vectors.S: Support separate stub stack.
(__syscall_tramp): Trampoline for GNUPRo syscalls (int $0x80).
* src/i386_stub.c (__is_bsp_syscall): New function.
* src/hal_misc.c (cyg_hal_exception_handler): Add mem fault handling.
* cdl/hal_i386.cdl: Add hal_syscalls.c to compile list.
* src/hal_syscall.c: New file. Support GNUPro syscalls.
2001-10-01 Ian Campbell <icampbell@arcom.co.uk>
* src/vectors.S: include CYGBLD_HAL_PLATFORM_H rather than
<pkgconf/hal_i386_pc.h>
2001-09-05 Jonathan Larmour <jlarmour@redhat.com>
* src/vectors.S (__default_interrupt_vsr): Adjust saved stack pointer
for the hardware and trampoline saved data.
(__default_exception_vsr): Ditto.
2001-08-31 Nick Garnett <nickg@redhat.com>
* include/arch.inc: Clean up typo in stack switching macros.
2001-08-22 Nick Garnett <nickg@redhat.com>
* include/hal_io.h: Added some macros to do in-memory data
accesses for memory mapped devices.
* include/hal_arch.h: Attempted to make some sense out of the
stack size macros.
* include/hal_intr.h: Extended VSR table to its full 256 entries.
* src/vectors.S: Lots of changes to incorporate SMP support.
* src/i386.ld: Added SMP related data, that must be shared between
RedBoot and applications, for example.
* include/hal_smp.h: Added this file to define SMP related HAL
interfaces.
* include/arch.inc: Added SMP support. This includes explicit SMP
macros and stack-switching macros that have single CPU and SMP
variants. Some SMP modifications to the lazy FPU switching code
leave it functional in the single CPU case, but do not yet work in
the SMP case. Lazy FPU switching is currently disabled for SMP in
the CDL.
* cdl/hal_i386.cdl: Added SMP configury.
2001-07-31 Jonathan Larmour <jlarmour@redhat.com>
* src/hal_misc.c: Fix "implicit decl of diag_printf" warning.
2001-07-13 Nick Garnett <nickg@redhat.com>
* include/arch.inc:
Added code to clear CR0:TS bit in hal_fpu_init macro. If this bit
is not clear, then the following finit might trap, and we don't
want that.
Added a compare to hal_fpu_push_exc macro for a zero fpu state
owner. The code was assuming the move set the condition codes,
which it doesn't.
2001-07-08 Jonathan Larmour <jlarmour@redhat.com>
* include/hal_arch.h (HAL_THREAD_INIT_FPU_CONTEXT): Fix indirection to
fpucontext members.
2001-07-05 Jonathan Larmour <jlarmour@redhat.com>
* include/hal_intr.h (HAL_RESTORE_INTERRUPTS): Don't change name
for clobbers.
2001-07-04 Jonathan Larmour <jlarmour@redhat.com>
* include/hal_intr.h: Be pedantic about register constraint syntax
to satisfy newer compilers
* include/hal_io.h: Ditto
2001-06-13 Jonathan Larmour <jlarmour@redhat.com>
* cdl/hal_i386.cdl: Default to enabling FPU support since gcc assumes
a hardware FPU anyway. Also default to lazy FPU switching since
this is cheapest in the modal case.
2001-05-01 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/context.S: Fixed bug in hal_setjmp() that corrupted EBX.
2001-04-26 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* include/hal_intr.h:
Tidied up mapping of exceptions to vectors. Added implementation
of HAL_VSR_SET_TO_ECOS_HANDLER().
2001-04-19 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/vectors.S (__default_exception_vsr):
Disabled ROM monitor stack switching here. There are problems with
this that I do not have time to worry about now.
2001-03-30 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/romboot.S: Added code to call video BIOS to initialize
display.
* src/vectors.S: Added code to copy data section from ROM to RAM
in ROM booted systems.
2001-03-16 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/romboot.S:
* src/romboot.ld:
Added these files to build 256 byte realmode bootstrap at the top
of ROM.
(This is work in progress and is not yet complete.)
* cdl/hal_i386.cdl:
Added options for building a bootstrap ROM.
(This is work in progress and is not yet complete.)
* include/basetype.h:
Returned alignment to 32 bytes, now that I have discovered, the
hard way, why it was that value in the first place.
* src/i386.ld: Force alignment of tables to 32 bytes.
* include/hal_arch.h (HAL_THREAD_INIT_FPU_CONTEXT_SPACE): Fixed
compiler warning.
2001-03-14 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/vectors.S:
Removed memory size stuff.
Moved BSS zero code here to avoid doing a procedure call. The
interrupt stack is in the BSS so zeroing it would blow the return
address away.
Moved interrupt stack to BSS.
* src/hal_misc.c: Removed hal_zero_bss(), hal_lsbit_index() and
hal_msbit_index() functions.
* include/hal_arch.h:
Replaced hal_[lm]sbit_index() functions with inline assembler
using the bsf and bsr instructions.
Added support for dynamic memory size finder.
* cdl/hal_i386.cdl:
Added interface CYGINT_HAL_I386_MEM_REAL_REGION_TOP.
2001-03-13 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/vectors.S: Enabled FPU support.
Added FPU state save and restore macros to default exception and
interrupt VSRs.
Added __fpu_switch_vsr to perform lazy context switch of FPU
state.
Made use of i386reg_xxx definitions.
* src/context.S: Added FPU save and restore macros to thread
switch code. Made use of i386reg_xxx definitions.
* include/hal_arch.h: Added HAL_FPU_Context structure to contain
FPU state. Added code to HAL_THREAD_INIT_CONTEXT() to create
FPU context.
* include/i386.inc: Updated savestate format in line with hal_arch.h
* include/arch.inc: Added macros to implement FPU initialization,
save and restore for threads, exceptions and interrupts.
* cdl/hal_i386.cdl: Added initial FPU configuration options.
2001-03-09 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/vectors.S:
Added support for use of interrupt stack, together with support
for running DSRs on it.
Added instrumentation support to default interrupt VSR.
Miscellaneous tidies to code and comments.
* src/context.S:
Rewrote context switch code to permit preservation of the
interrupt disable state of a thread. This is to support use of an
interrupt stack, calling DSRs on it and brings the i386 HAL in
line with other HALs.
* include/hal_intr.h:
Added HAL_INTERRUPT_STACK_CALL_PENDING_DSRS(),
HAL_INTERRUPT_STACK_BASE and HAL_INTERRUPT_STACK_TOP.
* include/i386.inc:
* include/hal_arch.h:
* src/i386_stub.c:
Changed naming of last two HAL_SavedRegisters fields.
Modified HAL_THREAD_INIT_CONTEXT() to match new context switch
code.
2001-03-08 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/vectors.S: Eliminated some unnecessary code. Tidied up some
comments.
* include/hal_intr.h:
Moved common exception vector definitions here.
Moved CPU interrupt enable/disable macros here.
* include/hal_arch.h:
* src/i386_stub.c:
Converted arguments to hal_[g|s]et_gdb_registers() to CYG_ADDRWORD
from target_register_t.
* include/arch.inc:
Moved FPU control stuff here - this still needs a lot of work to
get running.
Moved A20 gate enable macro here. Since the A20 gate stuff is part
of all recent CPUs, this has become an architectural feature.
2001-03-06 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* include/hal_arch.h: Added CYGARC_CACHED_ADDRESS() and friends.
2001-03-05 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
* src/hal_misc.c (hal_arch_default_isr): Restored diag_printf() in
here. Without the reference, RedBoot does not include anything
from infra/diag.cxx, does not call HAL_DIAG_INIT() and will not
mangle diagnostic output.
2001-03-02 Nick Garnett <nickg@cygnus.co.uk>
[x86 branch]
Some of these changes here were initially made by Fabrice Gautier
and then liberally modified by me.
* src/vectors.S:
Removed Synthetic target support - this is moving to its own HAL.
Added __default_exception_vsr to capture exceptions.
Renamed hal_pc_generic_interrupt to __default_interrupt_vsr in
line with other HALs. Generally tidied and polished.
Added VSR entry trampolines.
Added interrupt stack definition.
* src/i386_stub.c: Removed a lot of unnecessary stuff.
* src/i386.ld: Added absolute defines for IDT, VSR and virtual
vector tables.
* src/hal_misc.c: Tidied up and added eCos exception support.
* src/context.S:
Modified to save and restore context in new format.
* include/i386_stub.h:
Added definition of HAL_STUB_PLATFORM_STUBS_FIXUP() macro.
* include/hal_io.h: Implemented these macros as inline assembler.
* include/hal_intr.h: Various changes to interrupt and VSR table
handling macros.
* include/hal_arch.h:
* include/i386.inc:
Redfined HAL_SavedRegisters structure and init macro. Now all
contexts consist of a full register set, vector number, and
PC,CS,EFLAGS as pushed by the hardware.
* include/basetype.h: Changed alignment to 4 bytes.
2000-11-01 Jonathan Larmour <jlarmour@redhat.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -