Fhc


Files

file  fhc.c
 FHC bus controller driver.

Defines

#define FHC_UART_ICLR   0x4
#define FHC_UART_IMAP   0x0
#define FHC_UART_INR   0x39
#define NAME   "fhc"

Functions

static void fhc_connection (ipc_callid_t iid, ipc_call_t *icall)
 Handle one connection to fhc.
static bool fhc_init (void)
 Initialize the FHC driver.
int main (int argc, char **argv)

Variables

static void * fhc_uart_phys
static size_t fhc_uart_size
static volatile uint32_t * fhc_uart_virt

Function Documentation

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

Handle one connection to fhc.

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

Definition at line 69 of file fhc.c.

static bool fhc_init ( void   )  [static]

Initialize the FHC driver.

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

Definition at line 112 of file fhc.c.


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