summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i960/rxgen960/startup/sctns.h
blob: 1c37aa98bd62b47f5704e3852fe23bd7a31d8526 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*-------------------------------------*/
/* sctns.h                             */
/* Last change : 10.10.94              */
/*-------------------------------------*/
/*
 *  $Id$
 */

#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 */
/*-------------*/