Changeset 7c3fb9b in mainline for kernel/arch/arm32/src/cpu/cpu.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 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).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/cpu/cpu.c

    rfac0ac7 r7c3fb9b  
    147147        /* Unaligned access is supported on armv6+ */
    148148#if defined(PROCESSOR_ARCH_armv7_a) | defined(PROCESSOR_ARCH_armv6)
    149         /* Enable unaligned access, RAZ/WI prior to armv6
     149        /*
     150         * Enable unaligned access, RAZ/WI prior to armv6
    150151         * switchable on armv6, RAO/WI writes on armv7,
    151152         * see ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition
    152          * L.3.1 (p. 2456) */
     153         * L.3.1 (p. 2456)
     154         */
    153155        control_reg |= SCTLR_UNALIGNED_EN_FLAG;
    154         /* Disable alignment checks, this turns unaligned access to undefined,
    155          * unless U bit is set. */
     156        /*
     157         * Disable alignment checks, this turns unaligned access to undefined,
     158         * unless U bit is set.
     159         */
    156160        control_reg &= ~SCTLR_ALIGN_CHECK_EN_FLAG;
    157         /* Enable caching, On arm prior to armv7 there is only one level
     161        /*
     162         * Enable caching, On arm prior to armv7 there is only one level
    158163         * of caches. Data cache is coherent.
    159164         * "This means that the behavior of accesses from the same observer to
     
    169174#endif
    170175#ifdef PROCESSOR_ARCH_armv7_a
    171         /* ICache coherency is elaborated on in barrier.h.
     176        /*
     177         * ICache coherency is elaborated on in barrier.h.
    172178         * VIPT and PIPT caches need maintenance only on code modify,
    173179         * so it should be safe for general use.
Note: See TracChangeset for help on using the changeset viewer.