I
Ivan
Hi all,
I am trying to place a static array of structures into a memory location I
want. For example
typedef struct
{
char *string;
int i1;
int i2;
}mytype;
mytype sa[] =
{
{"string1", 0, 10},
{"string2", 0, 12},
{0}
};
Now I want the compiler/linker to place sa[] at memory address 0x20000000.
How do I go about it without copying the structure over?
thanks
ivan
I am trying to place a static array of structures into a memory location I
want. For example
typedef struct
{
char *string;
int i1;
int i2;
}mytype;
mytype sa[] =
{
{"string1", 0, 10},
{"string2", 0, 12},
{0}
};
Now I want the compiler/linker to place sa[] at memory address 0x20000000.
How do I go about it without copying the structure over?
thanks
ivan