mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
- Add hack-sync again (bug #3591).
- Silence linker warning. svn path=/trunk/; revision=38535
This commit is contained in:
parent
fc04035227
commit
0e0e4d8dd8
2 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ _KiDoubleFaultStack:
|
|||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
.text
|
||||
.globl _KiSystemStartup
|
||||
.func KiSystemStartup
|
||||
_KiSystemStartup:
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ MiSyncForProcessAttach(IN PKTHREAD Thread,
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue