blob: 232ebfeac0ff37ff80274b377f4a5f90045f90f2 (
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
24
25
26
27
28
29
30
|
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* 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 <rtems.h>
#include <bsp.h>
#include <bsp/mpc5200.h>
#include <bsp/bootcard.h>
void bsp_reset( void )
{
#if (BENCHMARK_IRQ_PROCESSING == 1)
{
BSP_IRQ_Benchmarking_Report();
}
#endif
/*
* Now reset the CPU
*/
mpc5200.gpt[0].count_in = 0xf;
mpc5200.gpt[0].emsel = 0x9004;
while(1) ;
}
|