grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCI support


From: Robert Millan
Subject: Re: PCI support
Date: Wed, 30 Jan 2008 23:25:06 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Jan 30, 2008 at 11:17:49PM +0100, Marco Gerards wrote:
> >> IO addresses are Intel only, AFAIK.  Almost all architectures have
> >> mmapped IO.  It's really arch specific.
> >
> > Are you sure that makes grub_inl / grub_outl arch-specific ?  They can't be
> > implemented as wrappers for direct memory access?
> 
> No, AFAIK that is not possible.  However, PCI gives you the mmapped IO
> addresses we can use, for example for the ATA driver.

Why not?

What's wrong with:

grub_uint32_t
grub_inl (grub_uint32_t *addr)
{
  return *addr;
}

-- 
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 /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]