diff options
author | Eric Dong <eric.dong@intel.com> | 2015-05-06 10:38:04 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-05-06 10:38:04 +0000 |
commit | 5d3776166198cad1d9274d6bc76d47c15188a24e (patch) | |
tree | 1a7b089e32e9c94fed9e1fd392a311d1ce190a04 /BaseTools/Source/C/VfrCompile/VfrFormPkg.h | |
parent | 1f9837b41e0f696632c4676de55c449f9dfec3e9 (diff) | |
download | edk2-platforms-5d3776166198cad1d9274d6bc76d47c15188a24e.tar.xz |
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
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/VfrFormPkg.h')
-rw-r--r-- | BaseTools/Source/C/VfrCompile/VfrFormPkg.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h index 71ff02371b..d2d56cd110 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h @@ -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;
|