Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e9dc02ea
Commit
e9dc02ea
authored
May 02, 2012
by
Austin English
Committed by
Alexandre Julliard
May 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Move GlobalMemoryStatus(Ex) to a different debug channel.
parent
b15a7746
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
heap.c
dlls/kernel32/heap.c
+3
-2
No files found.
dlls/kernel32/heap.c
View file @
e9dc02ea
...
...
@@ -64,6 +64,7 @@
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
heap
);
WINE_DECLARE_DEBUG_CHANNEL
(
globalmem
);
/* address where we try to map the system heap */
#define SYSTEM_HEAP_BASE ((void*)0x80000000)
...
...
@@ -1289,7 +1290,7 @@ BOOL WINAPI GlobalMemoryStatusEx( LPMEMORYSTATUSEX lpmemex )
cached_memstatus
=
*
lpmemex
;
TRACE
(
"<-- LPMEMORYSTATUSEX: dwLength %d, dwMemoryLoad %d, ullTotalPhys %s, ullAvailPhys %s,"
TRACE
_
(
globalmem
)
(
"<-- LPMEMORYSTATUSEX: dwLength %d, dwMemoryLoad %d, ullTotalPhys %s, ullAvailPhys %s,"
" ullTotalPageFile %s, ullAvailPageFile %s, ullTotalVirtual %s, ullAvailVirtual %s
\n
"
,
lpmemex
->
dwLength
,
lpmemex
->
dwMemoryLoad
,
wine_dbgstr_longlong
(
lpmemex
->
ullTotalPhys
),
wine_dbgstr_longlong
(
lpmemex
->
ullAvailPhys
),
wine_dbgstr_longlong
(
lpmemex
->
ullTotalPageFile
),
...
...
@@ -1371,7 +1372,7 @@ VOID WINAPI GlobalMemoryStatus( LPMEMORYSTATUS lpBuffer )
if
(
lpBuffer
->
dwAvailPageFile
>
MAXLONG
)
lpBuffer
->
dwAvailPageFile
=
MAXLONG
;
}
TRACE
(
"Length %u, MemoryLoad %u, TotalPhys %lx, AvailPhys %lx,"
TRACE
_
(
globalmem
)
(
"Length %u, MemoryLoad %u, TotalPhys %lx, AvailPhys %lx,"
" TotalPageFile %lx, AvailPageFile %lx, TotalVirtual %lx, AvailVirtual %lx
\n
"
,
lpBuffer
->
dwLength
,
lpBuffer
->
dwMemoryLoad
,
lpBuffer
->
dwTotalPhys
,
lpBuffer
->
dwAvailPhys
,
lpBuffer
->
dwTotalPageFile
,
lpBuffer
->
dwAvailPageFile
,
...
...
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