mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 15:43:56 +00:00
Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
This commit is contained in:
31
repos/base-linux/src/base/console/core_console.h
Normal file
31
repos/base-linux/src/base/console/core_console.h
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* \brief Printf backend using Linux stdout
|
||||
* \author Norman Feske
|
||||
* \date 2006-04-08
|
||||
*
|
||||
* This console back-end should only be used by core.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2006-2013 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.
|
||||
*/
|
||||
|
||||
/* Genode includes */
|
||||
#include <base/console.h>
|
||||
|
||||
/* Linux syscall bindings */
|
||||
#include <linux_syscalls.h>
|
||||
|
||||
namespace Genode {
|
||||
|
||||
class Core_console : public Console
|
||||
{
|
||||
protected:
|
||||
|
||||
void _out_char(char c) { lx_write(1, &c, sizeof(c)); }
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user