Changeset 6ff23ff in mainline for kernel/generic/src


Ignore:
Timestamp:
2018-05-17T13:46:56Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f8772d4
Parents:
7c3fb9b
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 18:44:36)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 13:46:56)
Message:

More comment fixing (ccheck).

Location:
kernel/generic/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    r7c3fb9b r6ff23ff  
    119119
    120120
    121 /***********************************************************************
     121/*
    122122 * Functions that preprocess answer before sending it to the recepient.
    123  ***********************************************************************/
     123 */
    124124
    125125/** Decide if the caller (e.g. ipc_answer()) should save the old call contents
     
    228228}
    229229
    230 /*******************************************************************************
     230/*
    231231 * Functions called to process received call/answer before passing it to uspace.
    232  *******************************************************************************/
     232 */
    233233
    234234/** Do basic kernel processing of received call answer.
  • kernel/generic/src/printf/printf_core.c

    r7c3fb9b r6ff23ff  
    784784
    785785                        switch (uc) {
    786                         /*
    787                         * String and character conversions.
    788                         */
     786                                /*
     787                                * String and character conversions.
     788                                */
    789789                        case 's':
    790790                                if (qualifier == PrintfQualifierLong)
     
    816816                                continue;
    817817
    818                         /*
    819                         * Integer values
    820                         */
     818                                /*
     819                                * Integer values
     820                                */
    821821                        case 'P':
    822822                                /* Pointer */
     
    848848                                break;
    849849
    850                         /* Percentile itself */
    851850                        case '%':
     851                                /* Percentile itself */
    852852                                j = i;
    853853                                continue;
    854854
    855                         /*
    856                         * Bad formatting.
    857                         */
     855                                /*
     856                                * Bad formatting.
     857                                */
    858858                        default:
    859859                                /*
  • kernel/generic/src/udebug/udebug_ipc.c

    r7c3fb9b r6ff23ff  
    5454{
    5555        switch (IPC_GET_ARG1(call->data)) {
    56         /* future UDEBUG_M_REGS_WRITE, UDEBUG_M_MEM_WRITE: */
     56                /* future UDEBUG_M_REGS_WRITE, UDEBUG_M_MEM_WRITE: */
    5757        default:
    5858                break;
     
    193193
    194194        IPC_SET_RETVAL(call->data, 0);
    195         /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
    196            same code in process_answer() can be used
    197            (no way to distinguish method in answer) */
     195        /*
     196         * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
     197         * same code in process_answer() can be used
     198         * (no way to distinguish method in answer)
     199         */
    198200        IPC_SET_ARG1(call->data, uspace_addr);
    199201        IPC_SET_ARG2(call->data, copied);
     
    238240
    239241        IPC_SET_RETVAL(call->data, 0);
    240         /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
    241            same code in process_answer() can be used
    242            (no way to distinguish method in answer) */
     242        /*
     243         * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
     244         * same code in process_answer() can be used
     245         * (no way to distinguish method in answer)
     246         */
    243247        IPC_SET_ARG1(call->data, uspace_addr);
    244248        IPC_SET_ARG2(call->data, to_copy);
     
    285289
    286290        IPC_SET_RETVAL(call->data, 0);
    287         /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
    288            same code in process_answer() can be used
    289            (no way to distinguish method in answer) */
     291        /*
     292         * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
     293         * same code in process_answer() can be used
     294         * (no way to distinguish method in answer)
     295         */
    290296        IPC_SET_ARG1(call->data, uspace_addr);
    291297        IPC_SET_ARG2(call->data, to_copy);
     
    326332
    327333        IPC_SET_RETVAL(call->data, 0);
    328         /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
    329            same code in process_answer() can be used
    330            (no way to distinguish method in answer) */
     334        /*
     335         * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
     336         * same code in process_answer() can be used
     337         * (no way to distinguish method in answer)
     338         */
    331339        IPC_SET_ARG1(call->data, uspace_addr);
    332340        IPC_SET_ARG2(call->data, 6 * sizeof(sysarg_t));
     
    367375
    368376        IPC_SET_RETVAL(call->data, 0);
    369         /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
    370            same code in process_answer() can be used
    371            (no way to distinguish method in answer) */
     377        /*
     378         * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
     379         * same code in process_answer() can be used
     380         * (no way to distinguish method in answer)
     381         */
    372382        IPC_SET_ARG1(call->data, uspace_addr);
    373383        IPC_SET_ARG2(call->data, to_copy);
     
    406416
    407417        IPC_SET_RETVAL(call->data, 0);
    408         /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
    409            same code in process_answer() can be used
    410            (no way to distinguish method in answer) */
     418        /*
     419         * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that
     420         * same code in process_answer() can be used
     421         * (no way to distinguish method in answer)
     422         */
    411423        IPC_SET_ARG1(call->data, uspace_dst);
    412424        IPC_SET_ARG2(call->data, size);
Note: See TracChangeset for help on using the changeset viewer.