4.115
Last change
on this file since 9b4422a2 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
740 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2008 |
---|
3 | * Embedded Brains GmbH |
---|
4 | * Obere Lagerstr. 30 |
---|
5 | * D-82178 Puchheim |
---|
6 | * Germany |
---|
7 | * rtems@embedded-brains.de |
---|
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 | #include <bsp/bootcard.h> |
---|
16 | |
---|
17 | void bsp_reset(void) |
---|
18 | { |
---|
19 | _ISR_Set_level( 0 ); |
---|
20 | |
---|
21 | /* Set Reset Protection Register (RPR) to "RSTE" */ |
---|
22 | mpc83xx.res.rpr = 0x52535445; |
---|
23 | |
---|
24 | /* |
---|
25 | * Wait for Control Register Enabled in the |
---|
26 | * Reset Control Enable Register (RCER). |
---|
27 | */ |
---|
28 | while (mpc83xx.res.rcer != 0x00000001) { |
---|
29 | /* Wait */ |
---|
30 | } |
---|
31 | |
---|
32 | /* Set Software Hard Reset in the Reset Control Register (RCR) */ |
---|
33 | mpc83xx.res.rcr = 0x00000002; |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.