Home
last modified time | relevance | path

Searched refs:DebuggerPrivate (Results 1 – 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/
DEdb.c73 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in EdbClearAllBreakpoint() argument
82 …for (Index = 0; (Index < DebuggerPrivate->DebuggerBreakpointCount) && (Index < EFI_DEBUGGER_BREAKP… in EdbClearAllBreakpoint()
83 if (DebuggerPrivate->DebuggerBreakpointContext[Index].State) { in EdbClearAllBreakpoint()
85 (VOID *)(UINTN)DebuggerPrivate->DebuggerBreakpointContext[Index].BreakpointAddress, in EdbClearAllBreakpoint()
86 &DebuggerPrivate->DebuggerBreakpointContext[Index].OldInstruction, in EdbClearAllBreakpoint()
96 DebuggerPrivate->DebuggerBreakpointCount = 0; in EdbClearAllBreakpoint()
97 …ZeroMem (DebuggerPrivate->DebuggerBreakpointContext, sizeof(DebuggerPrivate->DebuggerBreakpointCon… in EdbClearAllBreakpoint()
115 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate in EdbSetAllBreakpoint() argument
125 …for (Index = 0; (Index < DebuggerPrivate->DebuggerBreakpointCount) && (Index < EFI_DEBUGGER_BREAKP… in EdbSetAllBreakpoint()
126 if (DebuggerPrivate->DebuggerBreakpointContext[Index].State) { in EdbSetAllBreakpoint()
[all …]
DEdbCmdBreakpoint.c56 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerBreakpointIsDuplicated() argument
65 for (Index = 0; Index < DebuggerPrivate->DebuggerBreakpointCount; Index++) { in DebuggerBreakpointIsDuplicated()
66 if (DebuggerPrivate->DebuggerBreakpointContext[Index].BreakpointAddress == Address) { in DebuggerBreakpointIsDuplicated()
94 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerBreakpointAdd() argument
101 if (DebuggerBreakpointIsDuplicated (DebuggerPrivate, Address)) { in DebuggerBreakpointAdd()
114 if (DebuggerPrivate->DebuggerBreakpointCount >= EFI_DEBUGGER_BREAKPOINT_MAX) { in DebuggerBreakpointAdd()
122DebuggerPrivate->DebuggerBreakpointContext[DebuggerPrivate->DebuggerBreakpointCount].BreakpointAdd… in DebuggerBreakpointAdd()
123 DebuggerPrivate->DebuggerBreakpointContext[DebuggerPrivate->DebuggerBreakpointCount].State = TRUE; in DebuggerBreakpointAdd()
124DebuggerPrivate->DebuggerBreakpointContext[DebuggerPrivate->DebuggerBreakpointCount].OldInstructio… in DebuggerBreakpointAdd()
126 …&DebuggerPrivate->DebuggerBreakpointContext[DebuggerPrivate->DebuggerBreakpointCount].OldInstructi… in DebuggerBreakpointAdd()
[all …]
DEdbCmdBreak.c33 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerBreakOnCALL() argument
42 if ((DebuggerPrivate->FeatureFlags & EFI_DEBUG_FLAG_EBC_BOC) == EFI_DEBUG_FLAG_EBC_BOC) { in DebuggerBreakOnCALL()
48 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_BOC; in DebuggerBreakOnCALL()
51 DebuggerPrivate->FeatureFlags &= ~EFI_DEBUG_FLAG_EBC_B_BOC; in DebuggerBreakOnCALL()
79 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerBreakOnCALLEX() argument
88 if ((DebuggerPrivate->FeatureFlags & EFI_DEBUG_FLAG_EBC_BOCX) == EFI_DEBUG_FLAG_EBC_BOCX) { in DebuggerBreakOnCALLEX()
94 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_BOCX; in DebuggerBreakOnCALLEX()
97 DebuggerPrivate->FeatureFlags &= ~EFI_DEBUG_FLAG_EBC_B_BOCX; in DebuggerBreakOnCALLEX()
125 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerBreakOnRET() argument
134 if ((DebuggerPrivate->FeatureFlags & EFI_DEBUG_FLAG_EBC_BOR) == EFI_DEBUG_FLAG_EBC_BOR) { in DebuggerBreakOnRET()
[all …]
DEdbCmdBranch.c61 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerCallStack() argument
84 DebuggerPrivate->CallStackEntryCount = 0; in DebuggerCallStack()
85 ZeroMem (DebuggerPrivate->CallStackEntry, sizeof(DebuggerPrivate->CallStackEntry)); in DebuggerCallStack()
113 if (DebuggerPrivate->CallStackEntryCount == 0) { in DebuggerCallStack()
116 } else if (DebuggerPrivate->CallStackEntryCount > EFI_DEBUGGER_CALLSTACK_MAX) { in DebuggerCallStack()
118 DebuggerPrivate->CallStackEntryCount = 0; in DebuggerCallStack()
129 for (Index = (INTN)(DebuggerPrivate->CallStackEntryCount - 1); Index >= 0; Index--) { in DebuggerCallStack()
133 CallStackEntry = &DebuggerPrivate->CallStackEntry[Index]; in DebuggerCallStack()
184 if ((((DebuggerPrivate->CallStackEntryCount - Index) % (16 / ParameterNumber)) == 0) && in DebuggerCallStack()
225 if ((((DebuggerPrivate->CallStackEntryCount - Index) % (32 / ParameterNumber)) == 0) && in DebuggerCallStack()
[all …]
DEbcDebuggerConfig.c78 EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate; in EdbConfigBreak() local
80 DebuggerPrivate = (EFI_DEBUGGER_PRIVATE_DATA *)DebuggerConfiguration->DebuggerPrivateData; in EdbConfigBreak()
84 if ((DebuggerPrivate->FeatureFlags & EFI_DEBUG_FLAG_EBC_BOC) == EFI_DEBUG_FLAG_EBC_BOC) { in EdbConfigBreak()
90 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_BOC; in EdbConfigBreak()
92 DebuggerPrivate->FeatureFlags &= ~EFI_DEBUG_FLAG_EBC_B_BOC; in EdbConfigBreak()
98 if ((DebuggerPrivate->FeatureFlags & EFI_DEBUG_FLAG_EBC_BOCX) == EFI_DEBUG_FLAG_EBC_BOCX) { in EdbConfigBreak()
104 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_BOCX; in EdbConfigBreak()
106 DebuggerPrivate->FeatureFlags &= ~EFI_DEBUG_FLAG_EBC_B_BOCX; in EdbConfigBreak()
112 if ((DebuggerPrivate->FeatureFlags & EFI_DEBUG_FLAG_EBC_BOR) == EFI_DEBUG_FLAG_EBC_BOR) { in EdbConfigBreak()
118 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_BOR; in EdbConfigBreak()
[all …]
DEdbCmdSymbol.c141 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate in DebuggerDisplaySymbolAccrodingToAddress() argument
206 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate in DebuggerDisplaySymbolAccrodingToName() argument
214 if (DebuggerPrivate->DebuggerSymbolContext.ObjectCount == 0) { in DebuggerDisplaySymbolAccrodingToName()
222 Object = DebuggerPrivate->DebuggerSymbolContext.Object; in DebuggerDisplaySymbolAccrodingToName()
223 for (Index = 0; Index < DebuggerPrivate->DebuggerSymbolContext.ObjectCount; Index++, Object++) { in DebuggerDisplaySymbolAccrodingToName()
314 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerListSymbol() argument
335 return DebuggerDisplaySymbolAccrodingToAddress (Address, DebuggerPrivate); in DebuggerListSymbol()
377 return DebuggerDisplaySymbolAccrodingToName (SymbolFileName, SymbolName, DebuggerPrivate); in DebuggerListSymbol()
395 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerLoadSymbol() argument
441 Status = ReadFileToBuffer (DebuggerPrivate, CommandArg, &BufferSize, &Buffer, TRUE); in DebuggerLoadSymbol()
[all …]
DEdbCmdHelp.c32 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerHelp() argument
43 for (Index = 0; DebuggerPrivate->DebuggerCommandSet[Index].CommandName != NULL; Index++) { in DebuggerHelp()
44 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].ClassName); in DebuggerHelp()
45 if (StrCmp (DebuggerPrivate->DebuggerCommandSet[Index].CommandTitle, L"") != 0) { in DebuggerHelp()
47 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].CommandTitle); in DebuggerHelp()
57 for (Index = 0; DebuggerPrivate->DebuggerCommandSet[Index].CommandName != NULL; Index++) { in DebuggerHelp()
58 if (StriCmp (CommandArg, DebuggerPrivate->DebuggerCommandSet[Index].CommandName) == 0) { in DebuggerHelp()
59 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].CommandHelp); in DebuggerHelp()
60 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].CommandSyntax); in DebuggerHelp()
DEdbCmdScope.c32 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerScope() argument
60 DebuggerPrivate->InstructionScope = Address; in DebuggerScope()
61 EDBPrint (L"Scope: 0x%x\n", DebuggerPrivate->InstructionScope); in DebuggerScope()
62 EdbShowDisasm (DebuggerPrivate, SystemContext); in DebuggerScope()
85 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerList() argument
91 EdbShowDisasm (DebuggerPrivate, SystemContext); in DebuggerList()
96 DebuggerPrivate->InstructionNumber = Atoi(CommandArg); in DebuggerList()
97 EDBPrint (L"List Number: %d\n", DebuggerPrivate->InstructionNumber); in DebuggerList()
98 EdbShowDisasm (DebuggerPrivate, SystemContext); in DebuggerList()
DEdbCmdExtIo.c32 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtIoIB() argument
61 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtIoIW() argument
89 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtIoID() argument
116 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtIoOB() argument
144 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtIoOW() argument
172 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtIoOD() argument
DEdbSymbol.h76 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
94 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
112 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
132 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
153 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
174 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
195 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
DEdbSupportFile.c150 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in ReadFileToBuffer() argument
176 if (DebuggerPrivate->Vol == NULL) { in ReadFileToBuffer()
182 return ReadFileFromVol (DebuggerPrivate->Vol, FileName, BufferSize, Buffer); in ReadFileToBuffer()
206 DebuggerPrivate->Vol = NULL; in ReadFileToBuffer()
224 if (DebuggerPrivate->Vol != NULL) { in ReadFileToBuffer()
236 DebuggerPrivate->Vol = Vol; in ReadFileToBuffer()
246 if (DebuggerPrivate->Vol == NULL) { in ReadFileToBuffer()
271 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in GetFileNameUnderDir() argument
286 if (DebuggerPrivate->Vol == NULL) { in GetFileNameUnderDir()
290 (VOID**) &DebuggerPrivate->Vol in GetFileNameUnderDir()
[all …]
DEdbCmdExtPci.c32 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtPciPCIL() argument
59 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtPciPCID() argument
86 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtPciCFGB() argument
114 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtPciCFGW() argument
141 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerExtPciCFGD() argument
DEdbCmdStep.c84 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerStepInto() argument
109 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerStepOver() argument
118 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_STEPOVER; in DebuggerStepOver()
144 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerStepOut() argument
158 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_STEPOUT; in DebuggerStepOut()
DEdbCmdGo.c34 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerGo() argument
66 DebuggerPrivate->GoTilContext.BreakAddress = Address; in DebuggerGo()
67 DebuggerPrivate->FeatureFlags |= EFI_DEBUG_FLAG_EBC_GT; in DebuggerGo()
DEdbSymbol.c432 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in EdbFindSymbolFile() argument
442 …for (ObjectIndex = 0; ObjectIndex < DebuggerPrivate->DebuggerSymbolContext.ObjectCount; ObjectInde… in EdbFindSymbolFile()
443 if (StrCmp (FileName, DebuggerPrivate->DebuggerSymbolContext.Object[ObjectIndex].Name) == 0) { in EdbFindSymbolFile()
450 return &DebuggerPrivate->DebuggerSymbolContext.Object[ObjectIndex]; in EdbFindSymbolFile()
606 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in EdbUnloadSymbol() argument
621 Object = EdbFindSymbolFile (DebuggerPrivate, FileName, &ObjectIndex); in EdbUnloadSymbol()
630 Object = DebuggerPrivate->DebuggerSymbolContext.Object; in EdbUnloadSymbol()
639 …for (Index = ObjectIndex; Index < DebuggerPrivate->DebuggerSymbolContext.ObjectCount - 1; Index++)… in EdbUnloadSymbol()
650 DebuggerPrivate->DebuggerSymbolContext.ObjectCount --; in EdbUnloadSymbol()
684 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in EdbLoadSymbol() argument
[all …]
DEdbCmdMemory.c417 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryDB() argument
440 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryDW() argument
463 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryDD() argument
486 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryDQ() argument
509 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryEB() argument
532 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryEW() argument
555 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryED() argument
578 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerMemoryEQ() argument
DEdbCmdQuit.c38 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerQuit() argument
DEdbSupport.h455 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
477 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
DEdbDisasmSupport.c1111 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in EdbShowDisasm() argument
1122 InstructionAddress = DebuggerPrivate->InstructionScope; in EdbShowDisasm()
1123 …for (InstructionNumber = 0; InstructionNumber < DebuggerPrivate->InstructionNumber; InstructionNum… in EdbShowDisasm()
1145 if (!DebuggerPrivate->DebuggerSymbolContext.DisplayCodeOnly) { in EdbShowDisasm()
DEdbCommand.h65 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, \
DEdbCmdRegister.c32 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, in DebuggerRegister() argument
DEdbDisasmSupport.h553 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
DEdbCommon.h47 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,