summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme167/include/page_table.h
blob: 236a74f9fcdf8346158fe9bfa171d8c7eed2dec8 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                           
                            
                                                    


































                                                                
/*  page_table.h
 *
 *  This file was submitted by Eric Vaitl <vaitl@viasat.com> and 
 *  supports page table initialization.
 *
 *  For now, we only use the transparent translation registers. Page tables
 *  may be set up in the future.
 *
 *  COPYRIGHT (c) 1989-1999.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.OARcorp.com/rtems/license.html.
 *
 *  Modifications of respective RTEMS files:
 *  Copyright (c) 1998, National Research Council of Canada
 *
 *  $Id$
 */

#ifndef __PAGE_TABLE_H
#define __PAGE_TABLE_H

#include <rtems.h>

void page_table_teardown( void );
void page_table_init( rtems_configuration_table *config_table );

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