diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-09-15 08:35:14 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-09-15 08:35:14 +0000 |
commit | ab081a50e5651a5b10e35e12b4b19f7fb67c5735 (patch) | |
tree | 2620a3e134ffb04524a242540f5444152c02da81 /ShellPkg/Library/UefiShellDriver1CommandsLib | |
parent | c075d250f6f2358a7c1b19798935d14d716bd67b (diff) | |
download | edk2-platforms-ab081a50e5651a5b10e35e12b4b19f7fb67c5735.tar.xz |
OvmfPkg: PlatformPei: take no-exec DXE settings from the QEMU command line
Control them with:
-fw_cfg name=opt/ovmf/PcdPropertiesTableEnable,file=no.txt \
-fw_cfg name=opt/ovmf/PcdSetNxForStack,file=yes.txt
where the contents of the text files can be
[0nN1yY](\n|\r\n)?
The macro trickery is not optimal, but it is caused by PcdSetBool(), which
is itself a macro, and can only take open-coded PCD names (ie. no
variables, like function parameters).
Cc: Jordan Justen <jordan.l.justen@intel.com>
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@18471 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellDriver1CommandsLib')
0 files changed, 0 insertions, 0 deletions