mako: debug: porting lge crash handler

Change-Id: I913d372131a25bb9c0d90680f5e96cebb8883055
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Jaeseong GIM
2012-06-26 10:36:57 -07:00
committed by Iliyan Malchev
parent 7e8f0f7574
commit 93c86c992b
16 changed files with 560 additions and 13 deletions

View File

@@ -349,6 +349,17 @@ extern int func_ptr_is_kernel_text(void *ptr);
struct pid;
extern struct pid *session_of_pgrp(struct pid *pgrp);
#ifdef CONFIG_LGE_CRASH_HANDLER
extern void set_crash_store_enable(void);
extern void set_crash_store_disable(void);
extern void store_crash_log(char *p);
extern void set_kernel_crash_magic_number(void);
#ifdef CONFIG_CPU_CP15_MMU
extern void lge_save_ctx(struct pt_regs*, unsigned int, unsigned int,
unsigned int);
#endif
#endif
unsigned long int_sqrt(unsigned long);
extern void bust_spinlocks(int yes);