History log of /haiku/src/add-ons/kernel/drivers/common/dprintf.cpp
Revision Date Author Comments
# 8d794763 16-Jan-2018 Jérôme Duval <jerome.duval@gmail.com>

dprintf: remove redondant user address check.

check user_memcpy success.


# d9e4ef3f 08-Jan-2018 Jérôme Duval <jerome.duval@gmail.com>

dprintf: use user_memcpy/user_strlcpy to read the user buffer.

* also check the user buffer address.


# 7f61f501 07-May-2007 Axel Dörfler <axeld@pinc-software.de>

We now respond to TCGETA to let isatty() think we're a terminal which caused our libroot to use unbuffered I/O.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21065 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f51fb469 03-Apr-2006 Michael Lotz <mmlr@mlotz.ch>

Corrected the repeat checks (did not compare the right buffers) and added a length argument to debug_puts() to safe the strlen in the syslog case. Also removed some leftover.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16991 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9a63135f 29-May-2005 Axel Dörfler <axeld@pinc-software.de>

Cleanup of the debug stuff, prepared for blue screen debugging.
kernel_debugger() didn't do enough before; panic() did all the work - but
since the former is a public function as well, I moved all the functionality
to it. Also fixed a possible buffer overrun in panic().
Renamed dbg_* to debug_*.
"serial_debug_port" setting did not ignore negative values.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12889 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 60a463c6 15-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added /dev/dprintf driver. It's probably quite different from R5's, but nevertheless useful for debugging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10757 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f61f501cf64ee47a05d846d38437f671d0a7918 07-May-2007 Axel Dörfler <axeld@pinc-software.de>

We now respond to TCGETA to let isatty() think we're a terminal which caused our libroot to use unbuffered I/O.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21065 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f51fb4696c63d368e8444fb9baa9126caf7b0d4c 03-Apr-2006 Michael Lotz <mmlr@mlotz.ch>

Corrected the repeat checks (did not compare the right buffers) and added a length argument to debug_puts() to safe the strlen in the syslog case. Also removed some leftover.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16991 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9a63135f7c8ef1cbcb0893a118d4f4349c8f29c8 29-May-2005 Axel Dörfler <axeld@pinc-software.de>

Cleanup of the debug stuff, prepared for blue screen debugging.
kernel_debugger() didn't do enough before; panic() did all the work - but
since the former is a public function as well, I moved all the functionality
to it. Also fixed a possible buffer overrun in panic().
Renamed dbg_* to debug_*.
"serial_debug_port" setting did not ignore negative values.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12889 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 60a463c6739ca7240f62f0b5f697c081cfdf6f9c 15-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added /dev/dprintf driver. It's probably quite different from R5's, but nevertheless useful for debugging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10757 a95241bf-73f2-0310-859d-f6bbb57e9c96