Avoid including stackframe.h if it's not needed.
This commit is contained in:
parent
617839d522
commit
bf97962a51
|
@ -37,7 +37,6 @@
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "stackframe.h"
|
|
||||||
|
|
||||||
#include "winternl.h"
|
#include "winternl.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
|
|
|
@ -403,7 +403,6 @@ typedef struct
|
||||||
#define T_UNKNOWN (-1) /* Unknown fault (TRAP_sig not defined) */
|
#define T_UNKNOWN (-1) /* Unknown fault (TRAP_sig not defined) */
|
||||||
|
|
||||||
#include "wine/exception.h"
|
#include "wine/exception.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "miscemu.h"
|
#include "miscemu.h"
|
||||||
#include "syslevel.h"
|
#include "syslevel.h"
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
#include "wine/library.h"
|
#include "wine/library.h"
|
||||||
#include "wine/exception.h"
|
#include "wine/exception.h"
|
||||||
#include "selectors.h"
|
#include "selectors.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "ntdll_misc.h"
|
#include "ntdll_misc.h"
|
||||||
#include "miscemu.h"
|
#include "miscemu.h"
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
|
|
||||||
#include "wine/exception.h"
|
#include "wine/exception.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "ntdll_misc.h"
|
#include "ntdll_misc.h"
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
#include "miscemu.h"
|
#include "miscemu.h"
|
||||||
#include "dosexe.h"
|
#include "dosexe.h"
|
||||||
#include "dosvm.h"
|
#include "dosvm.h"
|
||||||
#include "stackframe.h"
|
#include "thread.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "excpt.h"
|
#include "excpt.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "excpt.h"
|
#include "excpt.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "wine/exception.h"
|
#include "wine/exception.h"
|
||||||
#include "stackframe.h"
|
#include "thread.h"
|
||||||
#include "toolhelp.h"
|
#include "toolhelp.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(int31);
|
WINE_DEFAULT_DEBUG_CHANNEL(int31);
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "dosexe.h"
|
#include "dosexe.h"
|
||||||
#include "stackframe.h"
|
#include "thread.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "builtin16.h"
|
#include "builtin16.h"
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include "wine/winbase16.h"
|
#include "wine/winbase16.h"
|
||||||
#include "miscemu.h"
|
#include "miscemu.h"
|
||||||
#include "selectors.h"
|
#include "selectors.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "wine/server.h"
|
#include "wine/server.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "toolhelp.h"
|
#include "toolhelp.h"
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "winternl.h"
|
#include "winternl.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "ntdll_misc.h"
|
#include "ntdll_misc.h"
|
||||||
|
@ -525,7 +524,8 @@ void WINAPI RELAY_DoCallFrom32Regs( CONTEXT86 *context )
|
||||||
WORD nb_args = relay->args / sizeof(int);
|
WORD nb_args = relay->args / sizeof(int);
|
||||||
|
|
||||||
/* remove extra stuff from the stack */
|
/* remove extra stuff from the stack */
|
||||||
context->Eip = stack32_pop(context);
|
context->Eip = *(DWORD *)context->Esp;
|
||||||
|
context->Esp += sizeof(DWORD);
|
||||||
args = (int *)context->Esp;
|
args = (int *)context->Esp;
|
||||||
if (relay->ret == 0xc2) /* stdcall */
|
if (relay->ret == 0xc2) /* stdcall */
|
||||||
context->Esp += nb_args * sizeof(int);
|
context->Esp += nb_args * sizeof(int);
|
||||||
|
|
|
@ -25,8 +25,9 @@
|
||||||
#endif
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "winternl.h"
|
#include "winternl.h"
|
||||||
|
#include "wine/winbase16.h"
|
||||||
#include "syslevel.h"
|
#include "syslevel.h"
|
||||||
#include "stackframe.h"
|
#include "thread.h"
|
||||||
#include "wine/library.h"
|
#include "wine/library.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include "selectors.h"
|
#include "selectors.h"
|
||||||
#include "winnt.h"
|
#include "winnt.h"
|
||||||
#include "wine/server.h"
|
#include "wine/server.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
|
|
||||||
|
|
|
@ -36,12 +36,12 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
#include "winnls.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#include "winioctl.h"
|
#include "winioctl.h"
|
||||||
#include "winnt.h"
|
#include "winnt.h"
|
||||||
#include "msdos.h"
|
#include "msdos.h"
|
||||||
#include "miscemu.h"
|
#include "miscemu.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "wine/server.h"
|
#include "wine/server.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "callback.h"
|
#include "callback.h"
|
||||||
|
@ -334,6 +334,13 @@ LPCSTR VMM_Service_Name[N_VMM_SERVICE] =
|
||||||
#define PCC_NOLIN 0x10000000 /* don't map to any linear address */
|
#define PCC_NOLIN 0x10000000 /* don't map to any linear address */
|
||||||
|
|
||||||
|
|
||||||
|
/* Pop a DWORD from the 32-bit stack */
|
||||||
|
static inline DWORD stack32_pop( CONTEXT86 *context )
|
||||||
|
{
|
||||||
|
DWORD ret = *(DWORD *)context->Esp;
|
||||||
|
context->Esp += sizeof(DWORD);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
HANDLE DEVICE_Open( LPCWSTR filenameW, DWORD access, LPSECURITY_ATTRIBUTES sa )
|
HANDLE DEVICE_Open( LPCWSTR filenameW, DWORD access, LPSECURITY_ATTRIBUTES sa )
|
||||||
{
|
{
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
#include "wine/exception.h"
|
#include "wine/exception.h"
|
||||||
#include "wine/library.h"
|
#include "wine/library.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "excpt.h"
|
#include "excpt.h"
|
||||||
#include "wine/server.h"
|
#include "wine/server.h"
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
#include "message.h"
|
#include "message.h"
|
||||||
#include "winpos.h"
|
#include "winpos.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "stackframe.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(win);
|
WINE_DEFAULT_DEBUG_CHANNEL(win);
|
||||||
|
|
Loading…
Reference in New Issue