Home
last modified time | relevance | path

Searched refs:StackPtr (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dependency/
DDependency.c104 EVAL_STACK_ENTRY *StackPtr; in PeimDispatchReadiness() local
109 StackPtr = EvalStack; in PeimDispatchReadiness()
125 if (StackPtr > &EvalStack[MAX_GRAMMAR_SIZE-1]) { in PeimDispatchReadiness()
134 StackPtr->Operator = (VOID *) Iterator; in PeimDispatchReadiness()
136 …BUG ((DEBUG_DISPATCH, " PUSH GUID(%g) = %a\n", StackPtr->Operator, IsPpiInstalled (PeiServices, S… in PeimDispatchReadiness()
137 StackPtr++; in PeimDispatchReadiness()
153 if (StackPtr < &EvalStack[2]) { in PeimDispatchReadiness()
167 StackPtr--; in PeimDispatchReadiness()
174 if (!(IsPpiInstalled (PeiServices, StackPtr))) { in PeimDispatchReadiness()
175 (StackPtr-1)->Result = FALSE; in PeimDispatchReadiness()
[all …]
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/
DSecFsp.c60 UINT32 *StackPtr; in SecGetPlatformData() local
80 StackPtr = (UINT32 *)(TopOfCar - sizeof (UINT32)); in SecGetPlatformData()
82 if (*(StackPtr - 1) == FSP_MCUD_SIGNATURE) { in SecGetPlatformData()
83 while (*StackPtr != 0) { in SecGetPlatformData()
84 if (*(StackPtr - 1) == FSP_MCUD_SIGNATURE) { in SecGetPlatformData()
89 StackPtr = StackPtr - 1 - DwordSize; in SecGetPlatformData()
90 CopyMem (&(FspPlatformData->MicrocodeRegionBase), StackPtr, (DwordSize << 2)); in SecGetPlatformData()
91 StackPtr--; in SecGetPlatformData()
92 } else if (*(StackPtr - 1) == FSP_PER0_SIGNATURE) { in SecGetPlatformData()
97 StackPtr = StackPtr - 1 - DwordSize; in SecGetPlatformData()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
DUefiIfrParserExpression.c62 IN OUT EFI_HII_VALUE **StackPtr, in GrowStack() argument
70 if (*StackPtr != NULL) { in GrowStack()
79 if (*StackPtr != NULL) { in GrowStack()
98 *StackPtr = NewStack + (*StackPtr - *Stack); in GrowStack()
121 IN OUT EFI_HII_VALUE **StackPtr, in PushStack() argument
131 if (*StackPtr >= *StackEnd) { in PushStack()
135 Status = GrowStack (Stack, StackPtr, StackEnd); in PushStack()
144 CopyMem (*StackPtr, Data, sizeof (EFI_HII_VALUE)); in PushStack()
145 *StackPtr = *StackPtr + 1; in PushStack()
167 IN OUT EFI_HII_VALUE **StackPtr, in PopStack() argument
[all …]
/device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/
DSecFsp.c88 UINT32 *StackPtr; in SecGetPlatformData() local
108 StackPtr = (UINT32 *)(TopOfCar - sizeof(UINT32)); in SecGetPlatformData()
110 while (*StackPtr != 0) { in SecGetPlatformData()
111 if (*(StackPtr - 1) == FSP_MCUD_SIGNATURE) { in SecGetPlatformData()
116 StackPtr = StackPtr - 1 - DwordSize; in SecGetPlatformData()
117 CopyMem (&(FspPlatformData->MicrocodeRegionBase), StackPtr, (DwordSize << 2)); in SecGetPlatformData()
118 StackPtr--; in SecGetPlatformData()
119 } else if (*(StackPtr - 1) == FSP_PER0_SIGNATURE) { in SecGetPlatformData()
124 StackPtr = StackPtr - 1 - DwordSize; in SecGetPlatformData()
125 CopyMem (FspData->PerfData, StackPtr, (DwordSize << 2)); in SecGetPlatformData()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/
DGenDepex.c325 INT8 *StackPtr; in GenerateDependencyExpression() local
353 StackPtr = EvaluationStack; in GenerateDependencyExpression()
604 while (StackPtr != EvaluationStack) { in GenerateDependencyExpression()
605 Opcode = PopOpCode ((VOID **) &StackPtr); in GenerateDependencyExpression()
610 PushOpCode ((VOID **) &StackPtr, DXE_DEP_LEFT_PARENTHESIS); in GenerateDependencyExpression()
615 PushOpCode ((VOID **) &StackPtr, EFI_DEP_AND); in GenerateDependencyExpression()
620 while (StackPtr != EvaluationStack) { in GenerateDependencyExpression()
621 Opcode = PopOpCode ((VOID **) &StackPtr); in GenerateDependencyExpression()
626 PushOpCode ((VOID **) &StackPtr, DXE_DEP_LEFT_PARENTHESIS); in GenerateDependencyExpression()
631 PushOpCode ((VOID **) &StackPtr, EFI_DEP_OR); in GenerateDependencyExpression()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
DExpression.c73 IN OUT EFI_HII_VALUE **StackPtr, in GrowStack() argument
81 if (*StackPtr != NULL) { in GrowStack()
90 if (*StackPtr != NULL) { in GrowStack()
109 *StackPtr = NewStack + (*StackPtr - *Stack); in GrowStack()
132 IN OUT EFI_HII_VALUE **StackPtr, in PushStack() argument
142 if (*StackPtr >= *StackEnd) { in PushStack()
146 Status = GrowStack (Stack, StackPtr, StackEnd); in PushStack()
155 CopyMem (*StackPtr, Data, sizeof (EFI_HII_VALUE)); in PushStack()
157 (*StackPtr)->Buffer = AllocateCopyPool(Data->BufferLen, Data->Buffer); in PushStack()
158 ASSERT ((*StackPtr)->Buffer != NULL); in PushStack()
[all …]