mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-01 04:30:50 +00:00
switch off interrupts before the PPC bootstrap
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
5f819dde88
commit
80b3fbbec7
@ -260,6 +260,13 @@ retry:
|
||||
error("EMILE doesn't support your architecture");
|
||||
#endif
|
||||
#endif /* ARCH_M68K */
|
||||
|
||||
turn_off_interrupts();
|
||||
|
||||
asm("ori.w #0x0700,%sr");
|
||||
|
||||
/* kick off */
|
||||
|
||||
#ifdef ARCH_PPC
|
||||
if (arch_type == gestaltPowerPC)
|
||||
{
|
||||
@ -287,13 +294,6 @@ retry:
|
||||
else
|
||||
error("EMILE doesn't support your architecture");
|
||||
#endif
|
||||
|
||||
turn_off_interrupts();
|
||||
|
||||
asm("ori.w #0x0700,%sr");
|
||||
|
||||
/* kick off */
|
||||
|
||||
#ifdef ARCH_M68K
|
||||
if (arch_type == gestalt68k)
|
||||
entry(physImage, kernel_size + BI_ALLOC_SIZE, start_mem, entry_point);
|
||||
|
Loading…
x
Reference in New Issue
Block a user