From: Swapnil Pimpale <swapnil.pict@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Setting of PE bit reboots the system
Date: Sun, 31 Jan 2010 00:06:12 +0530 [thread overview]
Message-ID: <b2ac5deb1001301036l4bf7550ck3fdfcc31c8467aca@mail.gmail.com> (raw)
Hi all,
I am working on Intel Core 2 Duo architecture. As a part of my
academic project, I need to bring up the second core from the
bootloader (GRUB).
When the second core comes up, I need to switch it from real mode to
protected mode.
For this, I am trying to set the PE bit of cr0 register. But, whenever
I set the PE bit the system reboots.
For switching from real to protected mode I use the following steps:
1) Clear Interrupts
2) Load GDT
3) Set PE bit of cr0
4) Long Jump to Protected mode code
Is there any thing that I am missing? Should the gate A20 line be
turned on from the second core also?
Is there any solution on the problem of setting PE bit?
Thanks,
Swapnil Pimpale.
reply other threads:[~2010-01-30 18:36 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=b2ac5deb1001301036l4bf7550ck3fdfcc31c8467aca@mail.gmail.com \
--to=swapnil.pict@gmail.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®