Imported Upstream version 2.9.0
[debian/cc1111] / src / pic16 / main.h
1 #ifndef MAIN_INCLUDE
2 #define MAIN_INCLUDE
3
4 #include "ralloc.h"
5
6 bool x_parseOptions (char **argv, int *pargc);
7 void x_setDefaultOptions (void);
8 void x_finaliseOptions (void);
9
10
11 typedef struct {
12         char *at_udata;
13 } pic16_sectioninfo_t;
14
15 typedef struct absSym {
16         char name[SDCC_SYMNAME_MAX+1];
17         unsigned int address;
18 } absSym;
19
20 typedef struct sectName {
21         char *name;
22         set *regsSet;
23 } sectName;
24
25 typedef struct sectSym {
26         sectName *section;
27         char *name;
28         regs *reg;
29 } sectSym;
30
31 extern set *absSymSet;
32 extern set *sectNames;
33 extern set *sectSyms;
34 extern set *wparamList;
35
36 extern int pic16_mplab_comp;
37
38 #endif