* cpm_dpalloc
@ 2006-07-31 8:50 GSM909
2006-07-31 8:56 ` cpm_dpalloc Li Yang-r58472
0 siblings, 1 reply; 2+ messages in thread
From: GSM909 @ 2006-07-31 8:50 UTC (permalink / raw)
To: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: cpm_dpalloc
2006-07-31 8:50 cpm_dpalloc GSM909
@ 2006-07-31 8:56 ` Li Yang-r58472
0 siblings, 0 replies; 2+ messages in thread
From: Li Yang-r58472 @ 2006-07-31 8:56 UTC (permalink / raw)
To: GSM909, linuxppc-embedded
There is a bug in rheap for alignment. The patch is still hanging =
around. =20
Search rheap and alignment on the linuxppc-dev list for patch previously =
posted.
Best Regards,
Leo
> -----Original Message-----
> From: linuxppc-embedded-bounces+leoli=3Dfreescale.com@ozlabs•org
> [mailto:linuxppc-embedded-bounces+leoli=3Dfreescale.com@ozlabs•org] On =
Behalf Of
> GSM909@gmx•de
> Sent: Monday, July 31, 2006 4:50 PM
> To: linuxppc-embedded@ozlabs•org
> Subject: cpm_dpalloc
>=20
> Hi All
>=20
> I have a MPC82xx Processor from Freescale with Linux 2.6.14 ( Can=B4t =
chance to an
> new version).
>=20
> 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)
>=20
> the funktion cpm_dpalloc(64,64) returned 0x220 but that are not in a =
64 byte
> alignment.
>=20
> Regards
> Fred
> --
>=20
>=20
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal f=FCr Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs•org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-31 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 8:50 cpm_dpalloc GSM909
2006-07-31 8:56 ` cpm_dpalloc Li Yang-r58472
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox