diff options
Diffstat (limited to 'c/src/lib/libbsp/i960/rxgen960/startup/sctns.h')
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/startup/sctns.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/startup/sctns.h b/c/src/lib/libbsp/i960/rxgen960/startup/sctns.h new file mode 100644 index 0000000000..767545ee1b --- /dev/null +++ b/c/src/lib/libbsp/i960/rxgen960/startup/sctns.h @@ -0,0 +1,33 @@ +/*-------------------------------------*/ +/* sctns.h */ +/* Last change : 10.10.94 */ +/*-------------------------------------*/ +#ifndef _SCTNS_H_ +#define _SCTNS_H_ + + /* Copy all code into SRAM. + * Fault Table and Fault Handler stays in EPROM to not be + * destroyed by a buggy user program. Beyond that only + * monitor Start point and procedures to copy code + * into RAM will be relocated in ROM. + */ +extern void copyCodeToRam(void); + /* Zero uninitialized section. + */ +extern void zeroBss(void); + + /* Some relocation symbols. These + * symbols are defined in rom.ld. + */ +extern unsigned int codeRomStart[]; +extern unsigned int codeRamStart[]; +extern unsigned int codeRamEnd[]; + +extern unsigned int bssStart[]; +extern unsigned int bssEnd[]; + +#endif +/*-------------*/ +/* End of file */ +/*-------------*/ + |