NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/54720: pagein problem by prefetching Thumb 32bit instruction on a page boundary



Additional information.
There is another way to resolve this:

#if 1
	__asm __volatile ("mrc p15, 0, %0, c6, c0, 2" : "=r"(fault_pc));	/* ifar */
#else
	fault_pc = tf->tf_pc;
#endif

However, the ifar (instruction fault address register) is an optional implementation in ARMv6.
So I think the first patch is reasonable.

-- 
ryo shimizu


Home | Main Index | Thread Index | Old Index