VirtualBox

Changeset 11901 in vbox for trunk/src


Ignore:
Timestamp:
Sep 1, 2008 9:10:21 AM (16 years ago)
Author:
vboxsync
Message:

Number of registers was different in version 1.6. Correct the old structure.

File:
1 edited

Legend:

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

    r11813 r11901  
    633633} SegmentCache_Ver16;
    634634
     635#define CPU_NB_REGS_VER16 8
     636
    635637/* Version 1.6 structure; just for loading the old saved state */
    636638typedef struct CPUX86State_Ver16 {
     
    641643
    642644    /* standard registers */
    643     uint32_t regs[CPU_NB_REGS];
     645    uint32_t regs[CPU_NB_REGS_VER16];
    644646    uint32_t eip;
    645647    uint32_t eflags; /* eflags register. During CPU emulation, CC
     
    696698    float_status sse_status;
    697699    uint32_t mxcsr;
    698     XMMReg xmm_regs[CPU_NB_REGS];
     700    XMMReg xmm_regs[CPU_NB_REGS_VER16];
    699701    XMMReg xmm_t0;
    700702    MMXReg mmx_t0;
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