VirtualBox

Changeset 55059 in vbox


Ignore:
Timestamp:
Mar 31, 2015 11:05:42 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99348
Message:

CPUMR[0C]A.asm: Fixed 32-bit breakage. Forgot to update the pCpumCpu parameter location.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/CPUMR0A.asm

    r55048 r55059  
    1 ; $Id$
     1 ; $Id$
    22;; @file
    33; CPUM - Ring-0 Assembly Routines (supporting HM and IEM).
     
    189189;
    190190; @returns  0
    191 ; @param    pCpumCpu  x86:[esp+4] gcc:rdi msc:rcx     CPUMCPU pointer
     191; @param    pCpumCpu  x86:[ebp+8] gcc:rdi msc:rcx     CPUMCPU pointer
    192192;
    193193align 16
     
    205205 %define pXState    r10
    206206%else
     207        push    ebp
     208        mov     ebp, esp
    207209        push    ebx
    208210        push    esi
    209         mov     ebx, dword [esp + 4]
     211        mov     ebx, dword [ebp + 8]
    210212 %define pCpumCpu ebx
    211213 %define pXState  esi
     
    271273        pop     esi
    272274        pop     ebx
     275        leave
    273276%endif
    274277        xor     eax, eax
     
    306309;
    307310; @returns  VINF_SUCCESS (0) in EAX
    308 ; @param    pCpumCpu  x86:[esp+4] gcc:rdi msc:rcx     CPUMCPU pointer
     311; @param    pCpumCpu  x86:[ebp+8] gcc:rdi msc:rcx     CPUMCPU pointer
    309312;
    310313align 16
     
    322325 %define pXState    r10
    323326%else
     327        push    ebp
     328        mov     ebp, esp
    324329        push    ebx
    325330        push    esi
    326         mov     ebx, dword [esp + 4]
     331        mov     ebx, dword [ebp + 8]
    327332 %define pCpumCpu ebx
    328333 %define pXState  esi
     
    360365        pop     esi
    361366        pop     ebx
     367        leave
    362368%endif
    363369        xor     eax, eax
     
    387393;
    388394; @returns  VINF_SUCCESS (0) in eax.
    389 ; @param    pCpumCpu  x86:[esp+4] gcc:rdi msc:rcx     CPUMCPU pointer
     395; @param    pCpumCpu  x86:[ebp+8] gcc:rdi msc:rcx     CPUMCPU pointer
    390396;
    391397align 16
     
    403409 %define pXState    r10
    404410%else
     411        push    ebp
     412        mov     ebp, esp
    405413        push    ebx
    406414        push    esi
    407         mov     ebx, dword [esp + 4]
     415        mov     ebx, dword [ebp + 8]
    408416 %define pCpumCpu ebx
    409417 %define pXState  esi
     
    457465        pop     esi
    458466        pop     ebx
     467        leave
    459468%endif
    460469        xor     eax, eax
     
    490499;
    491500; @returns  0
    492 ; @param    pCpumCpu  x86:[esp+4] gcc:rdi msc:rcx     CPUMCPU pointer
     501; @param    pCpumCpu  x86:[ebp+8] gcc:rdi msc:rcx     CPUMCPU pointer
    493502;
    494503align 16
     
    506515 %define pXState    r10
    507516%else
     517        push    ebp
     518        mov     ebp, esp
    508519        push    ebx
    509520        push    esi
    510         mov     ebx, dword [esp + 4]
     521        mov     ebx, dword [ebp + 8]
    511522 %define pCpumCpu ebx
    512523 %define pXState  esi
     
    548559        pop     esi
    549560        pop     ebx
     561        leave
    550562%endif
    551563        xor     eax, eax
  • trunk/src/VBox/VMM/VMMRC/CPUMRCA.asm

    r55054 r55059  
    5858; @returns  0 if caller should continue execution.
    5959; @returns  VINF_EM_RAW_GUEST_TRAP if a guest trap should be generated.
    60 ; @param    pCPUMCPU  x86:[esp+4] gcc:rdi msc:rcx     CPUMCPU pointer
     60; @param    pCpumCpu    [ebp+8]     Pointer to the CPUMCPU.
    6161;
    6262align 16
    6363BEGINPROC   cpumHandleLazyFPUAsm
     64        push    ebp
     65        mov     ebp, esp
    6466        push    ebx
    6567        push    esi
    66         mov     ebx, [esp + 4]
     68        mov     ebx, [ebp + 8]
    6769%define pCpumCpu ebx
    6870%define pXState  esi
     
    168170        pop     ebx
    169171        mov     eax, VINF_EM_RAW_GUEST_TRAP
     172        leave
    170173        ret
    171174ENDPROC     cpumHandleLazyFPUAsm
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette