Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MxJuF-0005ak-Ho for mharc-grub-devel@gnu.org; Mon, 12 Oct 2009 08:21:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxJuD-0005aX-O0 for grub-devel@gnu.org; Mon, 12 Oct 2009 08:21:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxJu9-0005Zf-1e for grub-devel@gnu.org; Mon, 12 Oct 2009 08:21:37 -0400 Received: from [199.232.76.173] (port=48411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxJu8-0005Za-NH for grub-devel@gnu.org; Mon, 12 Oct 2009 08:21:32 -0400 Received: from mail-iw0-f201.google.com ([209.85.223.201]:40609) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxJu8-0002Ch-DA for grub-devel@gnu.org; Mon, 12 Oct 2009 08:21:32 -0400 Received: by iwn39 with SMTP id 39so5623235iwn.25 for ; Mon, 12 Oct 2009 05:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/ek3r/bk20MAzRFlK9hIA977J2c4uIp/rvkIN6ATbss=; b=xKPsYQ6YE1eUO0IVaAbEuBZjpJM6Yu3fFMnFyybsPGzmBsuLlZ6Gu4IHcWuE9AZyrJ vprvBKkIYnqmkKvVuGs4DpVHdNFjU49P896GBvXS0H3QmFWV0Q+RmR/4BkxDpfmd2U0+ 5G4l8HxwKvCqp4LJLG9u/jGrixR202JN7KoZo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Wj9JcklkI/dte3UOTr0n6NCfn2hkEQ0iPg6YJdhzsgsVyk6w2M7pkch0KjkrVpjiO+ 4Hyh18dvPoAMeVX7D6XwiUdbiOHhjI02M198bp2lAZoU6FE5Szxi1bHlyvX0QWijLZQQ zjpYDsmpi9H3rlomDifhuvfIiH1hNF5Yp6xrw= MIME-Version: 1.0 Received: by 10.231.117.215 with SMTP id s23mr7660475ibq.41.1255350091388; Mon, 12 Oct 2009 05:21:31 -0700 (PDT) In-Reply-To: <1254926336.2818.5.camel@fz.local> References: <1254926336.2818.5.camel@fz.local> Date: Mon, 12 Oct 2009 17:51:31 +0530 Message-ID: From: Swapnil Pimpale To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=001636920ca94416d10475bbf8f0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Handling multiple cores by GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 12:21:38 -0000 --001636920ca94416d10475bbf8f0 Content-Type: text/plain; charset=ISO-8859-1 Hi, Thanks Felix for your quick reply. Actually we are doing an academic project in which we need to have two cores of Intel Core 2 Duo, running inside the GRUB simultaneously. For that we need to send an IPI from primary core to the secondary core. Can you suggest any pointers to implement this? Has someone done anything similar to this before? Thanks in advance, Swapnil Pimpale. On Wed, Oct 7, 2009 at 8:08 PM, Felix Zielcke wrote: > Am Mittwoch, den 07.10.2009, 19:22 +0530 schrieb Swapnil Pimpale: > > Hi All, > > > > I am trying to understand the grub code (GRUB-0.97). > > GRUB Legacy is dead for us. > But your questions also apply to GRUB 2 so I answer them. > > > I have a specific query regarding SMP systems. How are multiple cores > > handled by grub? Are multiple cores active in the grub initially or > > only one core is active when GRUB takes charge from the BIOS? > > Only 1, just as in DOS or similar systems, which mainly rely on BIOS. > > > Also, can anyone suggest any tools to live debug the GRUB code? > > http://grub.enbug.org/DebuggingWithGDB > But the pages there are outdated and even with them updated I myself > couldn't figure out how to debug code in the modules. > Only the code in the kernel worked. > > -- > Felix Zielcke > Proud Debian Maintainer and GNU GRUB developer > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --001636920ca94416d10475bbf8f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Thanks Felix for your quick reply.

Actually we are doing = an academic project in which we need to have two cores of Intel Core 2 Duo, running inside the GRUB simultaneously. For that we need to send an IPI from primary core to the secondary core.=A0 Can you suggest any pointers to implement this? Has someone done anything similar to this before?

Thanks in advance,
Swapnil Pimpale.

On Wed, Oct 7, 2009 at 8:08 PM, Felix Zielcke <fzielcke@z-51.de> wrote:
Am Mittwoch, den = 07.10.2009, 19:22 +0530 schrieb Swapnil Pimpale:
> Hi All,
>
> I am trying to understand the grub code (GRUB-0.97).

GRUB Legacy is dead for us.
But your questions also apply to GRUB 2 so I answer them.

> I have a specific query regarding SMP systems. How are multiple cores<= br> > handled by grub? Are multiple cores active in the grub initially or > only one core is active when GRUB takes charge from the BIOS?

Only 1, just as in DOS or similar systems, which mainly rely on BIOS.=

> Also, can anyone suggest any tools to live debug the GRUB code?

= http://grub.enbug.org/DebuggingWithGDB
But the pages there are outdated and even with them updated I myself
couldn't figure out how to debug code in the modules.
Only the code in the kernel worked.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org<= /a>
http://lists.gnu.org/mailman/listinfo/grub-devel

--001636920ca94416d10475bbf8f0--