X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Fstypes.h;h=f7380609495b3c3546231f9185f72a29bed29310;hb=34d14506fd0c12ee5434fec0f9dec27753e1aab5;hp=a80b241f4b172f6230500eb7ab8b43e901e499e8;hpb=9c1f16e0c496f60a6e49aa115b8819f4f3b2e585;p=fw%2Fsdcc diff --git a/sim/ucsim/stypes.h b/sim/ucsim/stypes.h index a80b241f..f7380609 100644 --- 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; - char *id_string; + const char *id_string; }; enum error_type { @@ -56,21 +56,21 @@ struct dis_entry uint code, mask; char branch; uchar length; - char *mnemonic; + const char *mnemonic; }; // table entry of SFR and BIT names struct name_entry { - int cpu_type; - t_addr addr; - char *name; + int cpu_type; + t_addr addr; + const char *name; }; struct cpu_entry { - char *type_str; + const char *type_str; int type; int technology; };