FreeBSD/sys/i386/i386/i686_mem.c
/*
 * i686 MTRR conflicts. Writeback and uncachable may overlap.
 */
i686 MTRR conflicts. Writeback and uncachable may overlap.
i686 MTRR conflicts . Writeback and uncachable may overlap .
static int
i686_mtrrconflict(int flag1, int flag2)
{
	flag1 &= MDF_ATTRMASK;
	flag2 &= MDF_ATTRMASK;
	if (flag1 == flag2 ||
	    (flag1 == MDF_WRITEBACK && flag2 == MDF_UNCACHEABLE) ||
	    (flag2 == MDF_WRITEBACK && flag1 == MDF_UNCACHEABLE))
		return (0);
	return (1);
}
static int i686_mtrrconflict ( int flag1 , int flag2 ) { flag1 &= MDF_ATTRMASK ; flag2 &= MDF_ATTRMASK ; if ( flag1 == flag2 || ( flag1 == MDF_WRITEBACK && flag2 == MDF_UNCACHEABLE ) || ( flag2 == MDF_WRITEBACK && flag1 == MDF_UNCACHEABLE ) ) return ( 0 ) ; return ( 1 ) ; }
i686 MTRR conflicts.
i686 MTRR conflicts .