Changeset 8440473 in mainline for kernel/arch/sparc64


Ignore:
Timestamp:
2006-10-26T21:36:32Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c84448
Parents:
19dce27
Message:

Minor changes. Some coding style fixes and also a type (tee vs. tree).
One AS → as change.

Location:
kernel/arch/sparc64
Files:
3 edited

Legend:

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

    r19dce27 r8440473  
    4343 * in TLBs - only one TLB entry will do.
    4444 */
    45 #define TSB_SIZE                        2                       /* when changing this, change as.c as well */
     45#define TSB_SIZE                        2       /* when changing this, change as.c as well */
    4646#define ITSB_ENTRY_COUNT                (512*(1<<TSB_SIZE))
    4747#define DTSB_ENTRY_COUNT                (512*(1<<TSB_SIZE))
  • kernel/arch/sparc64/include/trap/mmu.h

    r19dce27 r8440473  
    6161         * First, try to refill TLB from TSB.
    6262         */
    63 
    6463#ifdef CONFIG_TSB
    6564        ldxa [%g0] ASI_IMMU, %g1                        ! read TSB Tag Target Register
     
    8584#ifdef CONFIG_TSB
    8685        ldxa [%g0] ASI_DMMU, %g1                        ! read TSB Tag Target Register
    87         srlx %g1, TSB_TAG_TARGET_CONTEXT_SHIFT, %g2     ! is this kernel miss?
     86        srlx %g1, TSB_TAG_TARGET_CONTEXT_SHIFT, %g2     ! is this a kernel miss?
    8887        brz,pn %g2, 0f
    8988        ldxa [%g0] ASI_DMMU_TSB_8KB_PTR_REG, %g3        ! read TSB 8K Pointer
  • kernel/arch/sparc64/src/start.S

    r19dce27 r8440473  
    6868         */
    6969
    70         wrpr %g0, NWINDOWS - 2, %cansave                ! set maximum saveable windows
     70        wrpr %g0, NWINDOWS - 2, %cansave        ! set maximum saveable windows
    7171        wrpr %g0, 0, %canrestore                ! get rid of windows we will never need again
    7272        wrpr %g0, 0, %otherwin                  ! make sure the window state is consistent
Note: See TracChangeset for help on using the changeset viewer.