VirtualBox

Ignore:
Timestamp:
Aug 5, 2012 4:26:25 PM (12 years ago)
Author:
vboxsync
Message:

REM: Initial changes to make it work (seemingly) with MinGW-w64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/tcg/i386/tcg-target.h

    r37689 r42601  
    7373#define TCG_REG_CALL_STACK TCG_REG_ESP
    7474#define TCG_TARGET_STACK_ALIGN 16
     75#if defined(VBOX) && defined(__MINGW64__)
     76# define TCG_TARGET_CALL_STACK_OFFSET 32 /* 4 qword argument/register spill zone */
     77#else
    7578#define TCG_TARGET_CALL_STACK_OFFSET 0
     79#endif
    7680
    7781/* optional instructions */
     
    126130#endif
    127131
    128 static inline void flush_icache_range(unsigned long start, unsigned long stop)
     132static inline void flush_icache_range(uintptr_t start, uintptr_t stop)
    129133{
    130134}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette