/device/linaro/bootloader/edk2/MdeModulePkg/Universal/StatusCodeHandler/Pei/ |
D | SerialStatusCodeWorker.c | 56 UINTN CharCount; in SerialStatusCodeReportWorker() local 66 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 79 CharCount = AsciiBSPrint ( in SerialStatusCodeReportWorker() 89 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 98 ASSERT(CharCount > 0); in SerialStatusCodeReportWorker() 101 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 102 &Buffer[CharCount], in SerialStatusCodeReportWorker() 103 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialStatusCodeReportWorker() 110 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 111 &Buffer[CharCount], in SerialStatusCodeReportWorker() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/ |
D | SerialStatusCodeWorker.c | 52 UINTN CharCount; in SerialStatusCodeReportWorker() local 62 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 75 CharCount = AsciiBSPrint ( in SerialStatusCodeReportWorker() 85 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 93 ASSERT (CharCount > 0); in SerialStatusCodeReportWorker() 96 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 97 &Buffer[CharCount], in SerialStatusCodeReportWorker() 98 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialStatusCodeReportWorker() 105 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 106 &Buffer[CharCount], in SerialStatusCodeReportWorker() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/StatusCodeHandler/Smm/ |
D | SerialStatusCodeWorker.c | 52 UINTN CharCount; in SerialStatusCodeReportWorker() local 62 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 75 CharCount = AsciiBSPrint ( in SerialStatusCodeReportWorker() 85 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 93 ASSERT (CharCount > 0); in SerialStatusCodeReportWorker() 96 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 97 &Buffer[CharCount], in SerialStatusCodeReportWorker() 98 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialStatusCodeReportWorker() 105 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 106 &Buffer[CharCount], in SerialStatusCodeReportWorker() [all …]
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/ |
D | Nt32OemHookStatusCodeLib.c | 123 UINTN CharCount; in OemHookStatusCodeReport() local 133 CharCount = AsciiSPrint ( in OemHookStatusCodeReport() 148 (DWORD)CharCount, in OemHookStatusCodeReport() 149 (LPDWORD)&CharCount, in OemHookStatusCodeReport() 160 CharCount = AsciiBSPrint ( in OemHookStatusCodeReport() 170 CharCount = AsciiSPrint ( in OemHookStatusCodeReport() 184 CharCount += AsciiSPrint ( in OemHookStatusCodeReport() 185 &Buffer[CharCount - 1], in OemHookStatusCodeReport() 186 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in OemHookStatusCodeReport() 193 CharCount += AsciiSPrint ( in OemHookStatusCodeReport() [all …]
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/ |
D | Nt32OemHookStatusCodeLib.c | 132 UINTN CharCount; in OemHookStatusCodeReport() local 142 CharCount = AsciiSPrint ( in OemHookStatusCodeReport() 157 (DWORD)CharCount, in OemHookStatusCodeReport() 158 (LPDWORD)&CharCount, in OemHookStatusCodeReport() 169 CharCount = AsciiBSPrint ( in OemHookStatusCodeReport() 179 CharCount = AsciiSPrint ( in OemHookStatusCodeReport() 193 CharCount += AsciiSPrint ( in OemHookStatusCodeReport() 194 &Buffer[CharCount - 1], in OemHookStatusCodeReport() 195 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in OemHookStatusCodeReport() 202 CharCount += AsciiSPrint ( in OemHookStatusCodeReport() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/StatusCode/Pei/ |
D | SerialStatusCodeWorker.c | 53 UINTN CharCount; in SerialStatusCodeReportWorker() local 63 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 76 CharCount = AsciiBSPrint ( in SerialStatusCodeReportWorker() 86 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 96 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 97 &Buffer[CharCount], in SerialStatusCodeReportWorker() 98 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialStatusCodeReportWorker() 105 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 106 &Buffer[CharCount], in SerialStatusCodeReportWorker() 107 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialStatusCodeReportWorker() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/ |
D | SerialStatusCodeWorker.c | 51 UINTN CharCount; in SerialStatusCodeReportWorker() local 61 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 74 CharCount = AsciiBSPrint ( in SerialStatusCodeReportWorker() 84 CharCount = AsciiSPrint ( in SerialStatusCodeReportWorker() 94 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 95 &Buffer[CharCount], in SerialStatusCodeReportWorker() 96 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialStatusCodeReportWorker() 103 CharCount += AsciiSPrint ( in SerialStatusCodeReportWorker() 104 &Buffer[CharCount], in SerialStatusCodeReportWorker() 105 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialStatusCodeReportWorker() [all …]
|
D | DataHubStatusCodeWorker.c | 191 UINTN CharCount; in DataHubStatusCodeReportWorker() local 237 CharCount = UnicodeBSPrintAsciiFormat ( in DataHubStatusCodeReportWorker() 248 Record->Data.Size = (UINT16) ((CharCount + 1) * sizeof (CHAR16)); in DataHubStatusCodeReportWorker()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/ |
D | ReportStatusCode.c | 41 UINTN CharCount; in LibReportStatusCode() local 66 CharCount = AsciiSPrint ( in LibReportStatusCode() 79 CharCount = AsciiVSPrint ( in LibReportStatusCode() 95 CharCount = AsciiVSPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, Format, Marker); in LibReportStatusCode() 100 CharCount = AsciiSPrint ( in LibReportStatusCode() 115 CharCount += AsciiSPrint ( in LibReportStatusCode() 116 &Buffer[CharCount - 1], in LibReportStatusCode() 117 (EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)), in LibReportStatusCode() 124 CharCount += AsciiSPrint ( in LibReportStatusCode() 125 &Buffer[CharCount - 1], in LibReportStatusCode() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/Arm/ |
D | ArchPrePeiCore.c | 28 UINTN CharCount; in PeiCommonExceptionEntry() local 32 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Reset Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 35 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Undefined Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 38 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"SWI Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 41 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"PrefetchAbort Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 44 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"DataAbort Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 47 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Reserved Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 50 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"IRQ Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 53 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"FIQ Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() 56 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Unknown Exception at 0x%X\n\r",LR); in PeiCommonExceptionEntry() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | ReportStatusCode.c | 193 UINTN CharCount; in SerialReportStatusCode() local 206 CharCount = AsciiSPrint ( in SerialReportStatusCode() 219 SerialPortWrite ((UINT8 *)Buffer, CharCount); in SerialReportStatusCode() 228 CharCount = AsciiBSPrint ( in SerialReportStatusCode() 246 CharCount = AsciiBSPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, Format, Marker); in SerialReportStatusCode() 253 CharCount = AsciiSPrint ( in SerialReportStatusCode() 266 CharCount += AsciiSPrint ( in SerialReportStatusCode() 267 &Buffer[CharCount - 1], in SerialReportStatusCode() 268 (EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)), in SerialReportStatusCode() 275 CharCount += AsciiSPrint ( in SerialReportStatusCode() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/MonoStatusCode/ |
D | PlatformStatusCode.c | 132 UINTN CharCount; in SerialReportStatusCode() 142 CharCount = AsciiSPrint ( in SerialReportStatusCode() 155 CharCount = AsciiBSPrint ( in SerialReportStatusCode() 165 CharCount = AsciiSPrint ( in SerialReportStatusCode() 174 ASSERT(CharCount > 0); in SerialReportStatusCode() 177 CharCount += AsciiSPrint ( in SerialReportStatusCode() 178 &Buffer[CharCount], in SerialReportStatusCode() 179 (sizeof (Buffer) - (sizeof (Buffer[0]) * CharCount)), in SerialReportStatusCode() 186 CharCount += AsciiSPrint ( in SerialReportStatusCode() 187 &Buffer[CharCount], in SerialReportStatusCode() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/AArch64/ |
D | ArchPrePeiCore.c | 28 UINTN CharCount; in PeiCommonExceptionEntry() local 32 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Synchronous Exception at 0x%X\n\r", LR); in PeiCommonExceptionEntry() 35 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"IRQ Exception at 0x%X\n\r", LR); in PeiCommonExceptionEntry() 38 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"FIQ Exception at 0x%X\n\r", LR); in PeiCommonExceptionEntry() 41 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"SError/Abort Exception at 0x%X\n\r", LR); in PeiCommonExceptionEntry() 44 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Unknown Exception at 0x%X\n\r", LR); in PeiCommonExceptionEntry() 48 SerialPortWrite ((UINT8 *) Buffer, CharCount); in PeiCommonExceptionEntry()
|
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/ |
D | SerialStatusCode.c | 631 UINTN CharCount = 0; in SerialReportStatusCode() local 640 CharCount = AsciiSPrint ( in SerialReportStatusCode() 654 CharCount = AsciiBSPrint (Buffer, sizeof (Buffer), Format, Marker); in SerialReportStatusCode() 660 …CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "ERROR: C%x:V%x I%x", CodeType, Value, Instance); in SerialReportStatusCode() 665 …CharCount += AsciiSPrint (&Buffer[CharCount - 1], (sizeof (Buffer) - (sizeof(Buffer[0]) * CharCoun… in SerialReportStatusCode() 668 …CharCount += AsciiSPrint (&Buffer[CharCount - 1], (sizeof (Buffer) - (sizeof(Buffer[0]) * CharCoun… in SerialReportStatusCode() 670 …CharCount += AsciiSPrint (&Buffer[CharCount - 1], (sizeof (Buffer) - (sizeof(Buffer[0]) * CharCoun… in SerialReportStatusCode() 678 SerialPortWrite ((UINT8 *) Buffer, CharCount); in SerialReportStatusCode() 720 CharCount = AsciiSPrint ( in SerialReportStatusCode() 730 SerialPortWrite ((UINT8 *) Buffer, CharCount); in SerialReportStatusCode()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/DebugSecExtraActionLib/ |
D | DebugSecExtraActionLib.c | 71 UINTN CharCount; in ArmPlatformSecExtraAction() local 86 …CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Waiting for firmware at 0x%08X ...\n\r",StartAddr… in ArmPlatformSecExtraAction() 87 SerialPortWrite ((UINT8 *) Buffer, CharCount); in ArmPlatformSecExtraAction()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Sec/ |
D | Sec.c | 35 UINTN CharCount; in CEntryPoint() local 72 …CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Secure firmware (version %s built at %a on %a)\n\… in CEntryPoint() 75 …CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Boot firmware (version %s built at %a on %a)\n\r", in CEntryPoint() 78 SerialPortWrite ((UINT8 *) Buffer, CharCount); in CEntryPoint()
|
/device/linaro/bootloader/edk2/ArmPkg/Application/LinuxLoader/ |
D | LinuxLoaderHelper.c | 42 UINTN CharCount; in PrintPerformance() local 62 CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "%6a %6ld ms\n", Token, Milliseconds); in PrintPerformance() 63 SerialPortWrite ((UINT8 *) Buffer, CharCount); in PrintPerformance() 70 CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "Total Time = %ld ms\n\n", in PrintPerformance() 72 SerialPortWrite ((UINT8 *) Buffer, CharCount); in PrintPerformance()
|
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/ |
D | PrePi.c | 78 UINTN CharCount; in PrePiMain() local 106 …CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"UEFI firmware (version %s built at %a on %a)\n\r", in PrePiMain() 108 SerialPortWrite ((UINT8 *) Buffer, CharCount); in PrePiMain()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/ |
D | BsSerialStatusCode.c | 2259 UINTN CharCount; in BsSerialReportStatusCode() local 2286 …CharCount = ASPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, "ERROR: C%x:V%x I%x", CodeType, Value,… in BsSerialReportStatusCode() 2291 CharCount += ASPrint ( in BsSerialReportStatusCode() 2292 &Buffer[CharCount - 1], in BsSerialReportStatusCode() 2293 (EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)), in BsSerialReportStatusCode() 2300 CharCount += ASPrint ( in BsSerialReportStatusCode() 2301 &Buffer[CharCount - 1], in BsSerialReportStatusCode() 2302 (EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)), in BsSerialReportStatusCode() 2308 CharCount += ASPrint ( in BsSerialReportStatusCode() 2309 &Buffer[CharCount - 1], in BsSerialReportStatusCode() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePi/ |
D | PrePi.c | 84 UINTN CharCount; in PrePiMain() local 97 …CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"UEFI firmware (version %s built at %a on %a)\n\r", in PrePiMain() 99 SerialPortWrite ((UINT8 *) Buffer, CharCount); in PrePiMain()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/ |
D | DefaultExceptionHandler.c | 182 UINTN CharCount; in DefaultExceptionHandler() local 188 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"\n%a Exception PC at 0x%08x CPSR 0x%08x ", in DefaultExceptionHandler() 190 SerialPortWrite ((UINT8 *) Buffer, CharCount); in DefaultExceptionHandler()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/ |
D | DataHubStatusCodeWorker.c | 192 UINTN CharCount; in DataHubStatusCodeReportWorker() local 223 CharCount = UnicodeBSPrintAsciiFormat ( in DataHubStatusCodeReportWorker() 234 Record->Data.Size = (UINT16) ((CharCount + 1) * sizeof (CHAR16)); in DataHubStatusCodeReportWorker()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | multibyte_Utf8.c | 304 size_t CharCount; in EstimateWtoM() local 309 CharCount = 0; in EstimateWtoM() 314 ++CharCount; // Count this character. in EstimateWtoM() 319 *NumChar = CharCount; in EstimateWtoM()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/ |
D | DefaultExceptionHandler.c | 138 UINTN CharCount; in DefaultExceptionHandler() local 140 …CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"\n\n%a Exception at 0x%016lx\n", gExceptionTypeSt… in DefaultExceptionHandler() 141 SerialPortWrite ((UINT8 *) Buffer, CharCount); in DefaultExceptionHandler()
|
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/ |
D | SecMain.c | 129 UINTN CharCount; in SecPrint() local 138 CharCount = strlen (Buffer); in SecPrint() 142 (DWORD)CharCount, in SecPrint() 143 (LPDWORD)&CharCount, in SecPrint()
|