FIXUPVAR (Windows CE 5.0)
FIXUPVAR is used to initialize a kernel global variable during the Make Binary Image phase of the build process.
You can also use this flag for OS design-specific physical memory initialization with multiple possible values that can be controlled with MAKEIMG flags.
The following code example shows the declaration for a sample kernel global variable called gpdwVariable, with a value of 0.
const DWORD gpdwVariable = 0;
After gpdwVariable is declared, the following code example shows how to use FIXUPVAR to fix up gpdwVariable to the address 12345678.
gpdwVariable 00000000 12345678 FIXUPVAR
**Note **This must be done in the MEMORY section of the .bib file.
See Also
MEMORY Section | Binary Image Builder File | Romimage | Memory Architecture
Last updated on Thursday, February 02, 2006
Send Feedback on this topic to the authors