Changeset 7c3fb9b in mainline for boot


Ignore:
Timestamp:
2018-05-17T08:29:01Z (8 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
Files:
4 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
  • boot/genarch/src/multiplication.c

    rfac0ac7 r7c3fb9b  
    9090        }
    9191
    92         /* (if OF checked) a1 or b1 is zero => result fits in 64 bits,
     92        /*
     93         * (if OF checked) a1 or b1 is zero => result fits in 64 bits,
    9394         * no need to another overflow check
    9495         */
     
    104105        t2 += t1;
    105106
    106         /* t2 & (1ull << 63) - if this bit is set in unsigned long long,
     107        /*
     108         * t2 & (1ull << 63) - if this bit is set in unsigned long long,
    107109         * result does not fit in signed one
    108110         */
  • boot/generic/src/str.c

    rfac0ac7 r7c3fb9b  
    215215                return EINVAL;
    216216
    217         /* Unsigned version of ch (bit operations should only be done
    218            on unsigned types). */
     217        /*
     218         * Unsigned version of ch (bit operations should only be done
     219         * on unsigned types).
     220         */
    219221        uint32_t cc = (uint32_t) ch;
    220222
Note: See TracChangeset for help on using the changeset viewer.