* src/pic/pcode.c (InsertBankSel): suppress BANKSELs for one bank
[fw/sdcc] / src / pic / device.h
index 5fb8a44048a1658b98135de09edf77375c4c450c..bea75a49625c661a3770aa2f4395dec283ce0de5 100644 (file)
@@ -71,10 +71,9 @@ typedef struct AssignedMemory {
  */
 
 extern AssignedMemory *finalMapping;
-#define PROCESSOR_NAMES    4
 /* Processor unique attributes */
 typedef struct PIC_device {
-       char *name[PROCESSOR_NAMES];/* aliases for the processor name */
+       char *name;                 /* the processor name */
 
        memRange *ram;              /* RAM memory map */
        memRange *sfr;              /* SFR memory map */
@@ -107,8 +106,12 @@ int REGallBanks(regs *reg);
 void addMemRange(memRange *r, int type);
 void setMaxRAM(int size);
 void setDefMaxRam(void);
-unsigned getMaxRam(void);
-int getHasSecondConfigReg(void);
+
+void pic14_assignConfigWordValue(int address, int value);
+int pic14_emitConfigWord (FILE * vFile);
+int pic14_getConfigWord(int address);
+unsigned pic14_getMaxRam(void);
+int pic14_getHasSecondConfigReg(void);
 int pic14_getSharebankSize(void);
 int pic14_getSharebankAddress(void);