Files | |
file | obio.c |
OBIO driver. | |
Defines | |
#define | INO_MASK 0x1f |
#define | NAME "obio" |
#define | OBIO_CIR(ino) (OBIO_CIR_BASE + ((ino) & INO_MASK)) |
#define | OBIO_CIR_BASE 0x300 |
#define | OBIO_IMR(ino) (OBIO_IMR_BASE + ((ino) & INO_MASK)) |
#define | OBIO_IMR_BASE 0x200 |
#define | OBIO_SIZE 0x1898 |
Functions | |
int | main (int argc, char **argv) |
static void | obio_connection (ipc_callid_t iid, ipc_call_t *icall) |
Handle one connection to obio. | |
static bool | obio_init (void) |
Initialize the OBIO driver. | |
Variables | |
static void * | base_phys |
static volatile uint64_t * | base_virt |
static void obio_connection | ( | ipc_callid_t | iid, | |
ipc_call_t * | icall | |||
) | [static] |
static bool obio_init | ( | void | ) | [static] |