summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirtQemuKernel.dsc
diff options
context:
space:
mode:
authorLinn Crosetto <linn@hpe.com>2016-05-10 12:16:12 -0600
committerLaszlo Ersek <lersek@redhat.com>2016-05-10 20:32:26 +0200
commit2d063646b9f566f227db5df535cf72bec2f34649 (patch)
tree4e683c408cffb320e7f9fee62df6e1d3c5324137 /ArmVirtPkg/ArmVirtQemuKernel.dsc
parent24ca2f3507056e6a86cb0c0f088bba96cd117d71 (diff)
downloadedk2-2d063646b9f566f227db5df535cf72bec2f34649.tar.gz
edk2-2d063646b9f566f227db5df535cf72bec2f34649.tar.bz2
edk2-2d063646b9f566f227db5df535cf72bec2f34649.zip
ArmVirtPkg: set PcdMaxVariableSize and PcdMaxAuthVariableSize
To support UEFI Secure Boot and the Linux persistent store with UEFI variables, set PcdMaxVariableSize to 0x2000 bytes as is done in OvmfPkg. For reference, the related Ovmf commits: 8cee3de7 2d441ca9 Also increase the maximum size for Authenticated variables in order to handle a larger Signature List size as is done in OvmfPkg. Related Ovmf commit: f5404a3e Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Linn Crosetto <linn@hpe.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg/ArmVirtQemuKernel.dsc')
-rw-r--r--ArmVirtPkg/ArmVirtQemuKernel.dsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc
index d4134f169c..65e6c87520 100644
--- a/ArmVirtPkg/ArmVirtQemuKernel.dsc
+++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc
@@ -100,6 +100,8 @@
gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x4007c000
gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
# Size of the region used by UEFI in permanent memory (Reserved 64MB)
gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000