arm: recognize instruction fetch pagefault

. an instruction fetch pagefault generates a prefetch
	  abort exception, this should also be a source of
	  a pagefault event
	. the saved_lr argument to the C exception handler was
	  sometimes an address, sometimes a pointer to that address;
	  the kernel sometimes dereferences it, so it should always be
	  an in-kernel address, never a userspace address. fix in mpx.S
	  makes it always a pointer.
	. move dumping of all processes over serial out of
	  the arch-specific arch_system.c
This commit is contained in:
Ben Gras
2013-05-21 14:57:57 +02:00
parent 225ed6d7bd
commit d12d57dcd8
4 changed files with 34 additions and 26 deletions

View File

@@ -1894,3 +1894,15 @@ void release_fpu(struct proc * p) {
if (*fpu_owner_ptr == p)
*fpu_owner_ptr = NULL;
}
void ser_dump_proc()
{
struct proc *pp;
for (pp= BEG_PROC_ADDR; pp < END_PROC_ADDR; pp++)
{
if (isemptyp(pp))
continue;
print_proc_recursive(pp);
}
}