Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1ca11f51
Commit
1ca11f51
authored
Nov 14, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Nov 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some unresolved externals on non-Intel archs.
parent
43a98a6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletion
+38
-1
relay.c
if1632/relay.c
+38
-1
No files found.
if1632/relay.c
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
;
...
...
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