Do core interrupt masking in a less general fashion and save some instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-03-26 01:50:41 +00:00
parent 74d678fdbc
commit af395f4db6
61 changed files with 381 additions and 278 deletions

View file

@ -272,7 +272,7 @@ static void init(void)
{
kernel_init();
buffer_init();
set_irq_level(0);
enable_irq();
lcd_init();
#ifdef HAVE_REMOTE_LCD
lcd_remote_init();
@ -360,9 +360,9 @@ static void init(void)
power_init();
set_irq_level(0);
enable_irq();
#ifdef CPU_ARM
set_fiq_status(FIQ_ENABLED);
enable_fiq();
#endif
lcd_init();
#ifdef HAVE_REMOTE_LCD