source: rtems/c/src/lib/libbsp/m68k/mvme162/include/page_table.h @ 8bdcfc4

4.104.114.84.95
Last change on this file since 8bdcfc4 was 8bdcfc4, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 19, 1995 at 8:26:32 PM

changes remerged after disk crash -- history lost

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