L4Re - L4 Runtime Environment
vdevice-ops.h
1 /*
2  * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
3  * Alexander Warg <warg@os.inf.tu-dresden.de>,
4  * Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
5  * economic rights: Technische Universität Dresden (Germany)
6  *
7  * This file is part of TUD:OS and distributed under the terms of the
8  * GNU General Public License 2.
9  * Please see the COPYING-GPL-2 file for details.
10  */
11 #pragma once
12 
13 #include "vbus_interfaces.h"
14 
15 enum
16 {
17  L4vbus_vdevice_hid = L4VBUS_INTERFACE_GENERIC << L4VBUS_IFACE_SHIFT,
18  L4vbus_vdevice_adr,
19  L4vbus_vdevice_get_by_hid,
20  L4vbus_vdevice_get_next,
21  L4vbus_vdevice_get_resource,
22  L4vbus_vdevice_get_hid,
23  L4vbus_vdevice_is_compatible,
24  L4vbus_vdevice_get,
25 };
26 
27 enum {
28  L4vbus_vbus_request_resource = L4VBUS_INTERFACE_BUS << L4VBUS_IFACE_SHIFT,
29  L4vbus_vbus_release_resource,
30  L4vbus_vbus_assign_dma_domain,
31 };
32 
33 enum
34 {
35  L4vbus_vicu_get_cap = L4VBUS_INTERFACE_ICU << L4VBUS_IFACE_SHIFT
36 };
37 
Sub-interface ID shift.
This header contains the definition of VBUS sub-interfaces and convenience functions to work with the...