Changeset 5df69cb in mainline for kernel/arch/mips32/include/mm/tlb.h


Ignore:
Timestamp:
2012-12-11T21:11:37Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f87aa6, c928bb7
Parents:
f9ab562
Message:

mips32: the TLB index is 6 bits on R4000 as there are 48 TLB entries.

File:
1 edited

Legend:

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

    rf9ab562 r5df69cb  
    112112#ifdef __BE__
    113113                unsigned p : 1;
    114                 unsigned : 27;
    115                 unsigned index : 4;
     114                unsigned : 25;
     115                unsigned index : 6;
    116116#else
    117                 unsigned index : 4;
    118                 unsigned : 27;
     117                unsigned index : 6;
     118                unsigned : 25;
    119119                unsigned p : 1;
    120120#endif
Note: See TracChangeset for help on using the changeset viewer.