From: <fh...@at...> - 2000-11-27 01:54:11
|
Is there any info on how to align memory in the Linux PPC kernel. Actually info on how get_free_pages aligns memory. I'm guessing that this is the major problem with getting the PuP SCSI working. It looks like what most of the drivers I looked at do is add a little extra to the size of the chunk and then move the pointer so it's on a 32 bit boundary. Seems simple enough. What if the chip that wants to do DMA only needs 16 bit (or 8 bit) alignment? It seems that then there is a further problem where the memory needs to be "synced" so the 16bit or 8 bit parts line up with the 32bit parts. Fred |