Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
1ca11f51
Commit
1ca11f51
authored
25 years ago
by
Ulrich Weigand
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some unresolved externals on non-Intel archs.
parent
43a98a6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
if1632/relay.c
+38
-1
38 additions, 1 deletion
if1632/relay.c
with
38 additions
and
1 deletion
if1632/relay.c
+
38
−
1
View file @
1ca11f51
...
...
@@ -21,12 +21,12 @@
DEFAULT_DEBUG_CHANNEL
(
relay
)
/***********************************************************************
* RELAY_Init
*/
BOOL
RELAY_Init
(
void
)
{
#ifdef __i386__
WORD
codesel
;
/* Allocate the code selector for CallTo16 routines */
...
...
@@ -53,6 +53,7 @@ BOOL RELAY_Init(void)
MAKELONG
(
(
int
)
CALL32_CBClient_Ret
-
(
int
)
Call16_Ret_Start
,
codesel
);
CALL32_CBClientEx_RetAddr
=
MAKELONG
(
(
int
)
CALL32_CBClientEx_Ret
-
(
int
)
Call16_Ret_Start
,
codesel
);
#endif
/* Create built-in modules */
if
(
!
BUILTIN_Init
())
return
FALSE
;
...
...
@@ -61,6 +62,42 @@ BOOL RELAY_Init(void)
return
THUNK_Init
();
}
/*
* Stubs for the CallTo16/CallFrom16 routines on non-Intel architectures
* (these will never be called but need to be present to satisfy the linker ...)
*/
#ifndef __i386__
WORD
CALLBACK
CallTo16Word
(
FARPROC16
target
,
INT
nArgs
)
{
assert
(
FALSE
);
}
LONG
CALLBACK
CallTo16Long
(
FARPROC16
target
,
INT
nArgs
)
{
assert
(
FALSE
);
}
LONG
CALLBACK
CallTo16RegisterShort
(
const
CONTEXT86
*
context
,
INT
nArgs
)
{
assert
(
FALSE
);
}
LONG
CALLBACK
CallTo16RegisterLong
(
const
CONTEXT86
*
context
,
INT
nArgs
)
{
assert
(
FALSE
);
}
WORD
CallFrom16Word
(
void
)
{
assert
(
FALSE
);
}
LONG
CallFrom16Long
(
void
)
{
assert
(
FALSE
);
}
void
CallFrom16Register
(
void
)
{
assert
(
FALSE
);
}
void
CallFrom16Thunk
(
void
)
{
assert
(
FALSE
);
}
DWORD
WINAPI
CALL32_CBClient
(
FARPROC
proc
,
LPWORD
args
,
DWORD
*
esi
)
{
assert
(
FALSE
);
}
DWORD
WINAPI
CALL32_CBClientEx
(
FARPROC
proc
,
LPWORD
args
,
DWORD
*
esi
,
INT
*
nArgs
)
{
assert
(
FALSE
);
}
#endif
/* from relay32/relay386.c */
extern
char
**
debug_relay_excludelist
,
**
debug_relay_includelist
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment