Searched defs:Buffer (Results 101 - 125 of 359) sorted by relevance

1234567891011>>

/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibOptPei/
H A DMemLibGuid.c101 This function searches the target buffer specified by Buffer and Length from
107 If Length > 0 and Buffer is NULL, then ASSERT().
108 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
110 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
112 @param Buffer The pointer to the target buffer to scan.
113 @param Length The number of bytes in Buffer to scan.
122 IN CONST VOID *Buffer,
129 ASSERT (((UINTN)Buffer & (sizeof (Guid->Data1) - 1)) == 0);
130 ASSERT (Length <= (MAX_ADDRESS - (UINTN)Buffer + 1));
133 GuidPtr = (GUID*)Buffer;
121 ScanGuid( IN CONST VOID *Buffer, IN UINTN Length, IN CONST GUID *Guid ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibRepStr/
H A DMemLibGuid.c101 This function searches the target buffer specified by Buffer and Length from
107 If Length > 0 and Buffer is NULL, then ASSERT().
108 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
110 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
112 @param Buffer The pointer to the target buffer to scan.
113 @param Length The number of bytes in Buffer to scan.
122 IN CONST VOID *Buffer,
129 ASSERT (((UINTN)Buffer & (sizeof (Guid->Data1) - 1)) == 0);
130 ASSERT (Length <= (MAX_ADDRESS - (UINTN)Buffer + 1));
133 GuidPtr = (GUID*)Buffer;
121 ScanGuid( IN CONST VOID *Buffer, IN UINTN Length, IN CONST GUID *Guid ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibSse2/
H A DMemLibGuid.c101 This function searches the target buffer specified by Buffer and Length from
107 If Length > 0 and Buffer is NULL, then ASSERT().
108 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
110 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
112 @param Buffer The pointer to the target buffer to scan.
113 @param Length The number of bytes in Buffer to scan.
122 IN CONST VOID *Buffer,
129 ASSERT (((UINTN)Buffer & (sizeof (Guid->Data1) - 1)) == 0);
130 ASSERT (Length <= (MAX_ADDRESS - (UINTN)Buffer + 1));
133 GuidPtr = (GUID*)Buffer;
121 ScanGuid( IN CONST VOID *Buffer, IN UINTN Length, IN CONST GUID *Guid ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/DxeSmbusLib/
H A DDxeSmbusLib.c67 @param Buffer Contains the value of data to execute to the SMBus slave
81 IN OUT VOID *Buffer,
97 Buffer
77 InternalSmBusExec( IN EFI_SMBUS_OPERATION SmbusOperation, IN UINTN SmBusAddress, IN UINTN Length, IN OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL ) argument
H A DSmbusLib.c439 Bytes are read from the SMBUS and stored in Buffer.
442 It is the caller's responsibility to make sure Buffer is large enough for the total number of bytes read.
443 SMBUS supports a maximum transfer size of 32 bytes, so Buffer does not need to be any larger than 32 bytes.
445 If Buffer is NULL, then ASSERT().
450 @param Buffer The pointer to the buffer to store the bytes read from
473 OUT VOID *Buffer,
477 ASSERT (Buffer != NULL);
481 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
489 Bytes are written to the SMBUS from Buffer.
493 If Buffer i
471 SmBusReadBlock( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL ) argument
518 SmBusWriteBlock( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiMemoryLib/
H A DMemLibGeneric.c25 @param Buffer The pointer to the target buffer to fill.
27 @param Value The value with which to fill Length bytes of Buffer.
29 @return Buffer.
35 OUT VOID *Buffer,
41 ((UINT16*)Buffer)[--Length] = Value;
43 return Buffer;
49 @param Buffer The pointer to the target buffer to fill.
51 @param Value The value with which to fill Length bytes of Buffer.
53 @return Buffer.
59 OUT VOID *Buffer,
34 InternalMemSetMem16( OUT VOID *Buffer, IN UINTN Length, IN UINT16 Value ) argument
58 InternalMemSetMem32( OUT VOID *Buffer, IN UINTN Length, IN UINT32 Value ) argument
82 InternalMemSetMem64( OUT VOID *Buffer, IN UINTN Length, IN UINT64 Value ) argument
105 InternalMemZeroMem( OUT VOID *Buffer, IN UINTN Length ) argument
155 InternalMemScanMem8( IN CONST VOID *Buffer, IN UINTN Length, IN UINT8 Value ) argument
185 InternalMemScanMem16( IN CONST VOID *Buffer, IN UINTN Length, IN UINT16 Value ) argument
215 InternalMemScanMem32( IN CONST VOID *Buffer, IN UINTN Length, IN UINT32 Value ) argument
245 InternalMemScanMem64( IN CONST VOID *Buffer, IN UINTN Length, IN UINT64 Value ) argument
[all...]
H A DMemLibGuid.c101 This function searches the target buffer specified by Buffer and Length from
107 If Length > 0 and Buffer is NULL, then ASSERT().
108 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
110 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
112 @param Buffer The pointer to the target buffer to scan.
113 @param Length The number of bytes in Buffer to scan.
122 IN CONST VOID *Buffer,
129 ASSERT (((UINTN)Buffer & (sizeof (Guid->Data1) - 1)) == 0);
130 ASSERT (Length <= (MAX_ADDRESS - (UINTN)Buffer + 1));
133 GuidPtr = (GUID*)Buffer;
121 ScanGuid( IN CONST VOID *Buffer, IN UINTN Length, IN CONST GUID *Guid ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDebugLibConOut/
H A DDebugLib.c53 CHAR16 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; local
72 UnicodeVSPrintAsciiFormat (Buffer, MAX_DEBUG_MESSAGE_LENGTH, Format, Marker);
80 gST->ConOut->OutputString (gST->ConOut, Buffer);
116 CHAR16 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; local
122 Buffer,
134 gST->ConOut->OutputString (gST->ConOut, Buffer);
151 This function fills Length bytes of Buffer with the value specified by
152 PcdDebugClearMemoryValue, and returns Buffer.
154 If Buffer is NULL, then ASSERT().
155 If Length is greater than (MAX_ADDRESS - Buffer
165 DebugClearMemory( OUT VOID *Buffer, IN UINTN Length ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDebugLibStdErr/
H A DDebugLib.c55 CHAR16 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; local
74 UnicodeVSPrintAsciiFormat (Buffer, MAX_DEBUG_MESSAGE_LENGTH, Format, Marker);
81 gST->StdErr->OutputString (gST->StdErr, Buffer);
117 CHAR16 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; local
123 Buffer,
135 gST->StdErr->OutputString (gST->StdErr, Buffer);
152 This function fills Length bytes of Buffer with the value specified by
153 PcdDebugClearMemoryValue, and returns Buffer.
155 If Buffer is NULL, then ASSERT().
156 If Length is greater than (MAX_ADDRESS - Buffer
166 DebugClearMemory( OUT VOID *Buffer, IN UINTN Length ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiMemoryLib/
H A DMemLibGeneric.c25 @param Buffer The pointer to the target buffer to fill.
27 @param Value The value with which to fill Length bytes of Buffer.
29 @return Buffer
35 OUT VOID *Buffer,
41 ((UINT16*)Buffer)[--Length] = Value;
43 return Buffer;
49 @param Buffer The pointer to the target buffer to fill.
51 @param Value The value with which to fill Length bytes of Buffer.
53 @return Buffer
59 OUT VOID *Buffer,
34 InternalMemSetMem16( OUT VOID *Buffer, IN UINTN Length, IN UINT16 Value ) argument
58 InternalMemSetMem32( OUT VOID *Buffer, IN UINTN Length, IN UINT32 Value ) argument
82 InternalMemSetMem64( OUT VOID *Buffer, IN UINTN Length, IN UINT64 Value ) argument
105 InternalMemZeroMem( OUT VOID *Buffer, IN UINTN Length ) argument
155 InternalMemScanMem8( IN CONST VOID *Buffer, IN UINTN Length, IN UINT8 Value ) argument
185 InternalMemScanMem16( IN CONST VOID *Buffer, IN UINTN Length, IN UINT16 Value ) argument
215 InternalMemScanMem32( IN CONST VOID *Buffer, IN UINTN Length, IN UINT32 Value ) argument
245 InternalMemScanMem64( IN CONST VOID *Buffer, IN UINTN Length, IN UINT64 Value ) argument
[all...]
H A DMemLibGuid.c101 This function searches the target buffer specified by Buffer and Length from
107 If Length > 0 and Buffer is NULL, then ASSERT().
108 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
110 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
112 @param Buffer The pointer to the target buffer to scan.
113 @param Length The number of bytes in Buffer to scan.
122 IN CONST VOID *Buffer,
129 ASSERT (((UINTN)Buffer & (sizeof (Guid->Data1) - 1)) == 0);
130 ASSERT (Length <= (MAX_ADDRESS - (UINTN)Buffer + 1));
133 GuidPtr = (GUID*)Buffer;
121 ScanGuid( IN CONST VOID *Buffer, IN UINTN Length, IN CONST GUID *Guid ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/BaseSortLib/
H A DBaseSortLib.c32 if Buffer is NULL, then ASSERT.
37 @param[in, out] BufferToSort on call a Buffer of (possibly sorted) elements
43 @param[in] Buffer Buffer of size ElementSize for use in swapping
52 IN VOID *Buffer
61 ASSERT(Buffer != NULL);
91 CopyMem (Buffer, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize);
93 CopyMem ((UINT8*)BufferToSort+((LoopCount)*ElementSize), Buffer, ElementSize);
104 CopyMem (Buffer, Pivot, ElementSize);
106 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), Buffer, ElementSiz
158 VOID *Buffer; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/
H A DEdit.c32 CHAR16 *Buffer; local
42 Buffer = NULL;
127 Buffer = CatSPrint (NULL, L"%s", StatusBarGetString());
139 if (Buffer != NULL) {
140 if (StrCmp (Buffer, L"") != 0) {
144 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN(STR_EDIT_MAIN_BUFFER), gShellDebug1HiiHandle, Buffer);
154 SHELL_FREE_NON_NULL (Buffer);
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
H A DHexEdit.c42 CHAR16 *Buffer; local
55 Buffer = NULL;
59 Buffer = NULL;
241 Buffer = CatSPrint (NULL, L"%s\r\n", StatusBarGetString());
262 if (Buffer != NULL) {
263 if (StrCmp (Buffer, L"") != 0) {
267 ShellPrintEx(-1, -1, L"%s", Buffer);
279 SHELL_FREE_NON_NULL (Buffer);
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/
H A DArchDebugSupport.c107 UINT8 *Buffer; local
109 Buffer = (UINT8 *) CpuContext + sizeof (DEBUG_DATA_IA32_FX_SAVE_STATE) + Index * 4;
120 Buffer = (UINT8 *) CpuContext + ArchReadFxStatOffset (Index, &Width);
123 CopyMem (Buffer + Offset, RegisterBuffer, Width);
145 UINT8 *Buffer; local
148 Buffer = (UINT8 *) CpuContext + sizeof (DEBUG_DATA_IA32_FX_SAVE_STATE) + Index * 4;
156 Buffer = (UINT8 *) CpuContext + ArchReadFxStatOffset (Index, Width);
159 return Buffer;
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/
H A DArchDebugSupport.c102 UINT8 *Buffer; local
104 Buffer = (UINT8 *) CpuContext + sizeof (DEBUG_DATA_X64_FX_SAVE_STATE) + Index * 8;
116 Buffer = (UINT8 *) CpuContext + ArchReadFxStatOffset (Index, &Width);
119 CopyMem (Buffer + Offset, RegisterBuffer, Width);
141 UINT8 *Buffer; local
144 Buffer = (UINT8 *) CpuContext + sizeof (DEBUG_DATA_X64_FX_SAVE_STATE) + Index * 8;
152 Buffer = (UINT8 *) CpuContext + ArchReadFxStatOffset (Index, Width);
155 return Buffer;
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/
H A DDebugCommunicationLibSerialPort.c83 specified by Buffer. The number of bytes actually read is returned.
88 @param Buffer Pointer to the data buffer to store the data read from the debug device.
100 IN UINT8 *Buffer,
112 SerialPortRead (Buffer + Index, 1);
129 Writes NumberOfBytes data bytes from Buffer to the debug device.
135 @param Buffer Pointer to the data buffer to be written.
147 IN UINT8 *Buffer,
151 return SerialPortWrite (Buffer, NumberOfBytes);
98 DebugPortReadBuffer( IN DEBUG_PORT_HANDLE Handle, IN UINT8 *Buffer, IN UINTN NumberOfBytes, IN UINTN Timeout ) argument
145 DebugPortWriteBuffer( IN DEBUG_PORT_HANDLE Handle, IN UINT8 *Buffer, IN UINTN NumberOfBytes ) argument
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/
H A DSmbusLib.c350 Bytes are read from the SMBUS and stored in Buffer.
353 It is the caller's responsibility to make sure Buffer is large enough for the total number of bytes read.
354 SMBUS supports a maximum transfer size of 32 bytes, so Buffer does not need to be any larger than 32 bytes.
356 If Buffer is NULL, then ASSERT().
361 @param Buffer Pointer to the buffer to store the bytes read from the SMBUS.
372 OUT VOID *Buffer,
376 ASSERT (Buffer != NULL);
380 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
388 Bytes are written to the SMBUS from Buffer.
392 If Buffer i
370 SmBusReadBlock( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL ) argument
406 SmBusWriteBlock( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/FwVol/
H A DFfs.c74 UINT8 *Buffer; local
82 Buffer = InBuffer;
84 if (Buffer[Count] != EraseByte) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmLockBoxLib/
H A DSmmLockBoxDxeLib.c32 @param Buffer the address of the confidential information
36 @retval RETURN_INVALID_PARAMETER the Guid is NULL, or Buffer is NULL, or Length is 0
47 IN VOID *Buffer,
63 if ((Guid == NULL) || (Buffer == NULL) || (Length == 0)) {
91 LockBoxParameterSave->Buffer = (EFI_PHYSICAL_ADDRESS)(UINTN)Buffer;
204 @param Buffer the address of the updated confidential information
208 @retval RETURN_INVALID_PARAMETER the Guid is NULL, or Buffer is NULL, or Length is 0.
220 IN VOID *Buffer,
236 if ((Guid == NULL) || (Buffer
45 SaveLockBox( IN GUID *Guid, IN VOID *Buffer, IN UINTN Length ) argument
217 UpdateLockBox( IN GUID *Guid, IN UINTN Offset, IN VOID *Buffer, IN UINTN Length ) argument
309 RestoreLockBox( IN GUID *Guid, IN VOID *Buffer, OPTIONAL IN OUT UINTN *Length OPTIONAL ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/
H A DSaveLongModeContext.c53 VOID* Buffer; local
66 Buffer = (VOID *) (UINTN) Address;
67 ZeroMem (Buffer, Size);
69 return Buffer;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
H A DPxeBcSupport.c118 @param Buffer Buffer to place ASCII version of the Number.
119 @param Length Length of Buffer.
125 IN UINT8 *Buffer,
135 Buffer[Length] = (UINT8) ('0' + Remainder);
144 @param Buffer Pointer to the buffer to store the decimal number after transform.
152 IN CHAR8 *Buffer
167 AsciiStrCpy (Buffer, &TempStr[Index]);
169 return AsciiStrLen (Buffer);
176 @param Buffer Pointe
123 CvtNum( IN UINTN Number, IN UINT8 *Buffer, IN UINTN Length ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/SetupBrowserDxe/
H A DPrint.c53 CHAR16 *Buffer; local
62 Buffer = AllocateZeroPool (0x10000);
64 ASSERT (Buffer);
71 UnicodeVSPrint (Buffer, 0x10000, Fmt, Args);
82 for (; (Buffer[Index] != NARROW_CHAR) && (Buffer[Index] != WIDE_CHAR) && (Buffer[Index] != 0); Index++) {
83 BackupBuffer[Index] = Buffer[Index];
86 if (Buffer[Index] == 0) {
108 if (Buffer[Inde
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DReclaim.c102 @param Buffer Point to the data buffer.
103 @param BufferSize The number of bytes of the data Buffer.
113 IN UINT8 *Buffer,
156 CopyMem (FtwBuffer, Buffer, BufferSize);
111 FtwVariableSpace( IN EFI_PHYSICAL_ADDRESS VariableBase, IN UINT8 *Buffer, IN UINTN BufferSize ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiSmbusLibSmbus2Ppi/
H A DSmbusLib.c436 Bytes are read from the SMBUS and stored in Buffer.
439 It is the caller's responsibility to make sure Buffer is large enough for the total number of bytes read.
440 SMBUS supports a maximum transfer size of 32 bytes, so Buffer does not need to be any larger than 32 bytes.
442 If Buffer is NULL, then ASSERT().
447 @param Buffer The pointer to the buffer to store the bytes read from the SMBUS.
468 OUT VOID *Buffer,
472 ASSERT (Buffer != NULL);
476 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
484 Bytes are written to the SMBUS from Buffer.
488 If Buffer i
466 SmBusReadBlock( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL ) argument
511 SmBusWriteBlock( IN UINTN SmBusAddress, OUT VOID *Buffer, OUT RETURN_STATUS *Status OPTIONAL ) argument
[all...]

Completed in 119 milliseconds

1234567891011>>