Changeset a783ca4 in mainline


Ignore:
Timestamp:
2005-10-11T20:25:46Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26f9943
Parents:
a016b63
Message:

Fix doxygen comments.

Location:
src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • src/debug/symtab.c

    ra016b63 ra783ca4  
    3232#include <arch/byteorder.h>
    3333
    34 /** Return entry that seems most likely to correspond to the @addr
     34/** Return entry that seems most likely to correspond to address
    3535 *
     36 * Return entry that seems most likely to correspond
     37 * to address passed in the argument.
     38 *
     39 * @param addr Address.
     40 *
     41 * @return Pointer to respective symbol string on success, NULL otherwise.
    3642 */
    3743char * get_symtab_entry(__native addr)
  • src/proc/the.c

    ra016b63 ra783ca4  
    3535 * Initialize THE structure passed as argument.
    3636 *
    37  * @the THE structure to be initialized.
    38  *
     37 * @param the THE structure to be initialized.
    3938 */
    4039void the_initialize(the_t *the)
     
    5150 * Copy the source THE structure to the destination THE structure.
    5251 *
    53  * @src The source THE structure.
    54  * @dst The destination THE structure.
     52 * @param src The source THE structure.
     53 * @param dst The destination THE structure.
    5554 */
    5655void the_copy(the_t *src, the_t *dst)
  • src/synch/condvar.c

    ra016b63 ra783ca4  
    4848 * to the first waiting thread by waking it up.
    4949 *
    50  * @param Condition variable.
     50 * @param cv Condition variable.
    5151 */
    5252void condvar_signal(condvar_t *cv)
     
    6060 * to all waiting threads by waking them up.
    6161 *
    62  * @param Condition variable.
     62 * @param cv Condition variable.
    6363 */
    6464void condvar_broadcast(condvar_t *cv)
     
    7171 * Wait for the condition becoming true.
    7272 *
    73  * @param Condition variable.
     73 * @param cv Condition variable.
     74 * @param mtx Mutex.
     75 * @param usec Timeout value in microseconds.
     76 * @param trywait Blocking versus non-blocking operation mode switch.
     77 *
     78 * For exact description of possible combinations of
     79 * 'usec' and 'trywait', see comment for waitq_sleep_timeout().
     80 *
     81 * @return See comment for waitq_sleep_timeout().
    7482 */
    7583int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int trywait)
  • src/synch/mutex.c

    ra016b63 ra783ca4  
    4747 * Timeout mode and non-blocking mode can be requested.
    4848 *
    49  * @param mxt Mutex.
     49 * @param mtx Mutex.
    5050 * @param usec Timeout in microseconds.
    5151 * @param trylock Switches between blocking and non-blocking mode.
  • src/synch/waitq.c

    ra016b63 ra783ca4  
    109109 *
    110110 * @param wq Pointer to wait queue.
    111  * @param usec Timeout value in microseconds.
    112  * @param nonblocking Controls whether only a conditional sleep
    113  *        (non-blocking sleep) is called for when the usec argument is 0.
    114  *
    115  * Relation between 'usec' and 'nonblocking' is described by this table:
    116  *
    117  * usec | nonblocking | what happens if there is no missed_wakeup
    118  * -----+-------------+--------------------------------------------
    119  *  0   | 0           | blocks without timeout until wakeup
    120  *  0   | <> 0        | immediately returns ESYNCH_WOULD_BLOCK
    121  *  > 0 | x           | blocks with timeout until timeout or wakeup
     111 * @param usec Timeout in microseconds.
     112 * @param nonblocking Blocking vs. non-blocking operation mode switch.
     113 *
     114 * If usec is greater than zero, regardless of the value of @nonblocking,
     115 * the call will not return until either timeout or wakeup comes.
     116 *
     117 * If usec is zero and nonblocking is zero (false), the call
     118 * will not return until wakeup comes.
     119 *
     120 * If usec is zero and nonblocking is non-zero (true), the call will
     121 * immediately return, reporting either success or failure.
    122122 *
    123123 * @return Returns one of: ESYNCH_WOULD_BLOCK, ESYNCH_TIMEOUT,
    124124 *         ESYNCH_OK_ATOMIC, ESYNCH_OK_BLOCKED.
    125125 *
    126  * Meaning of the return values is described by the following chart:
    127  *
    128  * ESYNCH_WOULD_BLOCK   Sleep failed because at the time of the call,
    129  *                      there was no pending wakeup.
    130  * ESYNCH_TIMEOUT       Sleep timed out.
    131  * ESYNCH_OK_ATOMIC     Sleep succeeded; at the time of the call,
    132  *                      where was a pending wakeup.
    133  * ESYNCH_OK_BLOCKED    Sleep succeeded; the full sleep was attempted.
     126 * ESYNCH_WOULD_BLOCK means that the sleep failed because at the time
     127 * of the call there was no pending wakeup.
     128 *
     129 * ESYNCH_TIMEOUT means that the sleep timed out.
     130 *
     131 * ESYNCH_OK_ATOMIC means that the sleep succeeded and that there was
     132 * a pending wakeup at the time of the call. The caller was not put
     133 * asleep at all.
     134 *
     135 * ESYNCH_OK_BLOCKED means that the sleep succeeded; the full sleep was
     136 * attempted.
    134137 */
    135138int waitq_sleep_timeout(waitq_t *wq, __u32 usec, int nonblocking)
  • src/time/delay.c

    ra016b63 ra783ca4  
    3939 * is implemented as CPU calibrated active loop.
    4040 *
    41  * @param microseconds Number of usec to sleep.
    42  *
     41 * @param usec Number of microseconds to sleep.
    4342 */
    44 void delay(__u32 microseconds)
     43void delay(__u32 usec)
    4544{
    4645        pri_t pri;
     
    5049           cpu_priority_high() before calling the asm_delay_loop(). */
    5150        pri = cpu_priority_high();
    52         asm_delay_loop(microseconds * CPU->delay_loop_const);
     51        asm_delay_loop(usec * CPU->delay_loop_const);
    5352        cpu_priority_restore(pri);
    5453}
  • src/time/timeout.c

    ra016b63 ra783ca4  
    9191 *
    9292 * @param t    Timeout list.
    93  * @patam time Number of usec in the future to execute
     93 * @param time Number of usec in the future to execute
    9494 *             the handler.
    9595 * @param f    Timeout handler function.
Note: See TracChangeset for help on using the changeset viewer.