| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
There must be an isync after the mtmsr to ensure that the AltiVec is
enabled for subsequent instructions.
Close #2760.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was done by the following script run from libbsp:
find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do
echo $b
cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' `
bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' `
g="LIBBSP_${cpu}_${bsp}_BSP_H"
# echo $g
sed -e "s/ifndef _BSP_H/ifndef ${g}/" \
-e "s/define _BSP_H/define ${g}/" \
-i $b
done
|
| |
|
|
|
|
| |
Some includes may use C++ and this conflicts if surrounded extern "C".
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The file console-polled.h provides the prototypes for the three
required methods when implementing a single port polled console
driver. This paradigm is common on simulators and simple hardware.
+ Updated the BSPs Makefile.am to make console-polled.h available.
+ Regenerated the BSPs preinstall.sm.
+ Updated console support files to include <bsp/console-polled.h>.
+ Updated console support files to make printk() support method static.
|
|
|
|
|
| |
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
|
|
|
|
|
| |
Apparently, at some point automake output changed and these were
not updated.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of SPRG0 (= special purpose register 272) use the new global
symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask.
The benefit is that it is now possible to disable interrupts without
further run-time initialization in boot_card().
At least on Freescale e500 cores this leads also to a faster execution
since the mfmsr and mfspr instruction require four cycles to complete.
The instructions to load the mask value can execute while the mfmsr is
in progress.
|
|
|
|
|
|
|
|
|
| |
Add a CPU counter interface to allow access to a free-running counter.
It is useful to measure short time intervals. This can be used for
example to enable profiling of critical low-level functions.
Add two busy wait functions rtems_counter_delay_ticks() and
rtems_counter_delay_nanoseconds() implemented via the CPU counter.
|
| |
|
| |
|
| |
|
|
|
|
| |
It declares a symbol defined in the linker command file.
|
|
|
|
| |
This avoids a linker assertion failure in the GCC test suite.
|
|
|
|
|
| |
Delete ppc_exc_vector_base. Add and use
ppc_exc_initialize_with_vector_base().
|
|
|
|
|
| |
Several GCC tests faild due to the outdated previous linker command
file.
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit deletes all RTEMS ChangeLog files. These files have been abandoned
since converting to git version control. The historical data may be recovered
by checking out any commit before this one. Most of the contents of these
ChangeLog files can also be found in the git log.
Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add CPU port type CPU_Exception_frame and function
_CPU_Exception_frame_print().
The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh,
sparc64, and v850 use an empty default implementation of
_CPU_Exception_frame_print().
Add rtems_exception_frame and rtems_exception_frame_print().
Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal()
with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc,
and sparc for unexpected exceptions.
Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the
BSP_PRINT_EXCEPTION_CONTEXT define used in the default
bsp_fatal_extension().
Add test sptests/spfatal26.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().
|
|
|
|
|
|
|
| |
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.
Add and use rtems_bsdnet_event_send().
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb.
Conflicts:
c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in
c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in
c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in
Manually deleted conflicting files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
|\
| |
| |
| | |
Add IRQ support components needed by new BSD code.
|
| | |
|
|\ \
| |/
|/|
| | |
c/src/lib/libbsp/powerpc/psim/startup/linkcmds
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
* start/start.S: Add bsp_reset() label to exit point.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac: runtest for this BSP obsoleted by
rtems-testing/sim-scripts support. Please use those scripts.
* tools/.cvsignore, tools/ChangeLog, tools/Makefile.am,
tools/configure.ac, tools/psim-bottom, tools/psim-gdb-bottom,
tools/psim-gdb-top.in, tools/psim-shared, tools/psim-top.in,
tools/runtest-bottom, tools/runtest-top.in: Removed.
|
|
|
|
|
|
| |
PR1797/bsps: Applied cleaned-up version of Kate's patch.
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h'
setting and as such configurable.
|
|
|
|
| |
* configure.ac: Remove RTEMS_CANONICAL_TARGET_CPU.
|
|
|
|
|
| |
* include/bsp.h, include/tm27.h, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
| |
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* beatnik/include/bsp.h, beatnik/irq/irq.h, beatnik/pci/gt_pci_init.c,
ep1a/console/polled_io.c, ep1a/irq/openpic_xxx_irq.c,
gen5200/include/irq.h, gen5200/irq/irq.c, gen5200/startup/bspstart.c,
haleakala/irq/irq.c, mbx8xx/irq/irq.c, mbx8xx/irq/irq.h,
motorola_powerpc/include/bsp.h, mpc8260ads/irq/irq.c,
mpc8260ads/irq/irq.h, mvme3100/include/bsp.h, mvme3100/irq/irq.h,
mvme3100/start/start.S, mvme5500/include/bsp.h, mvme5500/irq/irq.h,
psim/include/bsp.h, psim/include/coverhd.h, psim/irq/irq.h,
psim/shmsupp/addrconv.c, psim/shmsupp/getcfg.c,
psim/startup/linkcmds, psim/tools/psim-gdb-top.in,
psim/tools/psim-top.in, psim/tools/runtest-top.in, qemuppc/irq/irq.h,
score603e/irq/irq.c, shared/bootloader/bootldr.h,
shared/bootloader/em86.c, shared/bootloader/em86real.S,
shared/bootloader/exception.S, shared/bootloader/head.S,
shared/bootloader/lib.c, shared/bootloader/misc.c,
shared/bootloader/mm.c, shared/bootloader/pci.c,
shared/console/console.c, shared/console/consoleIo.h,
shared/console/inch.c, shared/console/keyboard.h,
shared/console/polled_io.c, shared/irq/i8259.c, shared/irq/irq.h,
shared/irq/openpic_i8259_irq.c, shared/motorola/motorola.c,
shared/motorola/motorola.h, shared/openpic/openpic.c,
shared/openpic/openpic.h, shared/pci/pci.c,
shared/residual/residual.c, shared/start/start.S, ss555/irq/irq.h:
Fix typo where license said found in found in.
|
|
|
|
| |
* network/if_sim.c: Do not use printf() except for printing statistics.
|
|
|
|
| |
* console/consupp.S, irq/irq.h, irq/irq_init.c: Add CVS Id string.
|
|
|
|
| |
* configure.ac: Remove AC_CHECK_SIZEOF([void *]).
|