Changeset 29b2bbf in mainline for kernel/arch/sparc64/src/mm/tlb.c


Ignore:
Timestamp:
2006-09-18T22:10:20Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
19dba2b
Parents:
57da95c
Message:

sparc64 work:

  • Experimental support for TSB (Translation Storage Buffer).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/tlb.c

    r57da95c r29b2bbf  
    5252#include <arch/asm.h>
    5353
     54#ifdef CONFIG_TSB
     55#include <arch/mm/tsb.h>
     56#endif
     57
    5458static void dtlb_pte_copy(pte_t *t, bool ro);
    5559static void itlb_pte_copy(pte_t *t);
     
    145149}
    146150
     151/** Copy PTE to ITLB.
     152 *
     153 * @param t Page Table Entry to be copied.
     154 */
    147155void itlb_pte_copy(pte_t *t)
    148156{
     
    190198                t->a = true;
    191199                itlb_pte_copy(t);
     200#ifdef CONFIG_TSB
     201                itsb_pte_copy(t);
     202#endif
    192203                page_table_unlock(AS, true);
    193204        } else {
     
    234245                t->a = true;
    235246                dtlb_pte_copy(t, true);
     247#ifdef CONFIG_TSB
     248                dtsb_pte_copy(t, true);
     249#endif
    236250                page_table_unlock(AS, true);
    237251        } else {
     
    267281                dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_SECONDARY, va);
    268282                dtlb_pte_copy(t, false);
     283#ifdef CONFIG_TSB
     284                dtsb_pte_copy(t, false);
     285#endif
    269286                page_table_unlock(AS, true);
    270287        } else {
Note: See TracChangeset for help on using the changeset viewer.