/* * (c) 2008-2009 Adam Lackorzynski , * Alexander Warg * 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. */ #include #include #include L4_CV long l4re_event_get_buffer(const l4_cap_idx_t server, const l4_cap_idx_t ds) L4_NOTHROW { L4::Cap x(server); L4::Cap _ds(ds); return x->get_buffer(_ds); } L4_CV long l4re_event_get_num_streams(const l4_cap_idx_t server) L4_NOTHROW { L4::Cap x(server); return x->get_num_streams(); } L4_CV long l4re_event_get_stream_info(const l4_cap_idx_t server, int idx, l4re_event_stream_info_t *info) L4_NOTHROW { L4::Cap x(server); return x->get_stream_info(idx, static_cast(info)); } L4_CV long l4re_event_get_stream_info_for_id(const l4_cap_idx_t server, l4_umword_t id, l4re_event_stream_info_t *info) L4_NOTHROW { L4::Cap x(server); return x->get_stream_info_for_id(id, static_cast(info)); } L4_CV long l4re_event_get_axis_info(const l4_cap_idx_t server, l4_umword_t id, unsigned naxes, unsigned const *axis, l4re_event_absinfo_t *info) L4_NOTHROW { L4::Cap x(server); return x->get_axis_info(id, naxes, axis, info); }