contiguous physical memory allocation

Salman unix at gofree.indigo.ie
Tue Mar 4 22:04:11 UTC 2003


> >hi guys,
> >
> >i'm looking for a function in rtems which allocates contiguous physical
> >memory (somewhat similar to memalign in vxworks)
> >
> As far as I known, RTEMS uses a flat memory model. It means the physical 
> address is the same logical address and malloc should allocate 
> contiguous physical memory.
> 

One other thing though, I need to have the allocated buffer aligned as
well (so that it begins on a memory address evenly divisible by 8192),
any idea on how to achieve this?

thanks for the response,

Salman




More information about the users mailing list