diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-03 16:45:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-03 16:45:10 +0000 |
commit | 8f10c925f6a4a02a870d16057ec9e57f5c6ee2c3 (patch) | |
tree | 75d0e71c5d80ebf8523fe3c2859d1c03b53eb10b /c/src/lib/libbsp/mips/genmongoosev/start/start.S | |
parent | 2003-01-03 Eugeny S. Mints <Eugeny.Mints@oktet.ru> (diff) | |
download | rtems-8f10c925f6a4a02a870d16057ec9e57f5c6ee2c3.tar.bz2 |
2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov>
* bsp_specs: Added crtbegin/crtend and INIT_FINI for C++ support.
* linkcmds: Added .init, .fini & related sections.
Diffstat (limited to 'c/src/lib/libbsp/mips/genmongoosev/start/start.S')
-rw-r--r-- | c/src/lib/libbsp/mips/genmongoosev/start/start.S | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/mips/genmongoosev/start/start.S b/c/src/lib/libbsp/mips/genmongoosev/start/start.S index 95761abd48..1076b8255d 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/start/start.S +++ b/c/src/lib/libbsp/mips/genmongoosev/start/start.S @@ -411,9 +411,9 @@ zerobss: ** Function: _init */ .globl exit .text - .globl _init - .ent _init -_init: + .globl _initialize_rtems + .ent _initialize_rtems +_initialize_rtems: /* ** Print 'i'. Starting to initialize RTEMS. @@ -445,7 +445,7 @@ _init: */ jal _sys_exit nop - .end _init + .end _initialize_rtems /********************************************************************** @@ -578,7 +578,10 @@ _cpuinit: # INV = 0: 1 : Disable invalidate mode # LOCK = 0: 0 : Disable cache lock # - li t0,0x00027AA0 + # 0x00027AA0 caches on + # 0x00027220 caches off + # + li t0,0x00027aa0 sw t0,M_BIU # |