- Timestamp:
- 2006-06-26T10:18:05Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2f40fe4
- Parents:
- e45f81a
- Location:
- arch
- Files:
-
- 2 edited
-
ia64/src/mm/vhpt.c (modified) (1 diff)
-
ppc64/src/mm/page.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/src/mm/vhpt.c
re45f81a r7ee0e2f 43 43 __address vhpt_set_up(void) 44 44 { 45 vhpt_base=(vhpt_entry_t*) frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA); 46 if(!vhpt_base) panic("Kernel configured with VHPT but no memory for table."); 45 vhpt_base = frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA | FRAME_ATOMIC); 46 if(!vhpt_base) 47 panic("Kernel configured with VHPT but no memory for table."); 47 48 vhpt_invalidate_all(); 48 49 return (__address) vhpt_base; -
arch/ppc64/src/mm/page.c
re45f81a r7ee0e2f 275 275 276 276 /* Allocate page hash table */ 277 phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_ PANIC);277 phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_ATOMIC); 278 278 279 279 ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0);
Note:
See TracChangeset
for help on using the changeset viewer.
