- Timestamp:
- Jun 20, 2008 9:01:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r9836 r9837 1198 1198 switch (cbValue) 1199 1199 { 1200 case 1: *(uint8_t *)pu32Value = 0xff; break;1201 case 2: *(uint16_t *)pu32Value = 0xffff; break;1202 case 4: *(uint32_t *)pu32Value = 0xffffffff; break;1203 case 8: *(uint64_t *)pu32Value = 0xffffffffffffffff; break;1200 case 1: *(uint8_t *)pu32Value = UINT8_C(0xff); break; 1201 case 2: *(uint16_t *)pu32Value = UINT16_C(0xffff); break; 1202 case 4: *(uint32_t *)pu32Value = UINT32_C(0xffffffff); break; 1203 case 8: *(uint64_t *)pu32Value = UINT64_C(0xffffffffffffffff); break; 1204 1204 default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=%VGp\n", cbValue, GCPhys)); break; 1205 1205 }
Note:
See TracChangeset
for help on using the changeset viewer.