mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Add missing assignments to CallingProcess variable. Part 1 of ? fixes for bug 2286.
svn path=/trunk/; revision=38355
This commit is contained in:
parent
4d4d9e60fb
commit
97048a494b
1 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@ IntInt10AllocateBuffer(
|
|||
{
|
||||
PVOID MemoryAddress;
|
||||
NTSTATUS Status;
|
||||
PKPROCESS CallingProcess;
|
||||
PKPROCESS CallingProcess = (PKPROCESS)PsGetCurrentProcess();
|
||||
KAPC_STATE ApcState;
|
||||
|
||||
TRACE_(VIDEOPRT, "IntInt10AllocateBuffer\n");
|
||||
|
@ -81,7 +81,7 @@ IntInt10FreeBuffer(
|
|||
{
|
||||
PVOID MemoryAddress = (PVOID)((Seg << 4) | Off);
|
||||
NTSTATUS Status;
|
||||
PKPROCESS CallingProcess;
|
||||
PKPROCESS CallingProcess = (PKPROCESS)PsGetCurrentProcess();
|
||||
KAPC_STATE ApcState;
|
||||
|
||||
TRACE_(VIDEOPRT, "IntInt10FreeBuffer\n");
|
||||
|
@ -104,7 +104,7 @@ IntInt10ReadMemory(
|
|||
OUT PVOID Buffer,
|
||||
IN ULONG Length)
|
||||
{
|
||||
PKPROCESS CallingProcess;
|
||||
PKPROCESS CallingProcess = (PKPROCESS)PsGetCurrentProcess();
|
||||
KAPC_STATE ApcState;
|
||||
|
||||
TRACE_(VIDEOPRT, "IntInt10ReadMemory\n");
|
||||
|
@ -128,7 +128,7 @@ IntInt10WriteMemory(
|
|||
IN PVOID Buffer,
|
||||
IN ULONG Length)
|
||||
{
|
||||
PKPROCESS CallingProcess;
|
||||
PKPROCESS CallingProcess = (PKPROCESS)PsGetCurrentProcess();
|
||||
KAPC_STATE ApcState;
|
||||
|
||||
TRACE_(VIDEOPRT, "IntInt10WriteMemory\n");
|
||||
|
@ -152,7 +152,7 @@ IntInt10CallBios(
|
|||
{
|
||||
CONTEXT BiosContext;
|
||||
NTSTATUS Status;
|
||||
PKPROCESS CallingProcess;
|
||||
PKPROCESS CallingProcess = (PKPROCESS)PsGetCurrentProcess();
|
||||
KAPC_STATE ApcState;
|
||||
|
||||
/* Attach to CSRSS */
|
||||
|
@ -204,7 +204,7 @@ VideoPortInt10(
|
|||
{
|
||||
KV86M_REGISTERS Regs;
|
||||
NTSTATUS Status;
|
||||
PKPROCESS CallingProcess;
|
||||
PKPROCESS CallingProcess = (PKPROCESS)PsGetCurrentProcess();
|
||||
KAPC_STATE ApcState;
|
||||
|
||||
TRACE_(VIDEOPRT, "VideoPortInt10\n");
|
||||
|
|
Loading…
Reference in a new issue