4.115
Last change
on this file since bb2b825 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:
959 bytes
|
Line | |
---|
1 | /* |
---|
2 | * The license and distribution terms for this file may be |
---|
3 | * found in the file LICENSE in this distribution or at |
---|
4 | * http://www.rtems.com/license/LICENSE. |
---|
5 | */ |
---|
6 | |
---|
7 | #include <bsp.h> |
---|
8 | |
---|
9 | void bsp_reset(void) |
---|
10 | { |
---|
11 | rtems_interrupt_level level; |
---|
12 | rtems_interrupt_disable(level); |
---|
13 | /* disable mmu, invalide i-cache and call swi #4 */ |
---|
14 | __asm__ volatile("" |
---|
15 | "mrc p15,0,r0,c1,c0,0 \n" |
---|
16 | "bic r0,r0,#1 \n" |
---|
17 | "mcr p15,0,r0,c1,c0,0 \n" |
---|
18 | "nop \n" |
---|
19 | "nop \n" |
---|
20 | "nop \n" |
---|
21 | "nop \n" |
---|
22 | "nop \n" |
---|
23 | "mov r0,#0 \n" |
---|
24 | "MCR p15,0,r0,c7,c5,0 \n" |
---|
25 | "nop \n" |
---|
26 | "nop \n" |
---|
27 | "nop \n" |
---|
28 | "nop \n" |
---|
29 | "nop \n" |
---|
30 | "swi #4 " |
---|
31 | : |
---|
32 | : |
---|
33 | : "r0" |
---|
34 | ); |
---|
35 | /* we should be back in bios now */ |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.