projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* .version: bumped version number to 2.4.5
[fw/sdcc]
/
src
/
pic16
/
device.h
diff --git
a/src/pic16/device.h
b/src/pic16/device.h
index 0b378b991781d9bc2348b804e88130d6f0276641..f25163331f7cb69712928763ccab8264bde0776a 100644
(file)
--- a/
src/pic16/device.h
+++ b/
src/pic16/device.h
@@
-85,23
+85,21
@@
typedef struct PIC16_device {
/* Given a pointer to a register, this macro returns the bank that it is in */
#define REG_ADDR(r) ((r)->isBitField ? (((r)->address)>>3) : (r)->address)
/* Given a pointer to a register, this macro returns the bank that it is in */
#define REG_ADDR(r) ((r)->isBitField ? (((r)->address)>>3) : (r)->address)
-//#define REG_BANK(r) (pic16_finalMapping[REG_ADDR(r)].bank)
-//#define REG_isALIASED(r) (pic16_finalMapping[REG_ADDR(r)].alias != 0)
-//#define REG_isVALID(r) (pic16_finalMapping[REG_ADDR(r)].isValid)
typedef struct {
typedef struct {
- int no_banksel;
- int opt_banksel;
- int omit_configw;
- int omit_ivt;
- int leave_reset;
- int stack_model;
- int ivt_loc;
- int nodefaultlibs;
- int dumpcalltree;
- char *crt_name;
- int no_crt;
+ int no_banksel;
+ int opt_banksel;
+ int omit_configw;
+ int omit_ivt;
+ int leave_reset;
+ int stack_model;
+ int ivt_loc;
+ int nodefaultlibs;
+ int dumpcalltree;
+ char *crt_name;
+ int no_crt;
+ int ip_stack;
} pic16_options_t;
#define STACK_MODEL_SMALL (pic16_options.stack_model == 0)
} pic16_options_t;
#define STACK_MODEL_SMALL (pic16_options.stack_model == 0)