4.115
Last change
on this file since c499856 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
922 bytes
|
Rev | Line | |
---|
[5d02459] | 1 | /* page_table.h |
---|
| 2 | * |
---|
[6128a4a] | 3 | * This file was submitted by Eric Vaitl <vaitl@viasat.com> and |
---|
[5d02459] | 4 | * supports page table initialization. |
---|
| 5 | * |
---|
| 6 | * For now, we only use the transparent translation registers. Page tables |
---|
| 7 | * may be set up in the future. |
---|
| 8 | * |
---|
[08311cc3] | 9 | * COPYRIGHT (c) 1989-1999. |
---|
[5d02459] | 10 | * On-Line Applications Research Corporation (OAR). |
---|
| 11 | * |
---|
| 12 | * The license and distribution terms for this file may be |
---|
| 13 | * found in the file LICENSE in this distribution or at |
---|
[c499856] | 14 | * http://www.rtems.org/license/LICENSE. |
---|
[5d02459] | 15 | * |
---|
| 16 | * Modifications of respective RTEMS files: |
---|
| 17 | * Copyright (c) 1998, National Research Council of Canada |
---|
| 18 | */ |
---|
| 19 | |
---|
| 20 | #ifndef __PAGE_TABLE_H |
---|
| 21 | #define __PAGE_TABLE_H |
---|
| 22 | |
---|
| 23 | #include <rtems.h> |
---|
| 24 | |
---|
| 25 | void page_table_teardown( void ); |
---|
[e85476b] | 26 | void page_table_init( void ); |
---|
[5d02459] | 27 | |
---|
[6128a4a] | 28 | enum { |
---|
| 29 | CACHE_WRITE_THROUGH, |
---|
| 30 | CACHE_COPYBACK, |
---|
[5d02459] | 31 | CACHE_NONE_SERIALIZED, |
---|
[6128a4a] | 32 | CACHE_NONE |
---|
[5d02459] | 33 | }; |
---|
| 34 | |
---|
[6128a4a] | 35 | enum { |
---|
| 36 | PTM_SUCCESS, |
---|
| 37 | PTM_BAD_ADDR, |
---|
| 38 | PTM_BAD_SIZE, |
---|
[5d02459] | 39 | PTM_BAD_CACHE, |
---|
| 40 | PTM_NO_TABLE_SPACE |
---|
| 41 | }; |
---|
| 42 | |
---|
| 43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.