Author: dgorbachev
Date: Sat Jan 3 09:51:10 2009
New Revision: 38535
URL:
http://svn.reactos.org/svn/reactos?rev=38535&view=rev
Log:
- Add hack-sync again (bug #3591).
- Silence linker warning.
Modified:
trunk/reactos/ntoskrnl/ke/i386/boot.S
trunk/reactos/ntoskrnl/mm/mm.c
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 [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/boot.S [iso-8859-1] Sat Jan 3 09:51:10 2009
@@ -29,6 +29,7 @@
/* FUNCTIONS *****************************************************************/
.text
+.globl _KiSystemStartup
.func KiSystemStartup
_KiSystemStartup:
Modified: trunk/reactos/ntoskrnl/mm/mm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mm.c?rev=38535…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/mm.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/mm.c [iso-8859-1] Sat Jan 3 09:51:10 2009
@@ -34,6 +34,7 @@
PETHREAD Ethread = CONTAINING_RECORD(Thread, ETHREAD, Tcb);
/* Hack Sync because Mm is broken */
+ MmUpdatePageDir(Process, Ethread, sizeof(ETHREAD));
MmUpdatePageDir(Process, Ethread->ThreadsProcess, sizeof(EPROCESS));
MmUpdatePageDir(Process,
(PVOID)Thread->StackLimit,