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
1ac7576d
Commit
1ac7576d
authored
Jun 29, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Disable releasing the address space on Mac OS since dyld doesn't support this.
parent
c95acb91
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
virtual.c
dlls/ntdll/virtual.c
+3
-1
main.c
loader/main.c
+2
-2
No files found.
dlls/ntdll/virtual.c
View file @
1ac7576d
...
...
@@ -1681,14 +1681,16 @@ void virtual_release_address_space( BOOL free_high_mem )
server_enter_uninterrupted_section
(
&
csVirtual
,
&
sigset
);
#ifndef __APPLE__
/* dyld doesn't support parts of the WINE_DOS segment being unmapped */
range
.
base
=
(
char
*
)
0x20000000
;
range
.
limit
=
(
char
*
)
0x7f000000
;
while
(
wine_mmap_enum_reserved_areas
(
free_reserved_memory
,
&
range
,
0
))
/* nothing */
;
#endif
/* no large address space on win9x */
if
(
free_high_mem
&&
NtCurrentTeb
()
->
Peb
->
OSPlatformId
==
VER_PLATFORM_WIN32_NT
)
{
range
.
base
=
(
char
*
)
0x8
0
000000
;
range
.
base
=
(
char
*
)
0x8
2
000000
;
range
.
limit
=
address_space_limit
;
while
(
wine_mmap_enum_reserved_areas
(
free_reserved_memory
,
&
range
,
1
))
/* nothing */
;
user_space_limit
=
working_set_limit
=
address_space_limit
;
...
...
loader/main.c
View file @
1ac7576d
...
...
@@ -40,9 +40,9 @@
#ifdef __APPLE__
asm
(
".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x
7
0000000"
);
asm
(
".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x
4
0000000"
);
asm
(
".zerofill WINE_SHAREDHEAP, WINE_SHAREDHEAP, ___wine_shared_heap, 0x03000000"
);
extern
char
__wine_dos
[
0x
7
0000000
],
__wine_shared_heap
[
0x03000000
];
extern
char
__wine_dos
[
0x
4
0000000
],
__wine_shared_heap
[
0x03000000
];
static
const
struct
wine_preload_info
wine_main_preload_info
[]
=
{
...
...
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