Changeset fc2ec62 in rtems


Ignore:
Timestamp:
Mar 26, 2018, 10:10:15 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
3cf2bf63
Parents:
1e23c47
git-author:
Sebastian Huber <sebastian.huber@…> (03/26/18 10:10:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/26/18 13:12:48)
Message:

bsps/m68k: Move libcpu content to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

Files:
1 added
17 edited
2 moved

Legend:

Unmodified
Added
Removed
  • bsps/m68k/shared/m68kidle.c

    r1e23c47 rfc2ec62  
    2121void *_CPU_Thread_Idle_body( uintptr_t ignored )
    2222{
    23 #if defined(mcf5272)
    24   for( ; ; ) {
    25     __asm__ volatile( "nop" );
    26     __asm__ volatile( "nop" );
    27   }
    28 #else
    2923  for( ; ; ) {
    3024    /* supervisor mode, all interrupts on */
    3125    __asm__ volatile( "stop #0x3000":::"cc" );
    3226  }
    33 #endif
    3427}
  • c/src/lib/libbsp/m68k/av5282/Makefile.am

    r1e23c47 rfc2ec62  
    4242
    4343libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5282.c
    44 
    45 libbsp_a_LIBADD = \
    46     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     44libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     45libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4746
    4847include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/csb360/Makefile.am

    r1e23c47 rfc2ec62  
    3434libbsp_a_SOURCES += console/console-io.c ../../shared/console-polled.c
    3535
    36 # Cache
    3736libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
     37libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
     38libbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/start/idle-mcf5272.c
    3839
    3940libbsp_a_LIBADD = \
    40     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
    4141    ../../../libcpu/@RTEMS_CPU@/mcf5272/clock.rel \
    4242    ../../../libcpu/@RTEMS_CPU@/mcf5272/timer.rel
  • c/src/lib/libbsp/m68k/gen68340/Makefile.am

    r1e23c47 rfc2ec62  
    3939
    4040libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
    41 
    42 libbsp_a_LIBADD = \
    43     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     41libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     42libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4443
    4544include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/gen68360/Makefile.am

    r1e23c47 rfc2ec62  
    4444
    4545libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
     46libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     47libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4648
    47 libbsp_a_LIBADD = \
    48     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    4949if HAS_FPSP
    50 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
     50libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
    5151endif
    5252
  • c/src/lib/libbsp/m68k/genmcf548x/Makefile.am

    r1e23c47 rfc2ec62  
    4949libbsp_a_SOURCES += irq/intc-icr-init-values.c
    5050
    51 # Cache
    5251libbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/start/cache.c
     52libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     53libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    5354
    5455if HAS_NETWORKING
     
    5657endif
    5758
    58 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
    59                   ../../../libcpu/@RTEMS_CPU@/mcf548x/mcdma.rel
     59libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mcf548x/mcdma.rel
    6060
    6161include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am

    r1e23c47 rfc2ec62  
    4444libbsp_a_SOURCES += nvram/nvram.c
    4545
    46 # Cache
    4746libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
     47libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     48libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4849
    4950libbsp_a_LIBADD = \
    50     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
    5151    ../../../libcpu/@RTEMS_CPU@/mcf5206/clock.rel \
    5252    ../../../libcpu/@RTEMS_CPU@/mcf5206/mcfuart.rel \
  • c/src/lib/libbsp/m68k/mcf52235/Makefile.am

    r1e23c47 rfc2ec62  
    4040
    4141libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5223x.c
    42 
    43 libbsp_a_LIBADD = \
    44     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     42libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     43libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4544
    4645include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mcf5225x/Makefile.am

    r1e23c47 rfc2ec62  
    3535
    3636libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5225x.c
    37 
    38 libbsp_a_LIBADD = \
    39     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     37libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     38libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4039
    4140include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mcf5235/Makefile.am

    r1e23c47 rfc2ec62  
    4444
    4545libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5235.c
    46 
    47 libbsp_a_LIBADD = \
    48     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     46libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     47libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4948
    5049include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mcf5329/Makefile.am

    r1e23c47 rfc2ec62  
    4343
    4444libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf532x.c
    45 
    46 libbsp_a_LIBADD = \
    47     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     45libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     46libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4847
    4948include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mrm332/Makefile.am

    r1e23c47 rfc2ec62  
    4040
    4141libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
    42 
    43 libbsp_a_LIBADD = \
    44     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     42libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     43libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4544
    4645include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mvme147/Makefile.am

    r1e23c47 rfc2ec62  
    3939
    4040libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
    41 
    42 libbsp_a_LIBADD = \
    43     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     41libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     42libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4443
    4544EXTRA_DIST += times
  • c/src/lib/libbsp/m68k/mvme147s/Makefile.am

    r1e23c47 rfc2ec62  
    4747
    4848libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
    49 
    50 libbsp_a_LIBADD = \
    51     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     49libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     50libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    5251
    5352EXTRA_DIST += times
  • c/src/lib/libbsp/m68k/mvme162/Makefile.am

    r1e23c47 rfc2ec62  
    4646
    4747libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
     48libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     49libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4850
    49 libbsp_a_LIBADD = \
    50     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    5151if HAS_FPSP
    52 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
     52libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
    5353endif
    5454
  • c/src/lib/libbsp/m68k/mvme167/Makefile.am

    r1e23c47 rfc2ec62  
    4343
    4444libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
     45libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     46libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4547
    4648libbsp_a_LIBADD = \
    47     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
    4849    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
    4950
  • c/src/lib/libbsp/m68k/uC5282/Makefile.am

    r1e23c47 rfc2ec62  
    4141
    4242libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5282.c
    43 
    44 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
     43libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
     44libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
    4545
    4646include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libcpu/m68k/Makefile.am

    r1e23c47 rfc2ec62  
    44
    55noinst_PROGRAMS =
    6 
    7 if shared
    8 
    9 ## shared/misc
    10 
    11 if mcf5272
    12 M68K_CPPFLAGS = -Dmcf5272
    13 endif
    14 
    15 noinst_PROGRAMS += shared/misc.rel
    16 shared_misc_rel_SOURCES = shared/misc/m68kidle.c shared/misc/memProbe.c
    17 shared_misc_rel_CPPFLAGS = $(AM_CPPFLAGS) $(M68K_CPPFLAGS)
    18 shared_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    19 endif
    206
    217if m68040
Note: See TracChangeset for help on using the changeset viewer.