freemyipod r594 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r593‎ | r594 | r595 >
Date:20:31, 12 February 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Fix CPU time accounting if yield() is involved
Modified paths:
  • /emcore/trunk/arm/contextswitch.S (modified) (history)

Diff [purge]

Index: emcore/trunk/arm/contextswitch.S
@@ -36,6 +36,7 @@
3737 str lr, [r0], #4
3838 str r1, [r0]
3939 msr cpsr_c, #0xd2
 40+ bl scheduler_pause_accounting
4041 adr lr, resume_thread
4142 mov r0, #-1
4243 b scheduler_switch