allocating memory and reserving positions....

Y

Yodai

Hi all,

I am programming an embbeded software on C and I need to allocate a certain
pointer to a memory position.... So far my program gets it's variables from
a certain memory position, say 0x200. At a certain moment an interrupt at
processor level inserts the variables into the memory where I will read...
So far so good. The problem is that my own program overwrites this data
sometimes by writting it's own enviroment variables. I would need a method
to either allocate memory staticly or "reserve" certain memory positions
from my ram so that my program cannot mess up with them on a dynamic memory
allocation....

Someone can give some light upon this?


Cheers!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,568
Members
47,204
Latest member
abhinav72673

Latest Threads

Top