1
linux/arch/sh/boot/compressed
Magnus Damm 68a1aed703 sh: boot kernel with SR.BL set
Update the SH kernel to keep SR.BL set until the VBR
register has been initialized. Useful to allow boot
of the kernel even though exceptions are pending.

Without this patch there is a window of time when
exceptions such as NMI are enabled but no exception
handlers are installed.

This patch modifies both the zImage loader and the
actual kernel to boot with BL=1, but the zImage
loader is modfied in such a way that the init_sr
value is unchanged to not break the zImage loader
provided by kexec.

Tested on sh7724 Ecovec and on the SH4AL-DSP core
included in sh7372.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-09-30 09:43:32 +09:00
..
.gitignore sh: bzip2/lzma zImage support. 2009-07-11 13:21:19 -04:00
cache.c arch/sh/boot/compressed/cache.c: Checkpatch cleanup 2010-03-01 11:57:31 +09:00
head_32.S sh: boot kernel with SR.BL set 2010-09-30 09:43:32 +09:00
head_64.S
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
Makefile sh: Fix zImage load address when CONFIG_32BIT=y 2010-04-25 20:44:23 +01:00
misc.c sh: Merge legacy and dynamic PMB modes. 2010-02-18 18:13:51 +09:00
vmlinux.scr Rename .rodata.compressed to .rodata..compressed. 2010-03-03 11:26:00 +01:00