Changeset 15129 in vbox
- Timestamp:
- Dec 8, 2008 7:12:50 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 40528
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevHlp.cpp
r15127 r15129 616 616 int iLastSet = ASMBitLastSetU32(cbRegion); 617 617 Assert(iLastSet > 0); 618 uint32_t cbRegionAligned = 1U <<(iLastSet - 1);618 uint32_t cbRegionAligned = RT_BIT_32(iLastSet - 1); 619 619 if (cbRegion > cbRegionAligned) 620 620 cbRegion = cbRegionAligned * 2; /* round up */
Note:
See TracChangeset
for help on using the changeset viewer.