Changeset 1433ecda in mainline for boot


Ignore:
Timestamp:
2018-04-04T15:42:37Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

Location:
boot
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/src/ski.c

    r47b2d7e3 r1433ecda  
    4242
    4343        asm volatile (
    44                 "mov r15 = %[cmd]\n"
    45                 "break 0x80000\n"
    46                 :
    47                 : [cmd] "i" (SKI_INIT_CONSOLE)
    48                 : "r15", "r8"
     44            "mov r15 = %[cmd]\n"
     45            "break 0x80000\n"
     46            :
     47            : [cmd] "i" (SKI_INIT_CONSOLE)
     48            : "r15", "r8"
    4949        );
    5050
     
    6060
    6161        asm volatile (
    62                 "mov r15 = %[cmd]\n"
    63                 "mov r32 = %[ch]\n"   /* r32 is in0 */
    64                 "break 0x80000\n"     /* modifies r8 */
    65                 :
    66                 : [cmd] "i" (SKI_PUTCHAR), [ch] "r" (ch)
    67                 : "r15", "in0", "r8"
     62            "mov r15 = %[cmd]\n"
     63            "mov r32 = %[ch]\n"   /* r32 is in0 */
     64            "break 0x80000\n"     /* modifies r8 */
     65            :
     66            : [cmd] "i" (SKI_PUTCHAR), [ch] "r" (ch)
     67            : "r15", "in0", "r8"
    6868        );
    6969}
  • boot/arch/sparc64/src/main.c

    r47b2d7e3 r1433ecda  
    119119        uint64_t ver;
    120120        asm volatile (
    121                 "rdpr %%ver, %[ver]\n"
    122                 : [ver] "=r" (ver)
     121            "rdpr %%ver, %[ver]\n"
     122            : [ver] "=r" (ver)
    123123        );
    124124
  • boot/genarch/src/multiplication.c

    r47b2d7e3 r1433ecda  
    3737/** Set 1 to return INT64_MAX or INT64_MIN on overflow */
    3838#ifndef SOFTINT_CHECK_OF
    39         #define SOFTINT_CHECK_OF  0
     39#define SOFTINT_CHECK_OF  0
    4040#endif
    4141
     
    4545 *
    4646 */
    47 static unsigned long long mul(unsigned int a, unsigned int b) {
     47static unsigned long long mul(unsigned int a, unsigned int b)
     48{
    4849        unsigned int a1 = a >> 16;
    4950        unsigned int a2 = a & UINT16_MAX;
  • boot/generic/src/str.c

    r47b2d7e3 r1433ecda  
    105105/** Check the condition if wchar_t is signed */
    106106#ifdef __WCHAR_UNSIGNED__
    107         #define WCHAR_SIGNED_CHECK(cond)  (true)
     107#define WCHAR_SIGNED_CHECK(cond)  (true)
    108108#else
    109         #define WCHAR_SIGNED_CHECK(cond)  (cond)
     109#define WCHAR_SIGNED_CHECK(cond)  (cond)
    110110#endif
    111111
  • boot/generic/src/version.c

    r47b2d7e3 r1433ecda  
    3838
    3939#ifdef REVISION
    40         static const char *revision = ", revision " STRING(REVISION);
     40static const char *revision = ", revision " STRING(REVISION);
    4141#else
    42         static const char *revision = "";
     42static const char *revision = "";
    4343#endif
    4444
    4545#ifdef TIMESTAMP
    46         static const char *timestamp = " on " STRING(TIMESTAMP);
     46static const char *timestamp = " on " STRING(TIMESTAMP);
    4747#else
    48         static const char *timestamp = "";
     48static const char *timestamp = "";
    4949#endif
    5050
Note: See TracChangeset for help on using the changeset viewer.