Changeset 60275 in vbox
- Timestamp:
- Mar 31, 2016 12:07:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp
r60265 r60275 4074 4074 4075 4075 uint16_t iLine; 4076 uint32_t off ;4076 uint32_t offSeg; 4077 4077 if (bRecType == OMF_LINNUM16) 4078 4078 while (offRec + 4 < cbRec) 4079 4079 { 4080 iLine = RT_MAKE_U16(pbRec[offRec + 0], pbRec[offRec + 1]);4081 off 4082 if (!collectOmfAddLine(pOmfStuff, idxSeg, off , iLine, offSrcInfo))4080 iLine = RT_MAKE_U16(pbRec[offRec + 0], pbRec[offRec + 1]); 4081 offSeg = RT_MAKE_U16(pbRec[offRec + 2], pbRec[offRec + 3]); 4082 if (!collectOmfAddLine(pOmfStuff, idxSeg, offSeg, iLine, offSrcInfo)) 4083 4083 return false; 4084 4084 offRec += 4; … … 4087 4087 while (offRec + 6 < cbRec) 4088 4088 { 4089 iLine = RT_MAKE_U16(pbRec[offRec + 0], pbRec[offRec + 1]);4090 off 4091 if (!collectOmfAddLine(pOmfStuff, idxSeg, off , iLine, offSrcInfo))4089 iLine = RT_MAKE_U16(pbRec[offRec + 0], pbRec[offRec + 1]); 4090 offSeg = RT_MAKE_U32_FROM_U8(pbRec[offRec + 2], pbRec[offRec + 3], pbRec[offRec + 4], pbRec[offRec + 5]); 4091 if (!collectOmfAddLine(pOmfStuff, idxSeg, offSeg, iLine, offSrcInfo)) 4092 4092 return false; 4093 4093 offRec += 6; … … 4248 4248 4249 4249 /* Emit data for each source file. */ 4250 for ( uint32_tj = 0; j < pSegLines->cFiles; j++)4250 for (j = 0; j < pSegLines->cFiles; j++) 4251 4251 { 4252 4252 uint32_t const cbPairs = pSegLines->paFiles[j].cPairs * sizeof(RTCV8LINEPAIR);
Note:
See TracChangeset
for help on using the changeset viewer.