| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The TLS section symbols had wrong values in case of an empty TLS data
section and a nonempty TLS BSS section.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Rename rtems_internal_error_description() to
rtems_internal_error_text(). Rename rtems_fatal_source_description() to
rtems_fatal_source_text(). Rename rtems_status_code_description() to
rtems_status_text(). Remove previous implementation of
rtems_status_text().
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This requires at least Binutils 2.24.
|
| |
|
|
|
|
| |
* Move shared/console/bspreset.c to motorola_powerpc/startup/bspreset.c
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Termios notifies now the driver about an inactive transmit with the
length argument set to zero.
|
| |
|
|
|
|
|
| |
Delete _Thread_Dispatch_in_critical_section() and
_Thread_Is_dispatching_enabled().
|
|
|
|
|
|
|
| |
In case the VMA and LMA regions differ, the LMA start address is now no
longer aligned with the alignment of the input sections:
http://sourceware.org/bugzilla/show_bug.cgi?id=15222
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
In combination with the PPC_EXC_CONFIG_USE_FIXED_HANDLER option this
removes all dependencies on valid read-write data. The exception
handling must be statically configured and all components reside in
read-only sections.
|
|
|
|
|
|
|
|
|
| |
In case a BSP enables this option, then fixed high level exception
handler will be used. For normal asynchronous exceptions this is
bsp_interrupt_dispatch() and for other exceptions this is the handler
from the read-only ppc_exc_handler_table. The global handler is
C_exception_handler(). This avoids some dependencies on valid
read-write data.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Replace the "NIRVANA" region with the more verbose "UNEXPECTED_SECTIONS"
region. Move the region definition into the "linkcmds.base" files.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ libbsp/sparc/shared/include/pci.h was largely a copy of
an older version of the cpukit pci.h. Removed much of the
contents and included <rtems/pci.h>.
+ sparc/*/pci*.c - Move to <rtems/pci.h> required updating
to use uint32_t for dword accesses.
+ Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION
+ Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove
PCI_MULTI_FUNCTION definitions in C files.
+ Move PCI_INVALID_VENDORDEVICEID definitions from various C files
to cpukit pci.h
|
|
|
|
|
|
| |
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Do not use the e300 core decrementer auto-reload feature. We have to
use the normal decrementer handler since otherwise it is impossible to
pass test sptests/spnsext01.
|
|
|
|
|
|
| |
The clock driver used previously the bsp_clicks_per_usec value. For a
33333333Hz time base frequency this leads to a relative error of one per
cent for example due to integer truncation.
|
|
|
|
| |
* shared/startup/bspstart.c: Comment out unused vars.
|
|
|
|
| |
* shared/console/console.c: Remove stray local decl of "close".
|
|
|
|
| |
* shared/startup/linkcmds.base: New file.
|
|
|
|
|
|
| |
* shared/bootloader/exception.S, shared/bootloader/misc.c,
shared/bootloader/mm.c, shared/console/polled_io.c,
shared/startup/probeMemEnd.c: Update due to API changes.
|
|
|
|
|
|
|
| |
* shared/start/start.S, shared/start/preload.S:
Make sure stack is 16-byte aligned and the TOS
is tagged with a NULL pointer (used as a terminator
when printing stack traces).
|
|
|
|
| |
* shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
|
|
|
|
|
|
| |
* shared/motorola/motorola.c: removed
PCI_FIXUP_OPT_OVERRIDE_NAME for qemu - qemu gets it
right and this option messes things rather up.
|
|
|
|
|
|
| |
PR 1799/bsps
* acinclude.m4: Update for qoriq BSPs.
* shared/include/linker-symbols.h: New file.
|