Subversion Repositories Kolibri OS

Rev

Rev 6936 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6936 Rev 7143
Line 485... Line 485...
485
	return (pte_flags(a) & _PAGE_DEVMAP) == _PAGE_DEVMAP;
485
	return (pte_flags(a) & _PAGE_DEVMAP) == _PAGE_DEVMAP;
486
}
486
}
487
#endif
487
#endif
Line 488... Line 488...
488
 
488
 
489
#define pte_accessible pte_accessible
-
 
490
static inline bool pte_accessible(struct mm_struct *mm, pte_t a)
-
 
491
{
-
 
492
	if (pte_flags(a) & _PAGE_PRESENT)
-
 
493
		return true;
-
 
494
 
-
 
495
	if ((pte_flags(a) & _PAGE_PROTNONE) &&
-
 
496
			mm_tlb_flush_pending(mm))
-
 
497
		return true;
-
 
498
 
-
 
499
	return false;
-
 
Line 500... Line 489...
500
}
489
#define pte_accessible pte_accessible
501
 
490
 
502
static inline int pte_hidden(pte_t pte)
491
static inline int pte_hidden(pte_t pte)
503
{
492
{