Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:48

0001 /*  page_table.h
0002  *
0003  *  This file was submitted by Eric Vaitl <vaitl@viasat.com> and
0004  *  supports page table initialization.
0005  *
0006  *  For now, we only use the transparent translation registers. Page tables
0007  *  may be set up in the future.
0008  *
0009  *  COPYRIGHT (c) 1989-1999.
0010  *  On-Line Applications Research Corporation (OAR).
0011  *
0012  *  The license and distribution terms for this file may be
0013  *  found in the file LICENSE in this distribution or at
0014  *  http://www.rtems.org/license/LICENSE.
0015  *
0016  *  Modifications of respective RTEMS files:
0017  *  Copyright (c) 1998, National Research Council of Canada
0018  */
0019 
0020 #ifndef __PAGE_TABLE_H
0021 #define __PAGE_TABLE_H
0022 
0023 #include <rtems.h>
0024 
0025 void page_table_teardown( void );
0026 void page_table_init( void );
0027 
0028 enum {
0029   CACHE_WRITE_THROUGH,
0030   CACHE_COPYBACK,
0031   CACHE_NONE_SERIALIZED,
0032   CACHE_NONE
0033 };
0034 
0035 enum {
0036   PTM_SUCCESS,
0037   PTM_BAD_ADDR,
0038   PTM_BAD_SIZE,
0039   PTM_BAD_CACHE,
0040   PTM_NO_TABLE_SPACE
0041 };
0042 
0043 #endif