diff options
author | Pavel Pisa <ppisa@pikron.com> | 2016-05-19 10:24:46 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-10-02 10:40:33 +0200 |
commit | c6e0201443080114d18ed10a1a319ce655efd917 (patch) | |
tree | 790cfc499bbf279c400786e68d86cb87b5bfbc0f /c/src/lib/libcpu | |
parent | bsps/arm: CP15 support for flush prefetch buffer and table base control. (diff) | |
download | rtems-c6e0201443080114d18ed10a1a319ce655efd917.tar.bz2 |
arm/raspberrypi: ensure that RTEMS application image can be started by U-boot.
The current versions of U-boot start kernel/RTEMS application image
with instruction and data caches enabled and it sets exception
base register to new address after its self-relocation.
ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */
mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */
Included changes in bsp_start_hook_0 restore default state to
allow RTEMS image to run after startup from newer U-boot version
on Raspberry Pi.
Clear interrupt enable registers in interrupt controller
to ensure that RTEMS starts from well defined state.
Updates #2783
Diffstat (limited to 'c/src/lib/libcpu')
0 files changed, 0 insertions, 0 deletions