Changeset 96a9f4c in rtems


Ignore:
Timestamp:
Nov 12, 2014, 1:00:05 PM (5 years ago)
Author:
Alan Cudmore <alan.cudmore@…>
Branches:
4.11, master
Children:
3eade710
Parents:
580466c
git-author:
Alan Cudmore <alan.cudmore@…> (11/12/14 13:00:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 07:54:10)
Message:

ARM removed shared/abort from several ARM BSPs

Location:
c/src/lib/libbsp/arm
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/beagle/Makefile.am

    r580466c r96a9f4c  
    8686libbsp_a_SOURCES += ../../shared/timerstub.c
    8787libbsp_a_SOURCES += ../../shared/cpucounterread.c
    88 libbsp_a_SOURCES += ../shared/abort/simple_abort.c
    8988libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
    9089libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
  • c/src/lib/libbsp/arm/gdbarmsim/Makefile.am

    r580466c r96a9f4c  
    4646# timer
    4747libbsp_a_SOURCES += ../../shared/timerstub.c
    48 # above
    49 libbsp_a_SOURCES += ../shared/abort/abort.c
    5048# start hooks
    5149libbsp_a_SOURCES += startup/bspstarthooks.c
  • c/src/lib/libbsp/arm/raspberrypi/Makefile.am

    r580466c r96a9f4c  
    8787libbsp_a_SOURCES += ../../shared/sbrk.c
    8888libbsp_a_SOURCES += ../../shared/src/stackalloc.c
    89 libbsp_a_SOURCES += ../shared/abort/simple_abort.c
    9089libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
    9190libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
  • c/src/lib/libbsp/arm/shared/abort/abort.c

    r580466c r96a9f4c  
    2424#include <rtems.h>
    2525#include <rtems/bspIo.h>
    26 
    27 #define INSN_MASK         0xc5
    28 
    29 #define INSN_STM1         0x80
    30 #define INSN_STM2         0x84
    31 #define INSN_STR          0x40
    32 #define INSN_STRB         0x44
    33 
    34 #define INSN_LDM1         0x81
    35 #define INSN_LDM23        0x85
    36 #define INSN_LDR          0x41
    37 #define INSN_LDRB         0x45
    38 
    39 #define GET_RD(x)         ((x & 0x0000f000) >> 12)
    40 #define GET_RN(x)         ((x & 0x000f0000) >> 16)
    41 
    42 #define GET_U(x)              ((x & 0x00800000) >> 23)
    43 #define GET_I(x)              ((x & 0x02000000) >> 25)
    44 
    45 #define GET_REG(r, ctx)      (((uint32_t   *)ctx)[r])
    46 #define SET_REG(r, ctx, v)   (((uint32_t   *)ctx)[r] = v)
    47 #define GET_OFFSET(insn)     (insn & 0xfff)
    48 
    49 /*
    50  * Prototypes
    51  */
    52 void _print_full_context(uint32_t);
    53 void do_data_abort(uint32_t, uint32_t, Context_Control *);
     26#include "abort.h"
    5427
    5528uint32_t g_data_abort_cnt = 0;
  • c/src/lib/libbsp/arm/shared/abort/simple_abort.c

    r580466c r96a9f4c  
    1919 */
    2020
     21#include <rtems/system.h>
    2122#include <rtems.h>
    2223#include <rtems/bspIo.h>
    23 
    24 #define INSN_MASK         0xc5
    25 
    26 #define INSN_STM1         0x80
    27 #define INSN_STM2         0x84
    28 #define INSN_STR          0x40
    29 #define INSN_STRB         0x44
    30 
    31 #define INSN_LDM1         0x81
    32 #define INSN_LDM23        0x85
    33 #define INSN_LDR          0x41
    34 #define INSN_LDRB         0x45
    35 
    36 #define GET_RD(x)         ((x & 0x0000f000) >> 12)
    37 #define GET_RN(x)         ((x & 0x000f0000) >> 16)
    38 
    39 #define GET_U(x)              ((x & 0x00800000) >> 23)
    40 #define GET_I(x)              ((x & 0x02000000) >> 25)
    41 
    42 #define GET_REG(r, ctx)      (((uint32_t   *)ctx)[r])
    43 #define SET_REG(r, ctx, v)   (((uint32_t   *)ctx)[r] = v)
    44 #define GET_OFFSET(insn)     (insn & 0xfff)
     24#include "abort.h"
    4525
    4626char *_print_full_context_mode2txt[0x10]={
Note: See TracChangeset for help on using the changeset viewer.