NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
A bus is a way to connect devices. More...
#include <bus.h>
Classes | |
struct | Entry |
Public Member Functions | |
void | add (Device *dev, ReceiveFunction func) |
bool | send (M &msg, bool earlyout=false) |
Send message LIFO. | |
bool | send_fifo (M &msg) |
Send message in FIFO order. | |
bool | send_rr (M &msg, unsigned &start) |
Send message first hit round robin and return the number of the next one that accepted the message. | |
unsigned | count () |
Return the number of entries in the list. | |
void | debug_dump () |
Debugging output. | |
DBus () | |
Default constructor. |
Private Types | |
typedef bool(* | ReceiveFunction )(Device *, M &) |
Private Member Functions | |
DBus (const DBus< M > &bus) | |
To avoid bugs we disallow the copy constuctor. | |
void | set_size (unsigned new_size) |
Private Attributes | |
unsigned long | _debug_counter |
unsigned | _list_count |
unsigned | _list_size |
struct Entry * | _list |
A bus is a way to connect devices.
To avoid bugs we disallow the copy constuctor.
|
inline |
|
inline |
Return the number of entries in the list.
|
inline |
Debugging output.
|
inline |
Send message LIFO.
|
inline |
Send message in FIFO order.
|
inline |
Send message first hit round robin and return the number of the next one that accepted the message.
|
inlineprivate |
|
private |
|
private |
|
private |