call turn_off_interrupts()

This commit is contained in:
Laurent Vivier 2005-10-10 21:51:02 +00:00
parent 91eb3f460c
commit 74135a8cda

View File

@ -1,6 +1,6 @@
/* /*
* *
* (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr> * (c) 2004-2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
* *
*/ */
@ -28,6 +28,7 @@
#include "load.h" #include "load.h"
#include "console.h" #include "console.h"
#include "vga.h" #include "vga.h"
#include "driver.h"
#if defined(USE_CLI) && defined(__LINUX__) #if defined(USE_CLI) && defined(__LINUX__)
#include "cli.h" #include "cli.h"
#endif #endif
@ -425,6 +426,9 @@ int start(emile_l2_header_t* info)
else else
error("EMILE doesn't support your architecture"); error("EMILE doesn't support your architecture");
#endif #endif
turn_off_interrupts();
asm("ori.w #0x0700,%sr"); asm("ori.w #0x0700,%sr");
/* kick off */ /* kick off */