Hi Ian, Thanks for the reply and suggestion. I am not familiar with section attribute, so I will need sometime to look in to that. Particularly I don't know how to specify a physical address range for a section. I found the following link. http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html But it does not explain how to develop a linker script. Any reference would be greatly appreciated. In the mean time I am trying silly things, probably you have seen in my other mails to the list. thanks and regards, Isuru --- On Tue, 2/1/11, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > From: Ian Lance Taylor <iant@xxxxxxxxxx> > Subject: Re: Allocate a variable in a known physical location > To: "isuru herath" <isuru81@xxxxxxxxx> > Cc: gcc-help@xxxxxxxxxxx > Date: Tuesday, February 1, 2011, 11:39 AM > isuru herath <isuru81@xxxxxxxxx> > writes: > > > As you mentioned in your reply can I use section > attribute to achieve this or do you have any other > suggestion. > > Yes, use the section attribute and a linker script. > You would apply the > section attribute to a variable whose type is your complete > struct. > > Ian >