/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/AcpiTableDxe/ |
H A D | AcpiTableProtocol.c | 72 @param Size Number of bytes to checksum 80 IN UINTN Size, 1561 @param Size Number of bytes to checksum 1570 IN UINTN Size, 1591 while ((Size--) != 0) { 1568 AcpiPlatformChecksum( IN VOID *Buffer, IN UINTN Size, IN UINTN ChecksumOffset ) argument
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/ |
H A D | FirmwarePerformanceDxe.c | 167 @param[in] Size Number of bytes to checksum 173 IN UINTN Size 188 Buffer[ChecksumOffset] = CalculateCheckSum8 (Buffer, Size); 196 @param[in] Size Size of memory to allocate. 203 IN UINTN Size 211 Pages = EFI_SIZE_TO_PAGES (Size); 223 ZeroMem (Buffer, Size); 242 UINTN Size; local 316 Size [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Console/ConPlatformDxe/ |
H A D | ConPlatform.c | 806 UINTN Size; local 827 DevicePathInst = GetNextDevicePathInstance (&DevicePath, &Size); 833 if (CompareMem (Single, DevicePathInst, Size) == 0) { 859 DevicePathInst = GetNextDevicePathInstance (&DevicePath, &Size);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Console/TerminalDxe/ |
H A D | TerminalConIn.c | 617 UINTN Size; local 619 Size = 1; 625 Status = SerialIo->Read (SerialIo, &Size, Output);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4ConfigDxe/ |
H A D | Ip4ConfigNv.c | 356 UINTN Size; local 364 Size = 0; 396 Size = (StrLen (ConfigRequestHdr) + 32 + 1) * sizeof (CHAR16); 397 ConfigRequest = AllocateZeroPool (Size); 401 UnicodeSPrint (ConfigRequest, Size, L"%s&OFFSET=0&WIDTH=%016LX", ConfigRequestHdr, (UINT64)BufferSize); 448 Size = (StrLen (ConfigRequestHdr) + 32 + 1) * sizeof (CHAR16); 449 ConfigRequest = AllocateZeroPool (Size); 453 UnicodeSPrint (ConfigRequest, Size, L"%s&OFFSET=0&WIDTH=%016LX", ConfigRequestHdr, (UINT64)BufferSize); 484 Size = StrLen (DeviceResult); 485 Size [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/VlanConfigDxe/ |
H A D | VlanConfigImpl.c | 84 UINTN Size; local 98 Size = 0; 122 Size = (StrLen (ConfigRequestHdr) + 32 + 1) * sizeof (CHAR16); 123 ConfigRequest = AllocateZeroPool (Size); 126 UnicodeSPrint (ConfigRequest, Size, L"%s&OFFSET=0&WIDTH=%016LX", ConfigRequestHdr, (UINT64)BufferSize);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/PCD/Dxe/ |
H A D | Pcd.c | 319 UINTN Size; local 352 Size = (LocalTokenNumberTable[TokenNumber] & PCD_DATUM_TYPE_ALL_SET) >> PCD_DATUM_TYPE_SHIFT; 354 if (Size == 0) { 360 return Size;
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/PCD/Pei/ |
H A D | Pcd.c | 305 UINTN Size; local 321 Size = (PeiPcdDb->Init.LocalTokenNumberTable[TokenNumber] & PCD_DATUM_TYPE_ALL_SET) >> PCD_DATUM_TYPE_SHIFT; 323 if (Size == 0) { 329 return Size; 1174 // 1) MAX Size. 1183 // 2) Current Size 1190 // 2) Current Size for each SKU_ID (It is equal to MaxSku). 1261 // 2) Current Size 1269 // 2) Current Size for each SKU_ID (It is equal to MaxSku).
|
H A D | Service.c | 157 UINTN Size; local 165 Size = 0; 171 &Size, 176 Status = PeiServicesAllocatePool (Size, &Buffer); 184 &Size, 189 *VariableSize = Size; 202 @param Size The size of PCD entry. 210 UINTN Size 247 Value += Size * Index; 269 @param Size Th 354 SetWorker( IN UINTN TokenNumber, IN VOID *Data, IN OUT UINTN *Size, IN BOOLEAN PtrType ) argument 524 ExSetWorker( IN UINTN ExTokenNumber, IN CONST EFI_GUID *Guid, IN VOID *Data, IN OUT UINTN *Size, IN BOOLEAN PtrType ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/SmbiosDxe/ |
H A D | SmbiosDxe.c | 115 @param Size The returned size. 118 @retval EFI_SUCCESS Size retured in Size. 119 @retval EFI_INVALID_PARAMETER Input SMBIOS structure mal-formed or Size is NULL. 127 OUT UINTN *Size, 136 if (Size == NULL || NumberOfStrings == NULL) { 142 *Size = FullSize; 150 *Size += 1; 180 *Size += StrLen; 187 *Size 124 GetSmbiosStructureSize( IN CONST EFI_SMBIOS_PROTOCOL *This, IN EFI_SMBIOS_TABLE_HEADER *Head, OUT UINTN *Size, OUT UINTN *NumberOfStrings ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/ |
H A D | FirmwareManagement.h | 67 /// Size of the image in bytes. If size=0, then only ImageIndex and ImageTypeId are valid. 69 UINTN Size; member in struct:__anon12137 329 @param[in] ImageSize Size of the new image in bytes. 367 @param[in] ImageSize Size of the new image in bytes. 441 @param[in] ImageSize Size of the authentication image in bytes.
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePciCf8Lib/ |
H A D | PciCf8Lib.c | 1577 Size into the buffer specified by Buffer. This function only allows the PCI 1578 configuration registers from a single PCI function to be read. Size is 1580 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1586 If ((StartAddress & 0xFFF) + Size) > 0x100, then ASSERT(). 1587 If Size > 0 and Buffer is NULL, then ASSERT(). 1591 @param Size The size in bytes of the transfer. 1594 @return Size read from StartAddress. 1601 IN UINTN Size, 1608 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100); 1610 if (Size 1599 PciCf8ReadBuffer( IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1699 PciCf8WriteBuffer( IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePciExpressLib/ |
H A D | PciExpressLib.c | 1213 Size into the buffer specified by Buffer. This function only allows the PCI 1214 configuration registers from a single PCI function to be read. Size is 1216 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1221 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1222 If Size > 0 and Buffer is NULL, then ASSERT(). 1226 @param Size The size in bytes of the transfer. 1229 @return Size read data from StartAddress. 1236 IN UINTN Size, 1243 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); 1245 if (Size 1234 PciExpressReadBuffer( IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1334 PciExpressWriteBuffer( IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/ |
H A D | BasePeCoff.c | 69 UINTN Size; local 80 Size = sizeof (EFI_IMAGE_DOS_HEADER); 84 &Size, 107 Size = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); 111 &Size, 162 Size = 1; 166 &Size, 179 if (Hdr.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY].Size != 0) { 184 Hdr.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY].Size) { 191 Size 400 UINTN Size; local 1018 UINTN Size; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseS3PciLib/ |
H A D | S3PciLib.c | 1170 Size into the buffer specified by Buffer. This function only allows the PCI 1171 configuration registers from a single PCI function to be read. Size is 1173 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1178 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1179 If Size > 0 and Buffer is NULL, then ASSERT(). 1183 @param Size Size in bytes of the transfer. 1186 @return Size 1193 IN UINTN Size, 1202 PciReadBuffer (StartAddress, Size, Buffe 1191 S3PciReadBuffer( IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1237 S3PciWriteBuffer( IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/DxePciLibEsal/ |
H A D | PciLib.c | 1260 Size into the buffer specified by Buffer. This function only allows the PCI 1261 configuration registers from a single PCI function to be read. Size is 1263 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1268 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1269 If Size > 0 and Buffer is NULL, then ASSERT(). 1273 @param Size Size in bytes of the transfer. 1276 @return Size 1283 IN UINTN Size, 1290 ASSERT (((StartAddress & 0xFFF) + Size) < 1281 PciReadBuffer( IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1379 PciWriteBuffer( IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/DxePciSegmentLibEsal/ |
H A D | PciLib.c | 1212 Size into the buffer specified by Buffer. This function only allows the PCI 1213 configuration registers from a single PCI function to be read. Size is 1215 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1220 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1221 If Size > 0 and Buffer is NULL, then ASSERT(). 1225 @param Size Size in bytes of the transfer. 1228 @return Size 1235 IN UINTN Size, 1242 ASSERT (((StartAddress & 0xFFF) + Size) < 1233 PciSegmentReadBuffer( IN UINT64 StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1331 PciSegmentWriteBuffer( IN UINT64 StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/DxeRuntimePciExpressLib/ |
H A D | PciExpressLib.c | 1448 Size into the buffer specified by Buffer. This function only allows the PCI 1449 configuration registers from a single PCI function to be read. Size is 1451 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1456 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1457 If Size > 0 and Buffer is NULL, then ASSERT(). 1461 @param Size The size in bytes of the transfer. 1464 @return Size read data from StartAddress. 1471 IN UINTN Size, 1481 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); 1483 if (Size 1469 PciExpressReadBuffer( IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1572 PciExpressWriteBuffer( IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiPciLibPciCfg2/ |
H A D | PciLib.c | 1218 Size into the buffer specified by Buffer. This function only allows the PCI 1219 configuration registers from a single PCI function to be read. Size is 1221 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1226 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1227 If Size > 0 and Buffer is NULL, then ASSERT(). 1231 @param Size The size in bytes of the transfer. 1234 @return Size 1241 IN UINTN Size, 1248 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); 1250 if (Size 1239 PciReadBuffer( IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1337 PciWriteBuffer( IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiPciSegmentLibPciCfg2/ |
H A D | PciSegmentLib.c | 1211 Size into the buffer specified by Buffer. This function only allows the PCI 1212 configuration registers from a single PCI function to be read. Size is 1214 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1219 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1220 If Size > 0 and Buffer is NULL, then ASSERT(). 1224 @param Size The size in bytes of the transfer. 1227 @return Size 1234 IN UINTN Size, 1241 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); 1243 if (Size 1232 PciSegmentReadBuffer( IN UINT64 StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1331 PciSegmentWriteBuffer( IN UINT64 StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiServicesLib/ |
H A D | PeiServicesLib.c | 368 @param Size The number of bytes to allocate from the pool. 379 IN UINTN Size, 386 return (*PeiServices)->AllocatePool (PeiServices, Size, Buffer); 378 PeiServicesAllocatePool( IN UINTN Size, OUT VOID **Buffer ) argument
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 60 UINTN Size; local 75 Size = 0; 76 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, NULL); 79 mSmramRanges = (EFI_SMRAM_DESCRIPTOR *) AllocatePool (Size); 82 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, mSmramRanges); 85 mSmramRangeCount = Size / sizeof (EFI_SMRAM_DESCRIPTOR);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPciLibPciRootBridgeIo/ |
H A D | PciLib.c | 1230 Size into the buffer specified by Buffer. This function only allows the PCI 1231 configuration registers from a single PCI function to be read. Size is 1233 from StartAdress to StartAddress + Size. Due to alignment restrictions, 8-bit 1238 If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT(). 1239 If Size > 0 and Buffer is NULL, then ASSERT(). 1243 @param Size The size in bytes of the transfer. 1246 @return Size 1253 IN UINTN Size, 1260 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); 1262 if (Size 1251 PciReadBuffer( IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer ) argument 1349 PciWriteBuffer( IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDevicePathLib/ |
H A D | UefiDevicePathLib.c | 337 UINTN Size; local 342 Size = GetDevicePathSize (DevicePath); 343 if (Size == 0) { 351 return AllocateCopyPool (Size, DevicePath); 384 UINTN Size; local 407 Size = Size1 + Size2 - END_DEVICE_PATH_LENGTH; 409 NewDevicePath = AllocatePool (Size); 560 if no more) and updates Size to hold the size of the device path instance copy. 566 If Size is NULL, then ASSERT(). 574 @param Size O 779 UINT16 Size; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiLib/ |
H A D | UefiLib.c | 1240 UINTN Size; local 1250 Size = 0; 1251 Status = gRT->GetVariable ((CHAR16 *) Name, (EFI_GUID *) Guid, NULL, &Size, Value); 1259 Value = AllocatePool (Size); 1267 Status = gRT->GetVariable ((CHAR16 *) Name, (EFI_GUID *) Guid, NULL, &Size, Value);
|