📄 changelog
字号:
2000-03-13 Jesper Skov <jskov@redhat.com> Case 103356 * include/hal_intr.h (HAL_CLOCK_RESET): Add to decrementer instead of storing, thus reducing time skew somewhat.2000-03-02 Jesper Skov <jskov@redhat.com> * src/vectors.S: Leave vectors for SIM. * include/hal_intr.h: Clean up interrupt macros.2000-03-01 Jonathan Larmour <jlarmour@redhat.co.uk> * cdl/hal_powerpc.cdl: If including stubs, default to copying vectors * include/ppc_stub.h: Make C++ safe2000-03-01 Jesper Skov <jskov@redhat.com> * cdl/hal_powerpc.cdl: CYGSEM_HAL_USE_ROM_MONITOR precludes CYGSEM_HAL_POWERPC_COPY_VECTORS.2000-02-29 Gary Thomas <gthomas@cygnus.co.uk> * src/vectors.S (_start): Actually copy exception vectors if "copy vectors" selected and not running from ROM (useful if booting using PPCbug).2000-02-28 Jesper Skov <jskov@redhat.com> * cdl/hal_powerpc.cdl: Add copy vectors option. * src/vectors.S: Leave out vectors if they are not used. Also clean up r1/sp usage. * include/arch.inc: CYGPKG_HAL_POWERPC_MPC603 -> CYGPKG_HAL_POWERPC_PPC603 CR 902165-CR Ensure proper switch to interrupt stack for execution of DSRs: * src/vectors.S: Leave interrupt enable in exception handling to interrupt_end code. restore_state and hal_interrupt_stack_call_pending_DSRs updated to use interupt macros. * src/context.S: Restore interrupt state on context load. * include/arch.inc: Added interrupt macros. * include/hal_arch.h: Init thread struct with interrupt setting.2000-02-25 Jesper Skov <jskov@redhat.com> * src/vectors.S: * include/ppc_regs.h: Mangle MSR symbols and remove CYG_MSR_NO_INTS.2000-02-22 Jesper Skov <jskov@redhat.com> * src/vectors.S: * src/hal_mk_defs.c: * include/pkgconf/hal_powerpc.h: * cdl/hal_powerpc.cdl: * include/hal_arch.h: Added option for stack frame debug walls. * src/context.S: * src/hal_mk_defs.c: * include/hal_arch.h: Oops. hal_jmp_buf should be an array, or callers will copy-on-call.2000-02-21 Jesper Skov <jskov@redhat.com> * src/vectors.S: Added context_size marker. * include/hal_intr.h: * src/hal_mk_defs.c: * src/context.S: * src/vectors.S: * src/PKGconf.mak: * cdl/hal_powerpc.cdl: Added autogenerated assembly header with computed structure offsets like in ARM HAL. Changed setjmp code to use generated offsets. Made the file public to allow variant/arch sharing. Use auto-created offsets for saving/restoring exception frames. 2000-02-16 Jesper Skov <jskov@redhat.com> * cdl/hal_powerpc.cdl: removed fix me2000-02-11 Jesper Skov <jskov@redhat.com> * include/hal_cache.h: * include/hal_mem.h: Moved memory mapping definition to new file. * include/hal_cache.h: Deleted 60x macros. * src/hal_misc.c: Moved MMU functions to variant files. * src/hal_intr.c (hal_IRQ_init): Moved code to MPC8xx variant directory. * include/hal_intr.h: Added hal_variant_IRQ_init declaration. * tests/PKGconf.mak: * tests/intr0.c: * cdl/hal_powerpc.cdl: Moved intr0 test to MPC8xx variant directory.2000-02-10 Jesper Skov <jskov@redhat.com> * include/hal_intr.h: Added HAL_VSR_SET_TO_ECOS_HANDLER * src/vectors.S: Renamed default VSR handlers.2000-02-07 Jesper Skov <jskov@redhat.com> * src/vectors.S: Cleaned up vector code a bit. Leave vector initialization to variant code. Add a bit of text explaining why exception code was changed. Get rid of STARTUP_STUBS conditions. * src/powerpc.ld: VSR table resides at fixed address. * src/hal_misc.c: Fixed compiler warning. * include/pkgconf/hal_powerpc.h: Add variant option. Include variant headers. * include/ppc_regs.h: * include/hal_intr.h: * include/hal_cache.h: Moved variant definitions into new variant header files. * cdl/hal_powerpc.cdl: Add interface for CPU variants.2000-02-03 Jesper Skov <jskov@redhat.com> * tests/intr0.c: * tests/PKGconf.mak: * include/hal_cache.h: * include/hal_intr.h: * include/ppc_regs.h: * include/ppc.inc: * src/hal_intr.c: * src/hal_misc.c: * src/ppc_stub.c: * src/vectors.S: CYG_HAL_POWERPC_x->CYGPKG_... 2000-01-26 Jesper Skov <jskov@redhat.com> * include/hal_cache.h: Include plf_cache.h * src/hal_misc.c: Moved cache init control settings to plf_cache.h2000-01-24 Jesper Skov <jskov@cygnus.co.uk> * src/hal_misc.c: Depend on CYGSEM_HAL_ROM_MONITOR instead of CYG_HAL_ROM_MONITOR.2000-01-19 Hugo Tyson <hmt@cygnus.co.uk> * cdl/*.cdl: Add descriptions to a number of options &c which were lacking same, also tidied up other typos as noticed en passant.1999-12-02 John Dallaway <jld@cygnus.co.uk> * cdl/hal_powerpc.cdl: Use the <PACKAGE> token in custom rules.1999-12-01 John Dallaway <jld@cygnus.co.uk> * cdl/hal_powerpc.cdl: Use the <PREFIX> token in custom rules.1999-11-04 John Dallaway <jld@cygnus.co.uk> * cdl/hal_powerpc.cdl: Output custom rule dependency information to .deps files in the current directory. Dispense with the need to create a 'src' sub-directory.1999-11-03 John Dallaway <jld@cygnus.co.uk> * cdl/hal_powerpc.cdl: Define build options.1999-09-28 Jesper Skov <jskov@cygnus.co.uk> * tests/intr0.c: Added some more debug output.1999-09-23 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/hal_misc.c (cyg_hal_exception_handler): Catch exceptions generated from within the GDB stub so we can recover from bad memory accesses Also part of the fix for case 1021041999-09-23 Jesper Skov <jskov@cygnus.co.uk> Case 102104 * include/hal_cache.h (HAL_ICACHE_SYNC): Invalidate I cache.1999-09-06 Jesper Skov <jskov@cygnus.co.uk> * src/hal_misc.c (hal_null_call): * src/vectors.S: Trap calls to address 0. 1999-09-01 Gary Thomas <gthomas@cygnus.co.uk> * src/hal_misc.c: Clean up list of included files. <hal.h> now provides target and platform specifics. * src/hal_intr.c: CYGFUN_HAL_COMMON_KERNEL_SUPPORT should only be defined if CYGPKG_KERNEL is defined. This needs to be fixed in a more generic fashion when full CDL becomes available. * src/vectors.S: Exception and interrupt handling were enabling CPU interrupts when it wasn't safe nor warranted.1999-08-16 Jesper Skov <jskov@cygnus.co.uk> From Bob Koninckx <bob.koninckx@mail.mech.kuleuven.ac.be> * src/ppc_stub.c (__clear_single_step): Clear irq_state to prevent interrupt avalanche.1999-06-29 Hugo Tyson <hmt@cygnus.co.uk> * include/hal_intr.h (CYGNUM_HAL_EXCEPTION_DATA_ACCESS): Define this for handling MACHINE_CHECK if an MPC860 - it never generates ISI nor DSI exceptions, only machine check. This allows libc to catch SEGVs from this unexpected quarter.1999-06-28 Hugo Tyson <hmt@cygnus.co.uk> * include/ppc_regs.h: Add proper definitions of timebase regs. * tests/intr0.c: Add some useful debugging printouts and recording of state, and make more platform-portable; the rate of PTA is not always 1:32 wrt the timebase.1999-06-27 Gary Thomas <gthomas@cygnus.co.uk> * src/vectors.S (_start): Call platform dependent IRQ setup (see next note). * src/hal_intr.c (hal_IRQ_init): New platform dependent function used to setup whatever is necessary to handle interrupts. Add basic "wiring" of CPM to SIU interrupts. * include/hal_intr.h: Fix CPM interrupt macros - control register is 32 bits, not 16.1999-06-24 Jesper Skov <jskov@cygnus.co.uk> * misc/CPUMask8xx.c: Added.1999-06-24 Hugo Tyson <hmt@cygnus.co.uk> * src/hal_misc.c (cyg_hal_exception_handler): If the decrementer has underflowed when we are returning from an exception, then we reset it here; this is harmless if all is well, and required if the QUICC-equipped MPC860 is getting confused about interrupts following an exception. Only in QUICC configurations.1999-06-22 Hugo Tyson <hmt@cygnus.co.uk> * src/vectors.S (_start): Support breaking back into the stub ROM when we see a breakpoint, if RAM start and RAM-based vectors for the stub. Rather than using a direct jump, instead skip copying the program exception vectors - leave the stub's vec in place. Controlled by CYGPRI_STUBROM_HAS_RAM_VECTORS, which varies from platform to platform.1999-06-18 Hugo Tyson <hmt@cygnus.co.uk> * src/hal_misc.c (hal_enable_caches): Change the configuration, the better to accommodate differing platform requirements viz a viz cache enabling and so on.1999-06-17 Hugo Tyson <hmt@cygnus.co.uk> * src/vectors.S (CYG_MSR): define correctly for copying vectors, even if ROM start. Complete system init for ROM start.1999-06-15 Hugo Tyson <hmt@cygnus.co.uk> * include/ppc.inc: Add definitions of FUNC_START and FUNC_END. They are needed by platform code. * src/vectors.S: Remove definition of FUNC_START.1999-06-11 Hugo Tyson <hmt@cygnus.co.uk> * src/vectors.S (_start): remove some platform-conditional initialization code; it is now in hal_hardware_init in the platform HAL. * src/hal_misc.c: remove very-platform-conditional definition of memory descriptor table - it is now in platform HALs. * include/ppc_regs.h: simplify definition of CYGARC_REG_IMM_BASE. * include/hal_cache.h (CYGARC_MEMDESC_CACHE): ...and other macros... add support for external definitions of memory descriptor table used in platform-specific initialization of MMU.1999-06-10 Hugo Tyson <hmt@cygnus.co.uk> * src/vectors.S (_start): Add better support for various startup options, including CygMon loading. * src/PKGconf.mak (COMPILE): remove quicc_smc.c; it has been reorganized and renamed into the FADS component. * include/quicc_smc.h, src/ppc_860.h, src/quicc_smc.c: removed; reorganized and renamed into the FADS component. * src/hal_misc.c (hal_idle_thread_action): Add some useful debugging for interrupt/clock of the MBX860/PPC860; normally disabled, so no effect on code. * include/ppc_regs.h: Different default value for CYGARC_REG_IMM_BASE if MBX board (ie. the way CygMon sets it up). This is a temporary measure.1999-06-08 Jesper Skov <jskov@cygnus.co.uk> * include/hal_intr.h: * src/vectors.S (hal_vsr_table): * src/hal_misc.c (hal_default_decrementer_isr): Use NOP default ISR for decrementer. Fix hal_intr macros. 1999-06-04 Jesper Skov <jskov@cygnus.co.uk> PR 20146 * src/ppc_860.h: Added padding to some structures, reported by Jean-Dominique Orvoen (orvoen@email.enst.fr)1999-05-26 Jesper Skov <jskov@cygnus.co.uk> * include/hal_cache.h (HAL_DCACHE_LOCK): Fixed asm constraint.1999-05-25 Jesper Skov <jskov@cygnus.co.uk> * include/hal_intr.h: * src/vectors.S (hal_interrupt_stack_call_pending_DSRs): Added call_pending_DSR magic.1999-05-21 Hugo Tyson <hmt@cygnus.co.uk> * include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and HAL_INTERRUPT_STACK_TOP so that stack usage macros in kernel/.../stackmon.hxx can work. * src/vectors.S (cyg_interrupt_stack_base): Define this symbol for the interrupt stack and its friend for the stack top so that we can publish them with nice names.1999-05-13 Hugo Tyson <hmt@cygnus.co.uk> * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack (rather conservatively) before use.1999-04-28 Bart Veer <bartv@cygnus.co.uk> * src/PKGconf.mak: Remove the -n argument to tail, it does not appear to be required on any supported host and causes problems with some implementations of tail.1999-04-19 Jesper Skov <jskov@cygnus.co.uk> PR 19861 * src/vectors.S (_start): Rewrote the hal_zero_bss code in assembly. When compiling with -O0 the C function accesses the previous stack frame upon return, causing a crash.1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/powerpc.ld: Define __bss_start/__bss_end around the BSS, and __sbss_start/__sbss_end around the SBSS * src/vectors.S (_start): Call C function to clear BSS. * src/hal_misc.c (hal_zero_bss): Use __bss_end rather than _end when clearing BSS. Clear SBSS similarly but separately since the MLT may have them in non-contiguous parts of memory. These fix PR 197501999-04-14 Jesper Skov <jskov@cygnus.co.uk> * include/hal_cache.h: Added HAL_xCACHE_IS_ENABLED macros.1999-04-14 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more But do define EXTRAS every time for the linker script1999-04-09 Jesper Skov <jskov@cygnus.co.uk> * src/ppc_stub.c: Moved get_register and put_register to hal_stub.c.1999-04-08 John Dallaway <jld@cygnus.co.uk> * src/*.ld: Revised SECTION_* macro arguments to avoid padded output sections (PR 19787)1999-04-07 Gary Thomas <gthomas@cygnus.co.uk> * include/hal_arch.h (CYGNUM_HAL_STACK_SIZE_xxx): Increase to more realistic values. PR 19748.1999-03-31 Jesper Skov <jskov@cygnus.co.uk> PR 19741 * src/vectors.S: * src/ppc_stub.c (__computeSignal): Added some comments about the use of MSR/SRR1. Masked out reserved bits of MSR before restoring it. 1999-03-23 Jesper Skov <jskov@cygnus.co.uk> * include/hal_arch.h: Added stack values.1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/ppc_stub.h: Update copyright * src/ppc_stub.c: Update copyright1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> * include/hal_arch.h: Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of CYGNUM_HAL_MINIMUM_STACK_SIZE.1999-03-22 Jesper Skov <jskov@cygnus.co.uk> * tests/intr0.c: * include/ppc.inc: * include/hal_arch.h: Cleaned up some FIX MEs.1999-03-18 Jesper Skov <jskov@cygnus.co.uk> * include/ppc.inc: Removed exception safety margin.1999-03-17 John Dallaway <jld@cygnus.co.uk> * src/PKGconf.mak: Remove dependence on echo '-e' switch.1999-03-16 Jesper Skov <jskov@cygnus.co.uk> * src/hal_misc.c: Moved extern declarations out of function body to avoid compiler warnings.1999-03-12 Jesper Skov <jskov@cygnus.co.uk> * include/hal_arch.h (CYGNUM_HAL_MINIMUM_STACK_SIZE): Increased to 2kB for safety. * include/ppc.inc: Reduced exception stack frame safety gap to 64 bytes.1999-03-12 Gary Thomas <gthomas@cygnus.co.uk> * include/hal_arch.h (CYGNUM_HAL_MINIMUM_STACK_SIZE): Added HAL stack size definition.1999-03-10 Jesper Skov <jskov@cygnus.co.uk> * include/hal_intr.h (HAL_INTERRUPT_IN_USE): Added.1999-03-08 Nick Garnett <nickg@cygnus.co.uk> * src/powerpc.ld: Added alignment before definition of __DEVTAB__. 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -