Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ad2b103b
Commit
ad2b103b
authored
Oct 29, 2000
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quieten VxDCall_VMM output.
parent
2c76752a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
device.c
win32/device.c
+10
-10
No files found.
win32/device.c
View file @
ad2b103b
...
...
@@ -677,7 +677,7 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
ULONG
npages
=
(
ULONG
)
stack32_pop
(
context
);
ULONG
flags
=
(
ULONG
)
stack32_pop
(
context
);
FIXM
E
(
"PageReserve: page: %08lx, npages: %08lx, flags: %08lx partial stub!
\n
"
,
TRAC
E
(
"PageReserve: page: %08lx, npages: %08lx, flags: %08lx partial stub!
\n
"
,
page
,
npages
,
flags
);
if
(
page
==
PR_SYSTEM
)
{
...
...
@@ -690,7 +690,7 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
/* FIXME: Handle flags in some way */
address
=
(
LPVOID
)(
page
*
psize
);
ret
=
VirtualAlloc
(
address
,
(
npages
*
psize
),
MEM_RESERVE
,
0
);
FIXM
E
(
"PageReserve: returning: %08lx
\n
"
,
(
DWORD
)
ret
);
TRAC
E
(
"PageReserve: returning: %08lx
\n
"
,
(
DWORD
)
ret
);
if
(
ret
==
NULL
)
return
-
1
;
else
...
...
@@ -709,7 +709,7 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
ULONG
pagerdata
=
(
ULONG
)
stack32_pop
(
context
);
ULONG
flags
=
(
ULONG
)
stack32_pop
(
context
);
FIXM
E
(
"PageCommit: page: %08lx, npages: %08lx, hpd: %08lx pagerdata: "
TRAC
E
(
"PageCommit: page: %08lx, npages: %08lx, hpd: %08lx pagerdata: "
"%08lx, flags: %08lx partial stub
\n
"
,
page
,
npages
,
hpd
,
pagerdata
,
flags
);
...
...
@@ -723,7 +723,7 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
address
=
(
LPVOID
)(
page
*
psize
);
ret
=
VirtualAlloc
(
address
,
(
npages
*
psize
),
MEM_COMMIT
,
virt_perm
);
FIXM
E
(
"PageCommit: Returning: %08lx
\n
"
,
(
DWORD
)
ret
);
TRAC
E
(
"PageCommit: Returning: %08lx
\n
"
,
(
DWORD
)
ret
);
return
(
DWORD
)
ret
;
}
...
...
@@ -736,11 +736,11 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
ULONG
npages
=
(
ULONG
)
stack32_pop
(
context
);
ULONG
flags
=
(
ULONG
)
stack32_pop
(
context
);
FIXM
E
(
"PageDecommit: page: %08lx, npages: %08lx, flags: %08lx partial stub
\n
"
,
TRAC
E
(
"PageDecommit: page: %08lx, npages: %08lx, flags: %08lx partial stub
\n
"
,
page
,
npages
,
flags
);
address
=
(
LPVOID
)(
page
*
psize
);
ret
=
VirtualFree
(
address
,
(
npages
*
psize
),
MEM_DECOMMIT
);
FIXM
E
(
"PageDecommit: Returning: %s
\n
"
,
ret
?
"TRUE"
:
"FALSE"
);
TRAC
E
(
"PageDecommit: Returning: %s
\n
"
,
ret
?
"TRUE"
:
"FALSE"
);
return
ret
;
}
case
0x000d
:
/* PageModifyPermissions */
...
...
@@ -757,7 +757,7 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
ULONG
permand
=
stack32_pop
(
context
);
ULONG
permor
=
stack32_pop
(
context
);
FIXM
E
(
"PageModifyPermissions %08lx %08lx %08lx %08lx partial stub
\n
"
,
TRAC
E
(
"PageModifyPermissions %08lx %08lx %08lx %08lx partial stub
\n
"
,
page
,
npages
,
permand
,
permor
);
address
=
(
LPVOID
)(
page
*
psize
);
...
...
@@ -798,7 +798,7 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
ERR
(
"Can't change page permissions for %08lx
\n
"
,
(
DWORD
)
address
);
return
0xffffffff
;
}
FIXM
E
(
"Returning: %08lx
\n
"
,
pg_old_perm
);
TRAC
E
(
"Returning: %08lx
\n
"
,
pg_old_perm
);
return
pg_old_perm
;
}
case
0x000a
:
/* PageFree */
...
...
@@ -807,12 +807,12 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
LPVOID
hmem
=
(
LPVOID
)
stack32_pop
(
context
);
DWORD
flags
=
(
DWORD
)
stack32_pop
(
context
);
FIXM
E
(
"PageFree: hmem: %08lx, flags: %08lx partial stub
\n
"
,
TRAC
E
(
"PageFree: hmem: %08lx, flags: %08lx partial stub
\n
"
,
(
DWORD
)
hmem
,
flags
);
ret
=
VirtualFree
(
hmem
,
0
,
MEM_RELEASE
);
context
->
Eax
=
ret
;
FIXM
E
(
"Returning: %d
\n
"
,
ret
);
TRAC
E
(
"Returning: %d
\n
"
,
ret
);
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment