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
db7920bb
Commit
db7920bb
authored
Dec 16, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We no longer need to handle EXCEPTION_PRIV_INSTRUCTION on page faults.
parent
07f84d04
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
13 deletions
+5
-13
heap.c
dlls/kernel/heap.c
+0
-3
ne_module.c
dlls/kernel/ne_module.c
+1
-2
resource.c
dlls/kernel/resource.c
+1
-2
resource.c
dlls/ntdll/resource.c
+1
-2
rpc.c
dlls/ole32/rpc.c
+1
-2
lstr.c
dlls/user/lstr.c
+1
-2
No files found.
dlls/kernel/heap.c
View file @
db7920bb
...
...
@@ -72,13 +72,10 @@ static HANDLE systemHeap; /* globally shared heap */
/* filter for page-fault exceptions */
/* It is possible for a bogus global pointer to cause a */
/* page zero reference, so I include EXCEPTION_PRIV_INSTRUCTION too. */
static
WINE_EXCEPTION_FILTER
(
page_fault
)
{
switch
(
GetExceptionCode
())
{
case
(
EXCEPTION_ACCESS_VIOLATION
):
case
(
EXCEPTION_PRIV_INSTRUCTION
):
return
EXCEPTION_EXECUTE_HANDLER
;
default:
return
EXCEPTION_CONTINUE_SEARCH
;
...
...
dlls/kernel/ne_module.c
View file @
db7920bb
...
...
@@ -92,8 +92,7 @@ static HMODULE16 NE_GetModuleByFilename( LPCSTR name );
static
WINE_EXCEPTION_FILTER
(
page_fault
)
{
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
||
GetExceptionCode
()
==
EXCEPTION_PRIV_INSTRUCTION
)
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
)
return
EXCEPTION_EXECUTE_HANDLER
;
return
EXCEPTION_CONTINUE_SEARCH
;
}
...
...
dlls/kernel/resource.c
View file @
db7920bb
...
...
@@ -50,8 +50,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(resource);
static
WINE_EXCEPTION_FILTER
(
page_fault
)
{
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
||
GetExceptionCode
()
==
EXCEPTION_PRIV_INSTRUCTION
)
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
)
return
EXCEPTION_EXECUTE_HANDLER
;
return
EXCEPTION_CONTINUE_SEARCH
;
}
...
...
dlls/ntdll/resource.c
View file @
db7920bb
...
...
@@ -53,8 +53,7 @@ static LANGID user_ui_language, system_ui_language;
static
WINE_EXCEPTION_FILTER
(
page_fault
)
{
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
||
GetExceptionCode
()
==
EXCEPTION_PRIV_INSTRUCTION
)
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
)
return
EXCEPTION_EXECUTE_HANDLER
;
return
EXCEPTION_CONTINUE_SEARCH
;
}
...
...
dlls/ole32/rpc.c
View file @
db7920bb
...
...
@@ -112,8 +112,7 @@ struct dispatch_params
static
WINE_EXCEPTION_FILTER
(
ole_filter
)
{
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
||
GetExceptionCode
()
==
EXCEPTION_PRIV_INSTRUCTION
)
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
)
return
EXCEPTION_CONTINUE_SEARCH
;
return
EXCEPTION_EXECUTE_HANDLER
;
}
...
...
dlls/user/lstr.c
View file @
db7920bb
...
...
@@ -45,8 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(resource);
/* filter for page-fault exceptions */
static
WINE_EXCEPTION_FILTER
(
page_fault
)
{
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
||
GetExceptionCode
()
==
EXCEPTION_PRIV_INSTRUCTION
)
if
(
GetExceptionCode
()
==
EXCEPTION_ACCESS_VIOLATION
)
return
EXCEPTION_EXECUTE_HANDLER
;
return
EXCEPTION_CONTINUE_SEARCH
;
}
...
...
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