1,5 → 1,5 |
/* |
* Copyright (c) 2006 Martin Decky |
* Copyright (c) 2007 Konopa-Jelen-Majer |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup fs |
/** @addtogroup FileSystemTask |
* @{ |
*/ |
|
54,15 → 54,18 |
|
|
static int fs_call; |
static ipc_call_t m_input; /* the input message used for request */ |
static ipc_callid_t callid; /* caller's number */ |
static int new_consument; /* if new consumer wants to connect to FS */ |
static int check_con; /* check of connection of consument */ |
static ipc_call_t m_input; /**< the input message used for request */ |
static ipc_callid_t callid; /**< caller's number */ |
static int new_consument; /**< if new consumer wants to connect to FS */ |
static int check_con; /**< check of connection of consument */ |
|
static void prepare_message(void); |
static int load_super(void); |
static int new_consument_map(void); |
|
/** |
* Respond to incoming requests from user tasks |
*/ |
static void fs_connection(ipc_callid_t iid, ipc_call_t *icall) |
{ |
|
132,7 → 135,9 |
} |
} |
|
/* Extracts parameters from message and prepare them for later usage. */ |
/** |
* Extracts parameters from message and prepare them for later usage. |
*/ |
void prepare_message(void) |
{ |
|
188,7 → 193,9 |
unpack_message(&message_params, m_input, fp->buffer); |
} |
|
/* Map some memory to the task */ |
/** |
* Map some memory to the task |
*/ |
int new_consument_map() |
{ |
|
225,7 → 232,9 |
return TRUE; |
} |
|
/* Basic initialization. */ |
/** |
* Basic initialization. |
*/ |
static bool fs_init(void) |
{ |
|
295,6 → 304,10 |
return TRUE; |
} |
|
/** |
* The initialization method for the FS task, it connects to the RD service |
* and then starts the asynchronous request listener for this task. |
*/ |
int main(int argc, char **argv) |
{ |
|