mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
AS3525: use kernel_init() in bootloader
This way creation of scrolling thread doesn't risk crashing the system git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c3e667c198
commit
baecdb632c
3 changed files with 30 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ void main(void)
|
||||||
int i;
|
int i;
|
||||||
unsigned char buf[8];
|
unsigned char buf[8];
|
||||||
|
|
||||||
|
kernel_init();
|
||||||
system_init();
|
system_init();
|
||||||
|
|
||||||
lcd_init();
|
lcd_init();
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,7 @@ target/arm/pnx0101/system-pnx0101.c
|
||||||
|
|
||||||
#if CONFIG_CPU == AS3525
|
#if CONFIG_CPU == AS3525
|
||||||
target/arm/as3525/system-as3525.c
|
target/arm/as3525/system-as3525.c
|
||||||
|
target/arm/as3525/kernel-as3525.c
|
||||||
target/arm/as3525/ata_sd_as3525.c
|
target/arm/as3525/ata_sd_as3525.c
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
28
firmware/target/arm/as3525/kernel-as3525.c
Normal file
28
firmware/target/arm/as3525/kernel-as3525.c
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Copyright © 2008 Rafaël Carré
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2
|
||||||
|
* of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
#include "config.h"
|
||||||
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
|
|
||||||
|
void tick_start(unsigned int interval_in_ms)
|
||||||
|
{
|
||||||
|
(void)interval_in_ms;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue