Changeset 0867321 in mainline for kernel/arch/ppc32/include/mm/tlb.h


Ignore:
Timestamp:
2009-02-02T18:06:15Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cdda403
Parents:
7b187ef
Message:

very experimental TLB refill for ppc32

File:
1 edited

Legend:

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

    r7b187ef r0867321  
    5959} phte_t;
    6060
     61typedef struct {
     62        unsigned v : 1;
     63        unsigned vsid : 24;
     64        unsigned reserved0 : 1;
     65        unsigned api : 6;
     66} ptehi_t;
     67
     68typedef struct {
     69        unsigned rpn : 20;
     70        unsigned xpn : 3;
     71        unsigned reserved0 : 1;
     72        unsigned c : 1;
     73        unsigned wimg : 4;
     74        unsigned x : 1;
     75        unsigned pp : 2;
     76} ptelo_t;
     77
     78extern void pht_init(void);
    6179extern void pht_refill(int n, istate_t *istate);
    6280extern bool pht_refill_real(int n, istate_t *istate) __attribute__ ((section("K_UNMAPPED_TEXT_START")));
    63 extern void pht_init(void);
     81extern void tlb_refill_real(int n, uint32_t tlbmiss, ptehi_t ptehi, ptelo_t ptelo, istate_t *istate) __attribute__ ((section("K_UNMAPPED_TEXT_START")));
    6482
    6583#endif
Note: See TracChangeset for help on using the changeset viewer.