OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-or32/] [pgtable.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _OR32_PGTABLE_H
2
#define _OR32_PGTABLE_H
3
 
4
extern unsigned long mm_vtop(unsigned long addr) __attribute__ ((const));
5
extern unsigned long mm_ptov(unsigned long addr) __attribute__ ((const));
6
 
7
#define VTOP(addr)  (mm_vtop((unsigned long)(addr)))
8
#define PTOV(addr)  (mm_ptov((unsigned long)(addr)))
9
 
10
extern inline void flush_cache_mm(struct mm_struct *mm)
11
{
12
}
13
 
14
extern inline void flush_cache_range(struct mm_struct *mm,
15
                                     unsigned long start,
16
                                     unsigned long end)
17
{
18
}
19
 
20
/* Push the page at kernel virtual address and clear the icache */
21
extern inline void flush_page_to_ram (unsigned long address)
22
{
23
}
24
 
25
/* Push n pages at kernel virtual address and clear the icache */
26
extern inline void flush_pages_to_ram (unsigned long address, int n)
27
{
28
}
29
#endif /* _OR32_PGTABLE_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.