mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
74d678fdbc
commit
af395f4db6
61 changed files with 381 additions and 278 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue