Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Kevin Hao 7d2471f9fa powerpc/fsl_booke: make sure PAGE_OFFSET map to memstart_addr for relocatable kernel
This is always true for a non-relocatable kernel. Otherwise the kernel
would get stuck. But for a relocatable kernel, it seems a little
complicated. When booting a relocatable kernel, we just align the
kernel start addr to 64M and map the PAGE_OFFSET from there. The
relocation will base on this virtual address. But if this address
is not the same as the memstart_addr, we will have to change the
map of PAGE_OFFSET to the real memstart_addr and do another relocation
again.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
[scottwood@freescale.com: make offset long and non-negative in simple case]
Signed-off-by: Scott Wood <scottwood@freescale.com>
2014-01-09 17:52:17 -06:00
..
2012-03-28 18:30:02 +01:00
2013-11-21 10:33:36 +11:00
2013-10-11 16:53:26 +11:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2013-12-30 15:19:31 +11:00
2013-10-11 18:23:53 +11:00
2011-03-31 11:26:23 -03:00
2013-08-14 15:33:22 +10:00
2013-12-30 15:19:31 +11:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00