- Timestamp:
- Jan 24, 2024 2:21:13 PM (8 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
include/iprt/asm-mem.h (modified) (1 diff)
-
include/iprt/asm.h (modified) (3 diffs)
-
src/VBox/Devices/Network/SrvIntNetR0.cpp (modified) (1 diff)
-
src/VBox/VMM/VMMAll/APICAll.cpp (modified) (2 diffs)
-
src/VBox/VMM/VMMR3/HM.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm-mem.h
r103017 r103025 132 132 DECLINLINE(void) ASMMemFill32(volatile void RT_FAR *pv, size_t cb, uint32_t u32) RT_NOTHROW_DEF 133 133 { 134 Assert(!(cb & 3)); 135 Assert(cb > 0); 134 136 # if RT_INLINE_ASM_USES_INTRIN 135 137 # ifdef RT_ARCH_AMD64 -
trunk/include/iprt/asm.h
r103006 r103025 6226 6226 #endif 6227 6227 6228 /** @todo Move ASMByteSwapU16, ASMByteSwapU32 and ASMByteSwapU64 in their own 6229 * header as it's a common reason for including asm.h. */ 6230 6228 6231 6229 6232 /** … … 6349 6352 6350 6353 6351 /** @defgroup grp_inline_bits Bit Operations 6354 /** @defgroup grp_inline_bits Bitmap Operations 6355 * 6356 * @todo Move these into a separate header, with standard IPRT prefix 6357 * (RTBitmapXxx). Move the more complex (searched) stuff into C source 6358 * files. 6359 * 6352 6360 * @{ 6353 6361 */ … … 7460 7468 #endif 7461 7469 7470 /** @} */ 7471 7472 7473 /** @defgroup grp_inline_bits Bit Operations 7474 * @{ 7475 */ 7462 7476 7463 7477 /** -
trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp
r98103 r103025 5220 5220 if (RT_SUCCESS(rc)) 5221 5221 { 5222 ASMMemZero32(pIf->pIntBufDefault, cbBuf); /** @todo I thought I specified these buggers as clearing the memory... */5222 RT_BZERO(pIf->pIntBufDefault, cbBuf); /** @todo I thought I specified these buggers as clearing the memory... */ 5223 5223 5224 5224 pIf->pIntBuf = pIf->pIntBufDefault; -
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r99739 r103025 2371 2371 * Initialize the APIC ID register to xAPIC format. 2372 2372 */ 2373 ASMMemZero32(&pXApicPage->id, sizeof(pXApicPage->id));2373 RT_BZERO(&pXApicPage->id, sizeof(pXApicPage->id)); 2374 2374 pXApicPage->id.u8ApicId = pVCpu->idCpu; 2375 2375 } … … 2488 2488 */ 2489 2489 PX2APICPAGE pX2ApicPage = VMCPU_TO_X2APICPAGE(pVCpu); 2490 ASMMemZero32(&pX2ApicPage->id, sizeof(pX2ApicPage->id));2490 RT_BZERO(&pX2ApicPage->id, sizeof(pX2ApicPage->id)); 2491 2491 pX2ApicPage->id.u32ApicId = pVCpu->idCpu; 2492 2492 -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r102987 r103025 1732 1732 Refer Intel spec. 20.3.3 "Software Interrupt Handling in Virtual-8086 mode" 1733 1733 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)); 1735 1735 pVM->hm.s.vmx.pRealModeTSS->offIoBitmap = sizeof(*pVM->hm.s.vmx.pRealModeTSS); 1736 1736 … … 2137 2137 pVM->hm.s.PatchTree = 0; 2138 2138 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)); 2140 2140 } 2141 2141
Note:
See TracChangeset
for help on using the changeset viewer.

