cpm_dpalloc

Li Yang-r58472 LeoLi at freescale.com
Mon Jul 31 18:56:54 EST 2006


There is a bug in rheap for alignment.  The patch is still hanging around.  
Search rheap and alignment on the linuxppc-dev list for patch previously posted.

Best Regards,
Leo
> -----Original Message-----
> From: linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org
> [mailto:linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org] On Behalf Of
> GSM909 at gmx.de
> Sent: Monday, July 31, 2006 4:50 PM
> To: linuxppc-embedded at ozlabs.org
> Subject: cpm_dpalloc
> 
> Hi All
> 
> I have a MPC82xx Processor from Freescale with Linux 2.6.14 ( Can´t chance to an
> new version).
> 
> My Problem is that I want to allocate a 64byte of memory in the dual ported ram
> with an alignment of 64bytes. (Needed for SPI Parameter Ram)
> 
> the funktion cpm_dpalloc(64,64) returned 0x220 but that are not in a 64 byte
> alignment.
> 
> Regards
> Fred
> --
> 
> 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded



More information about the Linuxppc-embedded mailing list