This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: General PCI question


> > This is not specifically an ECOS question, but I'm curious if ECOS handles this.
> >
> > For the chip I am working with, the processor can map into it's
> > virtual address space up to 128MB view into PCI address space.  What
> > happens when the cards in PCI use more than 128MB of address space?
> > Can ECOS swap in and out mappings in the processor address space to
> > access different parts of the PCI space?
> 
> In general, no.  The mappings are contained in registers in the
> PCI configuration space for the card.  There are a fixed [6] number
> of them and they can cover large spaces of either memory or I/O.
> If the card provides a 128MB window and can actually map more than
> that, then you would have to fiddle the configuration registers to
> handle this.  Normally in eCos, we set the configuration registers
> only once, at boot time, to reflect the space that the card says it
> can map and then never fiddle with them again.
> 
> What sort of card would have a 128MB window on a potentially larger
> space?
> 

Some ATI video card.  Not something I would expect to be used in an
embedded system, but I had it, and was just testing that config cycles
were working correctly with multiple devices on the bus.

-John Newlin

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]