Home
last modified time | relevance | path

Searched refs:CurrPtr (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/AcpiPlatform/
DAcpiPlatformHooks.c243 UINT8 *CurrPtr; in PatchGv3SsdtTable()
268 CurrPtr = (UINT8 *) TableHeader; in PatchGv3SsdtTable()
271 …for (SsdtPointer = CurrPtr; SsdtPointer <= (CurrPtr + ((EFI_ACPI_COMMON_HEADER *) CurrPtr)->Length… in PatchGv3SsdtTable()
416 UINT8 *CurrPtr; in PatchDsdtTable()
427 CurrPtr = (UINT8*) &((EFI_ACPI_DESCRIPTION_HEADER*) TableHeader)[0]; in PatchDsdtTable()
430 while (CurrPtr < (EndPtr-2)) { in PatchDsdtTable()
439 … if ((CurrPtr[0] == '_') && (CurrPtr[1] == 'S') && (CurrPtr[2] == '3') && (CurrPtr[3] == '_')) { in PatchDsdtTable()
445 … if ((CurrPtr[0] == '\\') && (CurrPtr[1] == '_') && (CurrPtr[2] == 'S') && (CurrPtr[3] == '3')) { in PatchDsdtTable()
449 CurrPtr++; in PatchDsdtTable()
451 CurrPtr = (UINT8*) &((EFI_ACPI_DESCRIPTION_HEADER*) TableHeader)[0]; in PatchDsdtTable()
[all …]
DAcpiPlatform.c207 UINT8 *CurrPtr; in PlatformUpdateTables() local
242 CurrPtr = NULL; in PlatformUpdateTables()
346 CurrPtr = (UINT8 *) &((EFI_ACPI_DESCRIPTION_HEADER *) Table)[1]; in PlatformUpdateTables()
347 CurrPtr = CurrPtr + 8; in PlatformUpdateTables()
354 while (CurrPtr < EndPtr) { in PlatformUpdateTables()
355 ApicPtr = (ACPI_APIC_STRUCTURE_PTR *) CurrPtr; in PlatformUpdateTables()
413 IOApicType = (EFI_ACPI_3_0_IO_APIC_STRUCTURE *)CurrPtr; in PlatformUpdateTables()
421 CurrPtr = CurrPtr + ApicPtr->AcpiApicCommon.Length; in PlatformUpdateTables()
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFSVariable.c314 UINT8 *CurrPtr; in Reclaim() local
345 CurrPtr = ValidBuffer; in Reclaim()
350 CopyMem (CurrPtr, VariableStoreHeader, sizeof (VARIABLE_STORE_HEADER)); in Reclaim()
351 CurrPtr += sizeof (VARIABLE_STORE_HEADER); in Reclaim()
368 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize); in Reclaim()
370 CurrPtr += VariableSize; in Reclaim()
383 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize); in Reclaim()
388 ((VARIABLE_HEADER *)CurrPtr)->State = VAR_ADDED; in Reclaim()
390 CurrPtr += VariableSize; in Reclaim()
496 PtrTrack->CurrPtr = Variable; in FindVariable()
[all …]
DFSVariable.h81 VARIABLE_HEADER *CurrPtr; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c820 VarErrFlag = (VAR_ERROR_FLAG *) GetVariableDataPtr (Variable.CurrPtr); in RecordVarErrorFlag()
878 VarErrFlag = *((VAR_ERROR_FLAG *) GetVariableDataPtr (Variable.CurrPtr)); in InitializeVarErrorFlag()
1017 UINT8 *CurrPtr; in Reclaim() local
1031 UpdatingVariable = UpdatingPtrTrack->CurrPtr; in Reclaim()
1092 CurrPtr = (UINT8 *) GetStartPointer ((VARIABLE_STORE_HEADER *) ValidBuffer); in Reclaim()
1102 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize); in Reclaim()
1103 CurrPtr += VariableSize; in Reclaim()
1152 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize); in Reclaim()
1153 ((VARIABLE_HEADER *) CurrPtr)->State = VAR_ADDED; in Reclaim()
1154 CurrPtr += VariableSize; in Reclaim()
[all …]
DVariableExLib.c64 AuthVariableInfo->DataSize = DataSizeOfVariable (Variable.CurrPtr); in VariableExLibFindVariable()
65 AuthVariableInfo->Data = GetVariableDataPtr (Variable.CurrPtr); in VariableExLibFindVariable()
66 AuthVariableInfo->Attributes = Variable.CurrPtr->Attributes; in VariableExLibFindVariable()
68 AuthVariable = (AUTHENTICATED_VARIABLE_HEADER *) Variable.CurrPtr; in VariableExLibFindVariable()
DVariable.h68 VARIABLE_HEADER *CurrPtr; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/Pei/
DVariable.c473 PtrTrack->CurrPtr = Variable; in CompareWithValidVariable()
489 PtrTrack->CurrPtr = Variable; in CompareWithValidVariable()
813 InDeletedVariable = PtrTrack->CurrPtr; in FindVariableEx()
824 PtrTrack->CurrPtr = InDeletedVariable; in FindVariableEx()
825 return (PtrTrack->CurrPtr == NULL) ? EFI_NOT_FOUND : EFI_SUCCESS; in FindVariableEx()
870 InDeletedVariable = PtrTrack->CurrPtr; in FindVariableEx()
886 PtrTrack->CurrPtr = InDeletedVariable; in FindVariableEx()
888 return (PtrTrack->CurrPtr == NULL) ? EFI_NOT_FOUND : EFI_SUCCESS; in FindVariableEx()
994 GetVariableHeader (&StoreInfo, Variable.CurrPtr, &VariableHeader); in PeiGetVariable()
1005 …GetVariableNameOrData (&StoreInfo, GetVariableDataPtr (Variable.CurrPtr, VariableHeader, StoreInfo… in PeiGetVariable()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
DEmuVariable.c769 Data = GetVariableDataPtr (Variable.CurrPtr); in AutoUpdateLangVariable()
770 DataSize = Variable.CurrPtr->DataSize; in AutoUpdateLangVariable()
778 Data = GetVariableDataPtr (Variable.CurrPtr); in AutoUpdateLangVariable()
779 DataSize = Variable.CurrPtr->DataSize; in AutoUpdateLangVariable()
905 if (Variable->CurrPtr != NULL) { in UpdateVariable()
923 if ((Variable->CurrPtr->Attributes & EFI_VARIABLE_NON_VOLATILE) == 0) { in UpdateVariable()
934 Variable->CurrPtr->State &= VAR_DELETED; in UpdateVariable()
944 if (Variable->CurrPtr->DataSize == DataSize && in UpdateVariable()
945 CompareMem (Data, GetVariableDataPtr (Variable->CurrPtr), DataSize) == 0 in UpdateVariable()
949 } else if (Variable->CurrPtr->State == VAR_ADDED) { in UpdateVariable()
[all …]
DVariable.h53 VARIABLE_HEADER *CurrPtr; member
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/HisiAcpiPlatformDxe/
DUpdateAcpiTable.c34 UINTN CurrPtr, NewPtr; in RemoveUnusedMemoryNode() local
40 CurrPtr = (UINTN) &(Table->Memory[EFI_ACPI_MEMORY_AFFINITY_STRUCTURE_COUNT]); in RemoveUnusedMemoryNode()
43 CopyMem ((VOID *)NewPtr, (VOID *)CurrPtr, (UINTN)Table + Table->Header.Header.Length - CurrPtr); in RemoveUnusedMemoryNode()
45 Table->Header.Header.Length -= CurrPtr - NewPtr; in RemoveUnusedMemoryNode()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DAuthService.c75 if (Variable.CurrPtr == 0x0) { in AutenticatedVariableServiceInitialize()
99 Variable.CurrPtr, in AutenticatedVariableServiceInitialize()
110 Variable.CurrPtr, in AutenticatedVariableServiceInitialize()
132 if (Variable.CurrPtr == 0x0) { in AutenticatedVariableServiceInitialize()
140 if (Variable.CurrPtr == 0x0) { in AutenticatedVariableServiceInitialize()
164 Variable.CurrPtr, in AutenticatedVariableServiceInitialize()
183 if (Variable.CurrPtr == 0x0) { in AutenticatedVariableServiceInitialize()
508 if (Variable->CurrPtr != 0x0) { in ProcessVarWithPk()
510 Variable->CurrPtr, in ProcessVarWithPk()
539 PkVariable.CurrPtr, in ProcessVarWithPk()
[all …]
DVariable.c1027 PtrTrack->CurrPtr = Variable[Index]; in FindVariable()
1060 PtrTrack->CurrPtr = Variable[Index]; in FindVariable()
1089 PtrTrack->CurrPtr = InDeletedVariable; in FindVariable()
1094 PtrTrack->CurrPtr = 0x0; in FindVariable()
1136 UINT8 *CurrPtr; in Reclaim() local
1191 CurrPtr = (UINT8 *) GetStartPointer ((EFI_PHYSICAL_ADDRESS) ValidBuffer); in Reclaim()
1201 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize); in Reclaim()
1202 CurrPtr += VariableSize; in Reclaim()
1250 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize); in Reclaim()
1257 ((AUTHENTICATED_VARIABLE_HEADER *) CurrPtr)->State = VAR_ADDED; in Reclaim()
[all …]
DVariable.h83 EFI_PHYSICAL_ADDRESS CurrPtr; member
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/
DAcpiPlatform.c171 UINT8 *CurrPtr; in DsdtTableUpdate() local
180 CurrPtr = (UINT8 *) TableHeader; in DsdtTableUpdate()
181 for (DsdtPointer = CurrPtr; in DsdtTableUpdate()
182 DsdtPointer <= (CurrPtr + ((EFI_ACPI_COMMON_HEADER *) CurrPtr)->Length); in DsdtTableUpdate()
252 UINT8 *CurrPtr; in ApicTableUpdate() local
289 CurrPtr = (UINT8*) &(TableHeader[1]); in ApicTableUpdate()
290 CurrPtr = CurrPtr + 8; // Size of Local APIC Address & Flag in ApicTableUpdate()
294 while (CurrPtr < EndPtr) { in ApicTableUpdate()
296 ApicPtr = (ACPI_APIC_STRUCTURE_PTR*) CurrPtr; in ApicTableUpdate()
340 CurrPtr = CurrPtr + ApicPtr->AcpiApicCommon.Length; in ApicTableUpdate()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/
DPpm.c160 UINT8 *CurrPtr; in SsdtTableUpdate() local
167 CurrPtr = (UINT8 *) TableHeader; in SsdtTableUpdate()
168 for (SsdtPointer = CurrPtr; in SsdtTableUpdate()
169 SsdtPointer <= (CurrPtr + ((EFI_ACPI_COMMON_HEADER *) CurrPtr)->Length); in SsdtTableUpdate()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/
DVariableIndexTable.h20 VARIABLE_HEADER *CurrPtr; member