diff options
author | Roy Franz <roy.franz@linaro.org> | 2013-09-23 00:45:32 +0200 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-09-25 13:34:38 +0200 |
commit | 4a9f3a7c336a6b0ffeef2523bef93e67b0921163 (patch) | |
tree | 49717fdb090563dc4b10b056f40f0d49d9fe033b /net | |
parent | efi: Move relocate_kernel() to shared file. (diff) | |
download | linux-4a9f3a7c336a6b0ffeef2523bef93e67b0921163.tar.xz linux-4a9f3a7c336a6b0ffeef2523bef93e67b0921163.zip |
efi: Generalize relocate_kernel() for use by other architectures.
Rename relocate_kernel() to efi_relocate_kernel(), and take
parameters rather than x86 specific structure. Add max_addr
argument as for ARM we have some address constraints that we
need to enforce when relocating the kernel. Add alloc_size
parameter for use by ARM64 which uses an uncompressed kernel,
and needs to allocate space for BSS.
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions