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
aadffd1f
Commit
aadffd1f
authored
Sep 22, 2004
by
Alexander Yaworsky
Committed by
Alexandre Julliard
Sep 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved TRACEs to the beginning of functions.
parent
fa417e28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
virtual.c
dlls/ntdll/virtual.c
+11
-11
No files found.
dlls/ntdll/virtual.c
View file @
aadffd1f
...
...
@@ -1162,16 +1162,16 @@ NTSTATUS WINAPI NtAllocateVirtualMemory( HANDLE process, PVOID *ret, PVOID addr,
NTSTATUS
status
=
STATUS_SUCCESS
;
struct
file_view
*
view
;
TRACE
(
"%p %p %08lx %lx %08lx
\n
"
,
process
,
addr
,
size
,
type
,
protect
);
if
(
!
size
)
return
STATUS_INVALID_PARAMETER
;
if
(
!
is_current_process
(
process
))
{
ERR
(
"Unsupported on other process
\n
"
);
return
STATUS_ACCESS_DENIED
;
}
TRACE
(
"%p %08lx %lx %08lx
\n
"
,
addr
,
size
,
type
,
protect
);
if
(
!
size
)
return
STATUS_INVALID_PARAMETER
;
/* Round parameters to a page boundary */
if
(
size
>
0x7fc00000
)
return
STATUS_WORKING_SET_LIMIT_RANGE
;
/* 2Gb - 4Mb */
...
...
@@ -1268,14 +1268,14 @@ NTSTATUS WINAPI NtFreeVirtualMemory( HANDLE process, PVOID *addr_ptr, ULONG *siz
LPVOID
addr
=
*
addr_ptr
;
DWORD
size
=
*
size_ptr
;
TRACE
(
"%p %p %08lx %lx
\n
"
,
process
,
addr
,
size
,
type
);
if
(
!
is_current_process
(
process
))
{
ERR
(
"Unsupported on other process
\n
"
);
return
STATUS_ACCESS_DENIED
;
}
TRACE
(
"%p %08lx %lx
\n
"
,
addr
,
size
,
type
);
/* Fix the parameters */
size
=
ROUND_SIZE
(
addr
,
size
);
...
...
@@ -1344,14 +1344,14 @@ NTSTATUS WINAPI NtProtectVirtualMemory( HANDLE process, PVOID *addr_ptr, ULONG *
DWORD
prot
,
size
=
*
size_ptr
;
LPVOID
addr
=
*
addr_ptr
;
TRACE
(
"%p %p %08lx %08lx
\n
"
,
process
,
addr
,
size
,
new_prot
);
if
(
!
is_current_process
(
process
))
{
ERR
(
"Unsupported on other process
\n
"
);
return
STATUS_ACCESS_DENIED
;
}
TRACE
(
"%p %08lx %08lx
\n
"
,
addr
,
size
,
new_prot
);
/* Fix the parameters */
size
=
ROUND_SIZE
(
addr
,
size
);
...
...
@@ -1608,15 +1608,15 @@ NTSTATUS WINAPI NtMapViewOfSection( HANDLE handle, HANDLE process, PVOID *addr_p
HANDLE
shared_file
;
BOOL
removable
=
FALSE
;
TRACE
(
"handle=%p process=%p addr=%p off=%lx%08lx size=%x access=%lx
\n
"
,
handle
,
process
,
*
addr_ptr
,
offset
->
u
.
HighPart
,
offset
->
u
.
LowPart
,
size
,
protect
);
if
(
!
is_current_process
(
process
))
{
ERR
(
"Unsupported on other process
\n
"
);
return
STATUS_ACCESS_DENIED
;
}
TRACE
(
"handle=%p addr=%p off=%lx%08lx size=%x access=%lx
\n
"
,
handle
,
*
addr_ptr
,
offset
->
u
.
HighPart
,
offset
->
u
.
LowPart
,
size
,
protect
);
/* Check parameters */
if
((
offset
->
u
.
LowPart
&
granularity_mask
)
||
...
...
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