From cec7cdc3bbf46379131e6951585951cf97444326 Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Thu, 3 Aug 2006 16:29:42 +0000 Subject: Initial work for coprocessor support on iPods. FS#5755 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10437 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'apps') diff --git a/apps/main.c b/apps/main.c index 8ee6adfe4f..f8c3604f6b 100644 --- a/apps/main.c +++ b/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(); -- cgit v1.2.3