Author: fireball
Date: Fri Feb 22 16:41:37 2008
New Revision: 32450
URL:
http://svn.reactos.org/svn/reactos?rev=32450&view=rev
Log:
- Kernel's entry point is called KiSystemStartup, not NtProcessStartup (now it's
done correctly).
Modified:
trunk/reactos/ntoskrnl/include/internal/ke.h
trunk/reactos/ntoskrnl/ke/freeldr.c
trunk/reactos/ntoskrnl/ke/i386/boot.S
trunk/reactos/ntoskrnl/ke/i386/kiinit.c
trunk/reactos/ntoskrnl/ke/powerpc/kiinit.c
trunk/reactos/ntoskrnl/ke/powerpc/main_asm.S
trunk/reactos/tools/rbuild/module.cpp
Modified: trunk/reactos/ntoskrnl/include/internal/ke.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ke.h (original)
+++ trunk/reactos/ntoskrnl/include/internal/ke.h Fri Feb 22 16:41:37 2008
@@ -697,7 +697,7 @@
VOID
NTAPI
-KiSystemStartup(
+KiSystemStartupReal(
IN PLOADER_PARAMETER_BLOCK LoaderBlock
);
Modified: trunk/reactos/ntoskrnl/ke/freeldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/freeldr.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/freeldr.c (original)
+++ trunk/reactos/ntoskrnl/ke/freeldr.c Fri Feb 22 16:41:37 2008
@@ -1330,7 +1330,7 @@
#endif
/* Do general System Startup */
- KiSystemStartup(NtLoaderBlock);
+ KiSystemStartupReal(NtLoaderBlock);
}
/* EOF */
Modified: trunk/reactos/ntoskrnl/ke/i386/boot.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/boot.S?re…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/boot.S (original)
+++ trunk/reactos/ntoskrnl/ke/i386/boot.S Fri Feb 22 16:41:37 2008
@@ -29,12 +29,12 @@
/* FUNCTIONS *****************************************************************/
.text
-.func NtProcessStartup
-_NtProcessStartup:
+.func KiSystemStartup
+_KiSystemStartup:
/* NTLDR Boot: Call the main kernel initialization */
test dword ptr [esp+4], 0x80000000
- jnz _KiSystemStartup@4
+ jnz _KiSystemStartupReal@4
/* FREELDR Boot: Cal the FreeLDR wrapper */
jmp @KiRosPrepareForSystemStartup@8
Modified: trunk/reactos/ntoskrnl/ke/i386/kiinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/kiinit.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/kiinit.c (original)
+++ trunk/reactos/ntoskrnl/ke/i386/kiinit.c Fri Feb 22 16:41:37 2008
@@ -646,7 +646,7 @@
VOID
NTAPI
-KiSystemStartup(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
+KiSystemStartupReal(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
{
ULONG Cpu;
PKTHREAD InitialThread;
Modified: trunk/reactos/ntoskrnl/ke/powerpc/kiinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/powerpc/kiinit…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/powerpc/kiinit.c (original)
+++ trunk/reactos/ntoskrnl/ke/powerpc/kiinit.c Fri Feb 22 16:41:37 2008
@@ -252,7 +252,7 @@
/* Use this for early boot additions to the page table */
VOID
NTAPI
-KiSystemStartup(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
+KiSystemStartupReal(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
{
ULONG Cpu;
ppc_map_info_t info[4];
Modified: trunk/reactos/ntoskrnl/ke/powerpc/main_asm.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/powerpc/main_a…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/powerpc/main_asm.S (original)
+++ trunk/reactos/ntoskrnl/ke/powerpc/main_asm.S Fri Feb 22 16:41:37 2008
@@ -33,12 +33,11 @@
KiDoubleFaultStack:
.text
- .globl NtProcessStartup
.globl KiSystemStartup
.globl KiRosPrepareForSystemStartup
.globl DrawNumber
-NtProcessStartup:
+KiSystemStartup:
/*
* Set a normal MSR value
*/
Modified: trunk/reactos/tools/rbuild/module.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/module.cpp?re…
==============================================================================
--- trunk/reactos/tools/rbuild/module.cpp (original)
+++ trunk/reactos/tools/rbuild/module.cpp Fri Feb 22 16:41:37 2008
@@ -1033,7 +1033,7 @@
switch ( type )
{
case Kernel:
- return "NtProcessStartup";
+ return "KiSystemStartup";
case KernelModeDLL:
case KernelModeDriver:
return "DriverEntry@8";