VirtualBox

Changeset 66104 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Mar 15, 2017 10:06:21 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113985
Message:

VMM: trailing spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/CPUMRCPatchHlp.asm

    r62478 r66104  
    3636
    3737;;
    38 ; Helper for PATMCpuidReplacement. 
    39 ; 
     38; Helper for PATMCpuidReplacement.
     39;
    4040; We have at most 32 bytes of stack to play with, .
    4141;
     
    5959    ;
    6060    ; Perform a binary search looking for leaf with the EAX value.
    61     ;             
    62     mov     edx, [ss:edi + VM.cpum + CPUM.GuestInfo + CPUMINFO.cCpuIdLeaves]   
     61    ;
     62    mov     edx, [ss:edi + VM.cpum + CPUM.GuestInfo + CPUMINFO.cCpuIdLeaves]
    6363    mov     ecx, [ss:edi + VM.cpum + CPUM.GuestInfo + CPUMINFO.paCpuIdLeavesRC]
    6464    test    edx, edx
     
    9898    ; We've to a matching leaf, does the sub-leaf match too?
    9999    ;
    100 cpuid_match_eax:   
     100cpuid_match_eax:
    101101    mov     ecx, [esp + 4]
    102102    and     ecx, [ss:ebx + CPUMCPUIDLEAF.fSubLeafMask]
     
    112112
    113113cpuid_lookup_subleaf_backwards_loop:
    114     cmp     ebx, edx                    ; Is there a leaf before the current? 
     114    cmp     ebx, edx                    ; Is there a leaf before the current?
    115115    jbe     cpuid_subleaf_not_found     ; If not we're out of luck.
    116116    cmp     eax, [ss:ebx - CPUMCPUIDLEAF_size + CPUMCPUIDLEAF.uLeaf]
     
    123123
    124124    ;
    125     ; Search forward until we've got a matching sub-leaf (or not). 
     125    ; Search forward until we've got a matching sub-leaf (or not).
    126126    ;
    127127cpuid_lookup_subleaf_forwards:
    128128    ; Calculate the last leaf address.
    129     mov     edx, [ss:edi + VM.cpum + CPUM.GuestInfo + CPUMINFO.cCpuIdLeaves]   
     129    mov     edx, [ss:edi + VM.cpum + CPUM.GuestInfo + CPUMINFO.cCpuIdLeaves]
    130130    dec     edx
    131131    shl     edx, CPUMCPUIDLEAF_SIZE_LOG2
     
    138138    jne     cpuid_subleaf_not_found
    139139    add     ebx, CPUMCPUIDLEAF_size
    140     cmp     ecx, [ss:ebx + CPUMCPUIDLEAF.uSubLeaf]   
     140    cmp     ecx, [ss:ebx + CPUMCPUIDLEAF.uSubLeaf]
    141141    ja      cpuid_subleaf_lookup
    142142    je      cpuid_fetch
    143    
     143
    144144    ;
    145145    ; Out of range sub-leaves aren't quite as easy and pretty as we emulate them
    146146    ; here, but we do an adequate job.
    147     ;   
     147    ;
    148148cpuid_subleaf_not_found:
    149149    xor     ecx, ecx
     
    189189    mov     eax, [ss:ebx + CPUMCPUIDLEAF.uEax]
    190190    mov     ebx, [ss:ebx + CPUMCPUIDLEAF.uEbx]
    191              
     191
    192192cpuid_done:
    193193    pop     edi
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