]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/Sec: Add FindFfsSectionInstance
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 21 Jan 2014 19:39:04 +0000 (19:39 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 21 Jan 2014 19:39:04 +0000 (19:39 +0000)
commit4b4b783dbe49102e5acaa9852e737820a645a559
tree596c36c732c20977a11370a102aab9f1f0af1952
parentb6f564a7633224b04e297b7a36af751fecd7641f
OvmfPkg/Sec: Add FindFfsSectionInstance

This allow you to search for an 'instance' of a section
within a series of FFS sections.

For example, we will split the MAINFV into a PEI and DXE
FV, and then compress those two FV's together within a
FFS FV file. The DXE FV will appear as the second section
of the file, and therefore we will search for it using
an Instance=1 value.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15150 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/Sec/SecMain.c