VirtualBox

Changeset 103025 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jan 24, 2024 2:21:13 PM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161260
Message:

*: Replaced some ASMMemZero32 uses with RT_BZERO. bugref:10588

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r102987 r103025  
    17321732               Refer Intel spec. 20.3.3 "Software Interrupt Handling in Virtual-8086 mode"
    17331733               esp. Figure 20-5.*/
    1734             ASMMemZero32(pVM->hm.s.vmx.pRealModeTSS, sizeof(*pVM->hm.s.vmx.pRealModeTSS));
     1734            RT_BZERO(pVM->hm.s.vmx.pRealModeTSS, sizeof(*pVM->hm.s.vmx.pRealModeTSS));
    17351735            pVM->hm.s.vmx.pRealModeTSS->offIoBitmap = sizeof(*pVM->hm.s.vmx.pRealModeTSS);
    17361736
     
    21372137    pVM->hm.s.PatchTree          = 0;
    21382138    pVM->hm.s.fTprPatchingActive = false;
    2139     ASMMemZero32(pVM->hm.s.aPatches, sizeof(pVM->hm.s.aPatches));
     2139    RT_BZERO(pVM->hm.s.aPatches, sizeof(pVM->hm.s.aPatches));
    21402140}
    21412141
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