- Timestamp:
- 2006-06-23T16:03:53Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 757551a3
- Parents:
- a832dd7
- Location:
- arch
- Files:
-
- 4 edited
-
ia32/src/smp/smp.c (modified) (1 diff)
-
ia64/src/mm/vhpt.c (modified) (1 diff)
-
ppc64/src/mm/page.c (modified) (1 diff)
-
sparc64/src/mm/page.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/smp/smp.c
ra832dd7 r2e9eae2 74 74 } 75 75 76 l_apic_address = PA2KA(PFN2ADDR(frame_alloc_rc(ONE_FRAME, FRAME_ATOMIC | FRAME_KA, &status)));76 l_apic_address = (__address) frame_alloc_rc(ONE_FRAME, FRAME_ATOMIC | FRAME_KA, &status); 77 77 if (status != FRAME_OK) 78 78 panic("cannot allocate address for l_apic\n"); 79 79 80 io_apic_address = PA2KA(PFN2ADDR(frame_alloc_rc(ONE_FRAME, FRAME_ATOMIC | FRAME_KA, &status)));80 io_apic_address = (__address) frame_alloc_rc(ONE_FRAME, FRAME_ATOMIC | FRAME_KA, &status); 81 81 if (status != FRAME_OK) 82 82 panic("cannot allocate address for io_apic\n"); -
arch/ia64/src/mm/vhpt.c
ra832dd7 r2e9eae2 43 43 __address vhpt_set_up(void) 44 44 { 45 vhpt_base=(vhpt_entry_t*) PA2KA(PFN2ADDR(frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA)));45 vhpt_base=(vhpt_entry_t*) frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA); 46 46 if(!vhpt_base) panic("Kernel configured with VHPT but no memory for table."); 47 47 vhpt_invalidate_all(); -
arch/ppc64/src/mm/page.c
ra832dd7 r2e9eae2 275 275 276 276 /* Allocate page hash table */ 277 phte_t *physical_phte = (phte_t *) PFN2ADDR(frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC)); 278 phte = (phte_t *) PA2KA((__address) physical_phte); 277 phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC); 279 278 280 279 ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0); -
arch/sparc64/src/mm/page.c
ra832dd7 r2e9eae2 74 74 order = (fnzb32(size - 1) + 1) - FRAME_WIDTH; 75 75 76 __address virtaddr = PA2KA(PFN2ADDR(frame_alloc(order, FRAME_KA)));76 __address virtaddr = frame_alloc(order, FRAME_KA); 77 77 78 78 for (i = 0; i < sizemap[order].count; i++)
Note:
See TracChangeset
for help on using the changeset viewer.
