Changeset 371bd7d in mainline for kernel/arch/sparc64/src/mm


Ignore:
Timestamp:
2010-03-27T09:22:17Z (16 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a75a2
Parents:
cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

Location:
kernel/arch/sparc64/src/mm
Files:
4 added
1 edited
4 moved

Legend:

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

    rcd82bb1 r371bd7d  
    3333 */
    3434
     35#include <mm/page.h>
    3536#include <arch/mm/page.h>
    3637#include <arch/mm/tlb.h>
  • kernel/arch/sparc64/src/mm/sun4u/frame.c

    rcd82bb1 r371bd7d  
    3636#include <mm/frame.h>
    3737#include <arch/boot/boot.h>
    38 #include <arch/types.h>
     38#include <typedefs.h>
    3939#include <config.h>
    4040#include <align.h>
  • kernel/arch/sparc64/src/mm/sun4u/tlb.c

    rcd82bb1 r371bd7d  
    4444#include <arch.h>
    4545#include <print.h>
    46 #include <arch/types.h>
     46#include <typedefs.h>
    4747#include <config.h>
    4848#include <arch/trap/trap.h>
     
    5050#include <panic.h>
    5151#include <arch/asm.h>
     52#include <genarch/mm/page_ht.h>
    5253
    5354#ifdef CONFIG_TSB
     
    6364    tlb_tag_access_reg_t, const char *);
    6465
    65 char *context_encoding[] = {
     66const char *context_encoding[] = {
    6667        "Primary",
    6768        "Secondary",
     
    475476}
    476477
    477 void dump_sfsr_and_sfar(void)
     478void describe_dmmu_fault(void)
    478479{
    479480        tlb_sfsr_reg_t sfsr;
     
    498499}
    499500
     501void dump_sfsr_and_sfar(void)
     502{
     503        tlb_sfsr_reg_t sfsr;
     504        uintptr_t sfar;
     505
     506        sfsr.value = dtlb_sfsr_read();
     507        sfar = dtlb_sfar_read();
     508       
     509#if defined (US)
     510        printf("DTLB SFSR: asi=%#x, ft=%#x, e=%d, ct=%d, pr=%d, w=%d, ow=%d, "
     511            "fv=%d\n", sfsr.asi, sfsr.ft, sfsr.e, sfsr.ct, sfsr.pr, sfsr.w,
     512            sfsr.ow, sfsr.fv);
     513#elif defined (US3)
     514        printf("DTLB SFSR: nf=%d, asi=%#x, tm=%d, ft=%#x, e=%d, ct=%d, pr=%d, "
     515            "w=%d, ow=%d, fv=%d\n", sfsr.nf, sfsr.asi, sfsr.tm, sfsr.ft,
     516            sfsr.e, sfsr.ct, sfsr.pr, sfsr.w, sfsr.ow, sfsr.fv);
     517#endif
     518           
     519        printf("DTLB SFAR: address=%p\n", sfar);
     520       
     521        dtlb_sfsr_write(0);
     522}
     523
    500524#if defined (US)
    501525/** Invalidate all unlocked ITLB and DTLB entries. */
  • kernel/arch/sparc64/src/mm/sun4u/tsb.c

    rcd82bb1 r371bd7d  
    3838#include <arch/barrier.h>
    3939#include <mm/as.h>
    40 #include <arch/types.h>
     40#include <typedefs.h>
    4141#include <macros.h>
    4242#include <debug.h>
Note: See TracChangeset for help on using the changeset viewer.