ipc.h File Reference

#include <ipc_common.h>

Go to the source code of this file.

Data Structures

struct  ipc_request_t

Functions

int ipc_initialize (void)
 Initializes the IPC subsystem.
void ipc_shutdown (void)
 Shuts down the IPC subsystem.
void ipc_post (u32 code, u32 tag, u32 num_args,...)
 Posts an IPC request.
void ipc_flush (void)
 Flushes all IPC requests.
ipc_request_tipc_receive (void)
 Receive an IPC request.
ipc_request_tipc_receive_tagged (u32 code, u32 tag)
 Receive an IPC request.
ipc_request_tipc_exchange (u32 code, u32 num_args,...)
 Send and receive an IPC request.

Variables

void * mem2_boundary

Detailed Description

Various IPC functions to communicate with MINI.


Function Documentation

ipc_request_t* ipc_exchange ( u32  code,
u32  num_args,
  ... 
)

Send and receive an IPC request.

Parameters:
code the request code to send.
num_args how many arguments to pass.
... the arguments.
Returns:
The ipc_request with all information given.
int ipc_initialize ( void   ) 

Initializes the IPC subsystem.

Returns:
If initialization was successful, returns 1. Otherwise 0.
See also:
ipc_shutdown()
void ipc_post ( u32  code,
u32  tag,
u32  num_args,
  ... 
)

Posts an IPC request.

Parameters:
code the request code.
tag the tag.
num_args how many arguments to pass.
... the arguments.
See also:
ipc_receive(), ipc_exchange()
ipc_request_t* ipc_receive ( void   ) 

Receive an IPC request.

Returns:
The ipc_request with all information given.
ipc_request_t* ipc_receive_tagged ( u32  code,
u32  tag 
)

Receive an IPC request.

Parameters:
code the request code to recieve a request from.
tag the tag the request has.
Returns:
The ipc_request with all information given.
void ipc_shutdown ( void   ) 

Shuts down the IPC subsystem.

See also:
ipc_initialize()
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated by  doxygen 1.6.3