Setting of PE bit reboots the system
Hi all,
I am working on GRUB 2 on Intel Core 2 Duo architecture. As a part of my academic project, I need to bring up the second core. When the second core comes up, I need to switch 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.
Is there any solution on this problem?
Thanks,
Swapnil Pimpale.
Quoted 10 lines · Swapnil Pimpale
Hi all,
I am working on GRUB 2 on Intel Core 2 Duo architecture. As a part of my academic project, I need to bring up the second core. When the second core comes up, I need to switch 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.Is there any solution on this problem?
What do you expect to accomplish on the second core? Are you trying to boot a different OS on each core?
Every general purpose OS expects to be activated on the first core with no other cores running and to have possession of all RAM. You'll either need a specialty kernel (for all active OSes) or a virtualization layer.
Does the reboot happen immediately when you set the PE bit, or does that cause something to fail later (maybe in the OS startup code)?
Quoted 10 lines
Thanks,
Swapnil Pimpale._______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel