Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
7109423e
Commit
7109423e
authored
20 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Allocate the shared heap inside the Win9x shared memory area.
parent
7163000d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/kernel/heap.c
+4
-4
4 additions, 4 deletions
dlls/kernel/heap.c
with
4 additions
and
4 deletions
dlls/kernel/heap.c
+
4
−
4
View file @
7109423e
...
...
@@ -54,8 +54,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
heap
);
/* address where we try to map the system heap */
#define SYSTEM_HEAP_BASE ((void*)0x
6543
0000)
#define SYSTEM_HEAP_SIZE 0x100000
/* Default heap size = 1Mb */
#define SYSTEM_HEAP_BASE ((void*)0x
8000
0000)
#define SYSTEM_HEAP_SIZE 0x100000
0
/* Default heap size = 1
6
Mb */
static
HANDLE
systemHeap
;
/* globally shared heap */
...
...
@@ -87,10 +87,10 @@ inline static HANDLE HEAP_CreateSystemHeap(void)
HANDLE
map
,
event
;
/* create the system heap event first */
event
=
CreateEventA
(
NULL
,
TRUE
,
FALSE
,
"__
S
ystem
H
eap
E
vent"
);
event
=
CreateEventA
(
NULL
,
TRUE
,
FALSE
,
"__
wine_s
ystem
_h
eap
_e
vent"
);
if
(
!
(
map
=
CreateFileMappingA
(
INVALID_HANDLE_VALUE
,
NULL
,
SEC_COMMIT
|
PAGE_READWRITE
,
0
,
SYSTEM_HEAP_SIZE
,
"__
S
ystem
H
eap"
)))
return
0
;
0
,
SYSTEM_HEAP_SIZE
,
"__
wine_s
ystem
_h
eap"
)))
return
0
;
created
=
(
GetLastError
()
!=
ERROR_ALREADY_EXISTS
);
if
(
!
(
base
=
MapViewOfFileEx
(
map
,
FILE_MAP_ALL_ACCESS
,
0
,
0
,
0
,
SYSTEM_HEAP_BASE
)))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment