OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [sparc/] [prom/] [segment.c] - Blame information for rev 1624

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1624 jcastillo
/* $Id: segment.c,v 1.1 2005-12-20 09:49:32 jcastillo 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)
17
{
18
        (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment);
19
        return;
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.