mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTOSKRNL]
Remove broken definition of SharedUserdata and use correct SharedUserData instead. Fixes a crash on real Hardware. Patch by Daniel Zimmermann (netzimme at googlemail dot com) See issue #5650 for more details. svn path=/trunk/; revision=50369
This commit is contained in:
parent
d73991290d
commit
2aa0f3b839
2 changed files with 1 additions and 2 deletions
|
@ -118,7 +118,6 @@ Author:
|
|||
#define DISPATCH_LENGTH 106
|
||||
#endif
|
||||
|
||||
#define SharedUserdata ((KUSER_SHARED_DATA *CONST)(USER_SHARED_DATA|KSEG0_BASE))
|
||||
#else
|
||||
|
||||
//
|
||||
|
|
|
@ -212,7 +212,7 @@ PspLookupKernelUserEntryPoints(VOID)
|
|||
if (KeFeatureBits & KF_FAST_SYSCALL)
|
||||
{
|
||||
/* Get user-mode sysenter stub */
|
||||
SharedUserdata->SystemCall = (PsNtosImageBase >> (PAGE_SHIFT + 1));
|
||||
SharedUserData->SystemCall = (PsNtosImageBase >> (PAGE_SHIFT + 1));
|
||||
Status = PspLookupSystemDllEntryPoint("KiFastSystemCall",
|
||||
(PVOID)&SharedUserData->
|
||||
SystemCall);
|
||||
|
|
Loading…
Reference in a new issue