Changeset 7c3fb9b in mainline for kernel/arch/abs32le


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

Location:
kernel/arch/abs32le
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/include/arch/asm.h

    rfac0ac7 r7c3fb9b  
    4646NO_TRACE static inline __attribute__((noreturn)) void cpu_halt(void)
    4747{
    48         /* On real hardware this should stop processing further
    49            instructions on the CPU (and possibly putting it into
    50            low-power mode) without any possibility of exitting
    51            this function. */
     48        /*
     49         * On real hardware this should stop processing further
     50         * instructions on the CPU (and possibly putting it into
     51         * low-power mode) without any possibility of exitting
     52         * this function.
     53         */
    5254
    5355        while (true)
     
    5759NO_TRACE static inline void cpu_sleep(void)
    5860{
    59         /* On real hardware this should put the CPU into low-power
    60            mode. However, the CPU is free to continue processing
    61            futher instructions any time. The CPU also wakes up
    62            upon an interrupt. */
     61        /*
     62         * On real hardware this should put the CPU into low-power
     63         * mode. However, the CPU is free to continue processing
     64         * futher instructions any time. The CPU also wakes up
     65         * upon an interrupt.
     66         */
    6367}
    6468
  • kernel/arch/abs32le/include/arch/atomic.h

    rfac0ac7 r7c3fb9b  
    4747    REQUIRES(val->count < ATOMIC_COUNT_MAX)
    4848{
    49         /* On real hardware the increment has to be done
    50            as an atomic action. */
     49        /*
     50         * On real hardware the increment has to be done
     51         * as an atomic action.
     52         */
    5153
    5254        val->count++;
     
    5860    REQUIRES(val->count > ATOMIC_COUNT_MIN)
    5961{
    60         /* On real hardware the decrement has to be done
    61            as an atomic action. */
     62        /*
     63         * On real hardware the decrement has to be done
     64         * as an atomic action.
     65         */
    6266
    6367        val->count--;
     
    6973    REQUIRES(val->count < ATOMIC_COUNT_MAX)
    7074{
    71         /* On real hardware both the storing of the previous
    72            value and the increment have to be done as a single
    73            atomic action. */
     75        /*
     76         * On real hardware both the storing of the previous
     77         * value and the increment have to be done as a single
     78         * atomic action.
     79         */
    7480
    7581        atomic_count_t prev = val->count;
     
    8490    REQUIRES(val->count > ATOMIC_COUNT_MIN)
    8591{
    86         /* On real hardware both the storing of the previous
    87            value and the decrement have to be done as a single
    88            atomic action. */
     92        /*
     93         * On real hardware both the storing of the previous
     94         * value and the decrement have to be done as a single
     95         * atomic action.
     96         */
    8997
    9098        atomic_count_t prev = val->count;
     
    101109    REQUIRES_EXTENT_MUTABLE(val)
    102110{
    103         /* On real hardware the retrieving of the original
    104            value and storing 1 have to be done as a single
    105            atomic action. */
     111        /*
     112         * On real hardware the retrieving of the original
     113         * value and storing 1 have to be done as a single
     114         * atomic action.
     115         */
    106116
    107117        atomic_count_t prev = val->count;
  • kernel/arch/abs32le/include/arch/istate.h

    rfac0ac7 r7c3fb9b  
    6565    REQUIRES_EXTENT_MUTABLE(istate)
    6666{
    67         /* On real hardware this checks whether the interrupted
    68            context originated from user space. */
     67        /*
     68         * On real hardware this checks whether the interrupted
     69         * context originated from user space.
     70         */
    6971
    7072        return !(istate->ip & UINT32_C(0x80000000));
  • kernel/arch/abs32le/src/userspace.c

    rfac0ac7 r7c3fb9b  
    4141void userspace(uspace_arg_t *kernel_uarg)
    4242{
    43         /* On real hardware this switches the CPU to user
    44            space mode and jumps to kernel_uarg->uspace_entry. */
     43        /*
     44         * On real hardware this switches the CPU to user
     45         * space mode and jumps to kernel_uarg->uspace_entry.
     46         */
    4547
    4648        while (true)
Note: See TracChangeset for help on using the changeset viewer.