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
00ac7074
Commit
00ac7074
authored
Mar 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Move shared heap creation to krnl386 and load it by default on Win9x versions.
parent
464ece64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
kernel_main.c
dlls/kernel32/kernel_main.c
+1
-7
kernel.c
dlls/krnl386.exe16/kernel.c
+3
-0
No files found.
dlls/kernel32/kernel_main.c
View file @
00ac7074
...
...
@@ -123,13 +123,7 @@ static BOOL process_attach( HMODULE module )
/* Securom checks for this one when version is NT */
set_entry_point
(
module
,
"FT_Thunk"
,
0
);
}
#ifdef __i386__
else
{
/* create the shared heap for broken win95 native dlls */
HeapCreate
(
HEAP_SHARED
,
0
,
0
);
}
#endif
else
LoadLibraryA
(
"krnl386.exe16"
);
/* finish the process initialisation for console bits, if needed */
__wine_set_signal_handler
(
SIGINT
,
CONSOLE_HandleCtrlC
);
...
...
dlls/krnl386.exe16/kernel.c
View file @
00ac7074
...
...
@@ -95,6 +95,9 @@ BOOL WINAPI KERNEL_DllEntryPoint( DWORD reasion, HINSTANCE16 inst, WORD ds,
if
(
done
)
return
TRUE
;
done
=
1
;
/* create the shared heap for broken win95 native dlls */
HeapCreate
(
HEAP_SHARED
,
0
,
0
);
/* setup emulation of protected instructions from 32-bit code */
if
(
GetVersion
()
&
0x80000000
)
RtlAddVectoredExceptionHandler
(
TRUE
,
INSTR_vectored_handler
);
...
...
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