BaseTools: Enable Match2 Opcode.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17338 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Eric Dong
2015-05-06 10:38:04 +00:00
committed by ydong10
parent 1f9837b41e
commit 5d37761661
4 changed files with 39 additions and 1 deletions

View File

@@ -2656,6 +2656,21 @@ public:
}
};
class CIfrMatch2 : public CIfrObj, public CIfrOpHeader {
private:
EFI_IFR_MATCH2 *mMatch2;
public:
CIfrMatch2 (
IN UINT32 LineNo,
IN EFI_GUID *Guid
) : CIfrObj (EFI_IFR_MATCH2_OP, (CHAR8 **)&mMatch2),
CIfrOpHeader (EFI_IFR_MATCH2_OP, &mMatch2->Header) {
SetLineNo (LineNo);
memmove (&mMatch2->SyntaxType, Guid, sizeof (EFI_GUID));
}
};
class CIfrMultiply : public CIfrObj, public CIfrOpHeader {
private:
EFI_IFR_MULTIPLY *mMultiply;