Changeset 28b4c7ac in rtems


Ignore:
Timestamp:
Apr 20, 2018, 11:19:28 AM (16 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c49896f
Parents:
e0dd8a5a
git-author:
Sebastian Huber <sebastian.huber@…> (04/20/18 11:19:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/20/18 11:52:19)
Message:

sparc: Move _CPU_Trap_slot_template

The definition of _CPU_Trap_slot_template is BSP-independent. A
potential para-virtualization support may use <rtems/score/paravirt.h>.

This patch is a part of the BSP source reorganization.

Update #3285.

Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/Makefile.am

    re0dd8a5a r28b4c7ac  
    3636librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_halt.c
    3737# ISR Handler
    38 librtemsbsp_a_SOURCES += ../shared/cpu.c
    3938librtemsbsp_a_SOURCES += ../shared/irq_asm.S
    4039# gnatsupp
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    re0dd8a5a r28b4c7ac  
    3737
    3838# ISR Handler
    39 librtemsbsp_a_SOURCES += ../shared/cpu.c
    4039librtemsbsp_a_SOURCES += ../shared/irq_asm.S
    4140# gnatsupp
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    re0dd8a5a r28b4c7ac  
    4141
    4242# ISR Handler
    43 librtemsbsp_a_SOURCES += ../shared/cpu.c
    4443librtemsbsp_a_SOURCES += ../shared/irq_asm.S
    4544# gnatsupp
  • cpukit/score/cpu/sparc/cpu.c

    re0dd8a5a r28b4c7ac  
    147147
    148148/*
     149 *  This initializes the set of opcodes placed in each trap
     150 *  table entry.  The routine which installs a handler is responsible
     151 *  for filling in the fields for the _handler address and the _vector
     152 *  trap type.
     153 *
     154 *  The constants following this structure are masks for the fields which
     155 *  must be filled in when the handler is installed.
     156 */
     157const CPU_Trap_table_entry _CPU_Trap_slot_template = {
     158  0xa1480000,      /* mov   %psr, %l0           */
     159  0x29000000,      /* sethi %hi(_handler), %l4  */
     160  0x81c52000,      /* jmp   %l4 + %lo(_handler) */
     161  0xa6102000       /* mov   _vector, %l3        */
     162};
     163
     164/*
    149165 *  _CPU_Initialize
    150166 *
Note: See TracChangeset for help on using the changeset viewer.