Changeset 849386a in mainline for arch/ia64/include/mm/page.h
- Timestamp:
- 2006-01-27T16:23:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 457d18a
- Parents:
- c2b95d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/mm/page.h
rc2b95d3 r849386a 47 47 48 48 /** Implementation of page hash table interface. */ 49 #define HT_ENTRIES_ARCH 050 #define HT_HASH_ARCH(page, asid) 049 #define HT_ENTRIES_ARCH (VHPT_SIZE/sizeof(pte_t)) 50 #define HT_HASH_ARCH(page, asid) vhpt_hash((page), (asid)) 51 51 #define HT_COMPARE_ARCH(page, asid, t) 0 52 52 #define HT_SLOT_EMPTY_ARCH(t) 1 … … 56 56 #define HT_SET_RECORD_ARCH(t, page, asid, frame, flags) 57 57 58 #define VRN_SHIFT 61 59 #define VRN_MASK (7LL << VRN_SHIFT) 60 58 61 #define VRN_KERNEL 0 62 #define VRN_WORK 1LL 59 63 #define REGION_REGISTERS 8 60 64 … … 198 202 __u64 ret; 199 203 200 //ASSERT(i < REGION_REGISTERS);204 ASSERT(i < REGION_REGISTERS); 201 205 __asm__ volatile ("mov %0 = rr[%1]\n" : "=r" (ret) : "r" (i)); 202 206 … … 212 216 static inline void rr_write(index_t i, __u64 v) 213 217 { 214 //ASSERT(i < REGION_REGISTERS);218 ASSERT(i < REGION_REGISTERS); 215 219 __asm__ volatile ("mov rr[%0] = %1\n" : : "r" (i), "r" (v)); 216 220 } … … 239 243 240 244 extern void page_arch_init(void); 245 extern pte_t *vhpt_hash(__address page, asid_t asid); 241 246 242 247 #endif
Note:
See TracChangeset
for help on using the changeset viewer.