Subversion Repositories HelenOS-historic

Rev

Rev 1702 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef __ia64_VHPT_H__
  2. #define __ia64_VHPT_H__
  3.  
  4. #include <arch/mm/tlb.h>
  5. #include <arch/mm/page.h>
  6.  
  7. __address vhpt_set_up(void);
  8.  
  9. static inline vhpt_entry_t tlb_entry_t2vhpt_entry_t(tlb_entry_t tentry)
  10. {
  11.     vhpt_entry_t ventry;
  12.    
  13.     ventry.word[0]=tentry.word[0];
  14.     ventry.word[1]=tentry.word[1];
  15.    
  16.     return ventry;
  17. }
  18.  
  19. void vhpt_mapping_insert(__address va, asid_t asid, tlb_entry_t entry);
  20. void vhpt_invalidate_all(void);
  21. void vhpt_invalidate_asid(asid_t asid);
  22.  
  23.  
  24. #endif
  25.  
  26.