/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/ |
D | IoLibMmioBuffer.c | 38 IN UINTN StartAddress, in MmioReadBuffer8() argument 45 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer8() 51 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8() 82 IN UINTN StartAddress, in MmioReadBuffer16() argument 89 ASSERT ((StartAddress & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16() 91 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer16() 100 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16() 101 StartAddress += sizeof (UINT16); in MmioReadBuffer16() 133 IN UINTN StartAddress, in MmioReadBuffer32() argument 140 ASSERT ((StartAddress & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeIoLibCpuIo/ |
D | IoLibMmioBuffer.c | 41 IN UINTN StartAddress, in MmioReadBuffer8() argument 48 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer8() 54 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8() 86 IN UINTN StartAddress, in MmioReadBuffer16() argument 93 ASSERT ((StartAddress & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16() 95 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer16() 104 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16() 105 StartAddress += sizeof (UINT16); in MmioReadBuffer16() 137 IN UINTN StartAddress, in MmioReadBuffer32() argument 144 ASSERT ((StartAddress & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibEsal/ |
D | IoLibMmioBuffer.c | 38 IN UINTN StartAddress, in MmioReadBuffer8() argument 45 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer8() 51 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8() 82 IN UINTN StartAddress, in MmioReadBuffer16() argument 89 ASSERT ((StartAddress & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16() 91 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer16() 100 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16() 101 StartAddress += sizeof (UINT16); in MmioReadBuffer16() 133 IN UINTN StartAddress, in MmioReadBuffer32() argument 140 ASSERT ((StartAddress & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiIoLibCpuIo/ |
D | IoLibMmioBuffer.c | 45 IN UINTN StartAddress, in MmioReadBuffer8() argument 52 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer8() 58 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8() 89 IN UINTN StartAddress, in MmioReadBuffer16() argument 96 ASSERT ((StartAddress & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16() 98 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer16() 107 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16() 108 StartAddress += sizeof (UINT16); in MmioReadBuffer16() 140 IN UINTN StartAddress, in MmioReadBuffer32() argument 147 ASSERT ((StartAddress & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibCpuIo2/ |
D | IoLibMmioBuffer.c | 38 IN UINTN StartAddress, in MmioReadBuffer8() argument 45 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer8() 51 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8() 83 IN UINTN StartAddress, in MmioReadBuffer16() argument 90 ASSERT ((StartAddress & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16() 92 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer16() 101 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16() 102 StartAddress += sizeof (UINT16); in MmioReadBuffer16() 134 IN UINTN StartAddress, in MmioReadBuffer32() argument 141 ASSERT ((StartAddress & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmIoLibSmmCpuIo2/ |
D | IoLibMmioBuffer.c | 38 IN UINTN StartAddress, in MmioReadBuffer8() argument 45 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer8() 51 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8() 83 IN UINTN StartAddress, in MmioReadBuffer16() argument 90 ASSERT ((StartAddress & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16() 92 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer16() 101 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16() 102 StartAddress += sizeof (UINT16); in MmioReadBuffer16() 134 IN UINTN StartAddress, in MmioReadBuffer32() argument 141 ASSERT ((StartAddress & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/ |
D | PciLib.c | 1206 IN UINTN StartAddress, in PciExpressReadBuffer() argument 1213 ASSERT_INVALID_PCI_ADDRESS (StartAddress); in PciExpressReadBuffer() 1214 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciExpressReadBuffer() 1227 if ((StartAddress & 1) != 0) { in PciExpressReadBuffer() 1231 *(volatile UINT8 *)Buffer = PciExpressRead8 (StartAddress); in PciExpressReadBuffer() 1232 StartAddress += sizeof (UINT8); in PciExpressReadBuffer() 1237 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciExpressReadBuffer() 1241 *(volatile UINT16 *)Buffer = PciExpressRead16 (StartAddress); in PciExpressReadBuffer() 1242 StartAddress += sizeof (UINT16); in PciExpressReadBuffer() 1251 *(volatile UINT32 *)Buffer = PciExpressRead32 (StartAddress); in PciExpressReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxePciSegmentLibEsal/ |
D | PciLib.c | 1249 IN UINT64 StartAddress, in PciSegmentReadBuffer() argument 1256 ASSERT_INVALID_PCI_SEGMENT_ADDRESS (StartAddress, 0); in PciSegmentReadBuffer() 1257 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciSegmentReadBuffer() 1270 if ((StartAddress & 1) != 0) { in PciSegmentReadBuffer() 1274 *(volatile UINT8 *)Buffer = PciSegmentRead8 (StartAddress); in PciSegmentReadBuffer() 1275 StartAddress += sizeof (UINT8); in PciSegmentReadBuffer() 1280 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciSegmentReadBuffer() 1284 *(volatile UINT16 *)Buffer = PciSegmentRead16 (StartAddress); in PciSegmentReadBuffer() 1285 StartAddress += sizeof (UINT16); in PciSegmentReadBuffer() 1294 *(volatile UINT32 *)Buffer = PciSegmentRead32 (StartAddress); in PciSegmentReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciExpressLib/ |
D | PciExpressLib.c | 1250 IN UINTN StartAddress, in PciExpressReadBuffer() argument 1257 ASSERT_INVALID_PCI_ADDRESS (StartAddress); in PciExpressReadBuffer() 1258 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciExpressReadBuffer() 1271 if ((StartAddress & 1) != 0) { in PciExpressReadBuffer() 1275 *(volatile UINT8 *)Buffer = PciExpressRead8 (StartAddress); in PciExpressReadBuffer() 1276 StartAddress += sizeof (UINT8); in PciExpressReadBuffer() 1281 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciExpressReadBuffer() 1285 WriteUnaligned16 ((UINT16 *) Buffer, (UINT16) PciExpressRead16 (StartAddress)); in PciExpressReadBuffer() 1287 StartAddress += sizeof (UINT16); in PciExpressReadBuffer() 1296 WriteUnaligned32 ((UINT32 *) Buffer, (UINT32) PciExpressRead32 (StartAddress)); in PciExpressReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxePciLibEsal/ |
D | PciLib.c | 1297 IN UINTN StartAddress, in PciReadBuffer() argument 1304 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciReadBuffer() 1305 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100); in PciReadBuffer() 1318 if ((StartAddress & 1) != 0) { in PciReadBuffer() 1322 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer() 1323 StartAddress += sizeof (UINT8); in PciReadBuffer() 1328 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciReadBuffer() 1332 *(volatile UINT16 *)Buffer = PciRead16 (StartAddress); in PciReadBuffer() 1333 StartAddress += sizeof (UINT16); in PciReadBuffer() 1342 *(volatile UINT32 *)Buffer = PciRead32 (StartAddress); in PciReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiPciLibPciCfg2/ |
D | PciLib.c | 1255 IN UINTN StartAddress, in PciReadBuffer() argument 1262 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciReadBuffer() 1263 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciReadBuffer() 1276 if ((StartAddress & BIT0) != 0) { in PciReadBuffer() 1280 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer() 1281 StartAddress += sizeof (UINT8); in PciReadBuffer() 1286 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciReadBuffer() 1290 WriteUnaligned16 (Buffer, PciRead16 (StartAddress)); in PciReadBuffer() 1291 StartAddress += sizeof (UINT16); in PciReadBuffer() 1300 WriteUnaligned32 (Buffer, PciRead32 (StartAddress)); in PciReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/BaseCachingPciExpressLib/ |
D | PciExpressLib.c | 1260 IN UINTN StartAddress, in PciExpressReadBuffer() argument 1267 ASSERT_INVALID_PCI_ADDRESS (StartAddress); in PciExpressReadBuffer() 1268 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciExpressReadBuffer() 1281 if ((StartAddress & 1) != 0) { in PciExpressReadBuffer() 1285 *(volatile UINT8 *)Buffer = PciExpressRead8 (StartAddress); in PciExpressReadBuffer() 1286 StartAddress += sizeof (UINT8); in PciExpressReadBuffer() 1291 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciExpressReadBuffer() 1295 WriteUnaligned16 ((UINT16 *) Buffer, (UINT16) PciExpressRead16 (StartAddress)); in PciExpressReadBuffer() 1297 StartAddress += sizeof (UINT16); in PciExpressReadBuffer() 1306 WriteUnaligned32 ((UINT32 *) Buffer, (UINT32) PciExpressRead32 (StartAddress)); in PciExpressReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmPciLibPciRootBridgeIo/ |
D | PciLib.c | 1267 IN UINTN StartAddress, in PciReadBuffer() argument 1274 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciReadBuffer() 1275 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciReadBuffer() 1288 if ((StartAddress & BIT0) != 0) { in PciReadBuffer() 1292 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer() 1293 StartAddress += sizeof (UINT8); in PciReadBuffer() 1298 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciReadBuffer() 1302 WriteUnaligned16 (Buffer, PciRead16 (StartAddress)); in PciReadBuffer() 1303 StartAddress += sizeof (UINT16); in PciReadBuffer() 1312 WriteUnaligned32 (Buffer, PciRead32 (StartAddress)); in PciReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiPciLibPciRootBridgeIo/ |
D | PciLib.c | 1269 IN UINTN StartAddress, in PciReadBuffer() argument 1276 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciReadBuffer() 1277 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciReadBuffer() 1290 if ((StartAddress & BIT0) != 0) { in PciReadBuffer() 1294 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer() 1295 StartAddress += sizeof (UINT8); in PciReadBuffer() 1300 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciReadBuffer() 1304 WriteUnaligned16 (Buffer, PciRead16 (StartAddress)); in PciReadBuffer() 1305 StartAddress += sizeof (UINT16); in PciReadBuffer() 1314 WriteUnaligned32 (Buffer, PciRead32 (StartAddress)); in PciReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiPciSegmentLibPciCfg2/ |
D | PciSegmentLib.c | 1247 IN UINT64 StartAddress, in PciSegmentReadBuffer() argument 1254 ASSERT_INVALID_PCI_SEGMENT_ADDRESS (StartAddress, 0); in PciSegmentReadBuffer() 1255 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciSegmentReadBuffer() 1268 if ((StartAddress & BIT0) != 0) { in PciSegmentReadBuffer() 1272 *(volatile UINT8 *)Buffer = PciSegmentRead8 (StartAddress); in PciSegmentReadBuffer() 1273 StartAddress += sizeof (UINT8); in PciSegmentReadBuffer() 1278 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciSegmentReadBuffer() 1282 WriteUnaligned16 (Buffer, PciSegmentRead16 (StartAddress)); in PciSegmentReadBuffer() 1283 StartAddress += sizeof (UINT16); in PciSegmentReadBuffer() 1292 WriteUnaligned32 (Buffer, PciSegmentRead32 (StartAddress)); in PciSegmentReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/ |
D | PciLib.c | 1300 IN UINTN StartAddress, in PciCf8ReadBuffer() argument 1307 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciCf8ReadBuffer() 1308 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100); in PciCf8ReadBuffer() 1321 if ((StartAddress & 1) != 0) { in PciCf8ReadBuffer() 1325 *(volatile UINT8 *)Buffer = PciCf8Read8 (StartAddress); in PciCf8ReadBuffer() 1326 StartAddress += sizeof (UINT8); in PciCf8ReadBuffer() 1331 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciCf8ReadBuffer() 1335 *(volatile UINT16 *)Buffer = PciCf8Read16 (StartAddress); in PciCf8ReadBuffer() 1336 StartAddress += sizeof (UINT16); in PciCf8ReadBuffer() 1345 *(volatile UINT32 *)Buffer = PciCf8Read32 (StartAddress); in PciCf8ReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeRuntimePciExpressLib/ |
D | PciExpressLib.c | 1485 IN UINTN StartAddress, in PciExpressReadBuffer() argument 1495 ASSERT (((StartAddress) & ~0xfffffff) == 0); in PciExpressReadBuffer() 1496 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciExpressReadBuffer() 1509 if ((StartAddress & 1) != 0) { in PciExpressReadBuffer() 1513 *(volatile UINT8 *)Buffer = PciExpressRead8 (StartAddress); in PciExpressReadBuffer() 1514 StartAddress += sizeof (UINT8); in PciExpressReadBuffer() 1519 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciExpressReadBuffer() 1523 WriteUnaligned16 ((UINT16 *) Buffer, (UINT16) PciExpressRead16 (StartAddress)); in PciExpressReadBuffer() 1525 StartAddress += sizeof (UINT16); in PciExpressReadBuffer() 1534 WriteUnaligned32 ((UINT32 *) Buffer, (UINT32) PciExpressRead32 (StartAddress)); in PciExpressReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/ |
D | PciSegmentLib.c | 1320 IN UINT64 StartAddress, in PciSegmentReadBuffer() argument 1327 ASSERT_INVALID_PCI_SEGMENT_ADDRESS (StartAddress, 0); in PciSegmentReadBuffer() 1328 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciSegmentReadBuffer() 1341 if ((StartAddress & BIT0) != 0) { in PciSegmentReadBuffer() 1345 *(volatile UINT8 *)Buffer = PciSegmentRead8 (StartAddress); in PciSegmentReadBuffer() 1346 StartAddress += sizeof (UINT8); in PciSegmentReadBuffer() 1351 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciSegmentReadBuffer() 1355 WriteUnaligned16 (Buffer, PciSegmentRead16 (StartAddress)); in PciSegmentReadBuffer() 1356 StartAddress += sizeof (UINT16); in PciSegmentReadBuffer() 1365 WriteUnaligned32 (Buffer, PciSegmentRead32 (StartAddress)); in PciSegmentReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/ |
D | LightMemoryTest.c | 164 Range->StartAddress, in UpdateMemoryMap() 170 Range->StartAddress, in UpdateMemoryMap() 196 IN EFI_PHYSICAL_ADDRESS StartAddress, in DirectRangeTest() argument 206 WriteMemory (Private, StartAddress, Length); in DirectRangeTest() 211 Status = VerifyMemory (Private, StartAddress, Length); in DirectRangeTest() 219 StartAddress, in DirectRangeTest() 225 StartAddress, in DirectRangeTest() 277 Range->StartAddress = MemorySpaceMap[Index].BaseAddress; in ConstructNonTestedMemoryRange() 512 mCurrentAddress = mCurrentRange->StartAddress; in InitializeMemoryTest() 557 if (mCurrentAddress < (mCurrentRange->StartAddress + mCurrentRange->Length)) { in GenPerformMemoryTest() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciCf8Lib/ |
D | PciCf8Lib.c | 1615 IN UINTN StartAddress, in PciCf8ReadBuffer() argument 1622 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciCf8ReadBuffer() 1623 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100); in PciCf8ReadBuffer() 1636 if ((StartAddress & 1) != 0) { in PciCf8ReadBuffer() 1640 *(volatile UINT8 *)Buffer = PciCf8Read8 (StartAddress); in PciCf8ReadBuffer() 1641 StartAddress += sizeof (UINT8); in PciCf8ReadBuffer() 1646 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciCf8ReadBuffer() 1650 WriteUnaligned16 ((UINT16 *)Buffer, (UINT16) PciCf8Read16 (StartAddress)); in PciCf8ReadBuffer() 1652 StartAddress += sizeof (UINT16); in PciCf8ReadBuffer() 1661 WriteUnaligned32 ((UINT32 *)Buffer, (UINT32) PciCf8Read32 (StartAddress)); in PciCf8ReadBuffer() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/DebugSecExtraActionLib/ |
D | DebugSecExtraActionLib.c | 72 UINTN* StartAddress; in ArmPlatformSecExtraAction() local 81 StartAddress = (UINTN*)(UINTN)PcdGet64 (PcdFvBaseAddress); in ArmPlatformSecExtraAction() 84 *StartAddress = 0xEAFFFFFE; // opcode for while(1) in ArmPlatformSecExtraAction() 86 …Count = AsciiSPrint (Buffer,sizeof (Buffer),"Waiting for firmware at 0x%08X ...\n\r",StartAddress); in ArmPlatformSecExtraAction()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/ |
D | ApStartup.c | 380 EFI_PHYSICAL_ADDRESS StartAddress; in PrepareAPStartupCode() local 382 StartAddress = BASE_1MB; in PrepareAPStartupCode() 387 &StartAddress in PrepareAPStartupCode() 393 StartupCode = (STARTUP_CODE*)(VOID*)(UINTN) StartAddress; in PrepareAPStartupCode() 395 StartupCode->RealSegment = (UINT16) (((UINTN) StartAddress) >> 4); in PrepareAPStartupCode() 403 StartupCode->FlatJmpOffset += (UINT32) StartAddress; in PrepareAPStartupCode() 414 StartupCode->LongJmpOffset += (UINT32) StartAddress; in PrepareAPStartupCode()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
D | LegacyBios.c | 794 EFI_PHYSICAL_ADDRESS StartAddress; in LegacyBiosInstall() local 866 for (StartAddress = 0; StartAddress < 0xa0000; ) { in LegacyBiosInstall() 867 gDS->GetMemorySpaceDescriptor (StartAddress, &Descriptor); in LegacyBiosInstall() 869 StartAddress = Descriptor.BaseAddress + Descriptor.Length; in LegacyBiosInstall() 872 Length = MIN (Descriptor.Length, 0xa0000 - StartAddress); in LegacyBiosInstall() 875 StartAddress, in LegacyBiosInstall() 878 StartAddress = StartAddress + Length; in LegacyBiosInstall() 883 for (StartAddress = BASE_1MB; StartAddress < BASE_16MB; ) { in LegacyBiosInstall() 884 gDS->GetMemorySpaceDescriptor (StartAddress, &Descriptor); in LegacyBiosInstall() 886 StartAddress = Descriptor.BaseAddress + Descriptor.Length; in LegacyBiosInstall() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/ |
D | NullMemoryTest.c | 207 IN EFI_PHYSICAL_ADDRESS StartAddress, in GenCompatibleRangeTest() argument 213 gDS->GetMemorySpaceDescriptor (StartAddress, &Descriptor); in GenCompatibleRangeTest() 215 gDS->RemoveMemorySpace (StartAddress, Length); in GenCompatibleRangeTest() 219 StartAddress, in GenCompatibleRangeTest()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseS3IoLib/ |
D | S3IoLib.c | 2962 IN UINTN StartAddress, in S3MmioReadBuffer8() argument 2970 ReturnBuffer = MmioReadBuffer8 (StartAddress, Length, Buffer); in S3MmioReadBuffer8() 2974 StartAddress, in S3MmioReadBuffer8() 3009 IN UINTN StartAddress, in S3MmioReadBuffer16() argument 3017 ReturnBuffer = MmioReadBuffer16 (StartAddress, Length, Buffer); in S3MmioReadBuffer16() 3021 StartAddress, in S3MmioReadBuffer16() 3056 IN UINTN StartAddress, in S3MmioReadBuffer32() argument 3064 ReturnBuffer = MmioReadBuffer32 (StartAddress, Length, Buffer); in S3MmioReadBuffer32() 3068 StartAddress, in S3MmioReadBuffer32() 3103 IN UINTN StartAddress, in S3MmioReadBuffer64() argument [all …]
|