Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKXGx-0005pZ-Ll for mharc-grub-devel@gnu.org; Thu, 31 Jan 2008 06:07:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKXGu-0005lf-Iu for grub-devel@gnu.org; Thu, 31 Jan 2008 06:07:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKXGq-0005hx-MZ for grub-devel@gnu.org; Thu, 31 Jan 2008 06:07:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKXGq-0005hQ-8U for grub-devel@gnu.org; Thu, 31 Jan 2008 06:07:52 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKXGq-0006c6-2Q for grub-devel@gnu.org; Thu, 31 Jan 2008 06:07:52 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JKXGg-0005zh-N8 for grub-devel@gnu.org; Thu, 31 Jan 2008 12:07:43 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JKXEv-0003AR-U5 for grub-devel@gnu.org; Thu, 31 Jan 2008 12:05:53 +0100 Date: Thu, 31 Jan 2008 12:05:53 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080131110553.GB12043@thorin> References: <87prvmm4i2.fsf@xs4all.nl> <87y7a7i4bx.fsf@xs4all.nl> <20080130184423.GB32727@thorin> <87prvjhy9p.fsf@xs4all.nl> <20080130220155.GA6731@thorin> <87lk67hsaa.fsf@xs4all.nl> <20080130222506.GA7679@thorin> <87d4riidid.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87d4riidid.fsf@xs4all.nl> 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: Re: PCI support 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: Thu, 31 Jan 2008 11:07:58 -0000 On Thu, Jan 31, 2008 at 09:51:38AM +0100, Marco Gerards wrote: > > > > grub_uint32_t > > grub_inl (grub_uint32_t *addr) > > { > > return *addr; > > } > > Nothing, except the missing volatile I guess. This just isn't an IO > port. So you can't use IO port 0x60 to access the keyboard or so. > But sure, we need an abstraction. AT keyboard is too arch-specific, but ATA and PCI aren't. Anyway, I suppose it's no big deal as we can always move the code later. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)