summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mm/4xx_tlb.h
blob: 03fef109fb91c3e48c0da26d6bbe403482e32de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 *
 *    Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
 *
 *    Module name: 4xx_tlb.h
 *
 *    Description:
 *      Routines for manipulating the TLB on PowerPC 400-class processors.
 *
 */

#ifndef __4XX_TLB_H__
#define __4XX_TLB_H__


#ifdef __cplusplus
extern "C" {
#endif


/* Function Prototypes */

extern void	 PPC4xx_tlb_pin(unsigned long va, unsigned long pa,
				int pagesz, int cache);
extern void	 PPC4xx_tlb_unpin(unsigned long va, unsigned long pa,
				  int size);
extern void	 PPC4xx_tlb_flush_all(void);
extern void	 PPC4xx_tlb_flush(unsigned long va, int pid);


#ifdef __cplusplus
}
#endif

#endif /* __4XX_TLB_H__ */