| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Avoid name conflicts with shared linkcmds.base.
Update #3254.
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to easily use
EXTRA_DIST += foobar
in fragments.
Update #3254.
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
|
|
|
| |
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 #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.
|
|
|
|
|
|
|
|
| |
Due to a new rtems_panic() implementation, it is possible to replace the
PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic()
implementations.
Close #3245.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.
Close #2897.
|
|
|
|
|
|
|
|
|
|
| |
Import the <arpa/inet.h> from current FreeBSD. Necessary due to changes
in <netinet/in.h>. Remove BSD hack from <arpa/inet.h>.
Clean up problems with htonl(). These functions are defined in
<arpa/inet.h>. This lead to some problems because they are defined in
<rtems/endian.h> too. Add NTOHL, ... to
<rtems/rtems_bsdnet_internal.h>.
|
|
|
|
| |
warnings
|
| |
|
|
|
|
| |
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the pghplus BSP variant:
The size of the sample executables without this option were:
text data bss dec hex filename
167168 2720 7776 177664 2b600 base_sp.exe
154336 2592 7712 164640 28320 hello.exe
146272 2528 4512 153312 256e0 minimum.exe
647904 6752 20032 674688 a4b80 fileio.exe
190656 2816 7872 201344 31280 nsecs.exe
230816 3104 8384 242304 3b280 paranoia.exe
170336 2752 7808 180896 2c2a0 ticker.exe
170624 2752 11552 184928 2d260 unlimited.exe
956800 156928 15424 1129152 113ac0 cxx_iostream.exe
268096 10656 8448 287200 461e0 cdtest.exe
248896 3232 9600 261728 3fe60 capture.exe
The size of the sample executables with this option enabled were:
text data bss dec hex filename
154080 2720 7744 164544 282c0 base_sp.exe
139040 2528 7680 149248 24700 hello.exe
46944 1824 3968 52736 ce00 minimum.exe
622016 6688 19712 648416 9e4e0 fileio.exe
178304 2816 7840 188960 2e220 nsecs.exe
217024 3104 8352 228480 37c80 paranoia.exe
157536 2720 7776 168032 29060 ticker.exe
156000 2720 11488 170208 298e0 unlimited.exe
611040 143808 14560 769408 bbd80 cxx_iostream.exe
254464 10144 8416 273024 42a80 cdtest.exe
232160 3200 9568 244928 3bcc0 capture.exe
For the tqm8xx_stk8xx variant:
The size of the sample executables without this option were:
text data bss dec hex filename
167168 2720 7776 177664 2b600 base_sp.exe
154336 2592 7712 164640 28320 hello.exe
146272 2528 4512 153312 256e0 minimum.exe
647904 6752 20032 674688 a4b80 fileio.exe
190656 2816 7872 201344 31280 nsecs.exe
230816 3104 8384 242304 3b280 paranoia.exe
170336 2752 7808 180896 2c2a0 ticker.exe
170624 2752 11552 184928 2d260 unlimited.exe
956800 156928 15424 1129152 113ac0 cxx_iostream.exe
268096 10656 8448 287200 461e0 cdtest.exe
248896 3232 9600 261728 3fe60 capture.exe
The size of the sample executables with this option enabled were:
text data bss dec hex filename
154080 2720 7744 164544 282c0 base_sp.exe
139040 2528 7680 149248 24700 hello.exe
46944 1824 3968 52736 ce00 minimum.exe
622016 6688 19712 648416 9e4e0 fileio.exe
178304 2816 7840 188960 2e220 nsecs.exe
217024 3104 8352 228480 37c80 paranoia.exe
157536 2720 7776 168032 29060 ticker.exe
156000 2720 11488 170208 298e0 unlimited.exe
611040 143808 14560 769408 bbd80 cxx_iostream.exe
254464 10144 8416 273024 42a80 cdtest.exe
232160 3200 9568 244928 3bcc0 capture.exe
|
|
|
|
|
|
| |
Use the bsp_predriver_hook() instead.
Update #2408.
|
|
|
|
|
| |
Fix broken RTEMS linker set description introduced by
b618d8cfc54f84d4ed03dc7b7fa510c872e6128a.
|
|
|
|
| |
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
|
|
|
|
| |
close #2211
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
|
|
|
|
|
| |
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
|
|
|
|
|
| |
The TLS section symbols had wrong values in case of an empty TLS data
section and a nonempty TLS BSS section.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Termios notifies now the driver about an inactive transmit with the
length argument set to zero.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
| |
The work areas (RTEMS work space and C program heap) will be initialized
now in a separate step and are no longer part of
rtems_initialize_data_structures(). Initialization is performed with
tables of Heap_Area entries. This allows usage of scattered memory
areas present on various small scale micro-controllers.
The sbrk() support API changes also. The bsp_sbrk_init() must now deal
with a minimum size for the first memory chunk to take the configured
work space size into account.
|
| |
|