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

@@ -257,6 +257,10 @@ PUBLIC void switch_to_user(void)
int tlb_must_refresh = 0;
#endif
char buf[100];
u32_t c;
c = crc32(0, buf, 100);
p = get_cpulocal_var(proc_ptr);
/*
* if the current process is still runnable check the misc flags and let