L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
l4_macros.h
Go to the documentation of this file.
1
/*****************************************************************************/
8
/*
9
* (c) 2000-2009 Author(s)
10
* economic rights: Technische Universität Dresden (Germany)
11
* License: see LICENSE.spdx (in this directory or the directories above)
12
*/
13
14
/*****************************************************************************/
15
16
#pragma once
17
18
#include <l4/util/arch/l4_macros.h>
19
20
/*****************************************************************************
21
*** generic macros
22
*****************************************************************************/
23
24
/* generate L4 thread id printf string */
25
#ifndef l4util_idstr
26
# define l4util_idfmt "%lx"
27
# define l4util_idfmt_adjust "%04lx"
28
# define l4util_idstr(tid) (tid >> L4_CAP_SHIFT)
29
#endif
30
l4
util
l4_macros.h
Generated on
for L4Re Operating System Framework by
1.15.0