31 lines
636 B
C++
31 lines
636 B
C++
/*
|
|
* \brief Kernel-specific raw-output back end
|
|
* \author Norman Feske
|
|
* \date 2016-03-08
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2016 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__BASE__INTERNAL__RAW_WRITE_STRING_H_
|
|
#define _INCLUDE__BASE__INTERNAL__RAW_WRITE_STRING_H_
|
|
|
|
namespace Okl4 { extern "C" {
|
|
#include <l4/kdebug.h>
|
|
} }
|
|
|
|
namespace Genode {
|
|
|
|
void raw_write_string(char const *str)
|
|
{
|
|
while (char c = *str++)
|
|
Okl4::L4_KDB_PrintChar(c);
|
|
}
|
|
}
|
|
|
|
#endif /* _INCLUDE__BASE__INTERNAL__RAW_WRITE_STRING_H_ */
|