Fix TABing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18353 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
944c33403c
commit
78d44385fe
1 changed files with 9 additions and 9 deletions
|
@ -44,14 +44,14 @@ void main(void)
|
|||
int(*kernel_entry)(void);
|
||||
int ret;
|
||||
|
||||
/* Make sure interrupts are disabled */
|
||||
set_irq_level(IRQ_DISABLED);
|
||||
/* Make sure interrupts are disabled */
|
||||
set_irq_level(IRQ_DISABLED);
|
||||
set_fiq_status(FIQ_DISABLED);
|
||||
system_init();
|
||||
kernel_init();
|
||||
|
||||
/* Now enable interrupts */
|
||||
set_irq_level(IRQ_ENABLED);
|
||||
/* Now enable interrupts */
|
||||
set_irq_level(IRQ_ENABLED);
|
||||
set_fiq_status(FIQ_ENABLED);
|
||||
backlight_init();
|
||||
lcd_init();
|
||||
|
@ -64,9 +64,9 @@ void main(void)
|
|||
printf("Rockbox boot loader");
|
||||
printf("Version %s", APPSVERSION);
|
||||
|
||||
ret = ata_init();
|
||||
if(ret)
|
||||
printf("ATA error: %d", ret);
|
||||
ret = ata_init();
|
||||
if(ret)
|
||||
printf("ATA error: %d", ret);
|
||||
|
||||
if(1)
|
||||
{
|
||||
|
@ -76,7 +76,7 @@ void main(void)
|
|||
ret = load_minifs_file("creativeos.jrm", loadbuffer);
|
||||
if(ret != -1)
|
||||
{
|
||||
set_irq_level(IRQ_DISABLED);
|
||||
set_irq_level(IRQ_DISABLED);
|
||||
set_fiq_status(FIQ_DISABLED);
|
||||
/* Doesn't return! */
|
||||
load_fw(loadbuffer, ret);
|
||||
|
|
Loading…
Reference in a new issue