Home
last modified time | relevance | path

Searched refs:SystemContextIa32 (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/
DArchExceptionHandler.c71 ReservedVectors[ExceptionType].OldFlags = SystemContext.SystemContextIa32->Eflags; in ArchSaveExceptionContext()
72 ReservedVectors[ExceptionType].OldCs = SystemContext.SystemContextIa32->Cs; in ArchSaveExceptionContext()
73 ReservedVectors[ExceptionType].OldIp = SystemContext.SystemContextIa32->Eip; in ArchSaveExceptionContext()
74 ReservedVectors[ExceptionType].ExceptionData = SystemContext.SystemContextIa32->ExceptionData; in ArchSaveExceptionContext()
78 Eflags.UintN = SystemContext.SystemContextIa32->Eflags; in ArchSaveExceptionContext()
80 SystemContext.SystemContextIa32->Eflags = Eflags.UintN; in ArchSaveExceptionContext()
84 …SystemContext.SystemContextIa32->Eip = (UINTN) ReservedVectors[ExceptionType].HookAfterStubHead… in ArchSaveExceptionContext()
104 SystemContext.SystemContextIa32->Eflags = ReservedVectors[ExceptionType].OldFlags; in ArchRestoreExceptionContext()
105 SystemContext.SystemContextIa32->Cs = ReservedVectors[ExceptionType].OldCs; in ArchRestoreExceptionContext()
106 SystemContext.SystemContextIa32->Eip = ReservedVectors[ExceptionType].OldIp; in ArchRestoreExceptionContext()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Ia32/
DProcessor.c70 Print ((CHAR16 *)L"EAX: %x ", SystemContext.SystemContextIa32->Eax); in PrintReg()
71 Print ((CHAR16 *)L"ECX: %x ", SystemContext.SystemContextIa32->Ecx); in PrintReg()
72 Print ((CHAR16 *)L"EDX: %x ", SystemContext.SystemContextIa32->Edx); in PrintReg()
73 Print ((CHAR16 *)L"EBX: %x ", SystemContext.SystemContextIa32->Ebx); in PrintReg()
74 Print ((CHAR16 *)L"ESP: %x ", SystemContext.SystemContextIa32->Esp); in PrintReg()
75 Print ((CHAR16 *)L"EBP: %x ", SystemContext.SystemContextIa32->Ebp); in PrintReg()
76 Print ((CHAR16 *)L"ESI: %x ", SystemContext.SystemContextIa32->Esi); in PrintReg()
77 Print ((CHAR16 *)L"EDI: %x ", SystemContext.SystemContextIa32->Edi); in PrintReg()
78 Print ((CHAR16 *)L"EIP: %x\n", SystemContext.SystemContextIa32->Eip); in PrintReg()
79 Print ((CHAR16 *)L"EFlags: %x\n", SystemContext.SystemContextIa32->Eflags); in PrintReg()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Ia32/
DProcessor.c70 Print ((CHAR16 *)L"EAX: %x ", SystemContext.SystemContextIa32->Eax); in PrintReg()
71 Print ((CHAR16 *)L"ECX: %x ", SystemContext.SystemContextIa32->Ecx); in PrintReg()
72 Print ((CHAR16 *)L"EDX: %x ", SystemContext.SystemContextIa32->Edx); in PrintReg()
73 Print ((CHAR16 *)L"EBX: %x ", SystemContext.SystemContextIa32->Ebx); in PrintReg()
74 Print ((CHAR16 *)L"ESP: %x ", SystemContext.SystemContextIa32->Esp); in PrintReg()
75 Print ((CHAR16 *)L"EBP: %x ", SystemContext.SystemContextIa32->Ebp); in PrintReg()
76 Print ((CHAR16 *)L"ESI: %x ", SystemContext.SystemContextIa32->Esi); in PrintReg()
77 Print ((CHAR16 *)L"EDI: %x ", SystemContext.SystemContextIa32->Edi); in PrintReg()
78 Print ((CHAR16 *)L"EIP: %x\n", SystemContext.SystemContextIa32->Eip); in PrintReg()
79 Print ((CHAR16 *)L"EFlags: %x\n", SystemContext.SystemContextIa32->Eflags); in PrintReg()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DPageTbl.c116 …DEBUG ((DEBUG_ERROR, "SMM exception data - 0x%x(", SystemContext.SystemContextIa32->ExceptionData)… in SmiPFHandler()
118 (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_ID) != 0, in SmiPFHandler()
119 (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_RSVD) != 0, in SmiPFHandler()
120 (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_US) != 0, in SmiPFHandler()
121 (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_WR) != 0, in SmiPFHandler()
122 (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_P) != 0 in SmiPFHandler()
125 if ((SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_ID) != 0) { in SmiPFHandler()
128 DumpModuleInfoByIp (*(UINTN *)(UINTN)SystemContext.SystemContextIa32->Esp); in SmiPFHandler()
133 DumpModuleInfoByIp ((UINTN)SystemContext.SystemContextIa32->Eip); in SmiPFHandler()
145 if ((SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_ID) != 0) { in SmiPFHandler()
[all …]
DSmmProfileArch.c79 SystemContext.SystemContextIa32->Eflags &= (UINTN) ~BIT8; in ClearTrapFlag()
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/X64/
DProcessor.c423 Address = SystemContext.SystemContextIa32->Dr0; in GetBreakpointDataAddress()
425 Address = SystemContext.SystemContextIa32->Dr1; in GetBreakpointDataAddress()
427 Address = SystemContext.SystemContextIa32->Dr2; in GetBreakpointDataAddress()
429 Address = SystemContext.SystemContextIa32->Dr3; in GetBreakpointDataAddress()
456 Dr6.UintN = SystemContext.SystemContextIa32->Dr6; in GetBreakpointDetected()
493 Dr7.UintN = SystemContext.SystemContextIa32->Dr7; in GetBreakpointType()
554 Dr7.UintN = SystemContext.SystemContextIa32->Dr7; in FindNextFreeDebugRegister()
613 Dr7.UintN = SystemContext.SystemContextIa32->Dr7; in EnableDebugRegister()
616 SystemContext.SystemContextIa32->Dr0 = Address; in EnableDebugRegister()
621 SystemContext.SystemContextIa32->Dr1 = Address; in EnableDebugRegister()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/X64/
DProcessor.c423 Address = SystemContext.SystemContextIa32->Dr0; in GetBreakpointDataAddress()
425 Address = SystemContext.SystemContextIa32->Dr1; in GetBreakpointDataAddress()
427 Address = SystemContext.SystemContextIa32->Dr2; in GetBreakpointDataAddress()
429 Address = SystemContext.SystemContextIa32->Dr3; in GetBreakpointDataAddress()
456 Dr6.UintN = SystemContext.SystemContextIa32->Dr6; in GetBreakpointDetected()
493 Dr7.UintN = SystemContext.SystemContextIa32->Dr7; in GetBreakpointType()
554 Dr7.UintN = SystemContext.SystemContextIa32->Dr7; in FindNextFreeDebugRegister()
613 Dr7.UintN = SystemContext.SystemContextIa32->Dr7; in EnableDebugRegister()
616 SystemContext.SystemContextIa32->Dr0 = Address; in EnableDebugRegister()
621 SystemContext.SystemContextIa32->Dr1 = Address; in EnableDebugRegister()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/
DStatusCodeDataTypeId.h682 EFI_SYSTEM_CONTEXT_IA32 SystemContextIa32; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/StatusCodeDataTypeId/
DStatusCodeDataTypeId.h361 EFI_SYSTEM_CONTEXT_IA32 SystemContextIa32; member
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DPeiDxeSmmCpuException.c36 …ExceptionHandlerContext = (EXCEPTION_HANDLER_CONTEXT *) (UINTN) (SystemContext.SystemContextIa32); in CommonExceptionHandlerWorker()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DebugSupport/
DDebugSupport.h512 EFI_SYSTEM_CONTEXT_IA32 *SystemContextIa32; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDebugSupport.h618 EFI_SYSTEM_CONTEXT_IA32 *SystemContextIa32; member