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

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)


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

Reply via email to