On 01/14/19 16:19, Star Zeng wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1323 > Merge EmuVariable and Real variable driver. > > Add emulated variable NV mode support in real variable driver. > Platform can configure PcdEmuVariableNvModeEnable statically > (build time) or dynamically (boot time) to support emulated > variable NV mode. > > Then EmuVariableRuntimeDxe could be removed, the removal of > EmuVariableRuntimeDxe will be done after platforms are migrated > to use the merged variable driver. > > Cc: Jian J Wang <[email protected]> > Cc: Hao Wu <[email protected]> > Cc: Michael D Kinney <[email protected]> > Cc: Liming Gao <[email protected]> > Cc: Ray Ni <[email protected]> > Cc: Laszlo Ersek <[email protected]> > Cc: Ard Biesheuvel <[email protected]> > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Star Zeng <[email protected]> > --- > .../Universal/Variable/RuntimeDxe/Variable.c | 318 > +++++++++++++++------ > .../Universal/Variable/RuntimeDxe/Variable.h | 1 + > .../Universal/Variable/RuntimeDxe/VariableDxe.c | 27 +- > .../Variable/RuntimeDxe/VariableRuntimeDxe.inf | 4 +- > .../Universal/Variable/RuntimeDxe/VariableSmm.c | 29 +- > .../Universal/Variable/RuntimeDxe/VariableSmm.inf | 4 +- > 6 files changed, 271 insertions(+), 112 deletions(-)
Acked-by: Laszlo Ersek <[email protected]> (I think that this work and Ard's standalone MM refactoring will conflict. If that's the case then I guess one of the patch sets should be rebased. I seem to recall that this was already discussed on the list.) Thanks, Laszlo _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

