~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-17 23:23:09 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20111017232309-kzm6841lzk61ranj
Tags: 4.1.4-dfsg-1
* New upstream release.
  - Fixes missing icons when using pt_BR locale. (Closes: #507188)
  - Fixes guest additions download url. (Closes: #637349; LP: #840668)
* Refresh patches.
* Drop the vboxmouse x11 driver. The mouse integration is now completely
  handled by the kernel module.
* Restrict dh_pycentral to the virtualbox binary package.
* Merge changes from the Ubuntu package but use them only when built
  on Ubuntu:
  - Add an Apport hook.
  - Add vboxguest modalias to the package control field.
* Pass KBUILD_VERBOSE=2 to kmk.
* Add 36-fix-text-mode.patch to fix text mode when using the vboxvideo driver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: CPUMAllRegs.cpp 37136 2011-05-18 14:45:47Z vboxsync $ */
 
1
/* $Id: CPUMAllRegs.cpp $ */
2
2
/** @file
3
3
 * CPUM - CPU Monitor(/Manager) - Getters and Setters.
4
4
 */
2340
2340
         *
2341
2341
         * This only seems to apply to AMD-V; in the VT-x case we *do* need to look
2342
2342
         * at SS. (ACP2 regression during install after a far call to ring 2)
 
2343
         * 
 
2344
         * Seems it isn't necessiarly true for newer AMD-V CPUs even, we have
 
2345
         * to move the VMCB.guest.u8CPL into Attr.n.u2Dpl to make this (and
 
2346
         * other) code work right.  So, forget CS.DPL, always use SS.DPL.
2343
2347
         */
2344
2348
        if (RT_LIKELY(pVCpu->cpum.s.Guest.cr0 & X86_CR0_PE))
2345
2349
        {