1 /* segment.c: Prom routine to map segments in other contexts before 2 * a standalone is completely mapped. This is for sun4 and 3 * sun4c architectures only. 4 * 5 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 6 */ 7 8 #include <asm/openprom.h> 9 #include <asm/oplib.h> 10 11 /* Set physical segment 'segment' at virtual address 'vaddr' in 12 * context 'ctx'. 13 */ 14 void 15 prom_putsegment(int ctx, unsigned long vaddr, int segment) /* */ 16 { 17 (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment); 18 return; 19 }