From a0d22251b231521491a3a930598a803b816a81c6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 11 Feb 2009 19:30:24 +0000 Subject: 2009-02-11 Joel Sherrill * sapi/src/exinit.c: Interrupts are guaranteed to be disabled by boot_card(), do not do it here as well. --- cpukit/ChangeLog | 5 +++++ cpukit/sapi/src/exinit.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index c05a77f818..4ad95b1d96 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-02-11 Joel Sherrill + + * sapi/src/exinit.c: Interrupts are guaranteed to be disabled by + boot_card(), do not do it here as well. + 2009-02-11 Ralf Corsépius * libnetworking/sys/kernel.h: Remove PSEUDO_* diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index d725db3647..cd65388d8b 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -63,14 +63,14 @@ Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ]; void rtems_initialize_data_structures(void) { - rtems_interrupt_level bsp_level; - /* * Dispatching and interrupts are disabled until the end of the * initialization sequence. This prevents an inadvertent context * switch before the executive is initialized. + * + * WARNING: Interrupts should have been disabled by the BSP and + * are disabled by boot_card(). */ - _ISR_Disable( bsp_level ); /* * Initialize any target architecture specific support as early as possible -- cgit v1.2.3