VirtualBox

Changeset 1911 in vbox for trunk/src/recompiler/new


Ignore:
Timestamp:
Apr 4, 2007 8:21:53 AM (18 years ago)
Author:
vboxsync
Message:

Let's not forget to check for ring 1 selectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/new/target-i386/helper.c

    r1588 r1911  
    25902590                goto return_to_vm86;
    25912591        }
     2592#ifdef VBOX
     2593        if ((new_cs & 0x3) == 1 && (env->state & CPU_RAW_RING0))
     2594        {
     2595#ifdef DEBUG
     2596            printf("RPL 1 -> new_cs %04X -> %04X\n", new_cs, new_cs & 0xfffc);
     2597#endif
     2598            new_cs = new_cs & 0xfffc;
     2599        }
     2600#endif
    25922601    } else {
    25932602        /* 16 bits */
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