From: jiangtao.jit@gmail.com (jiangtao.jit)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Need help with the Uncompressed kernel be overriden after decompress_kernel called?
Date: Sat, 27 Aug 2011 11:44:50 +0800 [thread overview]
Message-ID: <201108271144484062556@gmail.com> (raw)
Hi all.
In arch/x86/boot/compressed/head_32.S
before the call of decompress_kernel()
it load the address of z_extract_offset_negative(%ebx) as the output address
and actually the output_len of the decompressed kernel is larger than extract_offset
so the decompressed data will override the uncompressed data begin at input_data
Is that the case?
How does it worked as the the input buffer is covered by the output buffer while uncompressing?
It confused me a lot.
or I'd made some misunderstanding on the decompressing routine?
Thanks.
2011-08-27
jiangtao.jit
reply other threads:[~2011-08-27 3:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201108271144484062556@gmail.com \
--to=jiangtao.jit@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.