]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/Sec: Support SECTION2 DXEFV types
authorThomas Palmer <thomas.palmer@hpe.com>
Wed, 27 Jul 2016 06:48:15 +0000 (01:48 -0500)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 27 Jul 2016 13:41:19 +0000 (15:41 +0200)
commit39dbc4d5534790b5efcd67ce6b0f82ac23c6db6d
treec3a3ab68a27acfee5ff6b64a50af652d76a636e0
parent5e443e376928de02ee5af8f151ad315e48372ff2
OvmfPkg/Sec: Support SECTION2 DXEFV types

Support down-stream projects that require large DXEFV sizes greater
than 16MB by handling SECTION2 common headers. These are already
created by the build tools when necessary.

Use IS_SECTION2 and SECTION2_SIZE macros to calculate accurate image
sizes when appropriate.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
[lersek@redhat.com: fix NB->MB typo in commit message]
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/Sec/SecMain.c