Import changeset
[linux-flexiantxendom0-3.2.10.git] / arch / ppc / mm / 4xx_tlb.h
1 /*
2  *
3  *    Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
4  *
5  *    Module name: 4xx_tlb.h
6  *
7  *    Description:
8  *      Routines for manipulating the TLB on PowerPC 400-class processors.
9  *
10  */
11
12 #ifndef __4XX_TLB_H__
13 #define __4XX_TLB_H__
14
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20
21 /* Function Prototypes */
22
23 extern void      PPC4xx_tlb_pin(unsigned long va, unsigned long pa,
24                                 int pagesz, int cache);
25 extern void      PPC4xx_tlb_unpin(unsigned long va, unsigned long pa,
26                                   int size);
27 extern void      PPC4xx_tlb_flush_all(void);
28 extern void      PPC4xx_tlb_flush(unsigned long va, int pid);
29
30
31 #ifdef __cplusplus
32 }
33 #endif
34
35 #endif /* __4XX_TLB_H__ */