Changeset 59747 in vbox for trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp
- Timestamp:
- Feb 19, 2016 11:18:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp
r57358 r59747 612 612 " ; Padding %#x bytes at %#x\n", cbPadding, uFlatAddr); 613 613 uint8_t const *pb = &g_pbImg[uFlatAddr - g_uBiosFlatBase]; 614 if ( !ASMMemIsAll8(pb, cbPadding, 0))614 if (ASMMemIsZero(pb, cbPadding)) 615 615 return outputPrintf(" times %u db 0\n", cbPadding); 616 616 … … 955 955 /* Trailing zero padding detection. */ 956 956 if ( *pb == '\0' 957 && ASMMemIs All8(pb, RT_MIN(cb, 8), 0) == NULL)958 { 959 void *pv = ASMMem IsAll8(pb, cb, 0);957 && ASMMemIsZero(pb, RT_MIN(cb, 8))) 958 { 959 void *pv = ASMMemFirstNonZero(pb, cb); 960 960 uint32_t cbZeros = pv ? (uint32_t)((uint8_t const *)pv - pb) : cb; 961 961 if (!outputPrintf(" times %#x db 0\n", cbZeros))
Note:
See TracChangeset
for help on using the changeset viewer.