L4Re Operating System Framework
Interface and Usage Documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
types.h
1/*
2 * (c) 2008-2010 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
4 * License: see LICENSE.spdx (in this directory or the directories above)
5 */
6#pragma once
7
9
15{
19 L4IO_MEM_ATTR_MASK = 0xf,
20
21 // combinations
22 L4IO_MEM_WRITE_COMBINED = L4IO_MEM_USE_MTRR | L4IO_MEM_CACHED,
23
24
29 L4IO_MEM_EAGER_MAP = 0x80 << 8,
30};
31
43
55
56
57typedef l4vbus_device_handle_t l4io_device_handle_t;
58typedef unsigned l4io_resource_handle_t;
59
68
l4io_iomem_flags_t
Flags for IO memory.
Definition types.h:15
l4vbus_resource_t l4io_resource_t
Resource descriptor.
Definition types.h:67
l4io_resource_types_t
Resource types.
Definition types.h:48
l4vbus_device_t l4io_device_t
Device descriptor.
Definition types.h:72
l4io_device_types_t
Device types.
Definition types.h:36
@ L4IO_MEM_CACHED
Cache memory.
Definition types.h:17
@ L4IO_MEM_NONCACHED
Non-cache memory.
Definition types.h:16
@ L4IO_MEM_USE_MTRR
Use MTRR.
Definition types.h:18
@ L4IO_MEM_USE_RESERVED_AREA
Use reserved area for mapping I/O memory.
Definition types.h:27
@ L4IO_MEM_EAGER_MAP
Eagerly map the I/O memory.
Definition types.h:29
@ L4IO_RESOURCE_ANY
any type
Definition types.h:53
@ L4IO_RESOURCE_INVALID
Invalid type.
Definition types.h:49
@ L4IO_RESOURCE_PORT
I/O port resource (x86 only)
Definition types.h:52
@ L4IO_RESOURCE_IRQ
Interrupt resource.
Definition types.h:50
@ L4IO_RESOURCE_MEM
I/O memory resource.
Definition types.h:51
@ L4IO_DEVICE_PCI
PCI device.
Definition types.h:38
@ L4IO_DEVICE_OTHER
Any other device without unique IDs.
Definition types.h:40
@ L4IO_DEVICE_ANY
any type
Definition types.h:41
@ L4IO_DEVICE_INVALID
Invalid type.
Definition types.h:37
@ L4IO_DEVICE_USB
USB device.
Definition types.h:39
Detailed information about a vbus device.
Definition vbus_types.h:68
Description of a single vbus resource.
Definition vbus_types.h:23
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
@ L4VBUS_RESOURCE_IRQ
Interrupt resource.
Definition vbus_types.h:41
@ L4VBUS_RESOURCE_PORT
I/O port resource (x86 only)
Definition vbus_types.h:43
@ L4VBUS_RESOURCE_MEM
I/O memory resource.
Definition vbus_types.h:42
@ L4VBUS_RESOURCE_INVALID
Invalid type.
Definition vbus_types.h:40