root/arch/sparc/prom/segment.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. prom_putsegment

   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)
     /* [previous][next][first][last][top][bottom][index][help] */
  16 {
  17         (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment);
  18         return;
  19 }

/* [previous][next][first][last][top][bottom][index][help] */