summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gp32/startup/bspidle.c
blob: 0f96f1f09b93cbaa08cc21763ff3796291dc7896 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *  BSP specific Idle thread
 */

/*
 *  Copyright (c) 2000 Canon Research Centre France SA.
 *  Emmanuel Raguet, mailto:raguet@crf.canon.fr
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#include <bsp.h>

void *bsp_idle_thread(uintptr_t ignored)
{
  while(1) {
    __asm__ volatile ("MCR p15,0,r0,c7,c0,4     \n");
  }
  return NULL;
}