L4Re Operating System Framework
Interface and Usage Documentation
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
h
i
k
m
o
p
r
s
t
u
w
Functions
a
b
c
k
m
r
s
t
w
Variables
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
_
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
i
m
n
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
w
x
Related Symbols
Files
File List
Globals
All
_
a
b
d
e
f
g
l
m
n
o
p
r
s
Functions
_
b
e
f
g
l
o
p
Typedefs
e
g
l
p
Enumerations
e
l
p
Enumerator
a
d
e
f
l
n
p
r
s
Macros
_
e
g
l
m
p
s
Examples
▼
L4Re Operating System Framework
Overview
►
Introduction
►
Tutorial
►
Programming for L4Re
►
L4Re Servers
uvmm_dtg The device tree generator for Uvmm
Bootstrap, the L4 kernel bootstrapper
Deprecated List
►
Topics
►
Namespaces
►
Data Structures
▼
Files
►
File List
►
Globals
►
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
debug.h
1
/*
2
* Copyright (C) 2018, 2024 Kernkonzept GmbH.
3
* Author(s): Sarah Hoffmann <sarah.hoffmann@kernkonzept.com>
4
*
5
* License: see LICENSE.spdx (in this directory or the directories above)
6
*/
7
#pragma once
8
9
#include <l4/re/util/debug>
10
11
namespace
Block_device {
12
13
class
Err :
public
L4Re::Util::Err
14
{
15
public
:
16
explicit
17
Err(Level l = Normal) :
L4Re
::Util::Err(l,
""
) {}
18
};
19
20
class
Dbg :
public
L4Re::Util::Dbg
21
{
22
enum
Level
23
{
24
Blk_warn = 1,
25
Blk_info = 2,
26
Blk_trace = 4,
27
Blk_steptrace = 8
28
};
29
30
public
:
31
Dbg(
unsigned
long
l = Blk_info,
char
const
*subsys =
""
)
32
:
L4Re
::Util::Dbg(l,
"libblock"
, subsys) {}
33
34
static
Dbg warn(
char
const
*subsys =
""
)
35
{
return
Dbg(Blk_warn, subsys); }
36
37
static
Dbg info(
char
const
*subsys =
""
)
38
{
return
Dbg(Blk_info, subsys); }
39
40
static
Dbg trace(
char
const
*subsys =
""
)
41
{
return
Dbg(Blk_trace, subsys); }
42
43
static
Dbg steptrace(
char
const
*subsys =
""
)
44
{
return
Dbg(Blk_steptrace, subsys); }
45
};
46
47
}
// name space
48
L4Re
L4Re C++ Interfaces.
Definition
cmd_control:14
l4
libblock-device
debug.h
Generated on Mon Mar 3 2025 23:08:49 for L4Re Operating System Framework by
1.9.8