|
int | request_ioport (l4vbus_resource_t *res) const |
| Request the given IO port resource from the bus.
|
|
int | release_ioport (l4vbus_resource_t *res) const |
| Release the given IO port resource from the bus.
|
|
Device | root () const |
| Get the root device of the device tree of this bus.
|
|
int | assign_dma_domain (unsigned domain_id, unsigned flags, L4::Cap< L4Re::Dma_space > dma_space) const |
| Bind or unbind an L4Re::Dma_space to a DMA domain.
|
|
int | assign_dma_domain (unsigned domain_id, unsigned flags, L4::Cap< L4::Task > dma_space) const |
| Bind or unbind a kernel DMA space to a DMA domain.
|
|
long | map (Offset offset, Flags flags, Map_addr local_addr, Map_addr min_addr, Map_addr max_addr) const noexcept |
| Request a flex-page mapping from the dataspace.
|
|
long | map_region (Offset offset, Flags flags, Map_addr min_addr, Map_addr max_addr) const noexcept |
| Map a part of a dataspace into a local memory area.
|
|
long | clear (Offset offset, Size size) |
| Clear parts of a dataspace.
|
|
long | allocate (Offset offset, Size size) |
| Allocate a range in the dataspace.
|
|
long | copy_in (Offset dst_offs, L4::Ipc::Cap< Dataspace > src, Offset src_offs, Size size) |
| Copy contents from another dataspace.
|
|
Size | size () const noexcept |
| Get size of a dataspace.
|
|
Flags | flags () const noexcept |
| Get flags of the dataspace.
|
|
long | info (Stats *stats) |
| Get information on the dataspace.
|
|
l4_msgtag_t | dec_refcnt (l4_mword_t diff, l4_utcb_t *utcb=l4_utcb()) |
| Decrement the in kernel reference counter for the object.
|
|
long | acquire (l4_umword_t id, L4::Ipc::String<> reason) |
| Acquire a specific inhibitor lock.
|
|
long | release (l4_umword_t id) |
| Release a specific inhibitor lock.
|
|
long | next_lock_info (char *name, unsigned len, l4_mword_t current_id=-1, l4_utcb_t *utcb=l4_utcb()) |
| Get information for the next available inhibitor lock.
|
|
long | get_buffer (L4::Ipc::Out< L4::Cap< Dataspace > > ds) |
| Get event signal buffer.
|
|
long | get_num_streams () |
| Get number of event streams.
|
|
long | get_stream_info (int idx, Event_stream_info *info) |
| Get event stream infos.
|
|
long | get_stream_info_for_id (l4_umword_t stream_id, Event_stream_info *info) |
| Get event stream infos.
|
|
long | get_axis_info (l4_umword_t stream_id, unsigned naxes, unsigned const *axis, Event_absinfo *info) const noexcept |
| Get event stream axis infos.
|
|
long | get_stream_state_for_id (l4_umword_t stream_id, Event_stream_state *state) |
| Get event stream state.
|
|
l4_msgtag_t | bind (unsigned irqnum, L4::Cap< Triggerable > irq, l4_utcb_t *utcb=l4_utcb()) noexcept |
| Bind an interrupt line of an interrupt controller to an interrupt object.
|
|
l4_msgtag_t | unbind (unsigned irqnum, L4::Cap< Triggerable > irq, l4_utcb_t *utcb=l4_utcb()) noexcept |
| Remove binding of an interrupt line from the interrupt controller object.
|
|
l4_msgtag_t | info (l4_icu_info_t *info, l4_utcb_t *utcb=l4_utcb()) noexcept |
| Get information about the ICU features.
|
|
l4_msgtag_t | msi_info (l4_umword_t irqnum, l4_uint64_t source, l4_icu_msi_info_t *msi_info) |
| Get MSI info about IRQ.
|
|
l4_msgtag_t | mask (unsigned irqnum, l4_umword_t *label=0, l4_timeout_t to=L4_IPC_NEVER, l4_utcb_t *utcb=l4_utcb()) noexcept |
| Mask an IRQ line.
|
|
l4_msgtag_t | set_mode (unsigned irqnum, l4_umword_t mode, l4_utcb_t *utcb=l4_utcb()) noexcept |
| Set interrupt mode.
|
|
l4_msgtag_t | unmask (unsigned irqnum, l4_umword_t *label=0, l4_timeout_t to=L4_IPC_NEVER, l4_utcb_t *utcb=l4_utcb()) noexcept |
| Unmask the given interrupt line.
|
|
|
enum | { Name_max = 20
} |
|
typedef Vbus | Class |
| The target interface type (inheriting from Kobject_t)
|
|
typedef Typeid::Iface< PROTO_ANY, Vbus > | __Iface |
| The interface description for the derived class.
|
|
typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, Typeid::Merge_list< typename Base1::__Iface_list, Typeid::Merge_list< typename Base2::__Iface_list, typename Base3::__Iface_list > > > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance.
|
|
typedef Dataspace | Class |
| The target interface type (inheriting from Kobject_t)
|
|
typedef Typeid::Iface< PROTO, Dataspace > | __Iface |
| The interface description for the derived class.
|
|
typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, typename Base::__Iface_list > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance.
|
|
typedef Inhibitor | Class |
| The target interface type (inheriting from Kobject_t)
|
|
typedef Typeid::Iface< PROTO, Inhibitor > | __Iface |
| The interface description for the derived class.
|
|
typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, typename Base::__Iface_list > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance.
|
|
typedef Event | Class |
| The target interface type (inheriting from Kobject_t)
|
|
typedef Typeid::Iface< PROTO, Event > | __Iface |
| The interface description for the derived class.
|
|
typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, typename Base::__Iface_list > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance.
|
|
typedef Icu | Class |
| The target interface type (inheriting from Kobject_t)
|
|
typedef Typeid::Iface< PROTO, Icu > | __Iface |
| The interface description for the derived class.
|
|
typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, typename Base::__Iface_list > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance.
|
|
L4::Cap< Class > | c () const noexcept |
| Get the capability to ourselves.
|
|
L4::Cap< Class > | c () const noexcept |
| Get the capability to ourselves.
|
|
l4_cap_idx_t | cap () const noexcept |
| Return capability selector.
|
|
L4::Cap< Class > | c () const noexcept |
| Get the capability to ourselves.
|
|
L4::Cap< Class > | c () const noexcept |
| Get the capability to ourselves.
|
|
L4::Cap< Class > | c () const noexcept |
| Get the capability to ourselves.
|
|
static void | __check_protocols__ () noexcept |
| Helper to check for protocol conflicts.
|
|
static void | __check_protocols__ () noexcept |
| Helper to check for protocol conflicts.
|
|
static void | __check_protocols__ () noexcept |
| Helper to check for protocol conflicts.
|
|
static void | __check_protocols__ () noexcept |
| Helper to check for protocol conflicts.
|
|
static void | __check_protocols__ () noexcept |
| Helper to check for protocol conflicts.
|
|
The virtual bus (Vbus) interface.
- See also
- L4Re Vbus API
Definition at line 300 of file vbus.