Thread: 21 Hrs, How?
View Single Post
Old 12-20-2006, 04:28 PM   #7
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Yep one of these days iRex will grab the bull by the horns and update this code...

linux-2.4.19/arch/arm/mm/proc-xscale.S

Code:
/*
 * cpu_xscale_do_idle(type)
 *
 * Cause the processor to idle
 *
 * type: 
 *   0 = slow idle
 *   1 = fast idle
 *   2 = switch to slow processor clock
 *   3 = switch to fast processor clock
 *
 * For now we do nothing but go to idle mode for every case
 *
 * XScale supports clock switching, but using idle mode support
 * allows external hardware to react to system state changes.
 */
        .align  5

ENTRY(cpu_xscale_do_idle)
        mov     r0, #1
        mcr     p14, 0, r0, c7, c0, 0           @ Go to IDLE
        mov     pc, lr
iRex haven't released any details to enable me to even make an educated guess as to what to suggest they insert here. All I can do is plant a flag and see if they salute it.
scotty1024 is offline   Reply With Quote