projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* sim/ucsim/*.*, sim/ucsim/configure, sim/ucsim/configure.in:
[fw/sdcc]
/
sim
/
ucsim
/
stypes.h
diff --git
a/sim/ucsim/stypes.h
b/sim/ucsim/stypes.h
index a80b241f4b172f6230500eb7ab8b43e901e499e8..f7380609495b3c3546231f9185f72a29bed29310 100644
(file)
--- a/
sim/ucsim/stypes.h
+++ b/
sim/ucsim/stypes.h
@@
-41,7
+41,7
@@
typedef TYPE_WORD t_smem; /* signed 16 bit memory */
struct id_element
{
int id;
struct id_element
{
int id;
- char *id_string;
+ c
onst c
har *id_string;
};
enum error_type {
};
enum error_type {
@@
-56,21
+56,21
@@
struct dis_entry
uint code, mask;
char branch;
uchar length;
uint code, mask;
char branch;
uchar length;
- c
har
*mnemonic;
+ c
onst char
*mnemonic;
};
// table entry of SFR and BIT names
struct name_entry
{
};
// table entry of SFR and BIT names
struct name_entry
{
- int
cpu_type;
- t_addr
addr;
- c
har
*name;
+ int cpu_type;
+ t_addr addr;
+ c
onst char
*name;
};
struct cpu_entry
{
};
struct cpu_entry
{
- char *type_str;
+ c
onst c
har *type_str;
int type;
int technology;
};
int type;
int technology;
};