Changeset 44d0758 in mainline for kernel/arch/sparc64/src/mm/tsb.c


Ignore:
Timestamp:
2006-11-22T18:35:17Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aca95f6b
Parents:
eb353b3
Message:

Add option to compile the sparc64 kernel without the TTE_CV bit support.
The bit is not used by default now.
Enabling it may theoretically lead to physical memory inconsistencies until code that
mitigates the problem is written.

File:
1 edited

Legend:

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

    reb353b3 r44d0758  
    101101        tsb->data.pfn = t->frame >> PAGE_WIDTH;
    102102        tsb->data.cp = t->c;
     103#ifdef CONFIG_VIRT_IDX_CACHE
    103104        tsb->data.cv = t->c;
     105#endif /* CONFIG_VIRT_IDX_CACHE */
    104106        tsb->data.p = t->k;             /* p as privileged */
    105107        tsb->data.v = t->p;
     
    141143        tsb->data.pfn = t->frame >> PAGE_WIDTH;
    142144        tsb->data.cp = t->c;
     145#ifdef CONFIG_VIRT_IDX_CACHE
    143146        tsb->data.cv = t->c;
     147#endif /* CONFIG_VIRT_IDX_CACHE */
    144148        tsb->data.p = t->k;             /* p as privileged */
    145149        tsb->data.w = ro ? false : t->w;
Note: See TracChangeset for help on using the changeset viewer.