Re: [edk2] [PATCH v2 3/8] OvmfPkg: conditionally disable reserved memory varstore emulation at build

2017-12-02 Thread Ard Biesheuvel
On 1 December 2017 at 11:41, Laszlo Ersek wrote: > On 12/01/17 11:53, Ard Biesheuvel wrote: >> On 1 December 2017 at 10:52, Laszlo Ersek wrote: >>> On 12/01/17 09:51, Ard Biesheuvel wrote: On 30 November 2017 at 16:30, Laszlo Ersek

Re: [edk2] [PATCH v2 3/8] OvmfPkg: conditionally disable reserved memory varstore emulation at build

2017-12-01 Thread Laszlo Ersek
On 12/01/17 11:53, Ard Biesheuvel wrote: > On 1 December 2017 at 10:52, Laszlo Ersek wrote: >> On 12/01/17 09:51, Ard Biesheuvel wrote: >>> On 30 November 2017 at 16:30, Laszlo Ersek wrote: (All of the below is only relevant for SMM_REQUIRE=FALSE.)

Re: [edk2] [PATCH v2 3/8] OvmfPkg: conditionally disable reserved memory varstore emulation at build

2017-12-01 Thread Ard Biesheuvel
On 1 December 2017 at 10:52, Laszlo Ersek wrote: > On 12/01/17 09:51, Ard Biesheuvel wrote: >> On 30 November 2017 at 16:30, Laszlo Ersek wrote: >>> (All of the below is only relevant for SMM_REQUIRE=FALSE.) >>> >>> For the emulated variable store,

Re: [edk2] [PATCH v2 3/8] OvmfPkg: conditionally disable reserved memory varstore emulation at build

2017-12-01 Thread Laszlo Ersek
On 12/01/17 09:51, Ard Biesheuvel wrote: > On 30 November 2017 at 16:30, Laszlo Ersek wrote: >> (All of the below is only relevant for SMM_REQUIRE=FALSE.) >> >> For the emulated variable store, PlatformPei allocates reserved memory (as >> early as possible, so that the address

Re: [edk2] [PATCH v2 3/8] OvmfPkg: conditionally disable reserved memory varstore emulation at build

2017-12-01 Thread Ard Biesheuvel
On 30 November 2017 at 16:30, Laszlo Ersek wrote: > (All of the below is only relevant for SMM_REQUIRE=FALSE.) > > For the emulated variable store, PlatformPei allocates reserved memory (as > early as possible, so that the address remains the same during reboot), > and

[edk2] [PATCH v2 3/8] OvmfPkg: conditionally disable reserved memory varstore emulation at build

2017-11-30 Thread Laszlo Ersek
(All of the below is only relevant for SMM_REQUIRE=FALSE.) For the emulated variable store, PlatformPei allocates reserved memory (as early as possible, so that the address remains the same during reboot), and PcdEmuVariableNvStoreReserved carries the address to EmuVariableFvbRuntimeDxe. In