L4Re Operating System Framework
Interface and Usage Documentation
•All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
vbus_generic
1// vi:set ft=cpp: -*- Mode: C++ -*-
2/*
3 * (c) 2009 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
10#pragma once
11
12#include <l4/cxx/ipc_stream>
13#include <l4/vbus/vbus_types.h>
14#include <l4/vbus/vbus>
15
16inline void
17l4vbus_device_msg(l4vbus_device_handle_t handle, l4_uint32_t op,
19{
20 s << handle << op;
21}
Input/Output stream for IPC [un]marshalling.
Definition ipc_stream:790
unsigned int l4_uint32_t
Unsigned 32bit value.
Definition l4int.h:29
IPC stream.
This header file contains descriptions of vbus related data types and constants.
l4_mword_t l4vbus_device_handle_t
Device handle for a device on the vbus.
Definition vbus_types.h:18