mirror of https://github.com/acidanthera/audk.git
Correct definition to follow spec.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12929 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5f595f14be
commit
e8ef42833f
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Utility functions for expression evaluation.
|
Utility functions for expression evaluation.
|
||||||
|
|
||||||
Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -1909,7 +1909,7 @@ EvaluateExpression (
|
||||||
Value->Value.b = (BOOLEAN) ((Result == 0) ? TRUE : FALSE);
|
Value->Value.b = (BOOLEAN) ((Result == 0) ? TRUE : FALSE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EFI_IFR_EQ_ID_LIST_OP:
|
case EFI_IFR_EQ_ID_VAL_LIST_OP:
|
||||||
Question = IdToQuestion (FormSet, Form, OpCode->QuestionId);
|
Question = IdToQuestion (FormSet, Form, OpCode->QuestionId);
|
||||||
if (Question == NULL) {
|
if (Question == NULL) {
|
||||||
Status = EFI_NOT_FOUND;
|
Status = EFI_NOT_FOUND;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Parser for IFR binary encoding.
|
Parser for IFR binary encoding.
|
||||||
|
|
||||||
Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -1063,7 +1063,7 @@ ParseOpCodes (
|
||||||
CopyMem (&ExpressionOpCode->QuestionId2, &((EFI_IFR_EQ_ID_ID *) OpCodeData)->QuestionId2, sizeof (EFI_QUESTION_ID));
|
CopyMem (&ExpressionOpCode->QuestionId2, &((EFI_IFR_EQ_ID_ID *) OpCodeData)->QuestionId2, sizeof (EFI_QUESTION_ID));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EFI_IFR_EQ_ID_LIST_OP:
|
case EFI_IFR_EQ_ID_VAL_LIST_OP:
|
||||||
CopyMem (&ExpressionOpCode->QuestionId, &((EFI_IFR_EQ_ID_VAL_LIST *) OpCodeData)->QuestionId, sizeof (EFI_QUESTION_ID));
|
CopyMem (&ExpressionOpCode->QuestionId, &((EFI_IFR_EQ_ID_VAL_LIST *) OpCodeData)->QuestionId, sizeof (EFI_QUESTION_ID));
|
||||||
CopyMem (&ExpressionOpCode->ListLength, &((EFI_IFR_EQ_ID_VAL_LIST *) OpCodeData)->ListLength, sizeof (UINT16));
|
CopyMem (&ExpressionOpCode->ListLength, &((EFI_IFR_EQ_ID_VAL_LIST *) OpCodeData)->ListLength, sizeof (UINT16));
|
||||||
ExpressionOpCode->ValueList = AllocateCopyPool (ExpressionOpCode->ListLength * sizeof (UINT16), &((EFI_IFR_EQ_ID_VAL_LIST *) OpCodeData)->ValueList);
|
ExpressionOpCode->ValueList = AllocateCopyPool (ExpressionOpCode->ListLength * sizeof (UINT16), &((EFI_IFR_EQ_ID_VAL_LIST *) OpCodeData)->ValueList);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
IFR is primarily consumed by the EFI presentation engine, and produced by EFI
|
IFR is primarily consumed by the EFI presentation engine, and produced by EFI
|
||||||
internal application and drivers as well as all add-in card option-ROM drivers
|
internal application and drivers as well as all add-in card option-ROM drivers
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
the terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
|
@ -700,7 +700,7 @@ typedef union {
|
||||||
#define EFI_IFR_INCONSISTENT_IF_OP 0x11
|
#define EFI_IFR_INCONSISTENT_IF_OP 0x11
|
||||||
#define EFI_IFR_EQ_ID_VAL_OP 0x12
|
#define EFI_IFR_EQ_ID_VAL_OP 0x12
|
||||||
#define EFI_IFR_EQ_ID_ID_OP 0x13
|
#define EFI_IFR_EQ_ID_ID_OP 0x13
|
||||||
#define EFI_IFR_EQ_ID_LIST_OP 0x14
|
#define EFI_IFR_EQ_ID_VAL_LIST_OP 0x14
|
||||||
#define EFI_IFR_AND_OP 0x15
|
#define EFI_IFR_AND_OP 0x15
|
||||||
#define EFI_IFR_OR_OP 0x16
|
#define EFI_IFR_OR_OP 0x16
|
||||||
#define EFI_IFR_NOT_OP 0x17
|
#define EFI_IFR_NOT_OP 0x17
|
||||||
|
|
Loading…
Reference in New Issue