print kernel stacktrace for exceptions in kernel

fpu alignment check feature, checksum feature
This commit is contained in:
Ben Gras
2011-07-21 00:48:35 +02:00
parent 7ee78ffb82
commit eff1369cab
11 changed files with 59 additions and 11 deletions

View File

@@ -86,6 +86,7 @@ PUBLIC int do_setmcontext(struct proc * caller, message * m_ptr)
rp->p_misc_flags |= MF_FPU_INITIALIZED;
memcpy(rp->p_fpu_state.fpu_save_area_p, &(mc.mc_fpu_state),
FPU_XFP_SIZE);
fpu_makechecksum(rp);
} else
rp->p_misc_flags &= ~MF_FPU_INITIALIZED;
/* force reloading FPU in either case */