Do you have a question? Post it now! No Registration Necessary
- martinfnp
March 7, 2006, 6:13 pm

Hello, I'm completely new and stupid in embedded Linux for PowerPC. My
embedded PowerPC has 32-byte cache line size. Therefore I would like to
get always chunks of the memory which are aligned to 32 bytes boundary.
But running simple test I see that's always aligned to 8 bytes boundary
- malloc(). Does anybody know how kmalloc works? How alignment in this
case works? Is there some way how to enforce such aligment? I saw that
QNX works the same way. Thanks.
embedded PowerPC has 32-byte cache line size. Therefore I would like to
get always chunks of the memory which are aligned to 32 bytes boundary.
But running simple test I see that's always aligned to 8 bytes boundary
- malloc(). Does anybody know how kmalloc works? How alignment in this
case works? Is there some way how to enforce such aligment? I saw that
QNX works the same way. Thanks.
Site Timeline
- » TCP/IP over Compact PCI backplane
- — Next thread in » Embedded Linux
-
- » QT without X11 / GTK
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Re: Corona Update 8 (21 january 2020) (Important information about "V...
- — The site's Newest Thread. Posted in » Electronics Design
-
- » AD7715 qui ne convertit rien
- — The site's Last Updated Thread. Posted in » Electronics (French)
-