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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-or32/] [mmu_context.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
#ifndef _OR32_MMU_CONTEXT_H
2
#define _OR32_MMU_CONTEXT_H
3
 
4
extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
5
extern void destroy_context(struct mm_struct *mm);
6
extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
7
                      struct task_struct *tsk, int cpu);
8
 
9
#define activate_mm(prev,next) switch_mm((prev),(next),NULL,smp_processor_id())
10
 
11
/* current active pgd - this is similar to other processors pgd
12
 * registers like cr3 on the i386
13
 */
14
 
15
extern volatile pgd_t *current_pgd;   /* defined in arch/or32/mm/fault.c */
16
 
17
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
18
{
19
}
20
 
21
#endif

powered by: WebSVN 2.1.0

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