xPC Target PCI master device drivers
- From: Jeroen Van den Keybus <jeroen.vandenkeybus@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 05:22:22 EDT
I need to write an xPC driver for an in-house developed PCI card. The card is able to perform DMA.
Looking at driver code for the UEI boards, I see that 'a bit of a hack' is used to allocate contiguous, aligned buffers. I might want to live with that, but I fail to see how the CPU memory cache coherency issue has been dealt with.
Has anyone some ideas on how to (in the xPC target):
1. properly acquire a contiguous, aligned buffer
2. get its physical addresses
3. disable cache on it
Thanks.
.
- Prev by Date: Re: HandleVisibility
- Next by Date: Re: export eps color, wrong color exported
- Previous by thread: Re: HandleVisibility
- Next by thread: LP ANalysis and Synthesis
- Index(es):