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
c1f7b457
Commit
c1f7b457
authored
Nov 10, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe: Use the correct pointer for RemoveVectoredExceptionHandler.
parent
11e71ede
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dosmem.c
dlls/krnl386.exe16/dosmem.c
+3
-2
No files found.
dlls/krnl386.exe16/dosmem.c
View file @
c1f7b457
...
...
@@ -120,6 +120,7 @@ static char *DOSMEM_sysmem;
static
DWORD
DOSMEM_protect
;
static
LONG
WINAPI
dosmem_handler
(
EXCEPTION_POINTERS
*
except
);
static
void
*
vectored_handler
;
/***********************************************************************
* DOSMEM_FillIsrTable
...
...
@@ -318,7 +319,7 @@ BOOL DOSMEM_InitDosMemory(void)
DOSMEM_SIZE
-
DOSMEM_protect
,
PAGE_READWRITE
,
NULL
)))
ERR
(
"Cannot load access low 1Mb, DOS subsystem unavailable
\n
"
);
R
tlRemoveVectoredExceptionHandler
(
dosmem
_handler
);
R
emoveVectoredExceptionHandler
(
vectored
_handler
);
/*
* Reserve either:
...
...
@@ -412,7 +413,7 @@ BOOL DOSMEM_Init(void)
DOSMEM_sysmem
=
DOSMEM_dosmem
;
}
Rtl
AddVectoredExceptionHandler
(
FALSE
,
dosmem_handler
);
vectored_handler
=
AddVectoredExceptionHandler
(
FALSE
,
dosmem_handler
);
DOSMEM_0000H
=
GLOBAL_CreateBlock
(
GMEM_FIXED
,
DOSMEM_sysmem
,
DOSMEM_64KB
,
0
,
WINE_LDT_FLAGS_DATA
);
DOSMEM_BiosDataSeg
=
GLOBAL_CreateBlock
(
GMEM_FIXED
,
DOSMEM_sysmem
+
0x400
,
...
...
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