Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: found a bug in power_off()
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2004-05-26


sophana wrote:
> I found out that when I remove the while(1); at the end of the
> routine, it works... :-)

I had the same experience once, but as soon as I started debugging it,
the problem disappeared. And now I see it again. Let's hope that I find
it this time...

> This must be caused by the optimizer optmizing too much, even if the
> and_b and or_b routine are in assembly inline. (the optimizer is
> generally working at the assembler level I think)

What makes you think that? Did you disassemble it? I just did, and I
can't see anything wrong with it.

Linus
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa