L4Re Operating System Framework
Interface and Usage Documentation
•All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 * License: see LICENSE.spdx (in this directory or the directories above)
8 */
9#pragma once
10
11#include "vbus_interfaces.h"
12
13enum L4vbus_vdevice_op
14{
15 L4vbus_vdevice_hid = L4VBUS_INTERFACE_GENERIC << L4VBUS_IFACE_SHIFT,
16 L4vbus_vdevice_adr,
17 L4vbus_vdevice_get_by_hid,
18 L4vbus_vdevice_get_next,
19 L4vbus_vdevice_get_resource,
20 L4vbus_vdevice_get_hid,
21 L4vbus_vdevice_is_compatible,
22 L4vbus_vdevice_get,
23};
24
25enum {
26 L4vbus_vbus_request_resource = L4VBUS_INTERFACE_BUS << L4VBUS_IFACE_SHIFT,
27 L4vbus_vbus_release_resource,
28 L4vbus_vbus_assign_dma_domain,
29};
30
31enum
32{
33 L4vbus_vicu_get_cap = L4VBUS_INTERFACE_ICU << L4VBUS_IFACE_SHIFT
34};
35
This header contains the definition of VBUS sub-interfaces and convenience functions to work with the...
@ L4VBUS_IFACE_SHIFT
Sub-interface ID shift.
@ L4VBUS_INTERFACE_BUS
VBus.
@ L4VBUS_INTERFACE_GENERIC
No specific sub interface.
@ L4VBUS_INTERFACE_ICU
Interrupt Controller.