Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KKDxO-0004ei-Sp for mharc-grub-devel@gnu.org; Sat, 19 Jul 2008 11:02:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKDxO-0004dt-1z for grub-devel@gnu.org; Sat, 19 Jul 2008 11:02:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKDxL-0004cL-Jf for grub-devel@gnu.org; Sat, 19 Jul 2008 11:02:44 -0400 Received: from [199.232.76.173] (port=58560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKDxL-0004cI-CJ for grub-devel@gnu.org; Sat, 19 Jul 2008 11:02:43 -0400 Received: from aybabtu.com ([69.60.117.155]:38506) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KKDxK-0004AI-KK for grub-devel@gnu.org; Sat, 19 Jul 2008 11:02:42 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KKDrl-00040n-Bx for grub-devel@gnu.org; Sat, 19 Jul 2008 16:56:58 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KKDwN-0006eY-GR for grub-devel@gnu.org; Sat, 19 Jul 2008 17:01:43 +0200 Date: Sat, 19 Jul 2008 17:01:43 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080719150143.GC23778@thorin> References: <486FFD84.5000607@isaac.cedarswampstudios.org> <487392C9.40208@isaac.cedarswampstudios.org> <20080712144131.GE25455@thorin> <20080712171052.GA29804@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: generic BIOS-less boot (Re: [PATCH] New x86_64 EFI patch) 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: Sat, 19 Jul 2008 15:02:46 -0000 On Sun, Jul 13, 2008 at 02:05:13AM +0800, Bean wrote: > > Hi, > > Here are the information gathered in real mode: > > memory map information > video information > monitor information (edid) > hard disk information > perhaps more > > The first two can be retrieved in grub, others are optional, kernel > can normally get the value itself. > > Perhaps we can write a generic protected mode linux loader for i386. > Functions such as claiming memory, getting memory map and the like can > be wrapped in platform dependent call arch_xxx. I was wondering if maybe it would be simpler to emulate the BIOS (and use stubs where suitable). Memory map would be simple to produce since we already have this information which we used to initialize our heap. As for video information, do you have more details (or know a document that explains what's probed for)? If it's only for vesa modes maybe we could just stub it. -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)