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

qword aligned address



Hi,
I hope this is the right place for this question -- if not sorry, and 
please forget about it.

I'm setting up scatter/gather dma for a PCI device.  The device requires to 
be passed a  descriptor (which will be of type struct containing 4 
integers), the address of which needs to be q-word aligned.  How do I 
declare the descriptor to make sure its address is qword aligned?

Thanks in advance.

Oliver.

Dept. of Physics,
National University of Ireland, Galway,
Galway,
Ireland.

Tel: +353 (0)91 524411 ext. 2716
Fax: +353 (0)91 750584
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/