Changeset bd150801 in rtems


Ignore:
Timestamp:
Mar 13, 2018, 3:24:16 PM (14 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
09dd82a
Parents:
ff3b9aa
git-author:
Sebastian Huber <sebastian.huber@…> (03/13/18 15:24:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/19/18 06:00:20)
Message:

bsps/powerpc: Move exceptions support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

Files:
1 added
19 edited
17 moved

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/shared/exceptions/ppc_exc.S

    rff3b9aa rbd150801  
    1717#include <rtems/system.h>
    1818#include <rtems/score/percpu.h>
     19
     20/*
     21 * This code uses the small-data area which is not available in the 64-bit
     22 * PowerPC ELFv2 ABI.
     23 */
     24#ifndef __powerpc64__
    1925
    2026#include "ppc_exc_asm_macros.h"
     
    176182        .global __ppc_exc_wrappers_end
    177183__ppc_exc_wrappers_end = .
     184
     185#endif /* !__powerpc64__ */
  • bsps/powerpc/shared/exceptions/ppc_exc_categories.c

    • Property mode changed from 100755 to 100644
  • c/src/lib/libbsp/powerpc/beatnik/Makefile.am

    rff3b9aa rbd150801  
    167167libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
    168168
    169 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    170     ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
     169libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
    171170    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
    172171    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
     
    182181include $(top_srcdir)/../../../../automake/local.am
    183182include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     183include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    184184include $(srcdir)/../../../../../../bsps/powerpc/beatnik/headers.am
  • c/src/lib/libbsp/powerpc/gen5200/Makefile.am

    rff3b9aa rbd150801  
    113113libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    114114
    115 libbsp_a_LIBADD =  ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    116         ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
     115libbsp_a_LIBADD =  ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
    117116        ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
    118117
    119118include $(top_srcdir)/../../../../automake/local.am
    120119include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     120include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    121121include $(srcdir)/../../../../../../bsps/powerpc/gen5200/headers.am
  • c/src/lib/libbsp/powerpc/gen83xx/Makefile.am

    rff3b9aa rbd150801  
    7676libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    7777
    78 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    79         ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
     78libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
    8079        ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
    8180        ../../../libcpu/@RTEMS_CPU@/mpc83xx/i2c.rel  \
     
    9291include $(top_srcdir)/../../../../automake/local.am
    9392include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     93include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    9494include $(srcdir)/../../../../../../bsps/powerpc/gen83xx/headers.am
  • c/src/lib/libbsp/powerpc/haleakala/Makefile.am

    rff3b9aa rbd150801  
    4646libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
    4747
    48 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    49     ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
     48libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
    5049    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
    5150
    5251include $(top_srcdir)/../../../../automake/local.am
    5352include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     53include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    5454include $(srcdir)/../../../../../../bsps/powerpc/haleakala/headers.am
  • c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am

    rff3b9aa rbd150801  
    121121    polledIO.rel \
    122122    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
    123     ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    124123    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
    125124    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
     
    135134include $(top_srcdir)/../../../../automake/subdirs.am
    136135include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     136include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    137137include $(srcdir)/../../../../../../bsps/powerpc/motorola_powerpc/headers.am
  • c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am

    rff3b9aa rbd150801  
    115115    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/emios.rel \
    116116    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/dspi.rel \
    117     ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    118117    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel
    119118
    120119include $(top_srcdir)/../../../../automake/local.am
    121120include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     121include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    122122include $(srcdir)/../../../../../../bsps/powerpc/mpc55xxevb/headers.am
  • c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am

    rff3b9aa rbd150801  
    5757libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    5858
    59 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    60     ../../../libcpu/@RTEMS_CPU@/mpc8260/console-generic.rel \
     59libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mpc8260/console-generic.rel \
    6160    ../../../libcpu/@RTEMS_CPU@/mpc8260/cpm.rel \
    6261    ../../../libcpu/@RTEMS_CPU@/mpc8260/mmu.rel \
     
    6766include $(top_srcdir)/../../../../automake/local.am
    6867include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     68include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    6969include $(srcdir)/../../../../../../bsps/powerpc/mpc8260ads/headers.am
  • c/src/lib/libbsp/powerpc/mvme3100/Makefile.am

    rff3b9aa rbd150801  
    111111libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/e500/clock.rel \
    112112    ../../../libcpu/@RTEMS_CPU@/e500/timer.rel \
    113     ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel \
    114     ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel
     113    ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel
    115114
    116115if HAS_NETWORKING
     
    122121include $(top_srcdir)/../../../../automake/local.am
    123122include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     123include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    124124include $(srcdir)/../../../../../../bsps/powerpc/mvme3100/headers.am
  • c/src/lib/libbsp/powerpc/mvme5500/Makefile.am

    rff3b9aa rbd150801  
    8989libbsp_a_LIBADD = \
    9090    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
    91     ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    9291    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
    9392    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel\
     
    10099include $(top_srcdir)/../../../../automake/local.am
    101100include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     101include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    102102include $(srcdir)/../../../../../../bsps/powerpc/mvme5500/headers.am
  • c/src/lib/libbsp/powerpc/psim/Makefile.am

    rff3b9aa rbd150801  
    6565
    6666libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
    67     ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    6867    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
    6968    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
     
    7271include $(top_srcdir)/../../../../automake/local.am
    7372include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     73include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    7474include $(srcdir)/../../../../../../bsps/powerpc/psim/headers.am
  • c/src/lib/libbsp/powerpc/qemuppc/Makefile.am

    rff3b9aa rbd150801  
    5454libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    5555
    56 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    57     ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
     56libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
    5857    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
    5958
    6059include $(top_srcdir)/../../../../automake/local.am
    6160include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     61include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    6262include $(srcdir)/../../../../../../bsps/powerpc/qemuppc/headers.am
  • c/src/lib/libbsp/powerpc/qoriq/Makefile.am

    rff3b9aa rbd150801  
    9999libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    100100
    101 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    102         ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel
     101libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel
    103102
    104103if HAS_NETWORKING
     
    114113include $(top_srcdir)/../../../../automake/local.am
    115114include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     115include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    116116include $(srcdir)/../../../../../../bsps/powerpc/qoriq/headers.am
  • c/src/lib/libbsp/powerpc/ss555/Makefile.am

    rff3b9aa rbd150801  
    3737
    3838libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
     39libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_print.c
     40libbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/vectors_init.c
     41libbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/vectors.S
    3942
    4043libbsp_a_LIBADD = \
     
    4346    ../../../libcpu/@RTEMS_CPU@/mpc5xx/exceptions.rel \
    4447    ../../../libcpu/@RTEMS_CPU@/mpc5xx/irq.rel \
    45     ../../../libcpu/@RTEMS_CPU@/mpc5xx/timer.rel \
    46     ../../../libcpu/@RTEMS_CPU@/mpc5xx/vectors.rel
     48    ../../../libcpu/@RTEMS_CPU@/mpc5xx/timer.rel
    4749
    4850include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/t32mppc/Makefile.am

    rff3b9aa rbd150801  
    6767libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    6868
    69 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel
    70 
    7169if HAS_SMP
    7270libbsp_a_SOURCES += ../../shared/bspsmp.c
     
    7573include $(top_srcdir)/../../../../automake/local.am
    7674include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     75include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    7776include $(srcdir)/../../../../../../bsps/powerpc/t32mppc/headers.am
  • c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am

    rff3b9aa rbd150801  
    6666
    6767libbsp_a_LIBADD = \
    68     ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    6968    ../../../libcpu/@RTEMS_CPU@/mpc8xx/console-generic.rel \
    7069    ../../../libcpu/@RTEMS_CPU@/mpc8xx/cpm.rel \
     
    7574include $(top_srcdir)/../../../../automake/local.am
    7675include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     76include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    7777include $(srcdir)/../../../../../../bsps/powerpc/tqm8xx/headers.am
  • c/src/lib/libbsp/powerpc/virtex/Makefile.am

    rff3b9aa rbd150801  
    6969libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    7070
    71 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel
    72 
    7371include $(top_srcdir)/../../../../automake/local.am
    7472include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     73include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    7574include $(srcdir)/../../../../../../bsps/powerpc/virtex/headers.am
  • c/src/lib/libbsp/powerpc/virtex4/Makefile.am

    rff3b9aa rbd150801  
    4848libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    4949
    50 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    51                   ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
     50libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
    5251                  ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
    5352
     
    5655include $(top_srcdir)/../../../../automake/local.am
    5756include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     57include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    5858include $(srcdir)/../../../../../../bsps/powerpc/virtex4/headers.am
  • c/src/lib/libbsp/powerpc/virtex5/Makefile.am

    rff3b9aa rbd150801  
    5050libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    5151
    52 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    53                   ../../../libcpu/@RTEMS_CPU@/e500/clock.rel \
     52libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/e500/clock.rel \
    5453                  ../../../libcpu/@RTEMS_CPU@/e500/timer.rel
    5554
     
    5857include $(top_srcdir)/../../../../automake/local.am
    5958include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
     59include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
    6060include $(srcdir)/../../../../../../bsps/powerpc/virtex5/headers.am
  • c/src/lib/libcpu/powerpc/Makefile.am

    rff3b9aa rbd150801  
    66
    77noinst_PROGRAMS =
    8 
    9 if !mpc5xx
    10 noinst_PROGRAMS += new-exceptions/exc_bspsupport.rel
    11 new_exceptions_exc_bspsupport_rel_SOURCES = \
    12     new-exceptions/bspsupport/ppc_exc_async_normal.S \
    13     new-exceptions/bspsupport/ppc_exc_fatal.S \
    14     new-exceptions/bspsupport/ppc_exc_print.c
    15 if !qoriq
    16 new_exceptions_exc_bspsupport_rel_SOURCES += \
    17     new-exceptions/bspsupport/ppc-code-copy.c \
    18     new-exceptions/bspsupport/ppc_exc.S \
    19     new-exceptions/bspsupport/ppc_exc_naked.S \
    20     new-exceptions/bspsupport/ppc_exc_hdl.c \
    21     new-exceptions/bspsupport/ppc_exc_initialize.c \
    22     new-exceptions/bspsupport/ppc_exc_global_handler.c \
    23     new-exceptions/bspsupport/ppc_exc_categories.c \
    24     new-exceptions/bspsupport/ppc_exc_address.c \
    25     new-exceptions/bspsupport/ppc_exc_alignment.c \
    26     new-exceptions/bspsupport/ppc_exc_prologue.c
    27 endif
    28 
    29 new_exceptions_exc_bspsupport_rel_CPPFLAGS = $(AM_CPPFLAGS)
    30 new_exceptions_exc_bspsupport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    31 endif
    32 
    33 EXTRA_DIST += new-exceptions/bspsupport/README
    34 EXTRA_DIST += new-exceptions/bspsupport/ppc_exc_test.c
    358
    369EXTRA_DIST += ppc403/README ppc403/vectors/README
     
    10679mpc5xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
    10780mpc5xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    108 
    109 # mpc5xx/vectors
    110 noinst_PROGRAMS += mpc5xx/vectors.rel
    111 mpc5xx_vectors_rel_SOURCES = mpc5xx/vectors/vectors_init.c mpc5xx/vectors/vectors.S \
    112     new-exceptions/bspsupport/ppc_exc_print.c
    113 mpc5xx_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
    114 mpc5xx_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    11581endif
    11682
Note: See TracChangeset for help on using the changeset viewer.