From ea820b22a1998d035c1acf8bb781555847619a1b Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Sun, 27 Jul 2008 05:40:31 +0000 Subject: [PATCH] - On ARM, print out a message and freeze execution inside the native process main routine wrapper. This is essentially the first line of code that will execute in user-mode, and we need to know (celebrate) about it. svn path=/trunk/; revision=34824 --- reactos/lib/sdk/nt/entry_point.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/lib/sdk/nt/entry_point.c b/reactos/lib/sdk/nt/entry_point.c index 7f13aae5cc2..356088af388 100644 --- a/reactos/lib/sdk/nt/entry_point.c +++ b/reactos/lib/sdk/nt/entry_point.c @@ -76,7 +76,10 @@ NtProcessStartup(PPEB Peb) ULONG Length; ASSERT(Peb); - DPRINT("%s(%08lx) called\n", __FUNCTION__, Peb); +#ifdef _M_ARM // Huge achievement + DPRINT1("%s(%08lx) called\n", __FUNCTION__, Peb); + while (TRUE); +#endif /* Normalize and get the Process Parameters */ ProcessParameters = RtlNormalizeProcessParams(Peb->ProcessParameters);