| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* shared/start/start.S, shared/startup/bspgetworkarea.c,
shared/startup/bspstart.c, shared/startup/linkcmds: Modifications
which reflect those tested on psim. Hopefully they work on all
boards. The initialization stack is explicitly declared in the
linkcmds memory layout rather than magic math.
|
|
|
|
| |
* shared/include/nvram.h: Fix typo.
|
|
|
|
|
| |
* shared/clock/clock.c: Remove unnecessary includes of
rtems/libcsupport.h and rtems/libio.h.
|
|
|
|
|
|
|
| |
* shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Add use
of bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization.
* shared/startup/bspgetworkarea.c: New file.
|
|
|
|
|
|
|
| |
* shared/startup/bspstart.c: Review of all bsp_cleanup()
implementations. In this phase, all prototypes were removed from
bsp.h and empty implementations were removed and made to use the
shared stub.
|
| |
|
|
|
|
|
|
|
| |
* shared/clock/clock.c: The Shared Memory Driver no longer requires the
special IOCTL in Clock_control. This was a hack which has existed
since before the Classic API Timer Manager was implemented. All
implementations of and references to Clock_control were removed.
|
| |
|
|
|
|
|
| |
* shared/vme/vme_universe.c: added implementation for
BSP_VMEResetBus().
|
| |
|
| |
|
|
|
|
| |
* shared/clock/clock.c: Fixed warnings.
|
|
|
|
|
| |
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
|
| |
|
| |
|
|
|
|
|
| |
* shared/flash/spansionFlash.c: removed "m" memory
operands.
|
|
|
|
| |
- u-boot header file
|
|
|
|
|
|
| |
directly. Supports special variants for Book E and e300 cores. For
standard decrementer CPUs the new decrementer value is calculated with
reference to a time base so that a time drift is avoided
|
|
|
|
| |
* shared/uboot_getenv.c: New file.
|
|
|
|
|
| |
* shared/startup/panic.c: Convention calls for leading underscore on
private RTEMS variables.
|
|
|
|
|
|
|
|
|
| |
* shared/startup/pretaskinghook.c: removed declaration
of BSP_vme_config() (which is already declared in
<bsp/VME.h>. Removed test for NULL-ness of BSP_vme_config;
gcc doesn't seem to understand that the linker may
define this to be NULL... Silences a compiler warning
(and users can always provide an empty routine).
|
|
|
|
|
|
|
| |
* shared/startup/linkcmds, shared/startup/zerobss.c:
introduced '__bss_end'; assuming that __rtems_end
coincides with the end of .bss for the purpose of
zeroing .bss is very dangerous.
|
|
|
|
| |
* shared/console/console.c: Fix typo.
|
|
|
|
|
| |
* shared/console/console.c: Remove explicit switch and call
termios_baud_to_number().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/startup/pretaskinghook.c: Add capability for bootcard.c BSP
Initialization Framework to ask the BSP where it has memory for the
RTEMS Workspace and C Program Heap. These collectively are referred
to as work area. If the BSP supports this, then it does not have to
include code to split the available memory between the two areas.
This reduces the amount of code in the BSP specific bspstart.c file.
Additionally, the shared framework can initialize the C Library, call
rtems_debug_enable(), and dirty the work area memory. Until most/all
BSPs support this new capability, if the BSP supports this, it should
call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
When the transition is complete, this autoconf macro can be removed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/startup/bspstart.c: Refactored and renamed initialization
routines to rtems_initialize_data_structures,
rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
rtems_initialize_start_multitasking. This opened the sequence up so
that bootcard() could provide a more robust and flexible framework
which is easier to explain and understand. This also lays the
groundwork for sharing the division of available memory between the
RTEMS workspace and heap and the C library initialization across all
BSPs.
|
|
|
|
|
|
| |
* shared/console/uart.c: In IRQ driven mode also
keep reading chars while they are available (fifo
could be enabled).
|
|
|
|
|
|
|
| |
* shared/startup/pretaskinghook.c: install pointer
to rtems_malloc_sbrk_helpers_table. This (and derived)
BSPs rely on sbrk delivering even the first/initial
chunk of memory.
|
|
|
|
|
|
| |
* shared/console/console.c, shared/console/uart.c,
shared/console/uart.h: added support for task-driven
console.
|
|
|
|
|
| |
* shared/startup/linkcmds: Add wildcard to gcc_except_table section so
programs compiled with gcc 4.3.x can link.
|
|
|
|
|
|
| |
* shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Eliminate
copies of the Configuration Table. Use the RTEMS provided accessor
macros to obtain configuration fields.
|
|
|
|
|
| |
* Makefile.am, start/preload.S: moved preload.S
to ../shared/start.
|
|
|
|
|
|
| |
* shared/irq/irq_asm.S, shared/vectors/vectors.h:
renamed ASM_BOOKE_PIT_VECTOR to ASM_BOOKE_DEC_VECTOR
to be closer to 'official' nomenclature.
|
|
|
|
|
| |
* shared/openpic/openpic.c: fixed wrong register
address in openpic_gettimer().
|
|
|
|
|
|
| |
* shared/motorola/vpd.c, shared/motorola/vpd.h:
added code (originally developed for 'beatnik')
to read MotLoad VPD data from i2c eeprom.
|
|
|
|
|
|
|
|
| |
* shared/vectors/README.deprecated, shared/irq/README.deprecated:
added READMEs stating that certain files should not be
copy/paste/modified when creating new BSPs. New BSPs
are encouraged to use the new library under
libcpu/powerpc/new-exceptions/bspsupport.
|
|
|
|
|
|
|
|
| |
* shared/vectors/vectors_entry.S, motorola_powerpc/bsp_specs,
shared/start/vectors_entry.S: moved vectors_entry.S to
'start' subdir and made a start file rather than
element of vectors.rel (it should always be linked but
won't if it is the sole member of vectors.rel).
|
|
|
|
|
| |
* shared/vme/vme_universe.c: fixed wrong initialization
routine when using Tsi148 driver.
|
|
|
|
|
| |
* shared/vme/vme_universe.c: must set DMA ops pointer
during init.
|
|
|
|
|
|
| |
* Makefile.am: merged shared/vme/vme_universe.c and
shared/vme/vme_universe_dma.c into one file.
Added support for Tsi148 driver (DMA).
|
|
|
|
|
| |
* shared/vme/vme_universe.c: had erroneously deleted
#define __INSIDE_RTEMS_BSP__
|
|
|
|
|
|
|
|
| |
* shared/vme/VMEConfig.h, shared/vme/vme_universe.c:
added support for Tsi148 bridge; BSP can define which
bridge driver to use from VMEConfig.h.
Added 'err' macro parameter to BSP_VME_INSTALL_IRQ_MGR(err)
macro so that an error status can be passed back.
|
|
|
|
|
| |
* irq_supp.h: was moved from shared/irq to
libcpu/powerpc/new-exceptions/bspsupport.
|
|
|
|
|
|
|
|
|
|
| |
* ep1a/irq/irq.c, gen5200/irq/irq.c, gen83xx/irq/irq_init.c,
mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c,
psim/irq/no_pic.c, score603e/irq/irq.c, shared/irq/irq_supp.h,
shared/irq/openpic_i8259_irq.c, virtex/irq/irq_init.c:
let C_dispatch_irq_handler() return zero to indicate to
low-level exception handling code that the exception
was handled (not used yet).
|
|
|
|
|
|
| |
*shared/irq/irq_supp.h: removed cpp test for
BSP_SHARED_HANDLER_SUPPORT; BSPs using irq_supp.h
*must* implement shared handlers.
|
|
|
|
|
|
| |
* shared/openpic/openpic.c, shared/openpic/openpic.h:
added routines to set timer period and interupt mask
and to read current count.
|
|
|
|
|
| |
* shared/vectors/vectors_init.c: replaced
switch ( current_ppc_cpu ) { } check by feature check.
|
|
|
|
|
|
|
|
|
| |
* shared/irq/irq_asm.S, shared/vectors/vectors.S:
Replaced use of hardcoded PPC_EXC_MSR_BITS by a
run-time method to determine these bits (use settings
effective before exception occurred).
Replaced use of hardcoded ASM_VECTORS_CRITICAL by
'bsp_raw_vector_is_405_critical' variable.
|
|
|
|
|
|
|
| |
* shared/irq/irq_supp.h: removed stray '*/'. Removed
inclusion of <stdlib.h> which is unnecessary and broke
if_dc in an obscure way (due to malloc/free redefinition
in the networking code).
|
|
|
|
|
|
|
| |
* shared/irq/irq_asm.S, shared/vectors/vectors.S,
shared/vectors/vectors.h, shared/vectors/vectors_init.c:
Converted exception vector names to new ones
(qualified by <cpu_type> if non-std ppc exceptions).
|