[SeaBIOS] I2C console16/32 segment problems
dave.frodin at se-eng.com
Wed Oct 17 19:44:59 CEST 2012
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 there a better way to do this in SeaBIOS so
that they are static local variables rather than global and still satisfy the 16/32 segment stuff?
thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SeaBIOS