Changeset b762488e in rtems


Ignore:
Timestamp:
Sep 28, 2012, 2:02:28 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f97e450
Parents:
7f5ab84e
git-author:
Sebastian Huber <sebastian.huber@…> (09/28/12 14:02:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/28/12 14:43:24)
Message:

bsp/mpc55xx: Add e200z7 specific idle task

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h

    r7f5ab84e rb762488e  
    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    }
     83
     84    return NULL;
     85  }
     86 
     87  #define BSP_IDLE_TASK_BODY mpc55xx_idle_task
     88#endif
     89
    7790#endif /* ASM */
    7891
Note: See TracChangeset for help on using the changeset viewer.