Home
last modified time | relevance | path

Searched refs:CurrentAddress (Results 1 – 25 of 48) sorted by relevance

12

/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/
DFindPeiCore.c37 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local
48 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase()
49 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase()
54 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase()
56 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase()
57 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase()
61 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
74 EndOfFile = CurrentAddress + Size; in FindImageBase()
96 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase()
97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
[all …]
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/
DFindPeiCore.c37 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local
48 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase()
49 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase()
54 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase()
56 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase()
57 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase()
61 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
74 EndOfFile = CurrentAddress + Size; in FindImageBase()
96 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase()
97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
[all …]
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/
DFindPeiCore.c37 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local
48 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase()
49 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase()
54 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase()
56 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase()
57 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase()
61 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
74 EndOfFile = CurrentAddress + Size; in FindImageBase()
96 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase()
97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/SecCore/
DFindPeiCore.c37 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local
48 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase()
49 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase()
54 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase()
56 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase()
57 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase()
61 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
74 EndOfFile = CurrentAddress + Size; in FindImageBase()
96 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase()
97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Sec/
DSecMain.c155 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindFfsSectionInstance() local
170 CurrentAddress = (EndOfSection + 3) & ~(3ULL); in FindFfsSectionInstance()
171 if (CurrentAddress >= EndOfSections) { in FindFfsSectionInstance()
175 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindFfsSectionInstance()
182 EndOfSection = CurrentAddress + Size; in FindFfsSectionInstance()
257 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindFfsFileAndSection() local
268 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) Fv; in FindFfsFileAndSection()
269 EndOfFirmwareVolume = CurrentAddress + Fv->FvLength; in FindFfsFileAndSection()
274 for (EndOfFile = CurrentAddress + Fv->HeaderLength; ; ) { in FindFfsFileAndSection()
276 CurrentAddress = (EndOfFile + 7) & ~(7ULL); in FindFfsFileAndSection()
[all …]
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/
DSimpleNetwork.c54 &pMode->CurrentAddress.Addr[0]); in ReceiveFilterUpdate()
916 CopyMem ( &pMode->CurrentAddress, in SN_Setup()
980 CopyMem ( &pMode->CurrentAddress, in SN_Start()
982 sizeof ( pMode->CurrentAddress )); in SN_Start()
1067 CopyMem ( &pMode->CurrentAddress, in SN_StationAddress()
1069 sizeof ( pMode->CurrentAddress )); in SN_StationAddress()
1075 CopyMem ( &pMode->CurrentAddress, in SN_StationAddress()
1077 sizeof ( pMode->CurrentAddress )); in SN_StationAddress()
1083 Status = Ax88772MacAddressSet ( pNicDevice, &pMode->CurrentAddress.Addr[0]); in SN_StationAddress()
1402 CopyMem ( &pHeader->src_addr, &pMode->CurrentAddress.Addr[0], PXE_HWADDR_LEN_ETHER ); in SN_Transmit()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/
DUsbPeim.c215 IN UINT8 *CurrentAddress in PeiHubEnumeration() argument
330 NewPeiUsbDevice->Translator.TranslatorHubAddress = *CurrentAddress; in PeiHubEnumeration()
343 CurrentAddress in PeiHubEnumeration()
361 PeiHubEnumeration (PeiServices, NewPeiUsbDevice, CurrentAddress); in PeiHubEnumeration()
396 PeiHubEnumeration (PeiServices, NewPeiUsbDevice, CurrentAddress); in PeiHubEnumeration()
433 UINT8 CurrentAddress; in PeiUsbEnumeration() local
437 CurrentAddress = 0; in PeiUsbEnumeration()
584 &CurrentAddress in PeiUsbEnumeration()
602 PeiHubEnumeration (PeiServices, PeiUsbDevice, &CurrentAddress); in PeiUsbEnumeration()
637 PeiHubEnumeration (PeiServices, PeiUsbDevice, &CurrentAddress); in PeiUsbEnumeration()
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/EblCmdLib/
DEblCmdLib.c136 UINT8 *Ptr, *CurrentAddress; in EblDisassembler() local
152 CurrentAddress = Ptr; in EblDisassembler()
154 AsciiPrint ("0x%08x: %a\n", CurrentAddress, Buffer); in EblDisassembler()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/EblCmdLib/
DEblCmdLib.c136 UINT8 *Ptr, *CurrentAddress; in EblDisassembler() local
152 CurrentAddress = Ptr; in EblDisassembler()
154 AsciiPrint ("0x%08x: %a\n", CurrentAddress, Buffer); in EblDisassembler()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/
DSimpleNetwork.c973 CopyMem ( &pMode->CurrentAddress, in SN_Setup()
1102 CopyMem ( &pMode->CurrentAddress, in SN_Start()
1104 sizeof ( pMode->CurrentAddress )); in SN_Start()
1190 CopyMem ( &pMode->CurrentAddress, in SN_StationAddress()
1192 sizeof ( pMode->CurrentAddress )); in SN_StationAddress()
1198 CopyMem ( &pMode->CurrentAddress, in SN_StationAddress()
1200 sizeof ( pMode->CurrentAddress )); in SN_StationAddress()
1206 Status = Ax88772MacAddressSet ( pNicDevice, &pMode->CurrentAddress.Addr[0]); in SN_StationAddress()
1555 … CopyMem ( &pHeader->src_addr, &pMode->CurrentAddress.Addr[0], PXE_HWADDR_LEN_ETHER ); in SN_Transmit()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/EblCmdLib/
DEblCmdLib.c144 UINT8 *Ptr, *CurrentAddress; in EblDisassembler() local
160 CurrentAddress = Ptr; in EblDisassembler()
162 AsciiPrint ("0x%08x: %a\n", CurrentAddress, Buffer); in EblDisassembler()
/device/linaro/bootloader/edk2/Nt32Pkg/SnpNt32Dxe/
DSnpNt32.c927 SrcAddr = &Instance->Mode.CurrentAddress; in SnpNt32Transmit()
1268 …CopyMem (&Instance->Mode.CurrentAddress, &Instance->InterfaceInfo.MacAddr, sizeof(Instance->Mode.C… in SnpNt32InitializeInstanceData()
1276 Instance->Mode.CurrentAddress.Addr[NET_ETHER_ADDR_LEN - 1]++; in SnpNt32InitializeInstanceData()
1289 &Instance->Mode.CurrentAddress, in SnpNt32InitializeInstanceData()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/
DLan9118DxeUtil.c392 if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) { in Lan9118Initialize()
393 Lan9118SetMacAddress (&Snp->Mode->CurrentAddress, Snp); in Lan9118Initialize()
399 CopyMem (&Snp->Mode->CurrentAddress, &DefaultMacAddress, NET_ETHER_ADDR_LEN); in Lan9118Initialize()
403 Lan9118ReadMacAddress (&Snp->Mode->CurrentAddress); in Lan9118Initialize()
404 CopyMem (&Snp->Mode->PermanentAddress, &Snp->Mode->CurrentAddress, NET_ETHER_ADDR_LEN); in Lan9118Initialize()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DBerkeleyPacketFilter.c96 CopyMem (&Mode->CurrentAddress, &Private->MacAddress, sizeof (EFI_MAC_ADDRESS)); in EmuSnpCreateMapping()
104 Mode->CurrentAddress.Addr[NET_ETHER_ADDR_LEN - 1]++; in EmuSnpCreateMapping()
311 CopyMem (&Temp32, &Private->Mode->CurrentAddress.Addr[0], sizeof (UINT32)); in EmuSnpStart()
313 CopyMem (&Temp16, &Private->Mode->CurrentAddress.Addr[4], sizeof (UINT16)); in EmuSnpStart()
846 SrcAddr = &Private->Mode->CurrentAddress; in EmuSnpTransmit()
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
DDriverBinding.c226 Status = VirtioNetGetFeatures (Dev, &Dev->Snm.CurrentAddress, in VirtioNetSnpPopulate()
231 CopyMem (&Dev->Snm.PermanentAddress, &Dev->Snm.CurrentAddress, in VirtioNetSnpPopulate()
488 CopyMem (&MacNode.MacAddress, &Dev->Snm.CurrentAddress, in VirtioNetDriverBindingStart()
DSnpTransmit.c136 (SrcAddr == NULL) ? &Dev->Snm.CurrentAddress : SrcAddr, in VirtioNetTransmit()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DShutdown.c141 &Snp->Mode.CurrentAddress, in SnpUndi32Shutdown()
DComponentName.c271 Snp->Mode->CurrentAddress.Addr[Index] in UpdateName()
DStation_address.c71 &(Snp->Mode.CurrentAddress), in PxeGetStnAddr()
DInitialize.c222 &Snp->Mode.CurrentAddress, in SnpUndi32Initialize()
/device/linaro/bootloader/edk2/OvmfPkg/Csm/CsmSupportLib/
DLegacyPlatform.c251 UINTN CurrentAddress; in GetSelectedVgaDeviceInfo() local
328 CurrentAddress = PCI_LIB_ADDRESS(Bus, Device, Function, 0); in GetSelectedVgaDeviceInfo()
329 if (CurrentAddress < SelectedAddress) { in GetSelectedVgaDeviceInfo()
330 SelectedAddress = CurrentAddress; in GetSelectedVgaDeviceInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DComponentName.c153 SnpModeData.CurrentAddress.Addr[Index] in UpdateName()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
DBiosSnp16.c616 &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress, in BiosSnp16DriverBindingStart()
674 … DEBUG ((DEBUG_NET, "%02x ", SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress.Addr[Index2])); in BiosSnp16DriverBindingStart()
1538 &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress, in Undi16SimpleNetworkGetInformation()
1539 sizeof SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress in Undi16SimpleNetworkGetInformation()
1543 &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress, in Undi16SimpleNetworkGetInformation()
2567 &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress, in Undi16SimpleNetworkStationAddress()
2593 &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress, in Undi16SimpleNetworkStationAddress()
2651 &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress, in Undi16SimpleNetworkStationAddress()
2664 &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress in Undi16SimpleNetworkStationAddress()
3166 SrcAddr = &SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress; in Undi16SimpleNetworkTransmit()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EblNetworkLib/
DEblNetworkLib.c66 CopyMem (Mac, SimpleNet->Mode->CurrentAddress.Addr, sizeof (EFI_MAC_ADDRESS)); in EblGetCurrentMacAddress()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/
DLan91xDxe.c973 LanDriver->SnpMode.CurrentAddress = LanDriver->SnpMode.PermanentAddress; in Probe()
1418 Status = SetCurrentMacAddress (LanDriver, &SnpMode->CurrentAddress); in SnpReceiveFilters()
1470 Snp->Mode->CurrentAddress = Snp->Mode->PermanentAddress; in SnpStationAddress()
1475 Snp->Mode->CurrentAddress = *NewMac; in SnpStationAddress()
1478 Status = SetCurrentMacAddress (LanDriver, &Snp->Mode->CurrentAddress); in SnpStationAddress()
1852 WriteIoData (LanDriver, &LanDriver->SnpMode.CurrentAddress, NET_ETHER_ADDR_LEN); in SnpTransmit()
1898 …0) ? (EFI_MAC_ADDRESS *)&Ptr[6] : (SrcAddr != NULL) ? SrcAddr : &LanDriver->SnpMode.CurrentAddress, in SnpTransmit()

12