Changeset 771cd22 in mainline for kernel/arch/sparc64/include/mm/tsb.h


Ignore:
Timestamp:
2006-12-16T19:07:02Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e7c8747
Parents:
1ecdbb0
Message:

Formatting and indentation changes.

File:
1 edited

Legend:

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

    r1ecdbb0 r771cd22  
    4343 * in TLBs - only one TLB entry will do.
    4444 */
    45 #define TSB_SIZE                        2       /* when changing this, change as.c as well */
    46 #define ITSB_ENTRY_COUNT                (512*(1<<TSB_SIZE))
    47 #define DTSB_ENTRY_COUNT                (512*(1<<TSB_SIZE))
     45#define TSB_SIZE                        2       /* when changing this, change
     46                                                 * as.c as well */
     47#define ITSB_ENTRY_COUNT                (512 * (1 << TSB_SIZE))
     48#define DTSB_ENTRY_COUNT                (512 * (1 << TSB_SIZE))
    4849
    4950#define TSB_TAG_TARGET_CONTEXT_SHIFT    48
     
    8182        struct {
    8283                uint64_t base : 51;     /**< TSB base address, bits 63:13. */
    83                 unsigned split : 1;     /**< Split vs. common TSB for 8K and 64K pages.
    84                                           *  HelenOS uses only 8K pages for user mappings,
    85                                           *  so we always set this to 0.
    86                                           */
     84                unsigned split : 1;     /**< Split vs. common TSB for 8K and 64K
     85                                         * pages. HelenOS uses only 8K pages
     86                                         * for user mappings, so we always set
     87                                         * this to 0.
     88                                         */
    8789                unsigned : 9;
    88                 unsigned size : 3;      /**< TSB size. Number of entries is 512*2^size. */
     90                unsigned size : 3;      /**< TSB size. Number of entries is
     91                                         * 512 * 2^size. */
    8992        } __attribute__ ((packed));
    9093};
Note: See TracChangeset for help on using the changeset viewer.