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
69af09da
Commit
69af09da
authored
Apr 02, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move the _chkstk implementation to signal_i386.c.
(cherry picked from commit
aa55603b
)
parent
2d855dcb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
31 deletions
+23
-31
rtl.c
dlls/ntdll/rtl.c
+0
-31
signal_i386.c
dlls/ntdll/signal_i386.c
+23
-0
No files found.
dlls/ntdll/rtl.c
View file @
69af09da
...
...
@@ -405,37 +405,6 @@ RtlDeleteSecurityObject( PSECURITY_DESCRIPTOR *ObjectDescriptor )
return
STATUS_NOT_IMPLEMENTED
;
}
/**************************************************************************
* _chkstk [NTDLL.@]
*
* Glorified "enter xxxx".
*/
#ifdef __i386__
__ASM_STDCALL_FUNC
(
_chkstk
,
0
,
"negl %eax
\n\t
"
"addl %esp,%eax
\n\t
"
"xchgl %esp,%eax
\n\t
"
"movl 0(%eax),%eax
\n\t
"
/* copy return address from old location */
"movl %eax,0(%esp)
\n\t
"
"ret"
)
#endif
/**************************************************************************
* _alloca_probe [NTDLL.@]
*
* Glorified "enter xxxx".
*/
#ifdef __i386__
__ASM_STDCALL_FUNC
(
_alloca_probe
,
0
,
"negl %eax
\n\t
"
"addl %esp,%eax
\n\t
"
"xchgl %esp,%eax
\n\t
"
"movl 0(%eax),%eax
\n\t
"
/* copy return address from old location */
"movl %eax,0(%esp)
\n\t
"
"ret"
)
#endif
/******************************************************************************
* RtlInitializeGenericTable [NTDLL.@]
*/
...
...
dlls/ntdll/signal_i386.c
View file @
69af09da
...
...
@@ -2573,6 +2573,29 @@ __ASM_STDCALL_FUNC( DbgUserBreakPoint, 0, "int $3; ret")
__ASM_STDCALL_FUNC
(
NtCurrentTeb
,
0
,
".byte 0x64
\n\t
movl 0x18,%eax
\n\t
ret"
)
/**************************************************************************
* _chkstk (NTDLL.@)
*/
__ASM_STDCALL_FUNC
(
_chkstk
,
0
,
"negl %eax
\n\t
"
"addl %esp,%eax
\n\t
"
"xchgl %esp,%eax
\n\t
"
"movl 0(%eax),%eax
\n\t
"
/* copy return address from old location */
"movl %eax,0(%esp)
\n\t
"
"ret"
)
/**************************************************************************
* _alloca_probe (NTDLL.@)
*/
__ASM_STDCALL_FUNC
(
_alloca_probe
,
0
,
"negl %eax
\n\t
"
"addl %esp,%eax
\n\t
"
"xchgl %esp,%eax
\n\t
"
"movl 0(%eax),%eax
\n\t
"
/* copy return address from old location */
"movl %eax,0(%esp)
\n\t
"
"ret"
)
/**********************************************************************
* EXC_CallHandler (internal)
*
...
...
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