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
1aa749d9
Commit
1aa749d9
authored
Oct 27, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Reserve some low memory space even without a preloader.
parent
e487b560
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mmap.c
libs/wine/mmap.c
+6
-0
No files found.
libs/wine/mmap.c
View file @
1aa749d9
...
...
@@ -350,6 +350,12 @@ void mmap_init(void)
reserve_malloc_space
(
8
*
1024
*
1024
);
if
(
!
list_head
(
&
reserved_areas
))
{
/* if we don't have a preloader, try to reserve some space below 2Gb */
reserve_area
(
(
void
*
)
0x00110000
,
(
void
*
)
0x40000000
);
}
/* check for a reserved area starting at the user space limit */
/* to avoid wasting time trying to allocate it again */
LIST_FOR_EACH
(
ptr
,
&
reserved_areas
)
...
...
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