Ignore:
Timestamp:
2018-04-04T15:42:37Z (6 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/arch/mm/sun4u/tlb.h

    r47b2d7e3 r1433ecda  
    109109                unsigned long : 51;
    110110                unsigned context : 13;          /**< Context/ASID. */
    111         } __attribute__ ((packed));
     111        } __attribute__((packed));
    112112};
    113113typedef union tlb_context_reg tlb_context_reg_t;
     
    126126                unsigned tlb_entry : 6;
    127127                unsigned : 3;
    128         } __attribute__ ((packed));
     128        } __attribute__((packed));
    129129};
    130130typedef union tlb_data_access_addr dtlb_data_access_addr_t;
     
    155155                unsigned local_tlb_entry : 9;
    156156                unsigned : 3;
    157         } __attribute__ ((packed));
     157        } __attribute__((packed));
    158158};
    159159typedef union dtlb_data_access_addr dtlb_data_access_addr_t;
     
    169169                unsigned local_tlb_entry : 7;
    170170                unsigned : 3;
    171         } __attribute__ ((packed));
     171        } __attribute__((packed));
    172172};
    173173typedef union itlb_data_access_addr itlb_data_access_addr_t;
     
    182182                uint64_t vpn : 51;      /**< Virtual Address bits 63:13. */
    183183                unsigned context : 13;  /**< Context identifier. */
    184         } __attribute__ ((packed));
     184        } __attribute__((packed));
    185185};
    186186typedef union tlb_tag_read_reg tlb_tag_read_reg_t;
     
    192192        uint64_t value;
    193193        struct {
    194                 uint64_t vpn: 51;       /**< Virtual Address bits 63:13. */
     194                uint64_t vpn : 51;      /**< Virtual Address bits 63:13. */
    195195#if defined (US)
    196196                unsigned : 6;           /**< Ignored. */
     
    198198#elif defined (US3)
    199199                unsigned : 5;           /**< Ignored. */
    200                 unsigned type: 2;       /**< The type of demap operation. */
     200                unsigned type : 2;      /**< The type of demap operation. */
    201201#endif
    202202                unsigned context : 2;   /**< Context register selection. */
    203203                unsigned : 4;           /**< Zero. */
    204         } __attribute__ ((packed));
     204        } __attribute__((packed));
    205205};
    206206typedef union tlb_demap_addr tlb_demap_addr_t;
     
    229229                unsigned ow : 1;        /**< Overwrite bit. */
    230230                unsigned fv : 1;        /**< Fault Valid bit. */
    231         } __attribute__ ((packed));
     231        } __attribute__((packed));
    232232};
    233233typedef union tlb_sfsr_reg tlb_sfsr_reg_t;
     
    436436 */
    437437NO_TRACE static inline void itlb_data_access_write(int tlb, size_t entry,
    438         uint64_t value)
     438    uint64_t value)
    439439{
    440440        itlb_data_access_addr_t reg;
     
    472472 */
    473473NO_TRACE static inline void dtlb_data_access_write(int tlb, size_t entry,
    474         uint64_t value)
     474    uint64_t value)
    475475{
    476476        dtlb_data_access_addr_t reg;
Note: See TracChangeset for help on using the changeset viewer.