自己给自己解答吧....
ARM编译器参考**里有这么条语句: __attribute__((at(address)))
例如:
const int x1 __attribute__((at(0x10000))) = 10; /* RO */
int x2 __attribute__((at(0x12000))) = 10; /* RW */
int x3 __attribute__((at(0x14000))) = 0; /* RW, not ZI */
int x4 __attribute__((at(0x16000))); /* ZI */
|