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
e325efbd
Commit
e325efbd
authored
Jul 24, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preloader: Allocate more space in low memory as well as for top-down allocations.
parent
6c9ade05
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
main.c
loader/main.c
+3
-3
preloader.c
loader/preloader.c
+3
-3
No files found.
configure
View file @
e325efbd
...
...
@@ -17118,7 +17118,7 @@ echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
IOKITLIB
=
"-framework IOKit -framework CoreFoundation"
LDEXECFLAGS
=
"-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f
fe
0000"
LDEXECFLAGS
=
"-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f
00
0000"
if
test
"
$ac_cv_header_CoreAudio_CoreAudio_h
"
=
"yes"
-a
"
$ac_cv_header_AudioUnit_AudioUnit_h
"
=
"yes"
then
...
...
configure.ac
View file @
e325efbd
...
...
@@ -1147,7 +1147,7 @@ case $host_os in
dnl declare needed frameworks
AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
AC_SUBST(IOKITLIB,"-framework IOKit -framework CoreFoundation")
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f
fe
0000"])
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f
00
0000"])
if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
then
dnl CoreServices needed by AudioUnit
...
...
loader/main.c
View file @
e325efbd
...
...
@@ -24,9 +24,9 @@
#include "main.h"
#ifdef __APPLE__
asm
(
".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x
2
0000000"
);
asm
(
".zerofill WINE_SHARED_HEAP, WINE_SHARED_HEAP, ___wine_shared_heap, 0x0
102
0000"
);
extern
char
__wine_dos
[
0x
20000000
],
__wine_shared_heap
[
0x0102
0000
];
asm
(
".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x
6
0000000"
);
asm
(
".zerofill WINE_SHARED_HEAP, WINE_SHARED_HEAP, ___wine_shared_heap, 0x0
200
0000"
);
extern
char
__wine_dos
[
0x
60000000
],
__wine_shared_heap
[
0x0200
0000
];
static
const
struct
wine_preload_info
wine_main_preload_info
[]
=
{
...
...
loader/preloader.c
View file @
e325efbd
...
...
@@ -108,9 +108,9 @@
static
struct
wine_preload_info
preload_info
[]
=
{
{
(
void
*
)
0x00000000
,
0x
00110000
},
/* DOS
area */
{
(
void
*
)
0x7f
fe0000
,
0x01020000
},
/* shared user data
+ shared heap */
{
(
void
*
)
0x00110000
,
0x1fef0000
},
/* PE exe range (may be set with WINEPRELOADRESERVE), defaults to 512mb
*/
{
(
void
*
)
0x00000000
,
0x
60000000
},
/* low memory
area */
{
(
void
*
)
0x7f
000000
,
0x02000000
},
/* top-down allocations
+ shared heap */
{
0
,
0
},
/* PE exe range set with WINEPRELOADRESERVE
*/
{
0
,
0
}
/* end of list */
};
...
...
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