Xenomai
3.1
|
Copyright (C) 2014 Philippe Gerum rpm@x enom ai.or gMore...
Go to the source code of this file.
Data Structures | |
struct | udd_memregion |
struct | udd_device |
struct | udd_device::udd_reserved |
Reserved to the UDD core. More... | |
Macros | |
#define | UDD_IRQ_NONE 0 |
No IRQ managed. More... | |
#define | UDD_IRQ_CUSTOM (-1) |
IRQ directly managed from the mini-driver on top of the UDD core. More... | |
Memory types for mapping | |
The UDD core implements a default ->mmap() handler which first attempts to hand over the request to the corresponding handler defined by the mini-driver. If not present, the UDD core establishes the mapping automatically, depending on the memory type defined for the region. | |
#define | UDD_MEM_NONE 0 |
No memory region. More... | |
#define | UDD_MEM_PHYS 1 |
Physical I/O memory region. More... | |
#define | UDD_MEM_LOGICAL 2 |
Kernel logical memory region (e.g. More... | |
#define | UDD_MEM_VIRTUAL 3 |
Virtual memory region with no direct physical mapping (e.g. More... | |
Functions | |
int | udd_register_device (struct udd_device *udd) |
Register a UDD device More... | |
int | udd_unregister_device (struct udd_device *udd) |
Unregister a UDD device More... | |
struct udd_device * | udd_get_device (struct rtdm_fd *fd) |
RTDM file descriptor to target UDD device More... | |
void | udd_notify_event (struct udd_device *udd) |
Notify an IRQ event for an unmanaged interrupt More... | |
void | udd_enable_irq (struct udd_device *udd, rtdm_event_t *done) |
Enable the device IRQ line More... | |
void | udd_disable_irq (struct udd_device *udd, rtdm_event_t *done) |
Disable the device IRQ line More... | |
Copyright (C) 2014 Philippe Gerum rpm@x enom ai.or g
Xenomai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.