genode/repos/ports-foc/include/l4/re/c/util/cap_alloc.h

31 lines
606 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__RE__C__UTIL__CAP_ALLOC_H_
#define _L4__RE__C__UTIL__CAP_ALLOC_H_
#include <l4/sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
L4_CV l4_cap_idx_t l4re_util_cap_alloc(void);
L4_CV void l4re_util_cap_free(l4_cap_idx_t cap);
#ifdef __cplusplus
}
#endif
#endif /* _L4__RE__C__UTIL__CAP_ALLOC_H_ */