genode/repos/ports-foc/include/32-bit/l4/util/l4_macros.h
Norman Feske ca971bbfd8 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
2014-05-14 16:08:00 +02:00

22 lines
498 B
C

/*
* \brief L4Re functions needed by L4Linux
* \author Stefan Kalkowski
* \date 2011-03-17
*/
/*
* Copyright (C) 2011-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.
*/
#ifndef _L4__UTIL__L4_MACROS_H_
#define _L4__UTIL__L4_MACROS_H_
#define l4util_idfmt "%lx"
#define l4_addr_fmt "%08lx"
#define l4util_idstr(tid) (tid >> L4_CAP_SHIFT)
#endif /* _L4__UTIL__L4_MACROS_H_ */