// vi:ft=cpp /** * \file * \brief Protocol definitions */ /* * (c) 2008-2009 Adam Lackorzynski , * 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. * * As a special exception, you may use this file as part of a free software * library without restriction. Specifically, if other files instantiate * templates or use macros or inline functions from this file, or you compile * this file and link it with other files to produce an executable, this * file does not by itself cause the resulting executable to be covered by * the GNU General Public License. This exception does not however * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. */ #pragma once #include /** * \defgroup api_l4re_protocols L4Re Protocol identifiers * \ingroup api_l4re * \brief Basic protocol identifiers used for L4Re. */ namespace L4Re { namespace Protocol { /** * \brief Protocols * \ingroup api_l4re_protocols * * These protocol IDs are used to distinguish requests for the * different L4Re interfaces. The interfaces use different protocol IDs * to enable objects that realize a set of those interfaces at once. */ enum Protocols { Default = 0, ///< Default protocol, used in message tag Dataspace = 0x4000, ///< ID for data space objects \hideinitializer Namespace, ///< ID for name space objects Parent, ///< ID for parent objects Goos, ///< ID for goos objects Mem_alloc, ///< ID for memory allocator objects Rm, ///< ID for region map objects Event, ///< ID for event channel objects Debug = ~0x7fffUL ///< ID for debug objects }; }};