4.104.114.84.95
Last change
on this file since e4c07444 was
8bdcfc4,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/19/95 at 20:26:32
|
changes remerged after disk crash -- history lost
|
-
Property mode set to
100644
|
File size:
996 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * This file was submitted by Eric Vaitl <vaitl@viasat.com> and |
---|
5 | * supports page table initialization. |
---|
6 | * |
---|
7 | * $Log$ |
---|
8 | * Revision 1.1 1995/12/19 19:22:36 joel |
---|
9 | * file lost in crash and re-added |
---|
10 | * |
---|
11 | * Revision 1.1 1995/12/05 15:29:19 joel |
---|
12 | * added.. submitted by Eric Vaitl <vaitl@viasat.com> |
---|
13 | * |
---|
14 | * Revision 1.2 1995/10/27 21:00:33 vaitl |
---|
15 | * Modified page table routines so application code can map |
---|
16 | * VME space. |
---|
17 | * |
---|
18 | * Revision 1.1 1995/10/25 17:16:06 vaitl |
---|
19 | * Working on page table. Caching partially set up, but can't currently |
---|
20 | * set tc register. |
---|
21 | * |
---|
22 | */ |
---|
23 | |
---|
24 | #ifndef PAGE_TABLE_H |
---|
25 | #define PAGE_TABLE_H |
---|
26 | |
---|
27 | extern void page_table_teardown(void); |
---|
28 | extern void page_table_init(void); |
---|
29 | extern int page_table_map(void *addr, unsigned long size, int cache_type); |
---|
30 | |
---|
31 | enum { |
---|
32 | CACHE_WRITE_THROUGH, |
---|
33 | CACHE_COPYBACK, |
---|
34 | CACHE_NONE_SERIALIZED, |
---|
35 | CACHE_NONE |
---|
36 | }; |
---|
37 | enum { |
---|
38 | PTM_SUCCESS, |
---|
39 | PTM_BAD_ADDR, |
---|
40 | PTM_BAD_SIZE, |
---|
41 | PTM_BAD_CACHE, |
---|
42 | PTM_NO_TABLE_SPACE |
---|
43 | }; |
---|
44 | |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.