| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
Simplify bsp_specs
These BSPs all use shared/startup/linkcmds.base and thus needed to be
modified at the same time. Variations in the arguments were reflected
into the BSP specific portions of the linkcmds.
Updates #3520.
|
|
|
|
| |
Updates #3520.
|
|
|
|
|
|
| |
Patch was not intended to be pushed yet.
Updates #3520.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done:
arm
bfin
epiphany
i386
lm32
m32c
mips
moxie
nios2
or1k
powerpc
riscv
sh
sparc
sparc64
v850
To do:
m68k
Differences noted:
+ endfile was sometimes before startfile
+ endfile sometimes was hard-coded and did not have -qrtems version
+ Should -e XXX (e.g. entry point) be in linkcmds?
+ Should -u XXX (e.g. undefined symbols) be in linkcmds?
+ Typos: Odd spacing, "old_endfiles" typo, and *(old_endfiles) (not %)
+ nios2: Referenced crtnn.o not crtn.o (error)
Need to revisit:
+ m32c, moxie, sparc64 includes !nostdlib which is not used elsewhere
+ sh has -EL/-EB mapping. Why needed?
+ sparc64 didn't include crti.o/crtn.o but it is part of toolset
+ v850 uses something like this for link and end_file:
"%{qrtems: %(old_link)}"
This means that these are unnecessary. Try this on all.
+ mips uses old_link all the time also.
+ arm/tms750 adds -EB.
+ powerpc: Why do we have rtems_crt* and not use something from GCC?
Updates #3520.
|
|
|
|
| |
Updates #3250.
|
|
|
|
|
|
|
|
|
| |
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.
Update #3254.
|
|
|
|
|
|
|
| |
This header file contained timing overhead values which are hard to
maintain.
Update #3254.
|
|
|
|
|
|
|
|
|
| |
Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify
the BSP configuration and documentation. Change defaults to:
BSP_PRESS_KEY_FOR_RESET=0
BSP_RESET_BOARD_AT_EXIT=1
BSP_PRINT_EXCEPTION_CONTEXT=1
|
|
|
|
|
|
|
| |
BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal
error handling. There is no need for a _BSP_Fatal_error().
Close #3246.
|
|
|
|
| |
Update #3239.
|
|
|
|
|
|
|
|
| |
The BSP_output_char should output a char and not mingle with high level
processing, e.g. '\n' to '\r\n' translation. Move this translation to
rtems_putc(). Remove it from all the BSP_output_char implementations.
Close #3122.
|
|
|
|
|
|
| |
Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable()
to not return a status code. Add bsp_interrupt_assert() and use it to
validate the vector number in the vector enable/disable implementations.
|
|
|
|
| |
Update #2833.
|
| |
|
|
|
|
| |
warnings
|
| |
|
|
|
|
| |
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The size of the sample executables without this option were:
text data bss dec hex filename
136928 2284 134078500 134217712 7fffff0 base_sp.exe
152124 2168 134063412 134217704 7ffffe8 hello.exe
96317 1892 134119500 134217709 7ffffed minimum.exe
658001 6274 133553428 134217703 7ffffe7 fileio.exe
161562 2380 134053772 134217714 7fffff2 nsecs.exe
229008 2668 133986040 134217716 7fffff4 paranoia.exe
140224 2292 134075204 134217720 7fffff8 ticker.exe
139564 2308 134075836 134217708 7ffffec unlimited.exe
951004 147150 133119544 134217698 7ffffe2 cxx_iostream.exe
256264 9352 133952104 134217720 7fffff8 cdtest.exe
254760 2788 133960156 134217704 7ffffe8 capture.exe
The size of the sample executables with this option enabled were:
text data bss dec hex filename
123180 2268 134092272 134217720 7fffff8 base_sp.exe
136152 2112 134079448 134217712 7fffff0 hello.exe
53640 1560 134162508 134217708 7ffffec minimum.exe
632433 6238 133579016 134217687 7ffffd7 fileio.exe
148538 2364 134066808 134217710 7ffffee nsecs.exe
214540 2644 134000536 134217720 7fffff8 paranoia.exe
126732 2276 134088688 134217696 7ffffe0 ticker.exe
124292 2268 134091136 134217696 7ffffe0 unlimited.exe
608992 50546 133558180 134217718 7fffff6 cxx_iostream.exe
243452 8036 133966228 134217716 7fffff4 cdtest.exe
238360 2740 133976616 134217716 7fffff4 capture.exe
|
|
|
|
|
|
| |
Use the bsp_predriver_hook() instead.
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
The 32-bit ABIs for thread-local storage (TLS) and EABI read-only
small-data area have a conflicting register (r2) usage. Use the System
V small-data instead (here r2 is system reserved).
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
This allows VIRTEX_CONSOLE_USE_INTERRUPTS=0 on the configure command
line to disable the interrupt mode.
|
|
|
|
| |
Add interrupt support for console driver.
|
|
|
|
| |
Use ppc_count_leading_zeros() to optimize interrupt processing.
|
|
|
|
|
|
| |
Some modules like the XPS UART Lite use event triggered interrupts. If
we acknowledge the interrupts after the interrupt service we may loose
these events.
|
| |
|
| |
|
| |
|
|
|
|
| |
This define is also present in newer "xparameters.h".
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Use linkcmds.base. Use EABI with small-data area.
|
|
|
|
| |
Use default bsp_specs file.
|