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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [mvme162/] [include/] [page_table.h] - Blame information for rev 562

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

Line No. Rev Author Line
1 30 unneback
/*
2
 *  $Id: page_table.h,v 1.2 2001-09-27 12:00:18 chris Exp $
3
 *
4
 *  This file was submitted by Eric Vaitl <vaitl@viasat.com> and
5
 *  supports page table initialization.
6
 *
7
 *  $Log: not supported by cvs2svn $
8
 *  Revision 1.2  1995/12/19 20:10:12  joel
9
 *  changes remerged after disk crash -- history lost
10
 *
11
 * Revision 1.1  1995/12/19  19:22:36  joel
12
 * file lost in crash and re-added
13
 *
14
 * Revision 1.1  1995/12/05  15:29:19  joel
15
 * added.. submitted by  Eric Vaitl <vaitl@viasat.com>
16
 *
17
 * Revision 1.2  1995/10/27  21:00:33  vaitl
18
 * Modified page table routines so application code can map
19
 * VME space.
20
 *
21
 * Revision 1.1  1995/10/25  17:16:06  vaitl
22
 * Working on page table. Caching partially set up, but can't currently
23
 * set tc register.
24
 *
25
 */
26
 
27
#ifndef PAGE_TABLE_H
28
#define PAGE_TABLE_H
29
 
30
extern void page_table_teardown(void);
31
extern void page_table_init(void);
32
extern int page_table_map(void *addr, unsigned long size, int cache_type);
33
 
34
enum {
35
    CACHE_WRITE_THROUGH,
36
    CACHE_COPYBACK,
37
    CACHE_NONE_SERIALIZED,
38
    CACHE_NONE
39
};
40
enum {
41
    PTM_SUCCESS,
42
    PTM_BAD_ADDR,
43
    PTM_BAD_SIZE,
44
    PTM_BAD_CACHE,
45
    PTM_NO_TABLE_SPACE
46
};
47
 
48
#endif

powered by: WebSVN 2.1.0

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