VirtualBox

Changeset 12657 in vbox for trunk/src/VBox/VMM/VMMGC


Ignore:
Timestamp:
Sep 22, 2008 6:29:06 PM (16 years ago)
Author:
vboxsync
Message:

#1865: CPUM. Also added missing aliasing for DR4&5 to the guest DRx setter and getter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/CPUMGCA.asm

    r9291 r12657  
    11; $Id$
    22;; @file
    3 ;
    43; CPUM - Guest Context Assembly Routines.
     4;
    55
    66; Copyright (C) 2006-2007 Sun Microsystems, Inc.
     
    187187    TRPM_NP_GP_HANDLER NAME(cpumGCHandleNPAndGP), CPUM_HANDLER_IRET
    188188    iret
    189 
    190189ENDPROC CPUMGCCallGuestTrapHandler
     190
    191191
    192192;;
     
    195195;
    196196; @param   pRegFrame   Original trap/interrupt context
    197 ; 
     197;
    198198; This function does not return!
    199 ; 
     199;
    200200;CPUMGCDECL(void) CPUMGCCallV86Code(PCPUMCTXCORE pRegFrame);
    201201align 16
     
    204204
    205205    ; construct iret stack frame
    206     push    dword [ebp + CPUMCTXCORE.gs] 
    207     push    dword [ebp + CPUMCTXCORE.fs] 
    208     push    dword [ebp + CPUMCTXCORE.ds] 
    209     push    dword [ebp + CPUMCTXCORE.es] 
    210     push    dword [ebp + CPUMCTXCORE.ss] 
    211     push    dword [ebp + CPUMCTXCORE.esp] 
    212     push    dword [ebp + CPUMCTXCORE.eflags] 
    213     push    dword [ebp + CPUMCTXCORE.cs] 
    214     push    dword [ebp + CPUMCTXCORE.eip] 
     206    push    dword [ebp + CPUMCTXCORE.gs]
     207    push    dword [ebp + CPUMCTXCORE.fs]
     208    push    dword [ebp + CPUMCTXCORE.ds]
     209    push    dword [ebp + CPUMCTXCORE.es]
     210    push    dword [ebp + CPUMCTXCORE.ss]
     211    push    dword [ebp + CPUMCTXCORE.esp]
     212    push    dword [ebp + CPUMCTXCORE.eflags]
     213    push    dword [ebp + CPUMCTXCORE.cs]
     214    push    dword [ebp + CPUMCTXCORE.eip]
    215215
    216216    ;
     
    235235    iret
    236236ENDPROC CPUMGCCallV86Code
     237
    237238
    238239;;
     
    384385ENDPROC     CPUMGCResumeGuestV86
    385386
    386 
    387 
    388 
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