~ubuntu-branches/ubuntu/natty/virtualbox-ose/natty-updates

« back to all changes in this revision

Viewing changes to src/recompiler/target-i386/op_helper.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-03-11 17:16:37 UTC
  • mfrom: (0.3.4 upstream) (0.4.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100311171637-43z64ia3ccpj8vqn
Tags: 3.1.4-dfsg-2ubuntu1
* Merge from Debian unstable (LP: #528561), remaining changes:
  - VirtualBox should go in Accessories, not in System tools (LP: #288590)
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Add Launchpad integration
    - debian/control
    - debian/lpi-bug.xpm
    - debian/patches/u02-lp-integration.dpatch
  - Replace *-source packages with transitional packages for *-dkms
* Fix crash in vboxvideo_drm with kernel 2.6.33 / backported drm code
  (LP: #535297)
* Add a list of linux-headers packages to the apport hook
* Update debian/patches/u02-lp-integration.dpatch with a
  DEP-3 compliant header
* Add ${misc:Depends} to virtualbox-ose-source and virtualbox-ose-guest-source
  Depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
523
523
        stl_kernel(env->tr.base + (0x28 + 7 * 4), EDI);
524
524
        for(i = 0; i < 6; i++)
525
525
            stw_kernel(env->tr.base + (0x48 + i * 4), env->segs[i].selector);
 
526
#ifdef VBOX
 
527
        /* Must store the ldt as it gets reloaded and might have been changed. */
 
528
        stw_kernel(env->tr.base + 0x60, env->ldt.selector);
 
529
#endif
526
530
#if defined(VBOX) && defined(DEBUG)
527
531
        printf("TSS 32 bits switch\n");
528
532
        printf("Saving CS=%08X\n", env->segs[R_CS].selector);
541
545
        stw_kernel(env->tr.base + (0x12 + 7 * 2), EDI);
542
546
        for(i = 0; i < 4; i++)
543
547
            stw_kernel(env->tr.base + (0x22 + i * 4), env->segs[i].selector);
 
548
#ifdef VBOX
 
549
        /* Must store the ldt as it gets reloaded and might have been changed. */
 
550
        stw_kernel(env->tr.base + 0x2a, env->ldt.selector);
 
551
#endif
544
552
    }
545
553
 
546
554
    /* now if an exception occurs, it will occurs in the next task