[coreboot] printk and side effects

Myles Watson mylesgw at gmail.com
Thu Apr 22 23:23:37 CEST 2010

On Sat, Apr 17, 2010 at 2:41 PM, Myles Watson <mylesgw at gmail.com> wrote:
>> > This is a reminder to myself in case it is obvious to everyone else:
>> >
>> > It seems very difficult to guarantee that the removal/insertion of a
>> > print statement has no other effects.
>> > I printed out the location of a variable, and that changed where it
>> > was stored (from a register to being placed on the stack)...
>> >
>> > This might not be a traditional "side effect", but it changed the
>> > behavior of the code and surprised me.
>> In which way was the behavior changed? Anything we can watch out for?
> I'm trying to track down a bug that's seems to be sensitive to stack
> alignment, but I am having a hard time isolating it.  I think it's specific
> to my setup.

Luckily it was specific to my hardware setup, not a bug in Coreboot.


More information about the coreboot mailing list