[OpenBIOS] local variable patch