source: rtems/c/src/lib/libbsp/m68k/mvme162/include/page_table.h @ 7593d56c

4.104.114.84.95
Last change on this file since 7593d56c was 7593d56c, checked in by Joel Sherrill <joel.sherrill@…>, on 12/19/95 at 19:22:55

file lost in crash and re-added

  • Property mode set to 100644
File size: 914 bytes
Line 
1/*
2 *  $Id$
3 *
4 *  This file was submitted by Eric Vaitl <vaitl@viasat.com> and
5 *  supports page table initialization.
6 *
7 *  $Log$
8 * Revision 1.1  1995/12/05  15:29:19  joel
9 * added.. submitted by  Eric Vaitl <vaitl@viasat.com>
10 *
11 * Revision 1.2  1995/10/27  21:00:33  vaitl
12 * Modified page table routines so application code can map
13 * VME space.
14 *
15 * Revision 1.1  1995/10/25  17:16:06  vaitl
16 * Working on page table. Caching partially set up, but can't currently
17 * set tc register.
18 *
19 */
20
21#ifndef PAGE_TABLE_H
22#define PAGE_TABLE_H
23
24extern void page_table_teardown(void);
25extern void page_table_init(void);
26extern int page_table_map(void *addr, unsigned long size, int cache_type);
27
28enum {
29    CACHE_WRITE_THROUGH,
30    CACHE_COPYBACK,
31    CACHE_NONE_SERIALIZED,
32    CACHE_NONE
33};
34enum {
35    PTM_SUCCESS,
36    PTM_BAD_ADDR,
37    PTM_BAD_SIZE,
38    PTM_BAD_CACHE,
39    PTM_NO_TABLE_SPACE
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.