Re: [PATCH 2/2] x86: Add support for uncompressed kernel images

From: H. Peter Anvin
Date: Fri Nov 15 2013 - 05:06:45 EST


On 11/15/2013 01:49 AM, Christian Ruppert wrote:
>
> Actually, the x86 architecture already contains a basic implementation
> of memcpy in its self-decompressor. Correct me if I'm wrong but I guess
> memmove is not required since I don't expect the output of a generic
> decompression function to overlap with its input.
>
> We can simply use that function if we agree that
> . either nozip is x86 specific
> . or every architecture using this code must bring along its own memcpy
> implementation in its self-decompressor.
>
> Do you think that would be OK?
>

I think all of them have memcpy().

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/