Changeset eef1b031 in mainline for kernel/arch/ppc32/include


Ignore:
Timestamp:
2011-05-23T15:51:46Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b372015
Parents:
366b148
Message:

ppc32: page hash table should be no longer interpreted as a TLB, it is really closer to the TSB on sparc64
this fixes ticket #344 for ppc32

Location:
kernel/arch/ppc32/include/mm
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/mm/as.h

    r366b148 reef1b031  
    3636#define KERN_ppc32_AS_H_
    3737
     38#include <arch/mm/pht.h>
     39
    3840#define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH  0
    3941
     
    5254#define as_create_arch(as, flags)       (as != as)
    5355#define as_deinstall_arch(as)
    54 #define as_invalidate_translation_cache(as, page, cnt)
     56
     57#define as_invalidate_translation_cache(as, page, cnt) \
     58        pht_invalidate((as), (page), (cnt))
    5559
    5660extern void as_arch_init(void);
  • kernel/arch/ppc32/include/mm/tlb.h

    r366b148 reef1b031  
    3737
    3838#include <arch/interrupt.h>
    39 #include <typedefs.h>
    4039
    4140#define WIMG_GUARDED    0x01
     
    7574} ptelo_t;
    7675
    77 extern void pht_init(void);
    78 extern void pht_refill(unsigned int, istate_t *);
    7976extern void tlb_refill(unsigned int, istate_t *);
    8077
Note: See TracChangeset for help on using the changeset viewer.