RTEMS  5.1
page_table.h
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
unsigned size
Definition: tte.h:74