/* * (c) 2008-2009 Alexander Warg , * Björn Döbel * economic rights: Technische Universität Dresden (Germany) * * This file is part of TUD:OS and distributed under the terms of the * GNU General Public License 2. * Please see the COPYING-GPL-2 file for details. */ #pragma once #include class Err : public L4Re::Util::Err { public: explicit Err(Level l = Normal) : L4Re::Util::Err(l, "MOE") {} }; class Dbg : public L4Re::Util::Dbg { public: enum Level { Info = 1, Warn = 2, Boot = 4, Server = 0x10, Exceptions = 0x20, Loader = 0x80, Parser = 0x100, Boot_fs = 0x200, Name_space = 0x400, }; struct Dbg_bits { char const *n; unsigned long bits; }; static Dbg_bits dbg_bits[]; explicit Dbg(unsigned long mask, char const *subs = 0) : L4Re::Util::Dbg(mask, "MOE", subs) {} };