VirtualBox

Ignore:
Timestamp:
Jul 21, 2009 9:16:52 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: update to wine 1.1.26

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/cpmap.pl

    r19678 r21731  
    1818# License along with this library; if not, write to the Free Software
    1919# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
     20#
     21
     22#
     23# Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
     24# other than GPL or LGPL is available it will apply instead, Sun elects to use only
     25# the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
     26# a choice of LGPL license versions is made available with the language indicating
     27# that LGPLv2 or any later version may be used, or where a choice of which version
     28# of the LGPL is applied is otherwise unspecified.
    2029#
    2130
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/defaults

    r19678 r21731  
    3434# are handled automatically and do not have to be defined here. They can
    3535# still be defined if necessary to override the unicode decomposition.
     36#
     37
     38#
     39# Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
     40# other than GPL or LGPL is available it will apply instead, Sun elects to use only
     41# the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
     42# a choice of LGPL license versions is made available with the language indicating
     43# that LGPLv2 or any later version may be used, or where a choice of which version
     44# of the LGPL is applied is otherwise unspecified.
    3645#
    3746
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/port.c

    r20612 r21731  
    3636
    3737#include "wine/library.h"
    38 #include "wine/pthread.h"
    3938
    40 static struct wine_pthread_functions pthread_functions;
     39/* no longer used, for backwards compatibility only */
     40struct wine_pthread_functions;
     41static void *pthread_functions[8];
    4142
    4243/***********************************************************************
     
    6364 * Switch to the specified stack and call the function.
    6465 */
    65 void DECLSPEC_NORETURN wine_switch_to_stack( void (*func)(void *), void *arg, void *stack );
    66 #if defined(__i386__) && defined(__GNUC__)
    67 __ASM_GLOBAL_FUNC( wine_switch_to_stack,
    68                    "movl 4(%esp),%ecx\n\t"  /* func */
    69                    "movl 8(%esp),%edx\n\t"  /* arg */
    70                    "movl 12(%esp),%esp\n\t"  /* stack */
    71                    "andl $~15,%esp\n\t"
    72                    "subl $12,%esp\n\t"
    73                    "pushl %edx\n\t"
    74                    "xorl %ebp,%ebp\n\t"
    75                    "call *%ecx\n\t"
    76                    "int $3" /* we never return here */ )
    77 #elif defined(__i386__) && defined(_MSC_VER)
    78 __declspec(naked) void wine_switch_to_stack( void (*func)(void *), void *arg, void *stack )
    79 {
    80   __asm mov ecx, 4[esp];
    81   __asm mov edx, 8[esp];
    82   __asm mov esp, 12[esp];
    83   __asm push edx;
    84   __asm xor ebp, ebp;
    85   __asm call [ecx];
    86   __asm int 3;
    87 }
    88 #elif defined(__sparc__) && defined(__GNUC__)
     66#if defined(__sparc__) && defined(__GNUC__)
    8967__ASM_GLOBAL_FUNC( wine_switch_to_stack,
    9068                   "mov %o0, %l0\n\t" /* store first argument */
     
    10280                   "bctrl\n" /* call ctr */
    10381                   "1:\tb 1b") /* loop */
    104 #elif defined(__powerpc__) && defined(__GNUC__)
    105 __ASM_GLOBAL_FUNC( wine_switch_to_stack,
    106                    "mtctr 3\n\t" /* func -> ctr */
    107                    "mr 3,4\n\t" /* args -> function param 1 (r3) */
    108                    "mr 1,5\n\t" /* stack */
    109                    "subi 1, 1, 16\n\t" /* allocate space for the callee */
    110                    "li 0, 0\n\t" /* load zero */
    111                    "stw 0, 0(1)\n\t" /* create a bottom stack frame */
    112                    "bctrl\n\t" /* call ctr */
    113                    "1:\tb 1b") /* loop */
    11482#elif defined(__ALPHA__) && defined(__GNUC__)
    11583__ASM_GLOBAL_FUNC( wine_switch_to_stack,
     
    11987                   "jsr $31,($0),0\n\t" /* call func */
    12088                   "L1:\tbr $31,L1") /* loop */
    121 #elif defined(__x86_64__) && defined(__GNUC__)
    122 __ASM_GLOBAL_FUNC( wine_switch_to_stack,
    123                    "movq %rdi,%rax\n\t" /* func */
    124                    "movq %rsi,%rdi\n\t" /* arg */
    125                    "andq $~15,%rdx\n\t" /* stack */
    126                    "movq %rdx,%rsp\n\t"
    127                    "xorq %rbp,%rbp\n\t"
    128                    "callq *%rax\n\t"    /* call func */
    129                    "int $3")
    13089#else
    13190void DECLSPEC_NORETURN wine_switch_to_stack( void (*func)(void *), void *arg, void *stack )
     
    146105__ASM_GLOBAL_FUNC( wine_call_on_stack,
    147106                   "pushl %ebp\n\t"
     107                   __ASM_CFI(".cfi_adjust_cfa_offset 4\n\t")
     108                   __ASM_CFI(".cfi_rel_offset %ebp,0\n\t")
    148109                   "pushl %esi\n\t"
     110                   __ASM_CFI(".cfi_adjust_cfa_offset 4\n\t")
     111                   __ASM_CFI(".cfi_rel_offset %esi,0\n\t")
     112                   "movl %esp,%esi\n\t"
     113                   __ASM_CFI(".cfi_def_cfa_register %esi\n\t")
    149114                   "movl 12(%esp),%ecx\n\t"  /* func */
    150115                   "movl 16(%esp),%edx\n\t"  /* arg */
    151                    "movl 20(%esp),%esi\n\t"  /* stack */
    152                    "andl $~15,%esi\n\t"
    153                    "subl $12,%esi\n\t"
    154                    "xchgl %esi,%esp\n\t"
     116                   "movl 20(%esp),%eax\n\t"  /* stack */
     117                   "andl $~15,%eax\n\t"
     118                   "subl $12,%eax\n\t"
     119                   "movl %eax,%esp\n\t"
    155120                   "pushl %edx\n\t"
    156121                   "xorl %ebp,%ebp\n\t"
     
    158123                   "movl %esi,%esp\n\t"
    159124                   "popl %esi\n\t"
     125                   __ASM_CFI(".cfi_adjust_cfa_offset -4\n\t")
     126                   __ASM_CFI(".cfi_same_value %esi\n\t")
    160127                   "popl %ebp\n\t"
     128                   __ASM_CFI(".cfi_def_cfa %esp,4\n\t")
     129                   __ASM_CFI(".cfi_same_value %ebp\n\t")
    161130                   "ret" )
    162131#elif defined(__i386__) && defined(_MSC_VER)
     
    180149__ASM_GLOBAL_FUNC( wine_call_on_stack,
    181150                   "pushq %rbp\n\t"
    182                    "pushq %rbx\n\t"
    183                    "movq %rsp,%rbx\n\t"
     151                   ".cfi_adjust_cfa_offset 8\n\t"
     152                   ".cfi_rel_offset %rbp,0\n\t"
     153                   "movq %rsp,%rbp\n\t"
     154                   ".cfi_def_cfa_register %rbp\n\t"
    184155                   "movq %rdi,%rax\n\t" /* func */
    185156                   "movq %rsi,%rdi\n\t" /* arg */
    186157                   "andq $~15,%rdx\n\t" /* stack */
    187158                   "movq %rdx,%rsp\n\t"
    188                    "xorq %rbp,%rbp\n\t"
    189159                   "callq *%rax\n\t"    /* call func */
    190                    "movq %rbx,%rsp\n\t"
    191                    "popq %rbx\n\t"
     160                   "movq %rbp,%rsp\n\t"
     161                   ".cfi_def_cfa_register %rsp\n\t"
    192162                   "popq %rbp\n\t"
     163                   ".cfi_adjust_cfa_offset -8\n\t"
     164                   ".cfi_same_value %rbp\n\t"
    193165                   "ret")
    194166#elif defined(__powerpc__) && defined(__GNUC__)
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/version.c

    r20612 r21731  
    1 const char wine_build[] = "wine-1.1.23";
     1const char wine_build[] = "wine-1.1.26";
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