Re: [SeaBIOS] I2C console16/32 segment problems

2012-10-17 Thread Dave Frodin
I found a solution to my problem. My I2C code relies on using several static int variables. In order to get the code to build I had to change them to global and add the VAR16VISIBLE definition. int i2c_inited VAR16VISIBLE = 0; My static i2c_inited variable doesn't need global visibility. Is

[SeaBIOS] I2C console16/32 segment problems

2012-10-16 Thread Dave Frodin
All, I've added code to output.c to implement a I2C console interface. Everything was working great on my AMD/Persimmon until I added additional code to determine what south bridge I was on. I'm evidently not correctly handling the 16/32 bit code segments correctly. It's evident when I run