projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/mcs51/peeph.def: peephole 238.x added check for notvolatile
[fw/sdcc]
/
src
/
pic
/
device.h
diff --git
a/src/pic/device.h
b/src/pic/device.h
index 5fb8a44048a1658b98135de09edf77375c4c450c..bea75a49625c661a3770aa2f4395dec283ce0de5 100644
(file)
--- a/
src/pic/device.h
+++ b/
src/pic/device.h
@@
-71,10
+71,9
@@
typedef struct AssignedMemory {
*/
extern AssignedMemory *finalMapping;
*/
extern AssignedMemory *finalMapping;
-#define PROCESSOR_NAMES 4
/* Processor unique attributes */
typedef struct PIC_device {
/* 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 */
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);
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);
int pic14_getSharebankSize(void);
int pic14_getSharebankAddress(void);