A wrapper to use CR/CRLF terminators depending on the situation.
Try to use the wrapper everywhere.
For now we leave the custom DPRINTF/WPRINTF defined by device models.
Details
Details
- Reviewers
jhb • ian rgrimes grehan - Group Reviewers
bhyve - Commits
- rS358184: MFC r356523
rS356523: bhyve: add wrapper for debug printf statements
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Can you first revert the wrong change, which cleans this up by not doing the deletes of \n\r that was added by that diff.
usr.sbin/bhyve/debug.h | ||
---|---|---|
6 | Please remove the All rights reserved, it is not needed or desired. |
Comment Actions
Removed "all rights reserved" line.
Fix multi-line debug logs in pci_xhci.c, splitting them into multiple PRINTLN() statements.
Comment Actions
A worthwhile change.
usr.sbin/bhyve/debug.h | ||
---|---|---|
16 | You might want to put "THE AUTHOR" here instead of NETAPP :) |
usr.sbin/bhyve/debug.h | ||
---|---|---|
16 | Very good point, thanks :) |