Searched refs:Ptr (Results 1 - 25 of 167) sorted by relevance

1234567

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
H A DEfiZeroMem.c51 INT8 *Ptr; local
53 Ptr = Buffer;
55 *(Ptr++) = 0;
H A DEfiSetMem.c55 INT8 *Ptr; local
60 Ptr = Buffer;
62 *(Ptr++) = Value;
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/AArch64/
H A Dmemset.c19 CHAR8 *Ptr = Destination; local
22 *Ptr++ = Value;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/CompilerStub/
H A Dmemcpy.c37 volatile UINT8 *Ptr; local
40 for (Ptr = Dest, Source = Src; Count > 0; Count--, Source++, Ptr++) {
41 *Ptr = *Source;
H A Dmemset.c37 volatile UINT8 *Ptr; local
39 for (Ptr = Dest; Count > 0; Count--, Ptr++) {
40 *Ptr = (UINT8) Char;
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/
H A DQemuFlash.c63 volatile UINT8 *Ptr; local
70 Ptr = QemuFlashPtr (0, 0);
73 Ptr = QemuFlashPtr (0, Offset);
74 ProbeUint8 = *Ptr;
87 DEBUG ((EFI_D_INFO, "QEMU Flash: Attempting flash detection at %p\n", Ptr));
89 OriginalUint8 = *Ptr;
90 *Ptr = CLEAR_STATUS_CMD;
91 ProbeUint8 = *Ptr;
95 *Ptr = OriginalUint8;
97 *Ptr
135 UINT8 *Ptr; local
174 volatile UINT8 *Ptr; local
217 volatile UINT8 *Ptr; local
[all...]
/device/linaro/bootloader/edk2/ArmPkg/Library/RvdPeCoffExtraActionLib/
H A DRvdPeCoffExtraActionLib.c74 CHAR8 *Ptr; local
78 Ptr = AsciiStrStr (Name, "/cygdrive/");
79 if (Ptr == NULL) {
83 Len = AsciiStrLen (Ptr);
87 Ptr[Index] = ' ';
91 Ptr[9] = Ptr[10];
92 Ptr[10] = ':';
96 if (Ptr[Index] == '/') {
97 Ptr[Inde
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ModifyInf/
H A DModifyInf.c141 char *Ptr; local
151 Ptr = Line;
152 if (*Ptr == '[') {
153 while (*Ptr != ']') {
154 if (!(*Ptr++)) {
158 SectionLength = Ptr - Line + 1;
215 Ptr = strstr (Line, "=");
216 if (!Ptr) {
220 while (*(++Ptr) == ' ')
222 *Ptr
[all...]
/device/linaro/bootloader/edk2/PcAtChipsetPkg/PciHostBridgeDxe/
H A DPciHostBridge.c877 UINT8 *Ptr; local
886 Ptr = Configuration;
891 if(*Ptr != ACPI_ADDRESS_SPACE_DESCRIPTOR) {
895 if (((EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)Ptr)->ResType != 2) {
899 Ptr += sizeof(EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR);
900 if (*Ptr != ACPI_END_TAG_DESCRIPTOR) {
907 Ptr = Configuration;
914 Desc = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)Ptr;
1007 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Ptr; local
1034 Ptr
1174 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Ptr; local
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
H A DLinkedList.c53 CONST LIST_ENTRY *Ptr; local
66 Ptr = List;
68 Ptr = Ptr->ForwardLink;
70 } while ((Ptr != List) && (Ptr != Node) && (Count > 0));
71 Found = (BOOLEAN)(Ptr == Node);
74 while ((Count > 0) && (Ptr != List)) {
75 Ptr = Ptr
399 LIST_ENTRY *Ptr; local
[all...]
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
H A DScript.c56 CHAR8 *Ptr; local
76 for (Ptr = (CHAR8 *)Address; (Ptr < (((CHAR8 *)Address) + Size)) && !EFI_ERROR (Status); Ptr += CmdLineSize) {
77 for (CmdLineSize = 0, ScanPtr = Ptr; ; CmdLineSize++, ScanPtr++) {
93 Status = ProcessCmdLine (Ptr, CmdLineSize);
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/
H A DVbeShim.c72 UINT8 *Ptr; local
151 Ptr = VbeInfoFull->Buffer;
156 VbeInfo->OemNameAddress = (UINT32)SegmentC << 12 | (UINT16)(UINTN)Ptr;
157 CopyMem (Ptr, "QEMU", 5);
158 Ptr += 5;
162 VbeInfo->ModeListAddress = (UINT32)SegmentC << 12 | (UINT16)(UINTN)Ptr;
163 *(UINT16*)Ptr = 0x00f1; // mode number
164 Ptr += 2;
165 *(UINT16*)Ptr = 0xFFFF; // mode list terminator
166 Ptr
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformDebugLibIoPort/
H A DDebugLib.c72 UINT8 *Ptr; local
96 for (Ptr = (UINT8 *) Buffer; *Ptr; Ptr++) {
97 IoWrite8 (PcdGet16(PcdDebugIoPort), *Ptr); local
132 UINT8 *Ptr; local
143 for (Ptr = (UINT8 *) Buffer; *Ptr; Ptr++) {
144 IoWrite8 (PcdGet16(PcdDebugIoPort), *Ptr); local
[all...]
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
H A DMalloc.c157 /** The free function causes the space pointed to by Ptr to be deallocated,
160 If Ptr is a null pointer, no action occurs. Otherwise, if the argument
165 @param Ptr Pointer to a previously allocated region of memory to be freed.
169 free(void *Ptr) argument
173 Head = BASE_CR(Ptr, CPOOL_HEAD, Data);
175 DEBUG((DEBUG_POOL, "free(%p): Head: %p\n", Ptr, Head));
177 if(Ptr != NULL) {
185 Ptr, Head->Signature, CPOOL_HEAD_SIGNATURE));
191 /** The realloc function changes the size of the object pointed to by Ptr to
198 If Ptr i
234 realloc(void *Ptr, size_t ReqSize) argument
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
H A DSnpTransmit.c122 UINT8 *Ptr; local
129 Ptr = Buffer;
132 CopyMem (Ptr, DestAddr, SIZE_OF_VNET (Mac));
133 Ptr += SIZE_OF_VNET (Mac);
135 CopyMem (Ptr,
138 Ptr += SIZE_OF_VNET (Mac);
140 *Ptr++ = (UINT8) (*Protocol >> 8);
141 *Ptr++ = (UINT8) *Protocol;
143 ASSERT ((UINTN) (Ptr - (UINT8 *) Buffer) == Dev->Snm.MediaHeaderSize);
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
H A DUpdateWorkingBlock.c153 UINT8 *Ptr; local
164 Ptr = Buffer;
177 Ptr
184 Ptr += MyLength;
216 UINT8 *Ptr; local
227 Ptr = Buffer;
240 Ptr
247 Ptr += MyLength;
382 UINT8 *Ptr; local
398 Ptr
[all...]
/device/linaro/bootloader/edk2/ArmVirtPkg/PciHostBridgeDxe/
H A DPciHostBridge.c799 UINT8 *Ptr; local
808 Ptr = Configuration;
813 if(*Ptr != ACPI_ADDRESS_SPACE_DESCRIPTOR) {
817 if (((EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)Ptr)->ResType != 2) {
821 Ptr += sizeof(EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR);
822 if (*Ptr != ACPI_END_TAG_DESCRIPTOR) {
829 Ptr = Configuration;
834 BusStart = (UINTN)((EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)Ptr)->AddrRangeMin;
835 BusLen = (UINTN)((EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)Ptr)->AddrLen;
904 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Ptr; local
1056 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Ptr; local
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/PciHostBridgeDxe/
H A DPciHostBridge.c1032 UINT8 *Ptr; local
1041 Ptr = Configuration;
1046 if(*Ptr != ACPI_ADDRESS_SPACE_DESCRIPTOR) {
1050 if (((EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)Ptr)->ResType != 2) {
1054 Ptr += sizeof(EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR);
1055 if (*Ptr != ACPI_END_TAG_DESCRIPTOR) {
1062 Ptr = Configuration;
1069 Desc = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)Ptr;
1162 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Ptr; local
1189 Ptr
1329 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Ptr; local
[all...]
/device/linaro/bootloader/edk2/EmulatorPkg/ThunkPpiToProtocolPei/
H A DThunkPpiToProtocolPei.c54 VOID *Ptr; local
66 Ptr = Thunk->Thunk ();
70 &Ptr, // Buffer
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtThunkPPIToProtocolPei/
H A DWinNtThunkPPIToProtocol.c67 VOID *Ptr; local
80 Ptr = PeiNtService->NtThunk ();
84 &Ptr, // Buffer
/device/linaro/bootloader/edk2/SecurityPkg/RandomNumberGenerator/RngDxe/
H A DRdRand.c143 UINT8 *Ptr; local
147 Ptr = (UINT8 *)Entropy;
157 CopyMem (Ptr, Seed, 16);
160 Ptr = Ptr + 16;
170 CopyMem (Ptr, Seed, (Length % 16));
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckPcdLib/
H A DVarCheckPcdLibNullClass.c102 UINT8 *Ptr; local
109 Ptr = (UINT8 *) ((VAR_CHECK_PCD_VALID_LIST *) PcdValidData + 1);
110 while ((UINTN) Ptr < (UINTN) PcdValidData + PcdValidData->Length) {
112 CopyMem (&OneValue, Ptr, PcdValidData->StorageWidth);
119 Ptr += PcdValidData->StorageWidth;
121 if ((UINTN) Ptr >= ((UINTN) PcdValidData + PcdValidData->Length)) {
134 Ptr = (UINT8 *) ((VAR_CHECK_PCD_VALID_RANGE *) PcdValidData + 1);
135 while ((UINTN) Ptr < (UINTN) PcdValidData + PcdValidData->Length) {
136 CopyMem (&Minimum, Ptr, PcdValidData->StorageWidth);
137 Ptr
264 UINT8 *Ptr; local
[all...]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFwVol.c326 UINT8 *Ptr; local
382 Ptr = NULL;
394 Ptr = (UINT8 *) ((UINTN) BaseAddress);
420 CopyMem (LbaStart, Ptr, BlockMap->Length);
421 Ptr += BlockMap->Length;
479 Ptr = (UINT8 *) FwVolExtHeader + FwVolExtHeader->ExtHeaderSize;
480 Ptr = (UINT8 *) ALIGN_POINTER (Ptr, 8);
482 Ptr = (UINT8 *) (UINTN) (FvDevice->CachedFv + FvDevice->FwVolHeader->HeaderLength);
489 while (Ptr < TopFvAddres
[all...]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
H A DLinkedList.c55 CONST LIST_ENTRY *Ptr; local
66 Ptr = List;
74 Ptr = Ptr->ForwardLink;
86 return (BOOLEAN)(Ptr == Node);
89 } while ((Ptr != List) && (Ptr != Node));
91 if (Ptr != Node) {
102 Ptr = Ptr
478 LIST_ENTRY *Ptr; local
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
H A DVarCheckHiiLibNullClass.c93 UINT8 *Ptr; local
107 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ONEOF *) HiiQuestion + 1);
108 while ((UINTN) Ptr < (UINTN) HiiQuestion + HiiQuestion->Length) {
110 CopyMem (&OneValue, Ptr, HiiQuestion->StorageWidth);
117 Ptr += HiiQuestion->StorageWidth;
119 if ((UINTN) Ptr >= ((UINTN) HiiQuestion + HiiQuestion->Length)) {
140 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_NUMERIC *) HiiQuestion + 1);
141 CopyMem (&Minimum, Ptr, HiiQuestion->StorageWidth);
142 Ptr += HiiQuestion->StorageWidth;
143 CopyMem (&Maximum, Ptr, HiiQuestio
344 UINT8 *Ptr; local
[all...]

Completed in 736 milliseconds

1234567