~ubuntu-branches/ubuntu/vivid/virtualbox-ose/vivid

« back to all changes in this revision

Viewing changes to src/VBox/VMM/VMMR0/VMMR0JmpA-x86.asm

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-10-13 23:06:00 UTC
  • mfrom: (0.3.2 upstream) (0.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20091013230600-xhu2pwizq0wo63l9
Tags: 3.0.8-dfsg-1ubuntu1
* Merge from debian unstable (LP: #444812), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
* Try to remove existing dkms modules before adding the new modules
  (LP: #434503)
  - debian/virtualbox-ose-source.postinst
  - debian/virtualbox-ose-guest-source.postinst
* Don't fail if dkms modules have already been removed
  - debian/virtualbox-ose-source.prerm
  - debian/virtualbox-ose-guest-source.prerm

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    mov     [xDX + VMMR0JMPBUF.eip], xAX
70
70
    lea     ecx, [esp + 4]              ; (used in resume)
71
71
    mov     [xDX + VMMR0JMPBUF.esp], ecx
 
72
    pushf
 
73
    pop     xAX
 
74
    mov     [xDX + VMMR0JMPBUF.eflags], xAX
72
75
 
73
76
    ;
74
77
    ; If we're not in a ring-3 call, call pfn and return.
174
177
    mov     xCX, [xDX + VMMR0JMPBUF.eip]
175
178
    and     dword [xDX + VMMR0JMPBUF.eip], byte 0 ; used for valid check.
176
179
    mov     esp, [xDX + VMMR0JMPBUF.esp]
 
180
    push    dword [xDX + VMMR0JMPBUF.eflags]
 
181
    popf
177
182
    jmp     xCX
178
183
 
179
184
.entry_error:
351
356
    mov     ebp, [xDX + VMMR0JMPBUF.ebp]
352
357
    mov     ecx, [xDX + VMMR0JMPBUF.eip]
353
358
    mov     esp, [xDX + VMMR0JMPBUF.esp]
 
359
    push    dword [xDX + VMMR0JMPBUF.eflags]
 
360
    popf
354
361
    jmp     ecx
355
362
 
356
363
    ;