VirtualBox

Changeset 42452 in vbox


Ignore:
Timestamp:
Jul 30, 2012 3:16:36 PM (12 years ago)
Author:
vboxsync
Message:

CPUMAllRegs.cpp: Documented some return values on a few CPUMSetGuest* methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r42427 r42452  
    546546    pVCpu->cpum.s.Guest.gdtr.pGdt  = GCPtrBase;
    547547    pVCpu->cpum.s.fChanged |= CPUM_CHANGED_GDTR;
    548     return VINF_SUCCESS;
     548    return VINF_SUCCESS; /* formality, consider it void. */
    549549}
    550550
     
    554554    pVCpu->cpum.s.Guest.idtr.pIdt  = GCPtrBase;
    555555    pVCpu->cpum.s.fChanged |= CPUM_CHANGED_IDTR;
    556     return VINF_SUCCESS;
     556    return VINF_SUCCESS; /* formality, consider it void. */
    557557}
    558558
     
    561561    pVCpu->cpum.s.Guest.tr.Sel  = tr;
    562562    pVCpu->cpum.s.fChanged |= CPUM_CHANGED_TR;
    563     return VINF_SUCCESS;
     563    return VINF_SUCCESS; /* formality, consider it void. */
    564564}
    565565
     
    571571    pVCpu->cpum.s.Guest.ldtr.fFlags   = 0;
    572572    pVCpu->cpum.s.fChanged  |= CPUM_CHANGED_LDTR;
    573     return VINF_SUCCESS;
     573    return VINF_SUCCESS; /* formality, consider it void. */
    574574}
    575575
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