mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 10:45:24 +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
|
@ -118,7 +118,6 @@ Author:
|
||||||
#define DISPATCH_LENGTH 106
|
#define DISPATCH_LENGTH 106
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SharedUserdata ((KUSER_SHARED_DATA *CONST)(USER_SHARED_DATA|KSEG0_BASE))
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -212,7 +212,7 @@ PspLookupKernelUserEntryPoints(VOID)
|
||||||
if (KeFeatureBits & KF_FAST_SYSCALL)
|
if (KeFeatureBits & KF_FAST_SYSCALL)
|
||||||
{
|
{
|
||||||
/* Get user-mode sysenter stub */
|
/* Get user-mode sysenter stub */
|
||||||
SharedUserdata->SystemCall = (PsNtosImageBase >> (PAGE_SHIFT + 1));
|
SharedUserData->SystemCall = (PsNtosImageBase >> (PAGE_SHIFT + 1));
|
||||||
Status = PspLookupSystemDllEntryPoint("KiFastSystemCall",
|
Status = PspLookupSystemDllEntryPoint("KiFastSystemCall",
|
||||||
(PVOID)&SharedUserData->
|
(PVOID)&SharedUserData->
|
||||||
SystemCall);
|
SystemCall);
|
||||||
|
|
Loading…
Reference in a new issue