forked from len0rd/rockbox
Initial work for coprocessor support on iPods. FS#5755
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10437 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2fa5d81fcd
commit
cec7cdc3bb
6 changed files with 93 additions and 15 deletions
13
apps/main.c
13
apps/main.c
|
|
@ -451,6 +451,19 @@ void init(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
void cop_main(void)
|
||||
{
|
||||
/* This is the entry point for the coprocessor
|
||||
Anyone not running an upgraded bootloader will never reach this point,
|
||||
so it should not be assumed that the coprocessor be usable even on
|
||||
platforms which support it.
|
||||
|
||||
At present all we do is send the COP to sleep if anything wakes it. */
|
||||
while(1) {
|
||||
COP_CTL = PROC_SLEEP;
|
||||
}
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
app_main();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue