MEMORY tag addressing question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I understand the MEMORY section but have a question. How can I reserve
a section of memory at a particular addrees for a "const string". I
need to have in my kernel image a string that contains a version number
and then in my bootloader look at that address to retreive the version.
My kernel image will be on a SD disk which I can read sectors from the
bootloader.

In other compilers/linkers I can reserve object files at a particular
address in the image. So I can have a C file and only have one const
declaration in it which I can then put it in the "text" section of the
image.

Not sure how to do this with Windows CE or if it can be done, any ideas?

.



Relevant Pages