59 ULONG ulHandleScancode=0,ulHandleKbdEvent=0;
67 DPRINT((0,
"InitPICE(): trace step 0.5\n"));
76 DPRINT((0,
"InitPICE(): trace step 1\n"));
80 DPRINT((0,
"InitPICE(): trace step 2\n"));
84 DPRINT((0,
"InitPICE: LoadSymbolsFromConfig() failed\n"));
89 DPRINT((0,
"InitPICE(): trace step 3\n"));
96 DPRINT((0,
"InitPICE: ConsoleInit() failed\n"));
102 DPRINT((0,
"InitPICE(): trace step 4\n"));
118 DPRINT((0,
"InitPICE(): trace step 6\n"));
132 DPRINT((0,
"InitPICE(): trace step 7\n"));
140 DbgPrint(
"pICE: ABORT (initial memory map not found)\n");
141 DbgPrint(
"pICE: press any key to continue...\n");
149 DPRINT((0,
"InitPICE(): trace step 7.1\n"));
164 DPRINT((0,
"InitPICE(): trace step 7.2\n"));
179 DPRINT((0,
"InitPICE(): trace step 8\n"));
196 DPRINT((0,
"InitPICE(): trace step 9\n"));
214 DPRINT((0,
"InitPICE(): trace step 10\n"));
230 DPRINT((0,
"InitPICE(): trace step 11\n"));
244 DPRINT((0,
"InitPICE(): trace step 12\n"));
247 DPRINT((0,
"InitPICE(): trace step 13\n"));
262 DPRINT((0,
"InitPICE(): trace step 14\n"));
269 mov %%esp,%%eax\n\t \ 270 mov %%eax,_CurrentESP\n\t \ 279 xorl %%eax,%%eax\n\t \ 280 mov %%eax,%%dr6\n\t \ 281 mov %%eax,%%dr7\n\t \ 282 mov %%dr0,%%eax\n\t \ 283 mov %%dr1,%%eax\n\t \ 284 mov %%dr2,%%eax\n\t \ 289 DPRINT((0,
"InitPICE(): trace step 15\n"));
292 DPRINT((0,
"InitPICE(): trace step 16\n"));
303 DPRINT((0,
"InitPICE(): trace step 16\n"));
306 DPRINT((0,
"about to do initial break...\n"));
312 pushl $initialreturnpoint\n\t \ 314 jmp NewInt31Handler\n\t \ 315 initialreturnpoint:");
335 DPRINT((0,
"InitPICE(): trace step 17\n"));
LIST_ENTRY * pPsProcessListHead
void EnablePassThrough(void)
BOOLEAN ConsoleInit(void)
void TakeIdtSnapshot(void)
void InstallDblFltHook(void)
PDIRECTORY_OBJECT * pNameSpaceRoot
PDEBUG_MODULE pdebug_module_head
#define GLOBAL_DATA_SEGMENT
void RealIsr(ULONG dwReasonForBreak)
BOOLEAN LoadSymbolsFromConfig(BOOLEAN bIgnoreBootParams)
void Print(USHORT Window, LPSTR p)
PMADDRESS_SPACE my_init_mm
__asm__("\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr")
void InitPiceRunningTimer(void)
void InstallGlobalKeyboardHook(void)
void InstallGPFaultHook(void)
BOOLEAN InstallTraceHook(void)
NTHALAPI ULONG NTAPI HalGetInterruptVector(INTERFACE_TYPE, ULONG, ULONG, ULONG, PKIRQL, PKAFFINITY)
VOID FreeModuleList(PDEBUG_MODULE pm)
LIST_ENTRY * pModuleListHead
BOOLEAN SanityCheckExports(void)
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
BOOLEAN PatchKeyboardDriver(void)
void InstallInt3Hook(void)
void InstallPrintkHook(void)
void InstallIntEHook(void)
BOOLEAN LoadExports(void)
BOOLEAN InitModuleList(PDEBUG_MODULE *ppmodule, ULONG len)
BOOLEAN ScanExports(const char *pFind, PULONG pValue)
void InstallSyscallHook(void)
void ConsoleShutdown(void)
PDEBUG_MODULE pdebug_module_tail
#define GLOBAL_CODE_SEGMENT
BOOLEAN(* DisplayMemory)(PARGS)