diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-08-27 17:32:29 +1000 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-08-27 17:32:29 +1000 |
commit | ded6432c225a10c6390c83463471977c18492fff (patch) | |
tree | dab1a31a3b8f1de14a1eb73286d46b21264f7f94 /kexec/arch/sh/kexec-zImage-sh.c | |
parent | 4c3af19e8a98a11effa56fe21d3f557e15017f02 (diff) |
sh: Add virtual addresses support
Implement virtual-to-physical address conversion functions for SuperH.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/sh/kexec-zImage-sh.c')
-rw-r--r-- | kexec/arch/sh/kexec-zImage-sh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/sh/kexec-zImage-sh.c b/kexec/arch/sh/kexec-zImage-sh.c index 35a2a68..6db91a9 100644 --- a/kexec/arch/sh/kexec-zImage-sh.c +++ b/kexec/arch/sh/kexec-zImage-sh.c @@ -96,8 +96,8 @@ int zImage_sh_load(int argc, char **argv, const char *buf, off_t len, paraml = (unsigned long *)param; // paraml[0] = 1; // readonly flag is set as default - add_segment(info, param, 4096, empty_zero, 4096); - add_segment(info, buf, len, (area | 0x00210000), len); + add_segment(info, param, 4096, 0x80000000 | empty_zero, 4096); + add_segment(info, buf, len, (area | 0x80210000), len); /* For now we don't have arguments to pass :( */ info->entry = (void *)(0x80210000 | area); |