Changeset 7c3fb9b in mainline for boot/arch


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:
boot/arch/arm32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/include/arch/mm.h

    rfac0ac7 r7c3fb9b  
    7171#define BCM2835_RAM_END     0x20000000
    7272
    73 /* Page table level 0 entry - "section" format is used
    74  * (one-level paging, 1 MB sized pages). Used only while booting the kernel.
     73/** Page table level 0 entry
     74 *
     75 * "section" format is used (one-level paging, 1 MB sized pages).
     76 * Used only while booting the kernel.
    7577 */
    7678typedef struct {
  • boot/arch/arm32/src/mm.c

    rfac0ac7 r7c3fb9b  
    210210            "mrc p15, 0, r0, c1, c0, 0\n"
    211211
    212             /* Enable ICache, DCache, BPredictors and MMU,
     212            /*
     213             * Enable ICache, DCache, BPredictors and MMU,
    213214             * we disable caches before jumping to kernel
    214215             * so this is safe for all archs.
     
    224225            "orr r0, r0, r1\n"
    225226
    226             /* Invalidate the TLB content before turning on the MMU.
     227            /*
     228             * Invalidate the TLB content before turning on the MMU.
    227229             * ARMv7-A Reference manual, B3.10.3
    228230             */
     
    240242        disable_paging();
    241243#ifdef PROCESSOR_ARCH_armv7_a
    242         /* Make sure we run in memory code when caches are enabled,
     244        /*
     245         * Make sure we run in memory code when caches are enabled,
    243246         * make sure we read memory data too. This part is ARMv7 specific as
    244247         * ARMv7 no longer invalidates caches on restart.
    245          * See chapter B2.2.2 of ARM Architecture Reference Manual p. B2-1263*/
     248         * See chapter B2.2.2 of ARM Architecture Reference Manual p. B2-1263
     249         */
    246250        cache_invalidate();
    247251#endif
Note: See TracChangeset for help on using the changeset viewer.