Changeset 104844 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jun 5, 2024 1:59:01 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImplConfigX86.cpp
r104842 r104844 446 446 uint32_t cVRamMBsPowerOfTwo = RT_MIN(cVRamMBs, 1024); /* 1GB is the absolute max given PCI alignment. */ 447 447 if (!RT_IS_POWER_OF_TWO(cVRamMBsPowerOfTwo)) 448 cVRamMBsPowerOfTwo = RT_BIT_32(ASMBit FirstSetU32(cVRamMBsPowerOfTwo)); /* returns [1..32] */448 cVRamMBsPowerOfTwo = RT_BIT_32(ASMBitLastSetU32(cVRamMBsPowerOfTwo)); /* returns [1..32] */ 449 449 if (cbRamHole / _1M < cVRamMBsPowerOfTwo * 2) 450 450 {
Note:
See TracChangeset
for help on using the changeset viewer.