* src/pic16/gen.c (genPackBits): removed deprecated warning
[fw/sdcc] / src / port.h
index 58cb554f81383a8d9320233893beccf5807d7894..e44e610b403596f7da37d00506192986259c64f8 100644 (file)
@@ -44,6 +44,8 @@ typedef struct builtins
     char *parm_types[MAX_BUILTIN_ARGS]; /* each parm type as string : see typeFromStr */
 } builtins ;
 
+struct ebbIndex;
+
 /* Processor specific names */
 typedef struct
   {
@@ -127,9 +129,9 @@ typedef struct
        int short_size;
        int int_size;
        int long_size;
-       int ptr_size;
-       int fptr_size;
-       int gptr_size;
+       int ptr_size;       //near
+       int fptr_size;      //far
+       int gptr_size;      //generic
        int bit_size;
        int float_size;
        int max_base_size;
@@ -144,6 +146,7 @@ typedef struct
        const char *code_name;
        const char *data_name;
        const char *idata_name;
+       const char *pdata_name;
        const char *xdata_name;
        const char *bit_name;
        const char *reg_name;
@@ -153,6 +156,7 @@ typedef struct
        const char *home_name;
        const char *xidata_name; // initialized xdata
        const char *xinit_name; // a code copy of xidata
+       const char *const_name; // const data (code or not)
        struct memmap *default_local_map; // default location for auto vars
        struct memmap *default_globl_map; // default location for globl vars
        int code_ro;            /* code space read-only 1=yes */
@@ -245,7 +249,7 @@ typedef struct
        options are parsed. */
     void (*setDefaultOptions) (void);
 /** Does the dirty work. */
-    void (*assignRegisters) (struct eBBlock **, int);
+    void (*assignRegisters) (struct ebbIndex *);
 
     /** Returns the register name of a symbol.
        Used so that 'regs' can be an incomplete type. */