VirtualBox

Changeset 48155 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Aug 29, 2013 12:58:51 PM (11 years ago)
Author:
vboxsync
Message:

wined3d: fpu setup for amd64

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/Makefile.kmk

    r47061 r48155  
    319319        vbox/libWineStub/debug.c \
    320320        d3d9/d3d9xpdm.def
     321VBoxD3D9_SOURCES.amd64 = d3d9/vboxport.asm
    321322VBoxD3D9_LIBS             = \
    322323        $(PATH_STAGE_LIB)/wined3d$(VBOX_SUFF_LIB)
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/device.c

    r48073 r48155  
    37143714};
    37153715
     3716#if defined(VBOX) && defined(RT_ARCH_AMD64)
     3717DECLASM(uint16_t) VBoxAsmFpuFCWGet();
     3718DECLASM(void) VBoxAsmFpuFCWSet(uint16_t u16FCW);
     3719#endif
     3720
    37163721static void setup_fpu(void)
    37173722{
     
    37263731    cw = (cw & ~0xf3f) | 0x3f;
    37273732    __asm fldcw cw;
    3728 #elif defined(RT_ARCH_AMD64)
    3729     /* @todo: impl*/
     3733#elif defined(VBOX) && defined(RT_ARCH_AMD64)
     3734    uint16_t cw = VBoxAsmFpuFCWGet();
     3735    cw = (cw & ~0xf3f) | 0x3f;
     3736    VBoxAsmFpuFCWSet(cw);
    37303737#else
    37313738    FIXME("FPU setup not implemented for this platform.\n");
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