* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
[fw/sdcc] / src / pic16 / main.h
index 65552254cc7bc707cfc07401e6f6bbb02e4e58d9..3b92452e727b45d662f4475805e4aa653612c169 100644 (file)
@@ -1,8 +1,38 @@
 #ifndef MAIN_INCLUDE
 #define MAIN_INCLUDE
 
+#include "ralloc.h"
+
 bool x_parseOptions (char **argv, int *pargc);
 void x_setDefaultOptions (void);
 void x_finaliseOptions (void);
 
+
+typedef struct {
+       char *at_udata;
+} pic16_sectioninfo_t;
+
+typedef struct absSym {
+       char name[SDCC_SYMNAME_MAX+1];
+       unsigned int address;
+} absSym;
+
+typedef struct sectName {
+       char *name;
+       set *regsSet;
+} sectName;
+
+typedef struct sectSym {
+       sectName *section;
+       char *name;
+       regs *reg;
+} sectSym;
+
+extern set *absSymSet;
+extern set *sectNames;
+extern set *sectSyms;
+extern set *wparamList;
+
+extern int pic16_mplab_comp;
+
 #endif