vmeUniverse.c

Peter Dufault dufault at hda.com
Wed Sep 23 11:22:08 UTC 2009


On Sep 23, 2009, at 6:00 , lee wrote:

> In rtems/c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c
>
> On line 1462 is:
>
> if ((pci_addr & 7) != (vme_addr & 7)) {
> 		uprintf(stderr,"vmeUniverseDmaStartXX: misaligned addresses:  
> (pci_addr
> & 7) %08x, (vme_addr & 7 ) %08x \n",(pci_addr & 7 ),(vme_addr & 7 ));
> 		return -1;
> }
>
> Does anyone know what this is for?

The PCI address and the VME address must be 64-bit aligned with each  
other or the DMA engine will generate an error.

Peter



More information about the users mailing list