diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-19 19:22:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-19 19:22:55 +0000 |
commit | 7593d56c4ff573ca6e7e0ab01b3436f1d3e9a950 (patch) | |
tree | 8144349d6b787f39a12e0ee4d9ad12335df97f99 /c/src/lib/libbsp/m68k/mvme162/include | |
parent | file lost in crash and readded (diff) | |
download | rtems-7593d56c4ff573ca6e7e0ab01b3436f1d3e9a950.tar.bz2 |
file lost in crash and re-added
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme162/include')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme162/include/page_table.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme162/include/page_table.h b/c/src/lib/libbsp/m68k/mvme162/include/page_table.h new file mode 100644 index 0000000000..ec73c3dae8 --- /dev/null +++ b/c/src/lib/libbsp/m68k/mvme162/include/page_table.h @@ -0,0 +1,42 @@ +/* + * $Id$ + * + * This file was submitted by Eric Vaitl <vaitl@viasat.com> and + * supports page table initialization. + * + * $Log$ + * Revision 1.1 1995/12/05 15:29:19 joel + * added.. submitted by Eric Vaitl <vaitl@viasat.com> + * + * Revision 1.2 1995/10/27 21:00:33 vaitl + * Modified page table routines so application code can map + * VME space. + * + * Revision 1.1 1995/10/25 17:16:06 vaitl + * Working on page table. Caching partially set up, but can't currently + * set tc register. + * + */ + +#ifndef PAGE_TABLE_H +#define PAGE_TABLE_H + +extern void page_table_teardown(void); +extern void page_table_init(void); +extern int page_table_map(void *addr, unsigned long size, int cache_type); + +enum { + CACHE_WRITE_THROUGH, + CACHE_COPYBACK, + CACHE_NONE_SERIALIZED, + CACHE_NONE +}; +enum { + PTM_SUCCESS, + PTM_BAD_ADDR, + PTM_BAD_SIZE, + PTM_BAD_CACHE, + PTM_NO_TABLE_SPACE +}; + +#endif |