1
0
Fork 0
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:
Daniel Ankers 2006-08-03 16:29:42 +00:00
parent 2fa5d81fcd
commit cec7cdc3bb
6 changed files with 93 additions and 15 deletions

View file

@ -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();