Re: Allocate a variable in a known physical location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux