Re: [PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used

2021-07-07 Thread Bin Meng
Hi Simon, On Thu, Jul 8, 2021 at 1:35 AM Simon Glass wrote: > > Hi Bin, > > On Wed, 7 Jul 2021 at 01:36, Bin Meng wrote: > > > > With x86 we can execute an option ROM either natively or using the > > x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share > > the _X86EMU_env variable,

Re: [PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used

2021-07-07 Thread Simon Glass
Hi Bin, On Wed, 7 Jul 2021 at 01:36, Bin Meng wrote: > > With x86 we can execute an option ROM either natively or using the > x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share > the _X86EMU_env variable, with the native code using it to hold > register state during interrupt proc

Re: [PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used

2021-07-07 Thread Tom Rini
On Wed, Jul 07, 2021 at 03:36:26PM +0800, Bin Meng wrote: > With x86 we can execute an option ROM either natively or using the > x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share > the _X86EMU_env variable, with the native code using it to hold > register state during interrupt pr

[PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used

2021-07-07 Thread Bin Meng
With x86 we can execute an option ROM either natively or using the x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share the _X86EMU_env variable, with the native code using it to hold register state during interrupt processing. At present, in 32-bit U-Boot, the variable is declared t