4.115
Last change
on this file since 991a3cc1 was
65c6425,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 17:24:46
|
Remove CVS Id Strings (manual edits after script)
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
-
Property mode set to
100644
|
File size:
516 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This file was submitted by Eric Vaitl <vaitl@viasat.com> and |
---|
3 | * supports page table initialization. |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef PAGE_TABLE_H |
---|
7 | #define PAGE_TABLE_H |
---|
8 | |
---|
9 | extern void page_table_teardown(void); |
---|
10 | extern void page_table_init(void); |
---|
11 | extern int page_table_map(void *addr, unsigned long size, int cache_type); |
---|
12 | |
---|
13 | enum { |
---|
14 | CACHE_WRITE_THROUGH, |
---|
15 | CACHE_COPYBACK, |
---|
16 | CACHE_NONE_SERIALIZED, |
---|
17 | CACHE_NONE |
---|
18 | }; |
---|
19 | enum { |
---|
20 | PTM_SUCCESS, |
---|
21 | PTM_BAD_ADDR, |
---|
22 | PTM_BAD_SIZE, |
---|
23 | PTM_BAD_CACHE, |
---|
24 | PTM_NO_TABLE_SPACE |
---|
25 | }; |
---|
26 | |
---|
27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.