Changeset 245cad5 in rtems


Ignore:
Timestamp:
Oct 1, 2012, 12:28:32 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
967481a0
Parents:
94102775
git-author:
Sebastian Huber <sebastian.huber@…> (10/01/12 12:28:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/02/12 13:27:33)
Message:

bsp/mpc55xx: Fix bsp_idle_thread()

Location:
c/src/lib
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am

    r94102775 r245cad5  
    7070libbsp_a_SOURCES += ../shared/src/memcpy.c
    7171libbsp_a_SOURCES += ../shared/src/tictac.c
    72 libbsp_a_SOURCES += ../shared/startup/bspidle.c
    7372libbsp_a_SOURCES += startup/bspstart.c
    7473libbsp_a_SOURCES += startup/exc-vector-base.S
     
    7675libbsp_a_SOURCES += startup/reset.c
    7776libbsp_a_SOURCES += startup/restart.c
     77libbsp_a_SOURCES += startup/idle-thread.c
    7878libbsp_a_SOURCES += startup/start-config-clock.c
    7979libbsp_a_SOURCES += startup/start-config-ebi-cs.c
  • c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h

    r94102775 r245cad5  
    7575void bsp_restart(void *addr);
    7676
    77 #if MPC55XX_CHIP_TYPE / 10 == 567
    78   static void *mpc55xx_idle_task(uintptr_t arg)
    79   {
    80     while (true) {
    81       __asm__ volatile ("wait");
    82     }
     77void *bsp_idle_thread(uintptr_t arg);
    8378
    84     return NULL;
    85   }
    86  
    87   #define BSP_IDLE_TASK_BODY mpc55xx_idle_task
    88 #endif
     79#define BSP_IDLE_TASK_BODY bsp_idle_thread
    8980
    9081#endif /* ASM */
  • c/src/lib/libcpu/powerpc/mpc55xx/include/regs.h

    r94102775 r245cad5  
    6868  #define MPC55XX_HAS_DATA_CACHE
    6969  #define MPC55XX_HAS_SIU
     70  #define MPC55XX_HAS_WAIT_INSTRUCTION
    7071#else
    7172  #error "unsupported chip type"
Note: See TracChangeset for help on using the changeset viewer.