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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-or32/] [pgtable.h] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
#ifndef _OR32_PGTABLE_H
#ifndef _OR32_PGTABLE_H
#define _OR32_PGTABLE_H
#define _OR32_PGTABLE_H
 
 
extern unsigned long mm_vtop(unsigned long addr) __attribute__ ((const));
extern unsigned long mm_vtop(unsigned long addr) __attribute__ ((const));
extern unsigned long mm_ptov(unsigned long addr) __attribute__ ((const));
extern unsigned long mm_ptov(unsigned long addr) __attribute__ ((const));
 
 
#define VTOP(addr)  (mm_vtop((unsigned long)(addr)))
#define VTOP(addr)  (mm_vtop((unsigned long)(addr)))
#define PTOV(addr)  (mm_ptov((unsigned long)(addr)))
#define PTOV(addr)  (mm_ptov((unsigned long)(addr)))
 
 
extern inline void flush_cache_mm(struct mm_struct *mm)
extern inline void flush_cache_mm(struct mm_struct *mm)
{
{
}
}
 
 
extern inline void flush_cache_range(struct mm_struct *mm,
extern inline void flush_cache_range(struct mm_struct *mm,
                                     unsigned long start,
                                     unsigned long start,
                                     unsigned long end)
                                     unsigned long end)
{
{
}
}
 
 
/* Push the page at kernel virtual address and clear the icache */
/* Push the page at kernel virtual address and clear the icache */
extern inline void flush_page_to_ram (unsigned long address)
extern inline void flush_page_to_ram (unsigned long address)
{
{
}
}
 
 
/* Push n pages at kernel virtual address and clear the icache */
/* Push n pages at kernel virtual address and clear the icache */
extern inline void flush_pages_to_ram (unsigned long address, int n)
extern inline void flush_pages_to_ram (unsigned long address, int n)
{
{
}
}
#endif /* _OR32_PGTABLE_H */
#endif /* _OR32_PGTABLE_H */
 
 

powered by: WebSVN 2.1.0

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