Obio


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

Function Documentation

static void obio_connection ( ipc_callid_t  iid,
ipc_call_t icall 
) [static]

Handle one connection to obio.

Parameters:
iid Hash of the request that opened the connection.
icall Call data of the request that opened the connection.

Definition at line 79 of file obio.c.

static bool obio_init ( void   )  [static]

Initialize the OBIO driver.

So far, the driver heavily depends on information provided by the kernel via sysinfo. In the future, there should be a standalone OBIO driver.

Definition at line 115 of file obio.c.


Generated on Thu Jun 2 07:45:58 2011 for HelenOS/USB by  doxygen 1.4.7