/*++\r
\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name:\r
\r
\r
Returns:\r
\r
- NONE \r
+ NONE\r
\r
--*/\r
{\r
//\r
// Free The Old Stack\r
//\r
- gBS->FreePool (mBooleanEvaluationStack);\r
+ FreePool (mBooleanEvaluationStack);\r
}\r
\r
mBooleanEvaluationStack = NewStack;\r
\r
Arguments:\r
\r
- NONE \r
+ NONE\r
\r
Returns:\r
\r
- NONE \r
+ NONE\r
\r
--*/\r
{\r
//\r
// Free The Old buffer\r
//\r
- gBS->FreePool (*BooleanExpression);\r
+ FreePool (*BooleanExpression);\r
} else {\r
//\r
// Copy data into new buffer\r
\r
Width = (*PIterator)->Width;\r
\r
- // \r
+ //\r
// Because INVALID_OFFSET_VALUE - 1 is reserved for TRUE or FALSE, omit them.\r
//\r
if ((*PIterator)->QuestionId1 != INVALID_OFFSET_VALUE &&\r
MapValue = (UINT8) *MapBuffer;\r
}\r
\r
- gBS->FreePool (MapBuffer);\r
+ FreePool (MapBuffer);\r
}\r
\r
if (MapBuffer2 != NULL) {\r
MapValue2 = (UINT8) *MapBuffer2;\r
}\r
\r
- gBS->FreePool (MapBuffer2);\r
+ FreePool (MapBuffer2);\r
}\r
}\r
\r
switch ((*PIterator)->Operand) {\r
case EFI_IFR_EQ_VAR_VAL_OP:\r
UnicodeValueToString (\r
- VariableName, \r
- FALSE, \r
- (UINTN) (*PIterator)->QuestionId1, \r
+ VariableName,\r
+ FALSE,\r
+ (UINTN) (*PIterator)->QuestionId1,\r
(sizeof (VariableName) / sizeof (VariableName[0])) - 1\r
);\r
\r
return Operator;\r
}\r
\r
- // \r
+ //\r
// Because INVALID_OFFSET_VALUE - 1 is reserved for TRUE or FALSE, omit them.\r
//\r
if (Iterator->QuestionId1 != INVALID_OFFSET_VALUE &&\r
MapValue = (UINT8) *MapBuffer;\r
}\r
\r
- gBS->FreePool (MapBuffer);\r
+ FreePool (MapBuffer);\r
}\r
\r
if (MapBuffer2 != NULL) {\r
MapValue2 = (UINT8) *MapBuffer2;\r
}\r
\r
- gBS->FreePool (MapBuffer2);\r
+ FreePool (MapBuffer2);\r
}\r
}\r
\r
}\r
\r
UnicodeValueToString (\r
- VariableName, \r
- FALSE, \r
- (UINTN) Iterator->QuestionId1, \r
+ VariableName,\r
+ FALSE,\r
+ (UINTN) Iterator->QuestionId1,\r
(sizeof (VariableName) / sizeof (VariableName[0])) - 1\r
);\r
\r
MapValue = (UINT8) *MapBuffer;\r
}\r
\r
- gBS->FreePool (MapBuffer);\r
+ FreePool (MapBuffer);\r
}\r
\r
if (MapBuffer2 != NULL) {\r
MapValue2 = (UINT8) *MapBuffer2;\r
}\r
\r
- gBS->FreePool (MapBuffer2);\r
+ FreePool (MapBuffer2);\r
}\r
}\r
\r
//\r
case EFI_IFR_EQ_VAR_VAL_OP:\r
UnicodeValueToString (\r
- VariableName, \r
- FALSE, \r
- (UINTN) Iterator->QuestionId1, \r
+ VariableName,\r
+ FALSE,\r
+ (UINTN) Iterator->QuestionId1,\r
(sizeof (VariableName) / sizeof (VariableName[0])) - 1\r
);\r
\r
MapValue = (UINT8) *MapBuffer;\r
}\r
\r
- gBS->FreePool (MapBuffer);\r
+ FreePool (MapBuffer);\r
}\r
\r
if (MapBuffer2 != NULL) {\r
MapValue2 = (UINT8) *MapBuffer2;\r
}\r
\r
- gBS->FreePool (MapBuffer2);\r
+ FreePool (MapBuffer2);\r
}\r
}\r
\r
//\r
case EFI_IFR_EQ_VAR_VAL_OP:\r
UnicodeValueToString (\r
- VariableName, \r
- FALSE, \r
- (UINTN) Iterator->QuestionId1, \r
+ VariableName,\r
+ FALSE,\r
+ (UINTN) Iterator->QuestionId1,\r
(sizeof (VariableName) / sizeof (VariableName[0])) - 1\r
);\r
\r
MapValue = (UINT8) *MapBuffer;\r
}\r
\r
- gBS->FreePool (MapBuffer);\r
+ FreePool (MapBuffer);\r
}\r
\r
if (MapBuffer2 != NULL) {\r
MapValue2 = (UINT8) *MapBuffer2;\r
}\r
\r
- gBS->FreePool (MapBuffer2);\r
+ FreePool (MapBuffer2);\r
}\r
}\r
\r
//\r
case EFI_IFR_EQ_VAR_VAL_OP:\r
UnicodeValueToString (\r
- VariableName, \r
- FALSE, \r
- (UINTN) Iterator->QuestionId1, \r
+ VariableName,\r
+ FALSE,\r
+ (UINTN) Iterator->QuestionId1,\r
(sizeof (VariableName) / sizeof (VariableName[0])) - 1\r
);\r
\r
PushBool (&StackPtr, Operator);\r
}\r
break;\r
- \r
+\r
case EFI_IFR_TRUE_OP:\r
//\r
// To check whether Ifr is legacy. Once every boolean expression.\r