/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ |
H A D | ArchInterruptDefs.h | 19 EFI_SYSTEM_CONTEXT_IA32 SystemContext;
member in struct:__anon9603 29 EFI_SYSTEM_CONTEXT_IA32 SystemContext;
member in struct:__anon9604
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ |
H A D | ArchInterruptDefs.h | 19 EFI_SYSTEM_CONTEXT_X64 SystemContext;
member in struct:__anon9606 29 EFI_SYSTEM_CONTEXT_X64 SystemContext;
member in struct:__anon9607
|
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Arm/ |
H A D | Processor.c | 138 @param SystemContext Register content at time of the exception
144 IN EFI_SYSTEM_CONTEXT SystemContext,
150 TempPtr = ((UINT8 *)SystemContext.SystemContextArm) + gRegisterOffsets[RegNumber];
157 @param SystemContext Register content at time of the exception
164 IN EFI_SYSTEM_CONTEXT SystemContext,
180 Char = mHexToStr[(UINT8)((*FindPointerToRegister (SystemContext, RegNumber) >> (RegSize+4)) & 0xf)];
186 Char = mHexToStr[(UINT8)((*FindPointerToRegister (SystemContext, RegNumber) >> RegSize) & 0xf)];
200 @param SystemContext Register content at time of the exception
205 IN EFI_SYSTEM_CONTEXT SystemContext,
221 OutBufPtr = BasicReadRegister (SystemContext, RegNumbe 143 FindPointerToRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber ) argument 163 BasicReadRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *OutBufPtr ) argument 204 ReadNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 264 BasicWriteRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *InBufPtr ) argument 310 WriteNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 348 WriteGeneralRegisters( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 463 ContinueAtAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 482 SingleStep( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 491 GetBreakpointDataAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 508 GetBreakpointType( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 595 InsertBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 628 RemoveBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Ia32/ |
H A D | Processor.c | 40 // The offsets of registers SystemContext.
67 IN EFI_SYSTEM_CONTEXT SystemContext
70 Print ((CHAR16 *)L"EAX: %x ", SystemContext.SystemContextIa32->Eax);
71 Print ((CHAR16 *)L"ECX: %x ", SystemContext.SystemContextIa32->Ecx);
72 Print ((CHAR16 *)L"EDX: %x ", SystemContext.SystemContextIa32->Edx);
73 Print ((CHAR16 *)L"EBX: %x ", SystemContext.SystemContextIa32->Ebx);
74 Print ((CHAR16 *)L"ESP: %x ", SystemContext.SystemContextIa32->Esp);
75 Print ((CHAR16 *)L"EBP: %x ", SystemContext.SystemContextIa32->Ebp);
76 Print ((CHAR16 *)L"ESI: %x ", SystemContext.SystemContextIa32->Esi);
77 Print ((CHAR16 *)L"EDI: %x ", SystemContext 150 FindPointerToRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber ) argument 170 BasicReadRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *OutBufPtr ) argument 196 ReadNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 254 BasicWriteRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *InBufPtr ) argument 298 WriteNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 336 WriteGeneralRegisters( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 401 ContinueAtAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 420 SingleStep( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 443 GetBreakpointDataAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 514 GetBreakpointType( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 576 FindNextFreeDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, OUT UINTN *Register ) argument 615 EnableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register, IN UINTN Address, IN UINTN Length, IN UINTN Type ) argument 692 FindMatchingDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Address, IN UINTN Length, IN UINTN Type, OUT UINTN *Register ) argument 753 DisableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register ) argument 809 InsertBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 896 RemoveBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/X64/ |
H A D | Processor.c | 117 @param SystemContext Register content at time of the exception
123 IN EFI_SYSTEM_CONTEXT SystemContext,
128 TempPtr = ((UINT8 *)SystemContext.SystemContextX64) + gRegisterOffsets[RegNumber];
135 @param SystemContext Register content at time of the exception
142 IN EFI_SYSTEM_CONTEXT SystemContext,
151 *OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)];
152 *OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)];
161 @param SystemContext Register content at time of the exception
166 IN EFI_SYSTEM_CONTEXT SystemContext,
182 OutBufPtr = BasicReadRegister(SystemContext, RegNumbe 122 FindPointerToRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber ) argument 141 BasicReadRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *OutBufPtr ) argument 165 ReadNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 223 BasicWriteRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *InBufPtr ) argument 267 WriteNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 305 WriteGeneralRegisters( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 371 ContinueAtAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 390 SingleStep( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 415 GetBreakpointDataAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 485 GetBreakpointType( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 547 FindNextFreeDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, OUT UINTN *Register ) argument 586 EnableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register, IN UINTN Address, IN UINTN Length, IN UINTN Type ) argument 663 FindMatchingDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Address, IN UINTN Length, IN UINTN Type, OUT UINTN *Register ) argument 724 DisableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register ) argument 779 InsertBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 866 RemoveBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Arm/ |
H A D | Processor.c | 153 @param SystemContext Register content at time of the exception
159 IN EFI_SYSTEM_CONTEXT SystemContext,
165 TempPtr = ((UINT8 *)SystemContext.SystemContextArm) + gRegisterOffsets[RegNumber];
172 @param SystemContext Register content at time of the exception
179 IN EFI_SYSTEM_CONTEXT SystemContext,
195 Char = mHexToStr[(UINT8)((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)];
201 Char = mHexToStr[(UINT8)((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)];
215 @param SystemContext Register content at time of the exception
220 IN EFI_SYSTEM_CONTEXT SystemContext,
236 OutBufPtr = BasicReadRegister (SystemContext, RegNumbe 158 FindPointerToRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber ) argument 178 BasicReadRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *OutBufPtr ) argument 219 ReadNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 277 BasicWriteRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *InBufPtr ) argument 323 WriteNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 361 WriteGeneralRegisters( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 401 ContinueAtAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 420 SingleStep( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 431 InsertBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 441 RemoveBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 458 ProcessorSendTSignal( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINT8 GdbExceptionType, IN OUT CHAR8 *TSignalPtr, IN UINTN SizeOfBuffer ) argument [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/ |
H A D | GdbDebugAgent.c | 627 @param SystemContext Register content at time of the exception
632 IN EFI_SYSTEM_CONTEXT SystemContext,
650 ProcessorSendTSignal (SystemContext, GdbExceptionType, TSignalPtr, sizeof (TSignalBuffer) - 2);
702 @param SystemContext Register content at time of the exception
708 IN OUT EFI_SYSTEM_CONTEXT SystemContext
714 if (ProcessorControlC (ExceptionType, SystemContext)) {
720 GdbSendTSignal (SystemContext, GdbExceptionType);
727 GdbSendTSignal (SystemContext, GdbExceptionType);
731 ContinueAtAddress (SystemContext, gInBuffer);
740 ReadGeneralRegisters (SystemContext);
631 GdbSendTSignal( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINT8 GdbExceptionType ) argument [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Ia32/ |
H A D | Processor.c | 40 // The offsets of registers SystemContext.
67 IN EFI_SYSTEM_CONTEXT SystemContext
70 Print ((CHAR16 *)L"EAX: %x ", SystemContext.SystemContextIa32->Eax);
71 Print ((CHAR16 *)L"ECX: %x ", SystemContext.SystemContextIa32->Ecx);
72 Print ((CHAR16 *)L"EDX: %x ", SystemContext.SystemContextIa32->Edx);
73 Print ((CHAR16 *)L"EBX: %x ", SystemContext.SystemContextIa32->Ebx);
74 Print ((CHAR16 *)L"ESP: %x ", SystemContext.SystemContextIa32->Esp);
75 Print ((CHAR16 *)L"EBP: %x ", SystemContext.SystemContextIa32->Ebp);
76 Print ((CHAR16 *)L"ESI: %x ", SystemContext.SystemContextIa32->Esi);
77 Print ((CHAR16 *)L"EDI: %x ", SystemContext 136 FindPointerToRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber ) argument 156 BasicReadRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *OutBufPtr ) argument 182 ReadNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 240 BasicWriteRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *InBufPtr ) argument 284 WriteNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 322 WriteGeneralRegisters( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 357 ContinueAtAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 376 SingleStep( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 395 GetBreakpointDataAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 466 GetBreakpointType( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 528 FindNextFreeDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, OUT UINTN *Register ) argument 567 EnableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register, IN UINTN Address, IN UINTN Length, IN UINTN Type ) argument 644 FindMatchingDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Address, IN UINTN Length, IN UINTN Type, OUT UINTN *Register ) argument 705 DisableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register ) argument 761 InsertBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 845 RemoveBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/X64/ |
H A D | Processor.c | 117 @param SystemContext Register content at time of the exception
123 IN EFI_SYSTEM_CONTEXT SystemContext,
128 TempPtr = ((UINT8 *)SystemContext.SystemContextX64) + gRegisterOffsets[RegNumber];
135 @param SystemContext Register content at time of the exception
142 IN EFI_SYSTEM_CONTEXT SystemContext,
151 *OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)];
152 *OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)];
161 @param SystemContext Register content at time of the exception
166 IN EFI_SYSTEM_CONTEXT SystemContext,
182 OutBufPtr = BasicReadRegister(SystemContext, RegNumbe 122 FindPointerToRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber ) argument 141 BasicReadRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *OutBufPtr ) argument 165 ReadNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 223 BasicWriteRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN RegNumber, IN CHAR8 *InBufPtr ) argument 267 WriteNthRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 305 WriteGeneralRegisters( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *InBuffer ) argument 371 ContinueAtAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 390 SingleStep( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 415 GetBreakpointDataAddress( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 485 GetBreakpointType( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN BreakpointNumber ) argument 547 FindNextFreeDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, OUT UINTN *Register ) argument 586 EnableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register, IN UINTN Address, IN UINTN Length, IN UINTN Type ) argument 663 FindMatchingDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Address, IN UINTN Length, IN UINTN Type, OUT UINTN *Register ) argument 724 DisableDebugRegister( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINTN Register ) argument 779 InsertBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument 866 RemoveBreakPoint( IN EFI_SYSTEM_CONTEXT SystemContext, IN CHAR8 *PacketData ) argument [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/ |
H A D | EbcInt.c | 128 @param SystemContext EBC system context.
135 IN EFI_SYSTEM_CONTEXT SystemContext
743 EFI_SYSTEM_CONTEXT SystemContext;
local 781 SystemContext.SystemContextEbc = &EbcContext;
783 mDebugExceptionCallback[ExceptionType] (ExceptionType, SystemContext);
867 @param SystemContext EBC system context.
874 IN EFI_SYSTEM_CONTEXT SystemContext
893 SystemContext.SystemContextEbc->R0,
894 SystemContext.SystemContextEbc->R1
899 SystemContext 983 EFI_SYSTEM_CONTEXT SystemContext; local [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/ |
H A D | GdbStub.c | 491 @param SystemContext Register content at time of the exception
496 IN EFI_SYSTEM_CONTEXT SystemContext,
537 BreakpointDetected = GetBreakpointDetected (SystemContext);
540 BreakType = GetBreakpointType (SystemContext, BreakpointDetected);
546 DataAddress = GetBreakpointDataAddress (SystemContext, BreakpointDetected);
1101 @param SystemContext Register content at time of the exception
1107 IN OUT EFI_SYSTEM_CONTEXT SystemContext
1114 if (ValidateException (ExceptionType, SystemContext) == FALSE) {
1118 RemoveSingleStep (SystemContext);
1121 GdbSendTSignal (SystemContext, GdbExceptionTyp 495 GdbSendTSignal( IN EFI_SYSTEM_CONTEXT SystemContext, IN UINT8 GdbExceptionType ) argument [all...] |