projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/pic/device.c (dump_sfr): always emit symbols
[fw/sdcc]
/
src
/
pic
/
device.h
diff --git
a/src/pic/device.h
b/src/pic/device.h
index ad8a890d9909c063e8a273ca89e9d2132046b0d9..e2b118d90316e86e4390805e173bc740bab5b9e3 100644
(file)
--- a/
src/pic/device.h
+++ b/
src/pic/device.h
@@
-44,6
+44,7
@@
typedef struct memRange {
* e.g. alias = 0x80 means start_address is identical
* to the memory location at (0x80 | start_address) */
int bank; /* PIC memory bank this range occupies */
* e.g. alias = 0x80 means start_address is identical
* to the memory location at (0x80 | start_address) */
int bank; /* PIC memory bank this range occupies */
+ struct memRange *next; /* linked list */
} memRange;
} memRange;
@@
-110,10
+111,12
@@
void setDefMaxRam(void);
void pic14_assignConfigWordValue(int address, int value);
int pic14_emitConfigWord (FILE * vFile);
int pic14_getConfigWord(int address);
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);
unsigned pic14_getMaxRam(void);
int pic14_getHasSecondConfigReg(void);
-int pic14_getSharebankSize(void);
-int pic14_getSharebankAddress(void);
+int pic14_allRAMShared(void);
+int pic14_hasSharebank(int *low, int *high, int *size);
+int pic14_getSharedStack(int *low, int *high, int *size);
PIC_device * pic14_getPIC(void);
#endif /* __DEVICE_H__ */
PIC_device * pic14_getPIC(void);
#endif /* __DEVICE_H__ */