ipc.h File Reference
#include <ipc_common.h>
Go to the source code of this file.
Detailed Description
Various IPC functions to communicate with MINI.
Function Documentation
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()
Receive an IPC request.
- Returns:
- The ipc_request with all information given.
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 |
|
) |
|