mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
71059736b8
In U-Boot the exception vector base will be moved to top of memory, to be used to display register dump when exception occurs. But some old linux kernel does not honor the base set in CP0_EBASE. A modified exception vector base will cause kernel crash. This patch adds an option to enable reset exception vector base to its previous value, or a user configured value before booting linux kernel. Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
14 lines
264 B
C
14 lines
264 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef _U_BOOT_MIPS_H_
|
|
#define _U_BOOT_MIPS_H_
|
|
|
|
void exc_handler(void);
|
|
void except_vec3_generic(void);
|
|
void except_vec_ejtag_debug(void);
|
|
|
|
int arch_misc_init(void);
|
|
|
|
void trap_restore(void);
|
|
|
|
#endif /* _U_BOOT_MIPS_H_ */
|