/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/ |
D | FindPeiCore.c | 37 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/ |
D | FindPeiCore.c | 37 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/ |
D | FindPeiCore.c | 37 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/ |
D | FindPeiCore.c | 37 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/ |
D | SecMain.c | 155 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/ |
D | SimpleNetwork.c | 54 &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/ |
D | UsbPeim.c | 215 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/ |
D | EblCmdLib.c | 136 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/ |
D | EblCmdLib.c | 136 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/ |
D | SimpleNetwork.c | 973 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/ |
D | EblCmdLib.c | 144 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/ |
D | SnpNt32.c | 927 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/ |
D | Lan9118DxeUtil.c | 392 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/ |
D | BerkeleyPacketFilter.c | 96 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/ |
D | DriverBinding.c | 226 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()
|
D | SnpTransmit.c | 136 (SrcAddr == NULL) ? &Dev->Snm.CurrentAddress : SrcAddr, in VirtioNetTransmit()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/ |
D | Shutdown.c | 141 &Snp->Mode.CurrentAddress, in SnpUndi32Shutdown()
|
D | ComponentName.c | 271 Snp->Mode->CurrentAddress.Addr[Index] in UpdateName()
|
D | Station_address.c | 71 &(Snp->Mode.CurrentAddress), in PxeGetStnAddr()
|
D | Initialize.c | 222 &Snp->Mode.CurrentAddress, in SnpUndi32Initialize()
|
/device/linaro/bootloader/edk2/OvmfPkg/Csm/CsmSupportLib/ |
D | LegacyPlatform.c | 251 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/ |
D | ComponentName.c | 153 SnpModeData.CurrentAddress.Addr[Index] in UpdateName()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
D | BiosSnp16.c | 616 &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/ |
D | EblNetworkLib.c | 66 CopyMem (Mac, SimpleNet->Mode->CurrentAddress.Addr, sizeof (EFI_MAC_ADDRESS)); in EblGetCurrentMacAddress()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/ |
D | Lan91xDxe.c | 973 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()
|