diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-16 19:30:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-16 19:30:12 +0000 |
commit | 3491e9e5447e53242645f0495cd25ae94ab7a743 (patch) | |
tree | 4085255bafe1546beeb570a15089e5c989d0113b /c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c | |
parent | 2001-04-11 Eric Valette <valette@crf.canon.fr> (diff) | |
download | rtems-3491e9e5447e53242645f0495cd25ae94ab7a743.tar.bz2 |
2001-04-16 Joel Sherrill <joel@OARcorp.com>
* start/start.S, startup/bspstart.c, startup/linkcmds:
Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
as he debugged this BSP using a logic analyzer.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c index 42b8490c6d..8e5647800c 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c @@ -19,6 +19,8 @@ #include <bsp.h> #include <rtems/libio.h> #include <rtems/libcsupport.h> +#include <libcpu/mongoose-v.h> + /* * The original table from the application and our copy of it with @@ -69,6 +71,7 @@ void bsp_pretasking_hook(void) #endif } + /* * bsp_start @@ -92,6 +95,7 @@ void bsp_start( void ) BSP_Configuration.work_space_start = (void *) &WorkspaceBase; + MONGOOSEV_WRITE( MONGOOSEV_PERIPHERAL_FUNCTION_INTERRUPT_CAUSE_REGISTER, 0 ); mips_set_sr( 0xff00 ); /* all interrupts unmasked but globally off */ /* depend on the IRC to take care of things */ mips_install_isr_entries(); |