VirtualBox

Changeset 9732 in vbox


Ignore:
Timestamp:
Jun 16, 2008 3:52:35 PM (17 years ago)
Author:
vboxsync
Message:

gdtr and idtr were cut off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r9653 r9732  
    21382138
    21392139    pCtx->gdtr.cbGdt    = pVM->rem.s.Env.gdt.limit;
    2140     if (pCtx->gdtr.pGdt != (uint32_t)pVM->rem.s.Env.gdt.base)
    2141     {
    2142         pCtx->gdtr.pGdt     = (uint32_t)pVM->rem.s.Env.gdt.base;
     2140    if (pCtx->gdtr.pGdt != pVM->rem.s.Env.gdt.base)
     2141    {
     2142        pCtx->gdtr.pGdt = pVM->rem.s.Env.gdt.base;
    21432143        STAM_COUNTER_INC(&gStatREMGDTChange);
    21442144        VM_FF_SET(pVM, VM_FF_SELM_SYNC_GDT);
     
    21462146
    21472147    pCtx->idtr.cbIdt    = pVM->rem.s.Env.idt.limit;
    2148     if (pCtx->idtr.pIdt != (uint32_t)pVM->rem.s.Env.idt.base)
    2149     {
    2150         pCtx->idtr.pIdt     = (uint32_t)pVM->rem.s.Env.idt.base;
     2148    if (pCtx->idtr.pIdt != pVM->rem.s.Env.idt.base)
     2149    {
     2150        pCtx->idtr.pIdt = pVM->rem.s.Env.idt.base;
    21512151        STAM_COUNTER_INC(&gStatREMIDTChange);
    21522152        VM_FF_SET(pVM, VM_FF_TRPM_SYNC_IDT);
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