mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-03 12:31:57 +00:00
call turn_off_interrupts()
This commit is contained in:
parent
91eb3f460c
commit
74135a8cda
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user