Changeset 18536 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 30, 2009 12:26:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/VBox/logbackdoor.cpp
r10479 r18536 87 87 RTDECL(void) RTLogWriteUser(const char *pch, size_t cb) 88 88 { 89 const uint8_t *pu8; 90 for (pu8 = (const uint8_t *)pch; cb-- > 0; pu8++) 89 const uint8_t *pau8 = (const uint8_t *)pch; 90 if (cb > 1) 91 ASMOutStrU8(RTLOG_DEBUG_PORT, pau8, cb); 92 else if (cb) 91 93 ASMOutU8(RTLOG_DEBUG_PORT, *pu8); 92 /** @todo a rep outs could be more efficient, I don't know...93 * @code94 * __asm {95 * mov ecx, [cb]96 * mov esi, [pch]97 * mov dx, RTLOG_DEFAULT_PORT98 * rep outsb99 * }100 * @endcode101 */102 94 } 103 95
Note:
See TracChangeset
for help on using the changeset viewer.