lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun, 31 Jan 2010 00:06:12 +0530
From:	Swapnil Pimpale <swapnil.pict@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Setting of PE bit reboots the system

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ