Changeset 7c3fb9b in mainline for kernel/arch/arm32/src


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/arm32/src
Files:
4 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.
  • kernel/arch/arm32/src/exception.c

    rfac0ac7 r7c3fb9b  
    6666static void install_handler(unsigned handler_addr, unsigned *vector)
    6767{
    68         /* relative address (related to exc. vector) of the word
     68        /*
     69         * Relative address (related to exc. vector) of the word
    6970         * where handler's address is stored
    7071         */
     
    7273            PREFETCH_OFFSET;
    7374
    74         /* make it LDR instruction and store at exception vector */
     75        /* Make it LDR instruction and store at exception vector */
    7576        *vector = handler_address_ptr | LDR_OPCODE;
    7677        smc_coherence(vector);
    7778
    78         /* store handler's address */
     79        /* Store handler's address */
    7980        *(vector + EXC_VECTORS) = handler_addr;
    8081
  • kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c

    rfac0ac7 r7c3fb9b  
    106106        omap_irc_init(beagleboard.irc_addr);
    107107
    108         /* Initialize timer. Use timer1, because it is in WKUP power domain
    109          * (always on) and has special capabilities for precise 1ms ticks */
     108        /*
     109         * Initialize timer. Use timer1, because it is in WKUP power domain
     110         * (always on) and has special capabilities for precise 1ms ticks
     111         */
    110112        amdm37x_gpt_timer_ticks_init(&beagleboard.timer,
    111113            AMDM37x_GPT1_BASE_ADDRESS, AMDM37x_GPT1_SIZE, HZ);
     
    161163        }
    162164        /** amdm37x manual ch. 12.5.2 (p. 2428) places irc ack at the end
    163          * of ISR. DO this to avoid strange behavior. */
     165         * of ISR. DO this to avoid strange behavior.
     166         */
    164167        omap_irc_irq_ack(beagleboard.irc_addr);
    165168}
  • kernel/arch/arm32/src/mm/page_fault.c

    rfac0ac7 r7c3fb9b  
    153153        }
    154154
    155         /* See ARM Architecture reference manual ARMv7-A and ARMV7-R edition
    156          * A5.3 (PDF p. 206) */
     155        /*
     156         * See ARM Architecture reference manual ARMv7-A and ARMV7-R edition
     157         * A5.3 (PDF p. 206)
     158         */
    157159        static const struct {
    158160                uint32_t mask;
Note: See TracChangeset for help on using the changeset viewer.