Home
last modified time | relevance | path

Searched refs:ErrorCode (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
DOhciSched.c30 IN UINT32 ErrorCode in ConvertErrorCode() argument
35 switch (ErrorCode) { in ConvertErrorCode()
167 OUT UINT32 *ErrorCode in CheckIfDone() argument
170 *ErrorCode = TD_TOBE_PROCESSED; in CheckIfDone()
189 *ErrorCode = CheckEDStatus (Ed, HeadTd); in CheckIfDone()
192 if (*ErrorCode == TD_NO_ERROR) { in CheckIfDone()
194 } else if (*ErrorCode == TD_TOBE_PROCESSED) { in CheckIfDone()
DOhciSched.h38 IN UINT32 ErrorCode
95 OUT UINT32 *ErrorCode
DOhcPeim.c69 UINT32 ErrorCode; in OhciControlTransfer() local
272 Status = CheckIfDone (Ohc, CONTROL_LIST, Ed, HeadTd, &ErrorCode); in OhciControlTransfer()
277 Status = CheckIfDone (Ohc, CONTROL_LIST, Ed, HeadTd, &ErrorCode); in OhciControlTransfer()
280 *TransferResult = ConvertErrorCode (ErrorCode); in OhciControlTransfer()
282 if (ErrorCode != TD_NO_ERROR) { in OhciControlTransfer()
283 if (ErrorCode == TD_TOBE_PROCESSED) { in OhciControlTransfer()
368 UINT32 ErrorCode; in OhciBulkTransfer() local
520 Status = CheckIfDone (Ohc, BULK_LIST, Ed, HeadTd, &ErrorCode); in OhciBulkTransfer()
525 Status = CheckIfDone (Ohc, BULK_LIST, Ed, HeadTd, &ErrorCode); in OhciBulkTransfer()
528 *TransferResult = ConvertErrorCode (ErrorCode); in OhciBulkTransfer()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/
DUtilsMsgs.h44 UINT32 ErrorCode,
54 UINT32 ErrorCode,
83 UINT32 ErrorCode,
91 UINT32 ErrorCode,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DEfiUtilityMsgs.h62 UINT32 ErrorCode,
72 UINT32 ErrorCode,
101 UINT32 ErrorCode,
109 UINT32 ErrorCode,
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DEfiUtilityMsgs.h81 UINT32 ErrorCode,
142 UINT32 ErrorCode,
151 UINT32 ErrorCode,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DInfMisc.py137 def ErrorInInf(Message=None, ErrorCode=None, LineInfo=None, RaiseError=True): argument
138 if ErrorCode == None:
139 ErrorCode = ToolError.FORMAT_INVALID
143 ErrorCode,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Logger/
DLog.py214 def Error(ToolName, ErrorCode, Message=None, File=None, Line=None, \ argument
224 if ErrorCode in gERROR_MESSAGE:
225 Message = gERROR_MESSAGE[ErrorCode]
236 "errorcode" : ErrorCode,
249 raise FatalError(ErrorCode)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DEdkLogger.py170 def error(ToolName, ErrorCode, Message=None, File=None, Line=None, ExtraData=None, RaiseError=IsRai… argument
177 if ErrorCode in gErrorMessage:
178 Message = gErrorMessage[ErrorCode]
189 "errorcode" : ErrorCode,
201 raise FatalError(ErrorCode)
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Arm/
DProcessor.c603 UINTN ErrorCode; in InsertBreakPoint() local
605 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in InsertBreakPoint()
606 if (ErrorCode > 0) { in InsertBreakPoint()
607 SendError ((UINT8)ErrorCode); in InsertBreakPoint()
636 UINTN ErrorCode; in RemoveBreakPoint() local
639 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in RemoveBreakPoint()
640 if (ErrorCode > 0) { in RemoveBreakPoint()
641 SendError ((UINT8)ErrorCode); in RemoveBreakPoint()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/
DOhciSched.c167 IN UINT32 ErrorCode in ConvertErrorCode() argument
172 switch (ErrorCode) { in ConvertErrorCode()
310 EdResult->ErrorCode = TD_TOBE_PROCESSED; in CheckIfDone()
327 EdResult->ErrorCode = CheckEDStatus (Ed, HeadTd, EdResult); in CheckIfDone()
329 if (EdResult->ErrorCode == TD_NO_ERROR) { in CheckIfDone()
331 } else if (EdResult->ErrorCode == TD_TOBE_PROCESSED) { in CheckIfDone()
DOhciSched.h50 UINT32 ErrorCode; member
119 IN UINT32 ErrorCode
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/
DBiosInt13.c152 Drive->ErrorCode = Regs.H.AH; in Int13GetDeviceParameters()
256 Drive->ErrorCode = Regs.H.AH; in GetDriveParameters()
506 BiosBlockIoDev->Bios.ErrorCode = Regs.H.AH; in Edd30BiosReadBlocks()
507 if (BiosBlockIoDev->Bios.ErrorCode == BIOS_DISK_CHANGED) { in Edd30BiosReadBlocks()
658 BiosBlockIoDev->Bios.ErrorCode = Regs.H.AH; in Edd30BiosWriteBlocks()
659 if (BiosBlockIoDev->Bios.ErrorCode == BIOS_DISK_CHANGED) { in Edd30BiosWriteBlocks()
675 } else if (BiosBlockIoDev->Bios.ErrorCode == BIOS_WRITE_PROTECTED) { in Edd30BiosWriteBlocks()
763 BiosBlockIoDev->Bios.ErrorCode = Regs.H.AH; in BiosBlockIoReset()
893 BiosBlockIoDev->Bios.ErrorCode = Regs.H.AH; in Edd11BiosReadBlocks()
894 if (BiosBlockIoDev->Bios.ErrorCode == BIOS_DISK_CHANGED) { in Edd11BiosReadBlocks()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/X64/
DProcessor.c790 UINTN ErrorCode; in InsertBreakPoint() local
792 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in InsertBreakPoint()
793 if (ErrorCode > 0) { in InsertBreakPoint()
794 SendError ((UINT8)ErrorCode); in InsertBreakPoint()
877 UINTN ErrorCode; in RemoveBreakPoint() local
880 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in RemoveBreakPoint()
881 if (ErrorCode > 0) { in RemoveBreakPoint()
882 SendError ((UINT8)ErrorCode); in RemoveBreakPoint()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/X64/
DProcessor.c790 UINTN ErrorCode; in InsertBreakPoint() local
792 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in InsertBreakPoint()
793 if (ErrorCode > 0) { in InsertBreakPoint()
794 SendError ((UINT8)ErrorCode); in InsertBreakPoint()
877 UINTN ErrorCode; in RemoveBreakPoint() local
880 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in RemoveBreakPoint()
881 if (ErrorCode > 0) { in RemoveBreakPoint()
882 SendError ((UINT8)ErrorCode); in RemoveBreakPoint()
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Ia32/
DProcessor.c820 UINTN ErrorCode; in InsertBreakPoint() local
822 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in InsertBreakPoint()
823 if (ErrorCode > 0) { in InsertBreakPoint()
824 SendError ((UINT8)ErrorCode); in InsertBreakPoint()
907 UINTN ErrorCode; in RemoveBreakPoint() local
910 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in RemoveBreakPoint()
911 if (ErrorCode > 0) { in RemoveBreakPoint()
912 SendError ((UINT8)ErrorCode); in RemoveBreakPoint()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Ia32/
DProcessor.c772 UINTN ErrorCode; in InsertBreakPoint() local
774 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in InsertBreakPoint()
775 if (ErrorCode > 0) { in InsertBreakPoint()
776 SendError ((UINT8)ErrorCode); in InsertBreakPoint()
856 UINTN ErrorCode; in RemoveBreakPoint() local
859 ErrorCode = ParseBreakpointPacket (PacketData, &Type, &Address, &Length); in RemoveBreakPoint()
860 if (ErrorCode > 0) { in RemoveBreakPoint()
861 SendError ((UINT8)ErrorCode); in RemoveBreakPoint()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/
DSDController.c182 IN UINT16 ErrorCode in GetErrorReason() argument
191 if (ErrorCode & BIT0) { in GetErrorReason()
196 if (ErrorCode & BIT1) { in GetErrorReason()
201 if (ErrorCode & BIT2) { in GetErrorReason()
205 if (ErrorCode & BIT3) { in GetErrorReason()
208 if (ErrorCode & BIT4) { in GetErrorReason()
213 if (ErrorCode & BIT5) { in GetErrorReason()
218 if (ErrorCode & BIT6) { in GetErrorReason()
222 if (ErrorCode & BIT7) { in GetErrorReason()
226 if (ErrorCode & BIT8) { in GetErrorReason()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DSmmProfile.c1198 UINTN ErrorCode in RestorePageTableBelow4G() argument
1248 if ((ErrorCode & IA32_PF_EC_ID) != 0) { in RestorePageTableBelow4G()
1281 if ((ErrorCode & IA32_PF_EC_ID) != 0) { in RestorePageTableBelow4G()
1297 UINTN ErrorCode in SmmProfilePFHandler() argument
1333 RestorePageTableBelow4G (PageTable, PFAddress, CpuIndex, ErrorCode); in SmmProfilePFHandler()
1335 RestorePageTableAbove4G (PageTable, PFAddress, CpuIndex, ErrorCode, &IsValidPFAddress); in SmmProfilePFHandler()
1340 if ((ErrorCode & IA32_PF_EC_ID) != 0 && (mBtsSupported)) { in SmmProfilePFHandler()
1386 if ((SmmProfileEntry[Index].ErrorCode == (UINT64)ErrorCode) && in SmmProfilePFHandler()
1408 SmmProfileEntry[CurrentEntryNumber].ErrorCode = (UINT64)ErrorCode; in SmmProfilePFHandler()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DWorkspaceDatabase.py226 ErrorCode, ErrorInfo = self._FlashDefinition.Validate('.fdf')
227 if ErrorCode != 0:
228 EdkLogger.error('build', ErrorCode, File=self.MetaFile, Line=Record[-1],
529 ErrorCode, ErrorInfo = ModuleFile.Validate('.inf')
530 if ErrorCode != 0:
531 EdkLogger.error('build', ErrorCode, File=self.MetaFile, Line=LineNo,
549 ErrorCode, ErrorInfo = LibraryPath.Validate('.inf')
550 if ErrorCode != 0:
551 EdkLogger.error('build', ErrorCode, File=self.MetaFile, Line=LineNo,
638 ErrorCode, ErrorInfo = LibraryInstance.Validate('.inf')
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileParser.py1376 ErrorCode, ErrorInfo1 = IncludedFile1.Validate()
1377 if ErrorCode != 0:
1382 ErrorCode, ErrorInfo2 = IncludedFile1.Validate()
1383 if ErrorCode != 0:
1384 EdkLogger.error('parser', ErrorCode, File=self._FileWithError,
1816 ErrorCode, Expression = ValidFormt.split('|', 1)
1818 ErrorCode = '0x0'
1820 ErrorCode, Expression = ErrorCode.strip(), Expression.strip()
1822 if not eval(ErrorCodeValid % ErrorCode):
1823 …ser', '@ValidRange ErrorCode(%s) of PCD %s is not valid UINT32 value.' % (ErrorCode, TokenList[0]))
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmmProfileArch.c61 UINTN ErrorCode, in RestorePageTableAbove4G() argument
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcMtftp.c66 Private->Mode.TftpError.ErrorCode = (UINT8) Packet->Error.ErrorCode; in PxeBcMtftp6CheckPacket()
181 Private->Mode.TftpError.ErrorCode = (UINT8) Packet->Error.ErrorCode; in PxeBcMtftp6GetFileSize()
512 Private->Mode.TftpError.ErrorCode = (UINT8) Packet->Error.ErrorCode; in PxeBcMtftp4CheckPacket()
627 Private->Mode.TftpError.ErrorCode = (UINT8) Packet->Error.ErrorCode; in PxeBcMtftp4GetFileSize()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcMtftp.c62 Private->Mode.TftpError.ErrorCode = (UINT8) Packet->Error.ErrorCode; in PxeBcCheckPacket()
162 Private->Mode.TftpError.ErrorCode = (UINT8) Packet->Error.ErrorCode; in PxeBcTftpGetFileSize()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
DGenDecFile.py661 ErrorCode = PcdErrObject.GetErrorNumber()
665 if ErrorCode:
666 CommentStr += ErrorCode + TAB_SPACE_SPLIT + TAB_VALUE_SPLIT + TAB_SPACE_SPLIT
674 if ErrorCode:
675 CommentStr += ErrorCode + TAB_SPACE_SPLIT + TAB_VALUE_SPLIT + TAB_SPACE_SPLIT
681 if ErrorCode:
682 CommentStr += ErrorCode + TAB_SPACE_SPLIT + TAB_VALUE_SPLIT + TAB_SPACE_SPLIT

123