From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MISMh-0007Ri-6e for mharc-grub-devel@gnu.org; Sun, 21 Jun 2009 15:06:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MISMf-0007QN-BY for grub-devel@gnu.org; Sun, 21 Jun 2009 15:06:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MISMa-0007Pz-Rn for grub-devel@gnu.org; Sun, 21 Jun 2009 15:06:04 -0400 Received: from [199.232.76.173] (port=42434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MISMa-0007Pw-Mv for grub-devel@gnu.org; Sun, 21 Jun 2009 15:06:00 -0400 Received: from c60.cesmail.net ([216.154.195.49]:63790) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MISMa-0004Z0-40 for grub-devel@gnu.org; Sun, 21 Jun 2009 15:06:00 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 21 Jun 2009 15:05:58 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id 9123334C6A for ; Sun, 21 Jun 2009 15:11:58 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20090621185444.GA21590@thorin> References: <20090621181748.GA21152@thorin> <20090621185444.GA21590@thorin> Content-Type: text/plain Date: Sun, 21 Jun 2009 15:05:56 -0400 Message-Id: <1245611156.4250.11.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 (2.26.2-1.fc11) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] move grub_stop() (Re: [PATCH] i386-qemu port) 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: Sun, 21 Jun 2009 19:06:05 -0000 On Sun, 2009-06-21 at 20:54 +0200, Robert Millan wrote: > Move grub_stop to init.c to ease code sharing with i386-qemu. That's not quite a movement. grub_cpu_idle() does nothing. I think we need to have several implementations of grub_stop: hard halt with interrupts disabled, exit from qemu, exit from other emulators if it's different, power off, exit to BIOS. Then different platforms should enable and try whatever is appropriate for them. -- Regards, Pavel Roskin