freemyipod r415 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r414‎ | r415 | r416 >
Date:23:45, 7 January 2011
Author:theseven
Status:new
Tags:
Comment:
emBIOS: The iPod Nano 2G AES core doesn't seem to like sleeping, no idea why. Work around it.
Modified paths:
  • /embios/trunk/target/ipodnano2g/hwkeyaes.c (modified) (history)

Diff [purge]

Index: embios/trunk/target/ipodnano2g/hwkeyaes.c
@@ -62,7 +62,7 @@
6363 AESSTATUS = 6;
6464 AESGO = go;
6565 go = 3;
66 - while ((AESSTATUS & 6) == 0) sleep(100);
 66+ while ((AESSTATUS & 6) == 0) yield();
6767 invalidate_dcache();
6868 if (direction == HWKEYAES_DECRYPT)
6969 {