/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/ |
D | CTA15-A7Mem.c | 46 UINTN Index = 0; in ArmPlatformGetVirtualMemoryMap() local 64 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_SEC_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap() 65 VirtualMemoryTable[Index].VirtualBase = ARM_VE_SEC_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap() 66 VirtualMemoryTable[Index].Length = ARM_VE_SEC_NOR0_SZ; in ArmPlatformGetVirtualMemoryMap() 67 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 69 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SEC_RAM0_BASE; in ArmPlatformGetVirtualMemoryMap() 70 VirtualMemoryTable[Index].VirtualBase = ARM_VE_SEC_RAM0_BASE; in ArmPlatformGetVirtualMemoryMap() 71 VirtualMemoryTable[Index].Length = ARM_VE_SEC_RAM0_SZ; in ArmPlatformGetVirtualMemoryMap() 72 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 76 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Library/ArmJunoLib/ |
D | ArmJunoMem.c | 47 UINTN Index = 0; in ArmPlatformGetVirtualMemoryMap() local 83 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap() 84 VirtualMemoryTable[Index].VirtualBase = ARM_VE_SMB_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap() 85 VirtualMemoryTable[Index].Length = SIZE_256KB * 255; in ArmPlatformGetVirtualMemoryMap() 86 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 88 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE + (SIZE_256KB * 255); in ArmPlatformGetVirtualMemoryMap() 89 VirtualMemoryTable[Index].VirtualBase = ARM_VE_SMB_NOR0_BASE + (SIZE_256KB * 255); in ArmPlatformGetVirtualMemoryMap() 90 VirtualMemoryTable[Index].Length = SIZE_64KB * 4; in ArmPlatformGetVirtualMemoryMap() 91 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 94 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ |
D | CTA9x4Mem.c | 46 UINTN Index = 0; in ArmPlatformGetVirtualMemoryMap() local 64 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_REMAP_BASE; in ArmPlatformGetVirtualMemoryMap() 65 VirtualMemoryTable[Index].VirtualBase = ARM_VE_REMAP_BASE; in ArmPlatformGetVirtualMemoryMap() 66 VirtualMemoryTable[Index].Length = ARM_VE_REMAP_SZ; in ArmPlatformGetVirtualMemoryMap() 67 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 71 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_DRAM_BASE; in ArmPlatformGetVirtualMemoryMap() 72 VirtualMemoryTable[Index].VirtualBase = ARM_VE_DRAM_BASE; in ArmPlatformGetVirtualMemoryMap() 73 VirtualMemoryTable[Index].Length = ARM_VE_DRAM_SZ; in ArmPlatformGetVirtualMemoryMap() 74 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 77 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_MB_ON_CHIP_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ |
D | RTSMMem.c | 47 UINTN Index = 0; in ArmPlatformGetVirtualMemoryMap() local 97 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_REMAP_BASE; in ArmPlatformGetVirtualMemoryMap() 98 VirtualMemoryTable[Index].VirtualBase = ARM_VE_REMAP_BASE; in ArmPlatformGetVirtualMemoryMap() 99 VirtualMemoryTable[Index].Length = ARM_VE_REMAP_SZ; in ArmPlatformGetVirtualMemoryMap() 104 VirtualMemoryTable[Index].Attributes = DDR_ATTRIBUTES_CACHED; in ArmPlatformGetVirtualMemoryMap() 106 VirtualMemoryTable[Index].Attributes = DDR_ATTRIBUTES_UNCACHED; in ArmPlatformGetVirtualMemoryMap() 110 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 114 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_DRAM_BASE; in ArmPlatformGetVirtualMemoryMap() 115 VirtualMemoryTable[Index].VirtualBase = ARM_VE_DRAM_BASE; in ArmPlatformGetVirtualMemoryMap() 116 VirtualMemoryTable[Index].Length = ARM_VE_DRAM_SZ; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/ |
D | SetupFunctions.c | 42 UINT8 Index; in AsciiToUnicode() 44 Index = 0; in AsciiToUnicode() 45 while (AsciiString[Index] != 0) { in AsciiToUnicode() 46 UnicodeString[Index] = (CHAR16)AsciiString[Index]; in AsciiToUnicode() 47 Index++; in AsciiToUnicode() local 56 UINT16 Index; 59 Index = 0; 60 while (Data[Index] != 0 && Data[Index+1] != 0) { 61 Temp8 = Data[Index]; 62 Data[Index] = Data[Index+1]; in ConvertBase10ToRaw() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | Support.c | 34 UINTN Index; in EfiAddMemoryDescriptor() local 45 for (Index = 0; Index < NumberOfDesc; Index++) { in EfiAddMemoryDescriptor() 47 if (Desc[Index].Type == EfiConventionalMemory) { in EfiAddMemoryDescriptor() 49 Temp = DivU64x32 ((BaseAddress - Desc[Index].PhysicalStart), EFI_PAGE_SIZE) + NoPages; in EfiAddMemoryDescriptor() 51 if ((Desc[Index].PhysicalStart < BaseAddress) && (Desc[Index].NumberOfPages >= Temp)) { in EfiAddMemoryDescriptor() 52 if (Desc[Index].NumberOfPages > Temp) { in EfiAddMemoryDescriptor() 55 Desc[*NoDesc].NumberOfPages = Desc[Index].NumberOfPages - Temp; in EfiAddMemoryDescriptor() 57 Desc[*NoDesc].Attribute = Desc[Index].Attribute; in EfiAddMemoryDescriptor() 60 Desc[Index].NumberOfPages = Temp - NoPages; in EfiAddMemoryDescriptor() 63 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages == NoPages)) { in EfiAddMemoryDescriptor() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | X86Msr.c | 42 IN UINT32 Index in AsmReadMsr32() argument 45 return (UINT32)AsmReadMsr64 (Index); in AsmReadMsr32() 67 IN UINT32 Index, in AsmWriteMsr32() argument 71 return (UINT32)AsmWriteMsr64 (Index, Value); in AsmWriteMsr32() 96 IN UINT32 Index, in AsmMsrOr32() argument 100 return (UINT32)AsmMsrOr64 (Index, OrData); in AsmMsrOr32() 125 IN UINT32 Index, in AsmMsrAnd32() argument 129 return (UINT32)AsmMsrAnd64 (Index, AndData); in AsmMsrAnd32() 157 IN UINT32 Index, in AsmMsrAndThenOr32() argument 162 return (UINT32)AsmMsrAndThenOr64 (Index, AndData, OrData); in AsmMsrAndThenOr32() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | X86Msr.c | 36 IN UINT32 Index in AsmReadMsr32() argument 39 return (UINT32)AsmReadMsr64 (Index); in AsmReadMsr32() 62 IN UINT32 Index, in AsmWriteMsr32() argument 66 return (UINT32)AsmWriteMsr64 (Index, Value); in AsmWriteMsr32() 91 IN UINT32 Index, in AsmMsrOr32() argument 95 return (UINT32)AsmMsrOr64 (Index, OrData); in AsmMsrOr32() 120 IN UINT32 Index, in AsmMsrAnd32() argument 124 return (UINT32)AsmMsrAnd64 (Index, AndData); in AsmMsrAnd32() 152 IN UINT32 Index, in AsmMsrAndThenOr32() argument 157 return (UINT32)AsmMsrAndThenOr64 (Index, AndData, OrData); in AsmMsrAndThenOr32() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/ |
D | LegacyBm.c | 97 IN UINTN Index, in LegacyBmBuildLegacyDevNameString() argument 108 switch (Index) { in LegacyBmBuildLegacyDevNameString() 195 …if (Index >= 5 && Index <= 16 && (CurBBSEntry->DeviceType == BBS_HARDDISK || CurBBSEntry->DeviceTy… in LegacyBmBuildLegacyDevNameString() 197 UnicodeSPrint (BootString, BufSize, Fmt, Type, Index - 5); in LegacyBmBuildLegacyDevNameString() 221 UINT16 Index; in LegacyBmFuzzyMatch() local 253 for (Index = 0; Index < BbsCount; Index++) { in LegacyBmFuzzyMatch() 254 if (!LegacyBmValidBbsEntry (&BbsTable[Index]) || in LegacyBmFuzzyMatch() 255 (BbsTable[Index].DeviceType != LegacyBmDeviceType (BootOption->FilePath))) { in LegacyBmFuzzyMatch() 260 &BbsTable[Index], in LegacyBmFuzzyMatch() 261 Index, in LegacyBmFuzzyMatch() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Csm/CsmSupportLib/ |
D | LegacyRegion.c | 96 UINTN Index; in LegacyRegionManipulationInternal() local 114 for (Index = 0; Index < (sizeof(mSectionArray) / sizeof (mSectionArray[0])); Index++) { in LegacyRegionManipulationInternal() 115 …if ((Start >= mSectionArray[Index].Start) && (Start < (mSectionArray[Index].Start + mSectionArray[… in LegacyRegionManipulationInternal() 116 StartIndex = Index; in LegacyRegionManipulationInternal() 120 ASSERT (Index < (sizeof(mSectionArray) / sizeof (mSectionArray[0]))); in LegacyRegionManipulationInternal() 125 for (Index = StartIndex; Index < (sizeof(mSectionArray) / sizeof (mSectionArray[0])); Index++) { in LegacyRegionManipulationInternal() 129 … PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, mRegisterValues[Index].PAMRegOffset), in LegacyRegionManipulationInternal() 130 mRegisterValues[Index].ReadEnableData in LegacyRegionManipulationInternal() 134 … PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, mRegisterValues[Index].PAMRegOffset), in LegacyRegionManipulationInternal() 135 (UINT8) (~mRegisterValues[Index].ReadEnableData) in LegacyRegionManipulationInternal() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | TianoCompress.c | 233 IN INT32 Index 245 IN INT32 Index 437 UINT32 Index; in AllocateMemory() local 440 for (Index = 0; Index < WNDSIZ * 2 + MAXMATCH; Index++) { in AllocateMemory() 441 mText[Index] = 0; in AllocateMemory() 535 NODE Index; in InitSlide() local 537 for (Index = WNDSIZ; Index <= WNDSIZ + UINT8_MAX; Index++) { in InitSlide() 538 mLevel[Index] = 1; in InitSlide() 539 mPosition[Index] = NIL; /* sentinel */ in InitSlide() 542 for (Index = WNDSIZ; Index < WNDSIZ * 2; Index++) { in InitSlide() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | TianoCompress.c | 214 IN INT32 Index 226 IN INT32 Index 417 UINT32 Index; in AllocateMemory() local 420 for (Index = 0; Index < WNDSIZ * 2 + MAXMATCH; Index++) { in AllocateMemory() 421 mText[Index] = 0; in AllocateMemory() 515 NODE Index; in InitSlide() local 517 for (Index = WNDSIZ; Index <= WNDSIZ + UINT8_MAX; Index++) { in InitSlide() 518 mLevel[Index] = 1; in InitSlide() 519 mPosition[Index] = NIL; /* sentinel */ in InitSlide() 522 for (Index = WNDSIZ; Index < WNDSIZ * 2; Index++) { in InitSlide() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/ |
D | BaseUefiDecompressLib.c | 145 UINT16 Index; in GlueMakeTable() local 165 for (Index = 0; Index <= 16; Index++) { in GlueMakeTable() 166 Count[Index] = 0; in GlueMakeTable() 169 for (Index = 0; Index < NumOfChar; Index++) { in GlueMakeTable() 173 if (BitLen[Index] < (sizeof (Count)/sizeof (UINT16))) { in GlueMakeTable() 174 Count[BitLen[Index]]++; in GlueMakeTable() 183 for (Index = 1; Index <= 16; Index++) { in GlueMakeTable() 184 WordOfStart = Start[Index]; in GlueMakeTable() 185 WordOfCount = Count[Index]; in GlueMakeTable() 186 Start[Index + 1] = (UINT16) (WordOfStart + (WordOfCount << (16 - Index))); in GlueMakeTable() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/ |
D | TianoCompress.c | 240 UINT32 Index; in AllocateMemory() local 243 for (Index = 0; Index < WNDSIZ * 2 + MAXMATCH; Index++) { in AllocateMemory() 244 mText[Index] = 0; in AllocateMemory() 338 NODE Index; in InitSlide() local 340 for (Index = WNDSIZ; Index <= WNDSIZ + UINT8_MAX; Index++) { in InitSlide() 341 mLevel[Index] = 1; in InitSlide() 342 mPosition[Index] = NIL; // sentinel in InitSlide() 345 for (Index = WNDSIZ; Index < WNDSIZ * 2; Index++) { in InitSlide() 346 mParent[Index] = NIL; in InitSlide() 350 for (Index = 1; Index < WNDSIZ - 1; Index++) { in InitSlide() [all …]
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/ |
D | DebugMp.c | 107 UINT32 Index; in GetProcessorIndex() local 114 for (Index = 0; Index < mDebugCpuData.CpuCount; Index ++) { in GetProcessorIndex() 115 if (mDebugCpuData.ApicID[Index] == LocalApicID) { in GetProcessorIndex() 120 if (Index == mDebugCpuData.CpuCount) { in GetProcessorIndex() 121 mDebugCpuData.ApicID[Index] = LocalApicID; in GetProcessorIndex() 127 return Index; in GetProcessorIndex() 180 UINTN Index; in SetCpuStopFlagByIndex() local 185 Index = ProcessorIndex % 8; in SetCpuStopFlagByIndex() 187 Value = BitFieldWrite8 (Value, Index, Index, 1); in SetCpuStopFlagByIndex() 189 Value = BitFieldWrite8 (Value, Index, Index, 0); in SetCpuStopFlagByIndex() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/ |
D | IfrCommon.c | 44 UINTN Index; in GetCurrentLanguage() local 64 for (Index = 0; Index < 3; Index++) { in GetCurrentLanguage() 69 Lang[Index] = (CHAR16) (Language[Index] & 0xDF); in GetCurrentLanguage() 120 UINTN Index; in AddString() local 161 for (Index = 0; PackSource[Index] != 0x0000; Index++) { in AddString() 166 PackDestination[Index] = (UINT16) (PackDestination[Index] + sizeof (RELOFST)); in AddString() 172 PackDestination[Index] = (UINT16)(PackDestination[Index-1] + in AddString() 173 … EfiStrSize((CHAR16 *)((CHAR8 *)(StringPack) + PackSource[Index-1]))); in AddString() 174 PackDestination[Index + 1] = (UINT16) 0; in AddString() 179 *StringToken = (UINT16) Index; in AddString() [all …]
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/BeagleBoardLib/ |
D | BeagleBoardMem.c | 41 UINTN Index = 0; in ArmPlatformGetVirtualMemoryMap() local 58 VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap() 59 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap() 60 VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap() 61 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 64 VirtualMemoryTable[++Index].PhysicalBase = SOC_REGISTERS_L3_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap() 65 VirtualMemoryTable[Index].VirtualBase = SOC_REGISTERS_L3_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap() 66 VirtualMemoryTable[Index].Length = SOC_REGISTERS_L3_PHYSICAL_LENGTH; in ArmPlatformGetVirtualMemoryMap() 67 VirtualMemoryTable[Index].Attributes = SOC_REGISTERS_L3_ATTRIBUTES; in ArmPlatformGetVirtualMemoryMap() 70 VirtualMemoryTable[++Index].PhysicalBase = SOC_REGISTERS_L4_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/BeagleBoardLib/ |
D | BeagleBoardMem.c | 41 UINTN Index = 0; in ArmPlatformGetVirtualMemoryMap() local 58 VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap() 59 VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap() 60 VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemorySize); in ArmPlatformGetVirtualMemoryMap() 61 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 64 VirtualMemoryTable[++Index].PhysicalBase = SOC_REGISTERS_L3_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap() 65 VirtualMemoryTable[Index].VirtualBase = SOC_REGISTERS_L3_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap() 66 VirtualMemoryTable[Index].Length = SOC_REGISTERS_L3_PHYSICAL_LENGTH; in ArmPlatformGetVirtualMemoryMap() 67 VirtualMemoryTable[Index].Attributes = SOC_REGISTERS_L3_ATTRIBUTES; in ArmPlatformGetVirtualMemoryMap() 70 VirtualMemoryTable[++Index].PhysicalBase = SOC_REGISTERS_L4_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Unicode/ |
D | Sprint.c | 125 UINTN Index; in AvSPrint() local 129 for (Index = 0; Index < EFI_DRIVER_LIB_MAX_PRINT_BUFFER && FormatString[Index] != '\0'; Index++) { in AvSPrint() 130 UnicodeFormat[Index] = (CHAR16) FormatString[Index]; in AvSPrint() 133 UnicodeFormat[Index] = '\0'; in AvSPrint() 135 Index = VSPrint (UnicodeResult, sizeof (UnicodeResult), UnicodeFormat, Marker); in AvSPrint() 137 for (Index = 0; (Index < (BufferSize - 1)) && UnicodeResult[Index] != '\0'; Index++) { in AvSPrint() 138 Buffer[Index] = (CHAR8) UnicodeResult[Index]; in AvSPrint() 141 Buffer[Index] = '\0'; in AvSPrint() 143 return Index++; in AvSPrint()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Ascii/ |
D | Sprint.c | 125 UINTN Index; in UvSPrint() local 129 for (Index = 0; Index < EFI_DRIVER_LIB_MAX_PRINT_BUFFER && FormatString[Index] != '\0'; Index++) { in UvSPrint() 130 AsciiFormat[Index] = (CHAR8) FormatString[Index]; in UvSPrint() 133 AsciiFormat[Index] = '\0'; in UvSPrint() 135 Index = VSPrint (AsciiResult, EFI_DRIVER_LIB_MAX_PRINT_BUFFER, AsciiFormat, Marker); in UvSPrint() 137 for (Index = 0; (Index < (BufferSize - 1)) && AsciiResult[Index] != '\0'; Index++) { in UvSPrint() 138 Buffer[Index] = (CHAR16) AsciiResult[Index]; in UvSPrint() 141 Buffer[Index] = '\0'; in UvSPrint() 143 return Index++; in UvSPrint()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Print/Ascii/ |
D | SPrint.c | 125 UINTN Index; in UvSPrint() local 129 for (Index = 0; Index < EFI_DRIVER_LIB_MAX_PRINT_BUFFER && FormatString[Index] != '\0'; Index++) { in UvSPrint() 130 AsciiFormat[Index] = (CHAR8) FormatString[Index]; in UvSPrint() 133 AsciiFormat[Index] = '\0'; in UvSPrint() 135 Index = VSPrint (AsciiResult, EFI_DRIVER_LIB_MAX_PRINT_BUFFER, AsciiFormat, Marker); in UvSPrint() 137 for (Index = 0; (Index < (BufferSize - 1)) && AsciiResult[Index] != '\0'; Index++) { in UvSPrint() 138 Buffer[Index] = (CHAR16) AsciiResult[Index]; in UvSPrint() 141 Buffer[Index] = '\0'; in UvSPrint() 143 return Index++; in UvSPrint()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Ascii/ |
D | Sprint.c | 125 UINTN Index; in UvSPrint() local 129 for (Index = 0; Index < EFI_DRIVER_LIB_MAX_PRINT_BUFFER && FormatString[Index] != '\0'; Index++) { in UvSPrint() 130 AsciiFormat[Index] = (CHAR8) FormatString[Index]; in UvSPrint() 133 AsciiFormat[Index] = '\0'; in UvSPrint() 135 Index = VSPrint (AsciiResult, EFI_DRIVER_LIB_MAX_PRINT_BUFFER, AsciiFormat, Marker); in UvSPrint() 137 for (Index = 0; (Index < (BufferSize - 1)) && AsciiResult[Index] != '\0'; Index++) { in UvSPrint() 138 Buffer[Index] = (CHAR16) AsciiResult[Index]; in UvSPrint() 141 Buffer[Index] = '\0'; in UvSPrint() 143 return Index++; in UvSPrint()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Print/Unicode/ |
D | SPrint.c | 125 UINTN Index; in AvSPrint() local 129 for (Index = 0; Index < EFI_DRIVER_LIB_MAX_PRINT_BUFFER && FormatString[Index] != '\0'; Index++) { in AvSPrint() 130 UnicodeFormat[Index] = (CHAR16) FormatString[Index]; in AvSPrint() 133 UnicodeFormat[Index] = '\0'; in AvSPrint() 135 Index = VSPrint (UnicodeResult, sizeof (UnicodeResult), UnicodeFormat, Marker); in AvSPrint() 137 for (Index = 0; (Index < (BufferSize - 1)) && UnicodeResult[Index] != '\0'; Index++) { in AvSPrint() 138 Buffer[Index] = (CHAR8) UnicodeResult[Index]; in AvSPrint() 141 Buffer[Index] = '\0'; in AvSPrint() 143 return Index++; in AvSPrint()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/Ascii/ |
D | SPrint.c | 123 UINTN Index; in UvSPrint() local 127 for (Index = 0; Index < EFI_DRIVER_LIB_MAX_PRINT_BUFFER && FormatString[Index] != '\0'; Index++) { in UvSPrint() 128 AsciiFormat[Index] = (CHAR8) FormatString[Index]; in UvSPrint() 131 AsciiFormat[Index] = '\0'; in UvSPrint() 133 Index = VSPrint (AsciiResult, EFI_DRIVER_LIB_MAX_PRINT_BUFFER, AsciiFormat, Marker); in UvSPrint() 135 for (Index = 0; (Index < (BufferSize - 1)) && AsciiResult[Index] != '\0'; Index++) { in UvSPrint() 136 Buffer[Index] = (CHAR16) AsciiResult[Index]; in UvSPrint() 139 Buffer[Index] = '\0'; in UvSPrint() 141 return Index++; in UvSPrint()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Unicode/ |
D | Sprint.c | 125 UINTN Index; in AvSPrint() local 129 for (Index = 0; Index < EFI_DRIVER_LIB_MAX_PRINT_BUFFER && FormatString[Index] != '\0'; Index++) { in AvSPrint() 130 UnicodeFormat[Index] = (CHAR16) FormatString[Index]; in AvSPrint() 133 UnicodeFormat[Index] = '\0'; in AvSPrint() 135 Index = VSPrint (UnicodeResult, sizeof (UnicodeResult), UnicodeFormat, Marker); in AvSPrint() 137 for (Index = 0; (Index < (BufferSize - 1)) && UnicodeResult[Index] != '\0'; Index++) { in AvSPrint() 138 Buffer[Index] = (CHAR8) UnicodeResult[Index]; in AvSPrint() 141 Buffer[Index] = '\0'; in AvSPrint() 143 return Index++; in AvSPrint()
|