//kernel/trunk/generic/src/ddi/ddi.c |
---|
168,7 → 168,7 |
/** Wrapper for SYS_ENABLE_IOSPACE syscall. |
* |
* @param User space address of DDI argument structure. |
* @param uspace_io_arg User space address of DDI argument structure. |
* |
* @return 0 on success, otherwise it returns error code found in errno.h |
*/ |
//kernel/trunk/generic/src/console/console.c |
---|
117,7 → 117,7 |
* |
* @param chardev Character device. |
* @param buf Buffer where to store string terminated by '\0'. |
* @param len Size of the buffer. |
* @param buflen Size of the buffer. |
* |
* @return Number of characters read. |
*/ |
//kernel/trunk/generic/src/console/kconsole.c |
---|
403,7 → 403,7 |
/** Kernel console managing thread. |
* |
* @param arg Not used. |
* @param prompt Kernel console prompt (e.g kconsole/panic). |
*/ |
void kconsole(void *prompt) |
{ |
//kernel/trunk/generic/src/proc/scheduler.c |
---|
253,7 → 253,7 |
* |
* When the function decides to relink rq's, it reconnects |
* respective pointers so that in result threads with 'pri' |
* greater or equal @start are moved to a higher-priority queue. |
* greater or equal start are moved to a higher-priority queue. |
* |
* @param start Threshold priority. |
* |
//kernel/trunk/generic/src/lib/func.c |
---|
135,7 → 135,7 |
* last copied character. |
* |
* @param src Source string. |
* @param dst Destination buffer. |
* @param dest Destination buffer. |
* @param len Size of destination buffer. |
*/ |
void strncpy(char *dest, const char *src, size_t len) |
//kernel/trunk/generic/src/adt/btree.c |
---|
214,7 → 214,7 |
/** Remove B-tree node. |
* |
* @param B-tree. |
* @param t B-tree. |
* @param key Key to be removed from the B-tree along with its associated value. |
* @param leaf_node If not NULL, pointer to the leaf node where the key is found. |
*/ |
234,7 → 234,7 |
/** Recursively remove B-tree node. |
* |
* @param B-tree. |
* @param t B-tree. |
* @param key Key to be removed from the B-tree along with its associated value. |
* @param node Node where the key being removed resides. |
*/ |
902,7 → 902,7 |
/** Rotate in a key from the right sibling or from the index node, if this operation can be done. |
* |
* @param rnode Node into which to add key from its right sibling or from the index node. |
* @param lnode Node into which to add key from its right sibling or from the index node. |
* |
* @return True if the rotation was performed, false otherwise. |
*/ |
//kernel/trunk/generic/src/adt/hash_table.c |
---|
77,7 → 77,7 |
/** Insert item into hash table. |
* |
* @param h Hash table. |
* @param hey Array of all keys necessary to compute hash index. |
* @param key Array of all keys necessary to compute hash index. |
* @param item Item to be inserted into the hash table. |
*/ |
void hash_table_insert(hash_table_t *h, __native key[], link_t *item) |
//kernel/trunk/generic/src/mm/buddy.c |
---|
286,7 → 286,7 |
/** Prints out structure of buddy system |
* |
* @param b Pointer to buddy system |
* @param es Element size |
* @param elem_size Element size |
*/ |
void buddy_system_structure_print(buddy_system_t *b, size_t elem_size) { |
index_t i; |
//kernel/trunk/generic/src/mm/frame.c |
---|
995,7 → 995,7 |
* Decrement frame reference count. |
* If it drops to zero, move the frame structure to free list. |
* |
* @param frame Frame number to be freed. |
* @param pfn Frame number of the frame to be freed. |
*/ |
void frame_free(pfn_t pfn) |
{ |
1021,7 → 1021,7 |
* Find respective frame structure for supplied PFN and |
* increment frame reference count. |
* |
* @param frame Frame no to be freed. |
* @param pfn Frame number of the frame to be freed. |
*/ |
void frame_reference_add(pfn_t pfn) |
{ |
1112,9 → 1112,9 |
interrupts_restore(ipl); |
} |
/** Prints zone details |
/** Prints zone details. |
* |
* @param base Zone base address OR zone number |
* @param num Zone base address or zone number. |
*/ |
void zone_print_one(int num) { |
zone_t *zone = NULL; |
//kernel/trunk/generic/src/syscall/copy.c |
---|
94,7 → 94,7 |
* This function can be called only from syscall. |
* |
* @param uspace_dst Destination userspace address. |
* @param uspace_src Source kernel address. |
* @param src Source kernel address. |
* @param size Size of the data to be copied. |
* |
* @return 0 on success or error code from @ref errno.h. |
//kernel/trunk/generic/src/ipc/ipc.c |
---|
209,8 → 209,8 |
/** Send a asynchronous request using phone to answerbox |
* |
* @param phone Phone connected to answerbox |
* @param request Request to be sent |
* @param phone Phone connected to answerbox. |
* @param call Structure representing the call. |
*/ |
int ipc_call(phone_t *phone, call_t *call) |
{ |