From: jiangtao.jit@gmail.com (jiangtao.jit)
To: kernelnewbies@lists.kernelnewbies.org
Subject: What's the value of %cs before jump in pm32 on booting?
Date: Thu, 11 Aug 2011 19:18:54 +0800 [thread overview]
Message-ID: <201108111918521090677@gmail.com> (raw)
Hi all:
on booting of x86
top of file arch/x86/boot/pmjump.S
there is code
-------------------
GLOBAL(protected_mode_jump)
movl %edx, %esi
xorl %ebx, %ebx
movw %cs, %bx
shll $4, %ebx
addl %ebx, 2f
...
-------------------
what's the value of %cs here? how was it loaded?
i would really appreciate if someone provide me some references
thank you very much
2011-08-11
jiangtao.jit
next reply other threads:[~2011-08-11 11:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-11 11:18 jiangtao.jit [this message]
2011-08-11 14:53 ` What's the value of %cs before jump in pm32 on booting? Mulyadi Santosa
2011-08-11 16:29 ` Jonathan Neuschäfer
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=201108111918521090677@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.