VirtualBox

Changeset 49731 in vbox


Ignore:
Timestamp:
Nov 29, 2013 6:19:02 PM (11 years ago)
Author:
vboxsync
Message:

FPU save/restore experiment.

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r49417 r49731  
    21162116
    21172117/** @} */
     2118
     2119/**
     2120 * 32-bit protected mode FSTENV image.
     2121 */
     2122typedef struct X86FSTENV32P
     2123{
     2124    uint16_t    FCW;
     2125    uint16_t    padding1;
     2126    uint16_t    FSW;
     2127    uint16_t    padding2;
     2128    uint16_t    FTW;
     2129    uint16_t    padding3;
     2130    uint32_t    FPUIP;
     2131    uint16_t    FPUCS;
     2132    uint16_t    FOP;
     2133    uint32_t    FPUDP;
     2134    uint16_t    FPUDS;
     2135    uint16_t    padding4;
     2136} X86FSTENV32P;
     2137/** Pointer to a 32-bit protected mode FSTENV image. */
     2138typedef X86FSTENV32P *PX86FSTENV32P;
     2139/** Pointer to a const 32-bit protected mode FSTENV image. */
     2140typedef X86FSTENV32P const *PCX86FSTENV32P;
    21182141
    21192142
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r46940 r49731  
    5757        tstVMMR0CallHost-1 \
    5858        tstVMMR0CallHost-2 \
    59         tstVMREQ
     59        tstVMREQ \
     60        tstX86-FpuSaveRestore
    6061  ifn1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), solaris.x86 solaris.amd64 win.amd64 ) ## TODO: Fix the code.
    61    PROGRAMS  += tstX86-1
     62   PROGRAMS += tstX86-1
    6263  endif
    6364  ifneq ($(KBUILD_TARGET),l4)
     
    256257tstX86-1_SOURCES        = tstX86-1.cpp tstX86-1A.asm
    257258tstX86-1_LIBS           = $(LIB_RUNTIME)
     259
     260tstX86-FpuSaveRestore_TEMPLATE = VBOXR3TSTEXE
     261tstX86-FpuSaveRestore_SOURCES  = tstX86-FpuSaveRestore.cpp tstX86-FpuSaveRestoreA.asm
     262tstX86-FpuSaveRestore_LIBS     = $(LIB_RUNTIME)
    258263
    259264ifdef VBOX_WITH_RAW_MODE
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