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
69bb29ce
Commit
69bb29ce
authored
Jun 25, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add call frame annotations in x86 assembly code.
parent
0c463415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
20 deletions
+29
-20
relay16.c
dlls/kernel32/relay16.c
+29
-20
No files found.
dlls/kernel32/relay16.c
View file @
69bb29ce
...
@@ -283,26 +283,35 @@ static const CALLFROM16 *get_entry_point( STACK16FRAME *frame, LPSTR module, LPS
...
@@ -283,26 +283,35 @@ static const CALLFROM16 *get_entry_point( STACK16FRAME *frame, LPSTR module, LPS
extern
int
call_entry_point
(
void
*
func
,
int
nb_args
,
const
int
*
args
);
extern
int
call_entry_point
(
void
*
func
,
int
nb_args
,
const
int
*
args
);
__ASM_GLOBAL_FUNC
(
call_entry_point
,
__ASM_GLOBAL_FUNC
(
call_entry_point
,
"
\t
pushl %ebp
\n
"
"pushl %ebp
\n\t
"
"
\t
movl %esp,%ebp
\n
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 4
\n\t
"
)
"
\t
pushl %esi
\n
"
__ASM_CFI
(
".cfi_rel_offset %ebp,0
\n\t
"
)
"
\t
pushl %edi
\n
"
"movl %esp,%ebp
\n\t
"
"
\t
movl 12(%ebp),%edx
\n
"
__ASM_CFI
(
".cfi_def_cfa_register %ebp
\n\t
"
)
"
\t
shll $2,%edx
\n
"
"pushl %esi
\n\t
"
"
\t
jz 1f
\n
"
__ASM_CFI
(
".cfi_rel_offset %esi,-4
\n\t
"
)
"
\t
subl %edx,%esp
\n
"
"pushl %edi
\n\t
"
"
\t
andl $~15,%esp
\n
"
__ASM_CFI
(
".cfi_rel_offset %edi,-8
\n\t
"
)
"
\t
movl 12(%ebp),%ecx
\n
"
"movl 12(%ebp),%edx
\n\t
"
"
\t
movl 16(%ebp),%esi
\n
"
"shll $2,%edx
\n\t
"
"
\t
movl %esp,%edi
\n
"
"jz 1f
\n\t
"
"
\t
cld
\n
"
"subl %edx,%esp
\n\t
"
"
\t
rep; movsl
\n
"
"andl $~15,%esp
\n\t
"
"1:
\t
call *8(%ebp)
\n
"
"movl 12(%ebp),%ecx
\n\t
"
"
\t
leal -8(%ebp),%esp
\n
"
"movl 16(%ebp),%esi
\n\t
"
"
\t
popl %edi
\n
"
"movl %esp,%edi
\n\t
"
"
\t
popl %esi
\n
"
"cld
\n\t
"
"
\t
popl %ebp
\n
"
"rep; movsl
\n
"
"
\t
ret"
)
"1:
\t
call *8(%ebp)
\n\t
"
"leal -8(%ebp),%esp
\n\t
"
"popl %edi
\n\t
"
__ASM_CFI
(
".cfi_same_value %edi
\n\t
"
)
"popl %esi
\n\t
"
__ASM_CFI
(
".cfi_same_value %esi
\n\t
"
)
"popl %ebp
\n\t
"
__ASM_CFI
(
".cfi_def_cfa %esp,4
\n\t
"
)
__ASM_CFI
(
".cfi_same_value %ebp
\n\t
"
)
"ret"
)
/***********************************************************************
/***********************************************************************
...
...
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