source: rtems/c/src/lib/libbsp/arm/gp32/startup/bspidle.c @ f68401e

4.115
Last change on this file since f68401e was b8051837, checked in by Joel Sherrill <joel.sherrill@…>, on 01/08/13 at 16:13:46

arm/gp32: Correct compilation error in BSP Idle Thread

Split BSP Idle Thread into separate file to follow convention
used on other BSPs.

Slight reformatting of file header comment block.

  • Property mode set to 100644
File size: 461 bytes
Line 
1/*
2 *  BSP specific Idle thread
3 */
4
5/*
6 *  Copyright (c) 2000 Canon Research Centre France SA.
7 *  Emmanuel Raguet, mailto:raguet@crf.canon.fr
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 */
13
14#include <bsp.h>
15
16void *bsp_idle_thread(uintptr_t ignored)
17{
18  while(1) {
19    __asm__ volatile ("MCR p15,0,r0,c7,c0,4     \n");
20  }
21  return NULL;
22}
23
Note: See TracBrowser for help on using the repository browser.