diff options
author | Laszlo Ersek <lersek@redhat.com> | 2014-01-03 19:57:26 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-01-03 19:57:26 +0000 |
commit | 2ce7e221e70214b094e2e54d0e6dc9491a742dd3 (patch) | |
tree | fbf13ce33ddf48b565ff6d20a60fb71cbf04d094 /BaseTools/Source/Python/Ecc/Database.py | |
parent | 0dc231c9bd1a5aecfbcd373a50dc348a5dfbd38a (diff) | |
download | edk2-platforms-2ce7e221e70214b094e2e54d0e6dc9491a742dd3.tar.xz |
OvmfPkg: QemuFwCfgLib: extract stateful implementation
The current implementation of QemuFwCfgLib is:
- stateful
- implicitly initialized in the library constructor.
OVMF's SEC runs from read-only memory/flash. When the library is linked
into a SEC binary (which currently never happens), the
"mQemuFwCfgSupported" global variable becomes read-only, making the
library non-functional.
Extract the stateful, implicitly initialized library implementation into a
separate file, making room for a stateless, explicitly queried
implementation that's usable in SEC. Restrict the stateful implementation
to the current, non-SEC clients.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15045 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Database.py')
0 files changed, 0 insertions, 0 deletions