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, 
Dave 
_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to