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 /* $Id: segment.c,v 1.2 1995/11/25 01:00:14 davem Exp $
   2  * segment.c:  Prom routine to map segments in other contexts before
   3  *             a standalone is completely mapped.  This is for sun4 and
   4  *             sun4c architectures only.
   5  *
   6  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
   7  */
   8 
   9 #include <asm/openprom.h>
  10 #include <asm/oplib.h>
  11 
  12 /* Set physical segment 'segment' at virtual address 'vaddr' in
  13  * context 'ctx'.
  14  */
  15 void
  16 prom_putsegment(int ctx, unsigned long vaddr, int segment)
     /* [previous][next][first][last][top][bottom][index][help] */
  17 {
  18         (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment);
  19         return;
  20 }

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