source: rtems/bsps/powerpc/mpc55xxevb/start/idle-thread.c @ 8f8ccee

5
Last change on this file since 8f8ccee was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 594 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup mpc55xx
5 *
6 * @brief bsp_idle_thread() implementation.
7 */
8
9/*
10 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#include <bsp.h>
24
25#include <mpc55xx/mpc55xx.h>
26
27void *bsp_idle_thread(uintptr_t arg)
28{
29  while (true) {
30    mpc55xx_wait_for_interrupt();
31  }
32
33  return NULL;
34}
Note: See TracBrowser for help on using the repository browser.