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
|
Line | |
---|
1 | /* page_table.h |
---|
2 | * |
---|
3 | * This file was submitted by Eric Vaitl <vaitl@viasat.com> and |
---|
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 | * |
---|
9 | * COPYRIGHT (c) 1989-1999. |
---|
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 |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
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 ); |
---|
26 | void page_table_init( void ); |
---|
27 | |
---|
28 | enum { |
---|
29 | CACHE_WRITE_THROUGH, |
---|
30 | CACHE_COPYBACK, |
---|
31 | CACHE_NONE_SERIALIZED, |
---|
32 | CACHE_NONE |
---|
33 | }; |
---|
34 | |
---|
35 | enum { |
---|
36 | PTM_SUCCESS, |
---|
37 | PTM_BAD_ADDR, |
---|
38 | PTM_BAD_SIZE, |
---|
39 | PTM_BAD_CACHE, |
---|
40 | PTM_NO_TABLE_SPACE |
---|
41 | }; |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.