| 1 |
2021-06-22 Mike Frysinger <[email protected]> |
| 2 |
|
| 3 |
* configure.ac: Removed. |
| 4 |
* aclocal.m4: Removed. |
| 5 |
* configure: Removed. |
| 6 |
|
| 7 |
2021-06-21 Mike Frysinger <[email protected]> |
| 8 |
|
| 9 |
* aclocal.m4: Regenerate. |
| 10 |
* configure: Regenerate. |
| 11 |
|
| 12 |
2021-06-21 Mike Frysinger <[email protected]> |
| 13 |
|
| 14 |
* Makefile.in (SIM_EXTRA_HW_DEVICES): Define. |
| 15 |
* configure.ac (SIM_AC_OPTION_HARDWARE): Delete call. |
| 16 |
* configure: Regenerate. |
| 17 |
|
| 18 |
2021-06-20 Mike Frysinger <[email protected]> |
| 19 |
|
| 20 |
* configure.ac (SIM_AC_COMMON): Delete. |
| 21 |
* aclocal.m4, configure: Regenerate. |
| 22 |
|
| 23 |
2021-06-20 Mike Frysinger <[email protected]> |
| 24 |
|
| 25 |
* aclocal.m4: Regenerate. |
| 26 |
* configure: Regenerate. |
| 27 |
|
| 28 |
2021-06-20 Mike Frysinger <[email protected]> |
| 29 |
|
| 30 |
* sim-main.h: Add UNUSED to all STATIC_INLINE functions. |
| 31 |
|
| 32 |
2021-06-20 Mike Frysinger <[email protected]> |
| 33 |
|
| 34 |
* aclocal.m4: Regenerate. |
| 35 |
* configure: Regenerate. |
| 36 |
|
| 37 |
2021-06-19 Mike Frysinger <[email protected]> |
| 38 |
|
| 39 |
* aclocal.m4: Regenerate. |
| 40 |
* configure: Regenerate. |
| 41 |
|
| 42 |
2021-06-19 Mike Frysinger <[email protected]> |
| 43 |
|
| 44 |
* configure: Regenerate. |
| 45 |
|
| 46 |
2021-06-18 Mike Frysinger <[email protected]> |
| 47 |
|
| 48 |
* aclocal.m4, configure: Regenerate. |
| 49 |
|
| 50 |
2021-06-18 Mike Frysinger <[email protected]> |
| 51 |
|
| 52 |
* configure: Regenerate. |
| 53 |
|
| 54 |
2021-06-18 Mike Frysinger <[email protected]> |
| 55 |
|
| 56 |
* dv-m68hc11eepr.c: Include sim-signal.h. |
| 57 |
* interrupts.c, m68hc11_sim.c: Likewise. |
| 58 |
* sim-main.h: Delete sim-signal.h include. |
| 59 |
|
| 60 |
2021-06-17 Mike Frysinger <[email protected]> |
| 61 |
|
| 62 |
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call. |
| 63 |
* interp.c (sim_open): Set current_target_byte_order. |
| 64 |
* aclocal.m4, configure: Regenerate. |
| 65 |
|
| 66 |
2021-06-17 Mike Frysinger <[email protected]> |
| 67 |
|
| 68 |
* sim-main.h: Delete sim/callback.h include. |
| 69 |
|
| 70 |
2021-06-16 Mike Frysinger <[email protected]> |
| 71 |
|
| 72 |
* configure: Regenerate. |
| 73 |
|
| 74 |
2021-06-16 Mike Frysinger <[email protected]> |
| 75 |
|
| 76 |
* configure: Regenerate. |
| 77 |
* config.in: Removed. |
| 78 |
|
| 79 |
2021-06-15 Mike Frysinger <[email protected]> |
| 80 |
|
| 81 |
* config.in, configure: Regenerate. |
| 82 |
|
| 83 |
2021-06-12 Mike Frysinger <[email protected]> |
| 84 |
|
| 85 |
* configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. |
| 86 |
|
| 87 |
2021-06-12 Mike Frysinger <[email protected]> |
| 88 |
|
| 89 |
* aclocal.m4, config.in, configure: Regenerate. |
| 90 |
|
| 91 |
2021-06-12 Mike Frysinger <[email protected]> |
| 92 |
|
| 93 |
* config.in, configure: Regenerate. |
| 94 |
|
| 95 |
2021-05-17 Mike Frysinger <[email protected]> |
| 96 |
|
| 97 |
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. |
| 98 |
|
| 99 |
2021-05-17 Mike Frysinger <[email protected]> |
| 100 |
|
| 101 |
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define. |
| 102 |
(struct sim_state): Delete. |
| 103 |
|
| 104 |
2021-05-16 Mike Frysinger <[email protected]> |
| 105 |
|
| 106 |
* dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, dv-m68hc11spi.c, |
| 107 |
dv-m68hc11tim.c, dv-nvram.c, emulos.c, gencode.c, interp.c, |
| 108 |
interrupts.c, m68hc11_sim.c: Include defs.h. |
| 109 |
|
| 110 |
2021-05-16 Mike Frysinger <[email protected]> |
| 111 |
|
| 112 |
* config.in, configure: Regenerate. |
| 113 |
|
| 114 |
2021-05-14 Mike Frysinger <[email protected]> |
| 115 |
|
| 116 |
* sim-main.h: Update include path. |
| 117 |
|
| 118 |
2021-05-07 Mike Frysinger <[email protected]> |
| 119 |
|
| 120 |
* dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes. |
| 121 |
Merge two sprintf buf calls. |
| 122 |
|
| 123 |
2021-05-06 Mike Frysinger <[email protected]> |
| 124 |
|
| 125 |
* interp.c (sim_hw_configure): Change %lx to %x in format strings. |
| 126 |
* configure.ac: Delete SIM_AC_OPTION_WARNINGS call. |
| 127 |
* configure: Regenerate. |
| 128 |
|
| 129 |
2021-05-06 Mike Frysinger <[email protected]> |
| 130 |
|
| 131 |
* emulos.c: Include errno.h & stdio.h. |
| 132 |
(emul_write): Print a warning when the write fails. |
| 133 |
|
| 134 |
2021-05-04 Mike Frysinger <[email protected]> |
| 135 |
|
| 136 |
* dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int. |
| 137 |
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*. |
| 138 |
|
| 139 |
2021-05-04 Mike Frysinger <[email protected]> |
| 140 |
|
| 141 |
* configure: Regenerate. |
| 142 |
|
| 143 |
2021-05-01 Mike Frysinger <[email protected]> |
| 144 |
|
| 145 |
* config.in, configure: Regenerate. |
| 146 |
|
| 147 |
2021-04-23 Mike Frysinger <[email protected]> |
| 148 |
|
| 149 |
* configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args. |
| 150 |
* configure: Regenerate. |
| 151 |
|
| 152 |
2021-04-22 Tom Tromey <[email protected]> |
| 153 |
|
| 154 |
* configure, config.in: Rebuild. |
| 155 |
|
| 156 |
2021-04-22 Tom Tromey <[email protected]> |
| 157 |
|
| 158 |
* Makefile.in (INCLUDE): Remove. |
| 159 |
|
| 160 |
2021-04-22 Tom Tromey <[email protected]> |
| 161 |
|
| 162 |
* Makefile.in (interp.o): Remove. |
| 163 |
|
| 164 |
2021-04-22 Tom Tromey <[email protected]> |
| 165 |
|
| 166 |
* configure: Rebuild. |
| 167 |
|
| 168 |
2021-04-21 Mike Frysinger <[email protected]> |
| 169 |
|
| 170 |
* aclocal.m4: Regenerate. |
| 171 |
|
| 172 |
2021-04-21 Simon Marchi <[email protected]> |
| 173 |
|
| 174 |
* configure: Regenerate. |
| 175 |
|
| 176 |
2021-04-18 Mike Frysinger <[email protected]> |
| 177 |
|
| 178 |
* configure: Regenerate. |
| 179 |
|
| 180 |
2021-04-12 Mike Frysinger <[email protected]> |
| 181 |
|
| 182 |
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. |
| 183 |
|
| 184 |
2021-04-02 Mike Frysinger <[email protected]> |
| 185 |
|
| 186 |
* aclocal.m4, configure: Regenerate. |
| 187 |
|
| 188 |
2021-03-13 Mike Frysinger <[email protected]> |
| 189 |
|
| 190 |
* Makefile.in (gencode.o): New rule. |
| 191 |
(gencode): Call LINK_FOR_BUILD. |
| 192 |
|
| 193 |
2021-02-28 Mike Frysinger <[email protected]> |
| 194 |
|
| 195 |
* configure: Regenerate. |
| 196 |
|
| 197 |
2021-02-21 Mike Frysinger <[email protected]> |
| 198 |
|
| 199 |
* configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. |
| 200 |
* aclocal.m4, configure: Regenerate. |
| 201 |
|
| 202 |
2021-02-13 Mike Frysinger <[email protected]> |
| 203 |
|
| 204 |
* configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. |
| 205 |
* aclocal.m4, configure: Regenerate. |
| 206 |
|
| 207 |
2021-02-06 Mike Frysinger <[email protected]> |
| 208 |
|
| 209 |
* configure: Regenerate. |
| 210 |
|
| 211 |
2021-01-30 Mike Frysinger <[email protected]> |
| 212 |
|
| 213 |
* dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64. |
| 214 |
|
| 215 |
2021-01-30 Mike Frysinger <[email protected]> |
| 216 |
|
| 217 |
* m68hc11_sim.c (cpu_set_sp): Add static markings. |
| 218 |
(cpu_get_reg, cpu_get_src_reg, cpu_set_dst_reg, |
| 219 |
cpu_get_indexed_operand_addr, cpu_get_indexed_operand8): Likewise. |
| 220 |
|
| 221 |
2021-01-30 Mike Frysinger <[email protected]> |
| 222 |
|
| 223 |
* interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse. |
| 224 |
|
| 225 |
2021-01-30 Mike Frysinger <[email protected]> |
| 226 |
|
| 227 |
* dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h. |
| 228 |
|
| 229 |
2021-01-30 Mike Frysinger <[email protected]> |
| 230 |
|
| 231 |
* configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables. |
| 232 |
* configure: Regenerate. |
| 233 |
|
| 234 |
2021-01-11 Mike Frysinger <[email protected]> |
| 235 |
|
| 236 |
* config.in, configure: Regenerate. |
| 237 |
|
| 238 |
2021-01-09 Mike Frysinger <[email protected]> |
| 239 |
|
| 240 |
* configure: Regenerate. |
| 241 |
|
| 242 |
2021-01-09 Mike Frysinger <[email protected]> |
| 243 |
|
| 244 |
* configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no". |
| 245 |
* configure: Regenerate. |
| 246 |
|
| 247 |
2021-01-08 Mike Frysinger <[email protected]> |
| 248 |
|
| 249 |
* configure: Regenerate. |
| 250 |
|
| 251 |
2021-01-04 Mike Frysinger <[email protected]> |
| 252 |
|
| 253 |
* configure: Regenerate. |
| 254 |
|
| 255 |
2017-09-06 John Baldwin <[email protected]> |
| 256 |
|
| 257 |
* configure: Regenerate. |
| 258 |
|
| 259 |
2017-02-13 Mike Frysinger <[email protected]> |
| 260 |
|
| 261 |
* gencode.c: Include libiberty.h. |
| 262 |
(TABLE_SIZE): Delete. |
| 263 |
(find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE. |
| 264 |
(gen_interpreter): Likewise. |
| 265 |
* interrupts.c (TableSize): Delete. |
| 266 |
(interrupts_update_pending): Change TableSize to ARRAY_SIZE. |
| 267 |
|
| 268 |
2016-08-16 Mike Frysinger <[email protected]> |
| 269 |
|
| 270 |
* sim-main.h (inline): Delete define. |
| 271 |
(phys_to_virt): Change inline to STATIC_INLINE. |
| 272 |
(memory_read8, memory_write8, memory_read16, memory_write16, |
| 273 |
cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16, |
| 274 |
cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16, |
| 275 |
cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16, |
| 276 |
cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8, |
| 277 |
cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8, |
| 278 |
cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise. |
| 279 |
|
| 280 |
2016-08-15 Mike Frysinger <[email protected]> |
| 281 |
|
| 282 |
* interp.c (sim_get_bank_parameters): Delete abfd arg. |
| 283 |
Replace all symbol lookup code with calls to trace_sym_value. |
| 284 |
(sim_prepare_for_program): Update sim_get_bank_parameters call. |
| 285 |
|
| 286 |
2016-08-13 Mike Frysinger <[email protected]> |
| 287 |
|
| 288 |
* dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style. |
| 289 |
* dv-m68hc11spi.c (m68hc11spi_port_event): Likewise. |
| 290 |
* dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise. |
| 291 |
* emulos.c (emul_bench): Likewise. |
| 292 |
(emul_write): Likewise. Also rename state to cpu. |
| 293 |
(emul_os): Rename proc to cpu. |
| 294 |
* gencode.c: Rename proc to cpu. |
| 295 |
* interrupts.c (interrupts_initialize): Likewise. |
| 296 |
* interrupts.h (interrupts): Adjust cpu type. |
| 297 |
(interrupts_initialize): Likewise. |
| 298 |
* m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style. |
| 299 |
(cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg, |
| 300 |
cpu_get_indexed_operand_addr, cpu_get_indexed_operand8, |
| 301 |
cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise. |
| 302 |
(cpu_ccr_update_tst8): Rename proc to cpu. |
| 303 |
* sim-main.h: Rename PROC and proc to cpu. |
| 304 |
|
| 305 |
2016-08-13 Mike Frysinger <[email protected]> |
| 306 |
|
| 307 |
* dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with |
| 308 |
return value of hw_malloc. |
| 309 |
* dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static. |
| 310 |
(m68hc11sio_tx_poll): Likewise. |
| 311 |
* dv-m68hc11spi.c (m68hc11spi_clock): Likewise. |
| 312 |
* dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise. |
| 313 |
* dv-nvram.c (attach_nvram_regs): Drop cast with |
| 314 |
return value of hw_malloc. |
| 315 |
* emulos.c (emul_bench): Mark static. |
| 316 |
(emul_write): Likewise. |
| 317 |
(emul_exit): Likewise. |
| 318 |
* gencode.c: Include stdio.h. |
| 319 |
(gen_function_entry): Unify two print lines. |
| 320 |
(cmp_opcode): Mark args const. |
| 321 |
|
| 322 |
2016-01-10 Mike Frysinger <[email protected]> |
| 323 |
|
| 324 |
* config.in, configure: Regenerate. |
| 325 |
|
| 326 |
2016-01-10 Mike Frysinger <[email protected]> |
| 327 |
|
| 328 |
* configure: Regenerate. |
| 329 |
|
| 330 |
2016-01-10 Mike Frysinger <[email protected]> |
| 331 |
|
| 332 |
* configure: Regenerate. |
| 333 |
|
| 334 |
2016-01-10 Mike Frysinger <[email protected]> |
| 335 |
|
| 336 |
* configure: Regenerate. |
| 337 |
|
| 338 |
2016-01-10 Mike Frysinger <[email protected]> |
| 339 |
|
| 340 |
* configure: Regenerate. |
| 341 |
|
| 342 |
2016-01-10 Mike Frysinger <[email protected]> |
| 343 |
|
| 344 |
* configure.ac (SIM_AC_OPTION_INLINE): Delete call. |
| 345 |
* configure: Regenerate. |
| 346 |
|
| 347 |
2016-01-10 Mike Frysinger <[email protected]> |
| 348 |
|
| 349 |
* configure: Regenerate. |
| 350 |
|
| 351 |
2016-01-10 Mike Frysinger <[email protected]> |
| 352 |
|
| 353 |
* configure: Regenerate. |
| 354 |
|
| 355 |
2016-01-09 Mike Frysinger <[email protected]> |
| 356 |
|
| 357 |
* config.in, configure: Regenerate. |
| 358 |
|
| 359 |
2016-01-06 Mike Frysinger <[email protected]> |
| 360 |
|
| 361 |
* interp.c (sim_open): Mark argv const. |
| 362 |
(sim_create_inferior): Mark argv and env const. |
| 363 |
|
| 364 |
2016-01-04 Mike Frysinger <[email protected]> |
| 365 |
|
| 366 |
* configure: Regenerate. |
| 367 |
|
| 368 |
2016-01-03 Mike Frysinger <[email protected]> |
| 369 |
|
| 370 |
* interp.c (sim_open): Update sim_parse_args comment. |
| 371 |
|
| 372 |
2016-01-03 Mike Frysinger <[email protected]> |
| 373 |
|
| 374 |
* sim-main.h (sim_state): Delete devices member. |
| 375 |
|
| 376 |
2016-01-03 Mike Frysinger <[email protected]> |
| 377 |
|
| 378 |
* configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. |
| 379 |
* configure: Regenerate. |
| 380 |
|
| 381 |
2016-01-02 Mike Frysinger <[email protected]> |
| 382 |
|
| 383 |
* configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG. |
| 384 |
* configure: Regenerate. |
| 385 |
|
| 386 |
2015-12-30 Mike Frysinger <[email protected]> |
| 387 |
|
| 388 |
* configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN. |
| 389 |
* configure: Regenerate. |
| 390 |
|
| 391 |
2015-12-30 Mike Frysinger <[email protected]> |
| 392 |
|
| 393 |
* imterp.c (sim_open): Delete current_alignment and |
| 394 |
current_target_byte_order assignments. |
| 395 |
* configure.ac: Call SIM_AC_OPTION_ENDIAN. |
| 396 |
* configure: Regenerate. |
| 397 |
|
| 398 |
2015-12-30 Mike Frysinger <[email protected]> |
| 399 |
|
| 400 |
* wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define. |
| 401 |
(sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. |
| 402 |
(sim_store_register): Rename to ... |
| 403 |
(m68hc11_reg_store): ... this. Delete local cpu var. |
| 404 |
(sim_fetch_register): Rename to ... |
| 405 |
(m68hc11_reg_fetch): ... this. Delete local cpu var. |
| 406 |
|
| 407 |
2015-12-27 Mike Frysinger <[email protected]> |
| 408 |
|
| 409 |
* Makefile.in (SIM_OBJS): Delete sim-hload.o. |
| 410 |
|
| 411 |
2015-12-26 Mike Frysinger <[email protected]> |
| 412 |
|
| 413 |
* config.in, configure: Regenerate. |
| 414 |
|
| 415 |
2015-12-24 Mike Frysinger <[email protected]> |
| 416 |
|
| 417 |
* sim-main.h (SIM_HANDLES_LMA): Delete. |
| 418 |
|
| 419 |
2015-12-24 Mike Frysinger <[email protected]> |
| 420 |
|
| 421 |
* sim-main.h (WITH_WATCHPOINTS): Delete. |
| 422 |
|
| 423 |
2015-11-17 Mike Frysinger <[email protected]> |
| 424 |
|
| 425 |
* sim-main.h (WITH_MODULO_MEMORY): Delete. |
| 426 |
|
| 427 |
2015-11-15 Mike Frysinger <[email protected]> |
| 428 |
|
| 429 |
* Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. |
| 430 |
|
| 431 |
2015-11-14 Mike Frysinger <[email protected]> |
| 432 |
|
| 433 |
* Makefile.in (SIM_OBJS): Delete sim-load.o. |
| 434 |
|
| 435 |
2015-11-14 Mike Frysinger <[email protected]> |
| 436 |
|
| 437 |
* interp.c (sim_close): Delete. |
| 438 |
|
| 439 |
2015-06-23 Mike Frysinger <[email protected]> |
| 440 |
|
| 441 |
* configure: Regenerate. |
| 442 |
|
| 443 |
2015-06-12 Mike Frysinger <[email protected]> |
| 444 |
|
| 445 |
* configure: Regenerate. |
| 446 |
|
| 447 |
2015-06-12 Mike Frysinger <[email protected]> |
| 448 |
|
| 449 |
* configure: Regenerate. |
| 450 |
|
| 451 |
2015-06-11 Mike Frysinger <[email protected]> |
| 452 |
|
| 453 |
* interp.c (interrupt_names): Delete. |
| 454 |
|
| 455 |
2015-06-11 Mike Frysinger <[email protected]> |
| 456 |
|
| 457 |
* Makefile.in (SIM_OBJS): Add sim-resume.o |
| 458 |
* interp.c (has_stepped, sim_resume): Delete. |
| 459 |
|
| 460 |
2015-06-11 Mike Frysinger <[email protected]> |
| 461 |
|
| 462 |
* interp.c (INLINE): Delete define. |
| 463 |
|
| 464 |
2015-04-29 Nick Clifton <[email protected]> |
| 465 |
|
| 466 |
PR 18273 |
| 467 |
* gencode.c (gen_fetch_operands): Remove unreachable code. |
| 468 |
|
| 469 |
2015-04-18 Mike Frysinger <[email protected]> |
| 470 |
|
| 471 |
* sim-main.h (SIM_CPU): Delete. |
| 472 |
|
| 473 |
2015-04-18 Mike Frysinger <[email protected]> |
| 474 |
|
| 475 |
* sim-main.h (sim_cia): Delete. |
| 476 |
|
| 477 |
2015-04-17 Mike Frysinger <[email protected]> |
| 478 |
|
| 479 |
* sim-main.h (CIA_GET, CIA_SET): Delete. |
| 480 |
|
| 481 |
2015-04-15 Mike Frysinger <[email protected]> |
| 482 |
|
| 483 |
* Makefile.in (SIM_OBJS): Delete sim-cpu.o. |
| 484 |
* sim-main.h (STATE_CPU): Delete. |
| 485 |
|
| 486 |
2015-04-13 Mike Frysinger <[email protected]> |
| 487 |
|
| 488 |
* configure: Regenerate. |
| 489 |
|
| 490 |
2015-04-13 Mike Frysinger <[email protected]> |
| 491 |
|
| 492 |
* Makefile.in (SIM_OBJS): Add sim-cpu.o. |
| 493 |
* interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions. |
| 494 |
(sim_open): Declare new local var i. Call sim_cpu_alloc_all. |
| 495 |
Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. |
| 496 |
(sim_pc_get): Delete. |
| 497 |
* sim-main.h (SIM_CPU): Define. |
| 498 |
(STATE_CPU): Drop &. |
| 499 |
(struct sim_state): Change cpu to an array of pointers. |
| 500 |
|
| 501 |
2015-04-06 Mike Frysinger <[email protected]> |
| 502 |
|
| 503 |
* Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. |
| 504 |
|
| 505 |
2015-03-31 Mike Frysinger <[email protected]> |
| 506 |
|
| 507 |
* m68hc11_sim.c (cpu_get_indexed_operand_addr, |
| 508 |
cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict |
| 509 |
variable to restricted. |
| 510 |
* sim-main.h (cpu_get_indexed_operand_addr): Likewise. |
| 511 |
|
| 512 |
2015-03-24 Mike Frysinger <[email protected]> |
| 513 |
|
| 514 |
* interp.c (sim_pc_get): New function. |
| 515 |
|
| 516 |
2015-03-24 Mike Frysinger <[email protected]> |
| 517 |
|
| 518 |
* compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks, |
| 519 |
sim_size, sim_trace): Delete. |
| 520 |
* sim-main.h (sim_set_profile, sim_set_profile_size): Delete. |
| 521 |
|
| 522 |
2015-03-24 Mike Frysinger <[email protected]> |
| 523 |
|
| 524 |
* configure: Regenerate. |
| 525 |
|
| 526 |
2015-03-23 Mike Frysinger <[email protected]> |
| 527 |
|
| 528 |
* configure: Regenerate. |
| 529 |
|
| 530 |
2015-03-23 Mike Frysinger <[email protected]> |
| 531 |
|
| 532 |
* configure: Regenerate. |
| 533 |
* configure.ac (m68hc11_extra_objs): Delete. |
| 534 |
* Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS. |
| 535 |
(SIM_EXTRA_OBJS): Delete. |
| 536 |
|
| 537 |
2015-03-16 Mike Frysinger <[email protected]> |
| 538 |
|
| 539 |
* config.in, configure: Regenerate. |
| 540 |
|
| 541 |
2015-03-14 Mike Frysinger <[email protected]> |
| 542 |
|
| 543 |
* Makefile.in (SIM_RUN_OBJS): Delete. |
| 544 |
|
| 545 |
2015-03-14 Mike Frysinger <[email protected]> |
| 546 |
|
| 547 |
* configure.ac (AC_CHECK_HEADERS): Delete. |
| 548 |
* aclocal.m4, configure: Regenerate. |
| 549 |
|
| 550 |
2014-08-19 Alan Modra <[email protected]> |
| 551 |
|
| 552 |
* configure: Regenerate. |
| 553 |
|
| 554 |
2014-08-15 Roland McGrath <[email protected]> |
| 555 |
|
| 556 |
* configure: Regenerate. |
| 557 |
* config.in: Regenerate. |
| 558 |
|
| 559 |
2014-03-04 Mike Frysinger <[email protected]> |
| 560 |
|
| 561 |
* configure: Regenerate. |
| 562 |
|
| 563 |
2013-09-23 Alan Modra <[email protected]> |
| 564 |
|
| 565 |
* configure: Regenerate. |
| 566 |
|
| 567 |
2013-06-03 Mike Frysinger <[email protected]> |
| 568 |
|
| 569 |
* aclocal.m4, configure: Regenerate. |
| 570 |
|
| 571 |
2013-05-10 Freddie Chopin <[email protected]> |
| 572 |
|
| 573 |
* configure: Rebuild. |
| 574 |
|
| 575 |
2013-03-26 Mike Frysinger <[email protected]> |
| 576 |
|
| 577 |
* configure: Regenerate. |
| 578 |
|
| 579 |
2013-03-23 Joel Sherrill <[email protected]> |
| 580 |
|
| 581 |
* configure.ac: Use $SIM_DV_SOCKSER_O. |
| 582 |
* configure: Regenerated. |
| 583 |
|
| 584 |
2012-06-15 Joel Brobecker <[email protected]> |
| 585 |
|
| 586 |
* config.in, configure: Regenerate. |
| 587 |
|
| 588 |
2012-03-24 Mike Frysinger <[email protected]> |
| 589 |
|
| 590 |
* aclocal.m4, config.in, configure: Regenerate. |
| 591 |
|
| 592 |
2011-12-03 Mike Frysinger <[email protected]> |
| 593 |
|
| 594 |
* aclocal.m4: New file. |
| 595 |
* configure: Regenerate. |
| 596 |
|
| 597 |
2011-10-19 Mike Frysinger <[email protected]> |
| 598 |
|
| 599 |
* configure: Regenerate after common/acinclude.m4 update. |
| 600 |
|
| 601 |
2011-10-17 Mike Frysinger <[email protected]> |
| 602 |
|
| 603 |
* configure.ac: Change include to common/acinclude.m4. |
| 604 |
|
| 605 |
2011-10-17 Mike Frysinger <[email protected]> |
| 606 |
|
| 607 |
* configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER |
| 608 |
call. Replace common.m4 include with SIM_AC_COMMON. |
| 609 |
* configure: Regenerate. |
| 610 |
|
| 611 |
2011-07-05 Mike Frysinger <[email protected]> |
| 612 |
|
| 613 |
* interp.c (sim_do_command): Delete. |
| 614 |
|
| 615 |
2010-01-09 Ralf Wildenhues <[email protected]> |
| 616 |
|
| 617 |
* configure: Regenerate. |
| 618 |
|
| 619 |
2009-08-22 Ralf Wildenhues <[email protected]> |
| 620 |
|
| 621 |
* config.in: Regenerate. |
| 622 |
* configure: Likewise. |
| 623 |
|
| 624 |
* configure: Regenerate. |
| 625 |
|
| 626 |
2008-07-11 Hans-Peter Nilsson <[email protected]> |
| 627 |
|
| 628 |
* configure: Regenerate to track ../common/common.m4 changes. |
| 629 |
* config.in: Ditto. |
| 630 |
|
| 631 |
2008-06-06 Vladimir Prus <[email protected]> |
| 632 |
Daniel Jacobowitz <[email protected]> |
| 633 |
Joseph Myers <[email protected]> |
| 634 |
|
| 635 |
* configure: Regenerate. |
| 636 |
|
| 637 |
2006-12-21 Hans-Peter Nilsson <[email protected]> |
| 638 |
|
| 639 |
* config.in: Regenerate. |
| 640 |
|
| 641 |
2006-06-13 Richard Earnshaw <[email protected]> |
| 642 |
|
| 643 |
* configure: Regenerated. |
| 644 |
|
| 645 |
2006-06-05 Daniel Jacobowitz <[email protected]> |
| 646 |
|
| 647 |
* configure: Regenerated. |
| 648 |
|
| 649 |
2006-05-31 Daniel Jacobowitz <[email protected]> |
| 650 |
|
| 651 |
* configure: Regenerated. |
| 652 |
|
| 653 |
2006-03-29 Hans-Peter Nilsson <[email protected]> |
| 654 |
|
| 655 |
* configure: Regenerate. |
| 656 |
|
| 657 |
2005-03-23 Mark Kettenis <[email protected]> |
| 658 |
|
| 659 |
* configure: Regenerate. |
| 660 |
|
| 661 |
2005-01-14 Andrew Cagney <[email protected]> |
| 662 |
|
| 663 |
* configure.ac: Sinclude aclocal.m4 before common.m4. Add |
| 664 |
explicit call to AC_CONFIG_HEADER. |
| 665 |
* configure: Regenerate. |
| 666 |
|
| 667 |
2005-01-11 Andrew Cagney <[email protected]> |
| 668 |
|
| 669 |
* configure: Regenerated to track ../common/aclocal.m4 changes. |
| 670 |
|
| 671 |
2005-01-07 Andrew Cagney <[email protected]> |
| 672 |
|
| 673 |
* configure.ac: Rename configure.in, require autoconf 2.59. |
| 674 |
* configure: Re-generate. |
| 675 |
|
| 676 |
2004-12-08 Hans-Peter Nilsson <[email protected]> |
| 677 |
|
| 678 |
* configure: Regenerate for ../common/aclocal.m4 update. |
| 679 |
|
| 680 |
2004-06-15 Alan Modra <[email protected]> |
| 681 |
|
| 682 |
* interp.c (sim_prepare_for_program): Use bfd_get_section_size |
| 683 |
instead of bfd_get_section_size_before_reloc. |
| 684 |
|
| 685 |
2003-08-08 Stephane Carrez <[email protected]> |
| 686 |
|
| 687 |
* dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better |
| 688 |
control the translation. |
| 689 |
(m68hc11tim_print_timer): Update cycle_to_string conversion. |
| 690 |
(m68hc11tim_timer_event): Fix handling of output |
| 691 |
compare register with its interrupts. |
| 692 |
(m68hc11tim_io_write_buffer): Check output compare |
| 693 |
after setting M6811_TMSK1. |
| 694 |
(m68hc11tim_io_read_buffer): Fix compilation warning. |
| 695 |
* dv-m68hc11.c (m68hc11_option_handler): Likewise. |
| 696 |
* dv-m68hc11spi.c (m68hc11spi_info): Likewise. |
| 697 |
* dv-m68hc11sio.c (m68hc11sio_info): Likewise. |
| 698 |
* interrupts.c (interrupts_info): Likewise. |
| 699 |
(interrupts_reset): Recognize bootstrap mode. |
| 700 |
* sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines. |
| 701 |
(_sim_cpu): Add cpu_start_mode. |
| 702 |
(cycle_to_string): Add flags member. |
| 703 |
* m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option. |
| 704 |
(cpu_options): Declare new option bootstrap. |
| 705 |
(cpu_option_handler): Handle it. |
| 706 |
(cpu_info): Update call to cycle_to_string. |
| 707 |
|
| 708 |
2003-08-08 Stephane Carrez <[email protected]> |
| 709 |
|
| 710 |
* sim-main.h (phys_to_virt): Use memory bank parameters to translate |
| 711 |
the physical address in virtual address. |
| 712 |
(struct _sim_cpu): Add memory bank members. |
| 713 |
* m68hc11_sim.c (cpu_initialize): Clear memory bank parameters. |
| 714 |
* interp.c (sim_hw_configure): Create memory bank according to memory |
| 715 |
bank parameters. |
| 716 |
(sim_get_bank_parameters): New function to obtain memory bank config |
| 717 |
from the symbol table. |
| 718 |
(sim_prepare_for_program): Call it to obtain the memory bank parameters. |
| 719 |
(sim_open): Call sim_prepare_for_program. |
| 720 |
* dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters |
| 721 |
to check if address is within bank window. |
| 722 |
(m68hc11cpu_io_read_buffer): Likewise. |
| 723 |
(attach_m68hc11_regs): Map the memory bank according to memory bank |
| 724 |
parameters. |
| 725 |
|
| 726 |
2003-08-08 Stephane Carrez <[email protected]>, |
| 727 |
|
| 728 |
* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb. |
| 729 |
|
| 730 |
2003-08-08 Stephane Carrez <[email protected]>, |
| 731 |
Gary Piercey <[email protected]> |
| 732 |
|
| 733 |
* m68hc11_sim.c (print_io_word): New function to print 16-bit value. |
| 734 |
* sim-main.h (print_io_word): Declare. |
| 735 |
* dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1. |
| 736 |
(tflg1_desc): Likewise for TFLG1. |
| 737 |
(m68hc11tim_info): Print input and output compare registers |
| 738 |
|
| 739 |
2003-03-02 Stephane Carrez <[email protected]> |
| 740 |
|
| 741 |
* Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE |
| 742 |
to 32 to support memory bank switching; temporarily use 32-bit for |
| 743 |
WORD_BITSIZE to avoid a bug in sim-common. |
| 744 |
|
| 745 |
2003-03-01 Stephane Carrez <[email protected]> |
| 746 |
|
| 747 |
* interp.c (sim_fetch_register): Only store a single byte for |
| 748 |
1 byte registers. |
| 749 |
|
| 750 |
2003-02-27 Andrew Cagney <[email protected]> |
| 751 |
|
| 752 |
* interp.c (sim_prepare_for_program, sim_open) |
| 753 |
(sim_create_inferior): Rename _bfd to bfd. |
| 754 |
|
| 755 |
2002-08-13 Stephane Carrez <[email protected]> |
| 756 |
|
| 757 |
* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename. |
| 758 |
|
| 759 |
2002-08-13 Marko Kohtala <[email protected]> |
| 760 |
|
| 761 |
* interp.c (sim_prepare_for_program): Look up the image for the |
| 762 |
reset vector and set cpu_use_elf_start to 1 if not found. |
| 763 |
(sim_open): Do not set cpu_use_elf_start. |
| 764 |
|
| 765 |
2002-08-13 Marko Kohtala <[email protected]> |
| 766 |
|
| 767 |
* interp.c (sim_hw_configure): Return 1 for success. |
| 768 |
(sim_prepare_for_program): Use the sim_hw_configure exit code to |
| 769 |
return SIM_RC_FAIL. |
| 770 |
|
| 771 |
2002-08-13 Stephane Carrez <[email protected]> |
| 772 |
|
| 773 |
* dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory |
| 774 |
bank window to some virtual address to read from extended memory. |
| 775 |
(m68hc11cpu_io_write_buffer): Likewise for writing. |
| 776 |
(attach_m68hc11_regs): When use_bank property is defined, attach |
| 777 |
to the 68HC12 16K memory bank window. |
| 778 |
* interp.c (sim_hw_configure): Create memory region for banked |
| 779 |
memory. |
| 780 |
|
| 781 |
2002-08-13 Stephane Carrez <[email protected]> |
| 782 |
|
| 783 |
* interp.c (sim_hw_configure): Connect port-X to cpu-write-port. |
| 784 |
* dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input. |
| 785 |
(m68hc11cpu_port_event): Handle CPU_WRITE_PORT event. |
| 786 |
|
| 787 |
2002-08-13 Marko Kohtala <[email protected]> |
| 788 |
|
| 789 |
* dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping |
| 790 |
when IO mapping changed, not when internal RAM mapping is changed. |
| 791 |
|
| 792 |
2002-08-13 Stephane Carrez <[email protected]> |
| 793 |
|
| 794 |
* m68hc11_sim.c (cpu_special): Handle call and rtc instructions. |
| 795 |
* sim-main.h (M6812_CALL_INDIRECT): Add to enum. |
| 796 |
(m6811_regs): Add page register. |
| 797 |
(cpu_set_page, cpu_get_page): New macros. |
| 798 |
(phys_to_virt): New function. |
| 799 |
(cpu_get_indexed_operand_addr, cpu_return): Declare. |
| 800 |
* gencode.c: Identify indirect addressing mode for call and fix daa. |
| 801 |
(gen_function_entry): New param to tell if src8/dst8 locals are |
| 802 |
necessary. |
| 803 |
(gen_interpreter): Use it to avoid generation of unused variables. |
| 804 |
* interp.c (sim_fetch_register): Allow to read page register; page |
| 805 |
register, A, B and CCR are only 1 byte wide. |
| 806 |
(sim_store_register): Likewise for writing. |
| 807 |
|
| 808 |
2002-06-16 Andrew Cagney <[email protected]> |
| 809 |
|
| 810 |
* configure: Regenerated to track ../common/aclocal.m4 changes. |
| 811 |
|
| 812 |
2002-06-09 Andrew Cagney <[email protected]> |
| 813 |
|
| 814 |
* Makefile.in (INCLUDE): Update path to callback.h. |
| 815 |
* sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h". |
| 816 |
|
| 817 |
2002-03-07 Stephane Carrez <[email protected]> |
| 818 |
|
| 819 |
* m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case. |
| 820 |
(cpu_move16): Likewise. |
| 821 |
(sim_memory_error): Use sim_io_printf. |
| 822 |
(cpu_option_handler): Fix compilation warning. |
| 823 |
* interp.c (sim_hw_configure): Fix compilation warning; |
| 824 |
remove m68hc12sio@2 device. |
| 825 |
(sim_open): Likewise. |
| 826 |
* dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2 |
| 827 |
flags when reset. |
| 828 |
(cycle_to_string): Improve convertion of cpu cycle number. |
| 829 |
(m68hc11tim_info): Print info about PACNT. |
| 830 |
(m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle |
| 831 |
TCTL1 and TCTL2 registers. |
| 832 |
* dv-m68hc11.c (m68hc11_info): Print 6811 current running mode. |
| 833 |
|
| 834 |
2002-03-07 Stephane Carrez <[email protected]> |
| 835 |
|
| 836 |
* interp.c (sim_hw_configure): Save the HW cpu pointer in the |
| 837 |
cpu struct. |
| 838 |
(sim_hw_configure): Connect the capture input/output events. |
| 839 |
* sim-main.h (_sim_cpu): New member hw_cpu. |
| 840 |
(m68hc11cpu_set_oscillator): Declare. |
| 841 |
(m68hc11cpu_clear_oscillator): Declare. |
| 842 |
(m68hc11cpu_set_port): Declare. |
| 843 |
* dv-m68hc11.c (m68hc11_options): New for oscillator commands. |
| 844 |
(m68hc11cpu_ports): New input ports and output ports to reflect |
| 845 |
the HC11 IOs. |
| 846 |
(m68hc11_delete): Cleanup any running oscillator. |
| 847 |
(attach_m68hc11_regs): Create the input oscillators. |
| 848 |
(make_oscillator): New function. |
| 849 |
(find_oscillator): New function. |
| 850 |
(oscillator_handler): New function. |
| 851 |
(reset_oscillators): New function. |
| 852 |
(m68hc11cpu_port_event): Handle the new input ports. |
| 853 |
(m68hc11cpu_set_oscillator): New function. |
| 854 |
(m68hc11cpu_clear_oscillator): New function. |
| 855 |
(get_frequency): New function. |
| 856 |
(m68hc11_option_handler): New function. |
| 857 |
(m68hc11cpu_set_port): New function. |
| 858 |
(m68hc11cpu_io_write): Post the port output events. |
| 859 |
* dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set |
| 860 |
the output port value. |
| 861 |
* dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event |
| 862 |
by latching the TCNT value in the register. |
| 863 |
|
| 864 |
2002-03-07 Stephane Carrez <[email protected]> |
| 865 |
|
| 866 |
* sim-main.h (cpu_frame, cpu_frame_list): Remove. |
| 867 |
(cpu_frame_reg, cpu_print_frame): Remove. |
| 868 |
(cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup. |
| 869 |
(cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise. |
| 870 |
(cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise. |
| 871 |
(cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise. |
| 872 |
* m68hc11_sim.c (cpu_find_frame): Remove. |
| 873 |
(cpu_create_frame_list): Remove. |
| 874 |
(cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove. |
| 875 |
(cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove. |
| 876 |
(cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above. |
| 877 |
(cpu_update_frame): Likewise. |
| 878 |
(cpu_return): Likewise. |
| 879 |
(cpu_reset): Likewise. |
| 880 |
(cpu_initialize): Likewise. |
| 881 |
* interp.c (sim_do_command): Remove call to cpu_print_frame. |
| 882 |
|
| 883 |
2002-03-07 Stephane Carrez <[email protected]> |
| 884 |
|
| 885 |
* interrupts.c (interrupts_reset): New function, setup interrupt |
| 886 |
vector address according to cpu mode. |
| 887 |
(interrupts_initialize): Move reset portion to the above. |
| 888 |
(interrupt_names): New table to give a name to interrupts. |
| 889 |
(idefs): Handle pulse accumulator interrupts. |
| 890 |
(interrupts_info): Print the interrupt history. |
| 891 |
(interrupt_option_handler): New function. |
| 892 |
(interrupt_options): New table of options. |
| 893 |
(interrupts_update_pending): Keep track of when interrupts are |
| 894 |
raised and implement breakpoint-on-raise-interrupt. |
| 895 |
(interrupts_process): Keep track of when interrupts are taken |
| 896 |
and implement breakpoint-on-interrupt. |
| 897 |
* interrupts.h (struct interrupt_history): Define. |
| 898 |
(struct interrupt): Keep track of the interrupt history. |
| 899 |
(interrupts_reset): Declare. |
| 900 |
(interrupts_initialize): Update prototype. |
| 901 |
* m68hc11_sim.c (cpu_reset): Reset interrupts. |
| 902 |
(cpu_initialize): Cleanup. |
| 903 |
|
| 904 |
2001-07-28 Stephane Carrez <[email protected]> |
| 905 |
|
| 906 |
* dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write |
| 907 |
address. |
| 908 |
(m68hc11eepr_port_event): Fix detach/attach logic. |
| 909 |
|
| 910 |
2001-07-22 Stephane Carrez <[email protected]> |
| 911 |
|
| 912 |
* Makefile.in (SIM_OBJS): Remove sim-resume.o |
| 913 |
* interp.c (sim_resume): New function from sim-resume.c, install |
| 914 |
the stepping event after having processed the pending ticks. |
| 915 |
(has_stepped): Likewise. |
| 916 |
(sim_info): Produce an output only if verbose or STATE_VERBOSE_P. |
| 917 |
|
| 918 |
2001-07-10 Andrew Cagney <[email protected]> |
| 919 |
|
| 920 |
* Makefile.in (gencode): Provide explicit path to gencode.c. |
| 921 |
|
| 922 |
2001-05-20 Stephane Carrez <[email protected]> |
| 923 |
|
| 924 |
* Makefile.in (M68HC11_OBJS): Add m68hc12int.o. |
| 925 |
(m68hc12int.c): Generate using gencode -m6812. |
| 926 |
(m68hc11int.c): Likewise with -m6811. |
| 927 |
|
| 928 |
* gencode.c (m6811_opcode_patterns): New patterns for 68HC12. |
| 929 |
(m6811_page1_opcodes): Remove duplicate entries. |
| 930 |
(m6811_page2_opcodes): Likewise. |
| 931 |
(m6811_page3_opcodes): Likewise. |
| 932 |
(m6811_page4_opcodes): Likewise. |
| 933 |
(m6812_page1_opcodes): New table for 68HC12 instructions. |
| 934 |
(m6812_page2_opcodes): Likewise. |
| 935 |
(gen_fetch_operands): New modes [] and &[] for 68HC12 operands. |
| 936 |
(gen_save_result): Likewise. |
| 937 |
(gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes. |
| 938 |
(cmp_opcode): New function for opcode comparision. |
| 939 |
(prepare_table): Sort the opcodes. |
| 940 |
(gen_interpreter): Prepare all the tables and generate either |
| 941 |
a 68HC11 or a 68HC12 simulator. |
| 942 |
(main): New options -m6811 and -m6812. |
| 943 |
|
| 944 |
* m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor. |
| 945 |
(cpu_special): Simulation of some 68HC12 instructions. |
| 946 |
(cpu_exg): New function. |
| 947 |
(cpu_dbcc): Likewise. |
| 948 |
(cpu_fetch_relbranch16): Likewise. |
| 949 |
(cpu_push_all): Push according to 68HC11 or 68HC12. |
| 950 |
(cpu_move16): Likewise. |
| 951 |
(cpu_move8): Likewise. |
| 952 |
(cpu_get_indexed_operand16): Likewise. |
| 953 |
(cpu_get_indexed_operand8): Likewise. |
| 954 |
(cpu_get_indexed_operand_addr): Likewise. |
| 955 |
(cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise. |
| 956 |
(cpu_reset): Setup INIT register according to architecture. |
| 957 |
|
| 958 |
* sim-main.h (M6811_Special): Add 68HC12 specific instructions. |
| 959 |
(_sim_cpu): Keep track of the cpu being simulated. |
| 960 |
(cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New. |
| 961 |
(cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx. |
| 962 |
(cpu_m68hc11_pop_uint8): Likewise. |
| 963 |
(cpu_m68hc12_push_uintxx): New functions for 68HC12. |
| 964 |
(cpu_m68hc12_pop_uintxx): Likewise. |
| 965 |
(cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise, |
| 966 |
(cpu_fetch_relbranch16): Likewise. |
| 967 |
(cpu_interp_m6811): Rename of cpu_interp. |
| 968 |
(cpu_interp_m6812): New function. |
| 969 |
* interp.c (free_state): New function. |
| 970 |
(dev_list_68hc12): New table. |
| 971 |
(sim_board_reset): Reset depending on the cpu (HC11 or HC12). |
| 972 |
(sim_hw_configure): New function. |
| 973 |
(sim_prepare_for_program): New function. |
| 974 |
(sim_open): Use above new functions. |
| 975 |
(sim_close): Call free_state(). |
| 976 |
(sim_info): Print info according to cpu. |
| 977 |
(sim_create_inferior): Use sim_prepare_for_program. |
| 978 |
(sim_do_command): Configure the hardware after a change of the |
| 979 |
architecture. |
| 980 |
|
| 981 |
2001-05-20 Stephane Carrez <[email protected]> |
| 982 |
|
| 983 |
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for |
| 984 |
pending interrupts. |
| 985 |
* interrupts.c (interrupts_process): Keep track of the last number |
| 986 |
of masked insn cycles. |
| 987 |
(interrupts_initialize): Clear last number of masked insn cycles. |
| 988 |
(interrupts_info): Report them. |
| 989 |
(interrupts_update_pending): Compute clear and set masks of |
| 990 |
interrupts and clear the interrupt bits before setting them |
| 991 |
(due to SCI interrupt sharing). |
| 992 |
* interrupts.h (struct interrupts): New members last_mask_cycles |
| 993 |
and xirq_last_mask_cycles. |
| 994 |
|
| 995 |
2000-11-26 Stephane Carrez <[email protected]> |
| 996 |
|
| 997 |
* dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size |
| 998 |
instead of a hard-coded value. |
| 999 |
(m68hc11cpu_io_write_buffer): Likewise. |
| 1000 |
(dv_m68hc11_descriptor): Define a 68hc12 device. |
| 1001 |
* dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise. |
| 1002 |
* dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise. |
| 1003 |
* dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise. |
| 1004 |
* dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise. |
| 1005 |
|
| 1006 |
2000-11-22 Stephane Carrez <[email protected]> |
| 1007 |
|
| 1008 |
* dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler. |
| 1009 |
(m68hc11cpu_delete): Delete handler to detach the address space. |
| 1010 |
|
| 1011 |
2000-11-24 Stephane Carrez <[email protected]> |
| 1012 |
|
| 1013 |
* dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc. |
| 1014 |
* dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc |
| 1015 |
instead of free and malloc. |
| 1016 |
|
| 1017 |
2000-09-11 Stephane Carrez <[email protected]> |
| 1018 |
|
| 1019 |
* Makefile.in: Was missing from initial patch. |
| 1020 |
|
| 1021 |
2000-09-10 Stephane Carrez <[email protected]> |
| 1022 |
|
| 1023 |
* interp.c (sim_store_register): Remove soft register hack. |
| 1024 |
(sim_fetch_register): Likewise. |
| 1025 |
(sim_create_inferior): Likewise. |
| 1026 |
* sim-main.h: Likewise. |
| 1027 |
|
| 1028 |
2000-09-10 Stephane Carrez <[email protected]> |
| 1029 |
|
| 1030 |
* interrupts.c (interrupts_update_pending): Clear the mask of |
| 1031 |
pending interrupts here. |
| 1032 |
(interrupts_get_current): Don't clear the mask of pending interrupts. |
| 1033 |
|
| 1034 |
2000-09-10 Stephane Carrez <[email protected]> |
| 1035 |
|
| 1036 |
* sim-main.h: Define cycle_to_string. |
| 1037 |
* dv-m68hc11tim.c (cycle_to_string): New function to translate |
| 1038 |
the cpu cycle into some formatted time string. |
| 1039 |
(m68hc11tim_print_timer): Use it. |
| 1040 |
* dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string. |
| 1041 |
* dv-m68hc11spi.c (m68hc11spi_info): Likewise. |
| 1042 |
* interrupts.c (interrupts_info): Likewise. |
| 1043 |
* m68hc11_sim.c (cpu_info): Likewise. |
| 1044 |
|
| 1045 |
2000-09-06 Stephane Carrez <[email protected]> |
| 1046 |
|
| 1047 |
* dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow |
| 1048 |
interrupt and compare events accurately. Take into account the |
| 1049 |
pending ticks not processed by the simulator yet (introduced a shift). |
| 1050 |
(m68hc11_port_event): Reset the timer interrupt delays. |
| 1051 |
(m68hc11tim_io_read_buffer): Be able to read several bytes. |
| 1052 |
(m68hc11tim_io_write_buffer): Likewise for write. |
| 1053 |
(m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt. |
| 1054 |
|
| 1055 |
2000-09-06 Stephane Carrez <[email protected]> |
| 1056 |
|
| 1057 |
* dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts. |
| 1058 |
(m68hc11spi_io_write_buffer): Likewise and fix the spi frame. |
| 1059 |
(m68hc11spi_info): Clarify the status report |
| 1060 |
of the SPI when a byte is being sent. |
| 1061 |
(m68hc11spi_clock): Fix the spi send frame. |
| 1062 |
|
| 1063 |
2000-08-11 Stephane Carrez <[email protected]> |
| 1064 |
|
| 1065 |
* sim-main.h (m68hc11_map_level): Define level of address mappings. |
| 1066 |
* dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate |
| 1067 |
whether the eeprom is currently mapped or not. |
| 1068 |
(m68hc11eepr_port_event): Use the flag to see if we must unmap |
| 1069 |
or map the eeprom. Update the flag to reflect the current state. |
| 1070 |
Use M6811_EEPROM_LEVEL when mapping the eeprom. |
| 1071 |
(m68hc11eepr_finish): Remove overlap hack. |
| 1072 |
(attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the |
| 1073 |
config and control registers. |
| 1074 |
* dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack. |
| 1075 |
(attach_m68hc11_regs): Use M6811_IO_LEVEL. |
| 1076 |
(m68hc11cpu_io_write): Likewise when unmapping and re-mapping. |
| 1077 |
* dv-m68hc11spi.c (m68hc11spi_finish): Likewise. |
| 1078 |
(attach_m68hc11spi_regs): Likewise. |
| 1079 |
* dv-m68hc11tim.c (m68hc11tim_finish): Likewise. |
| 1080 |
(attach_m68hc11tim_regs): Likewise. |
| 1081 |
* dv-m68hc11sio.c (m68hc11sio_finish): Likewise. |
| 1082 |
(attach_m68hc11sio_regs): Likewise. |
| 1083 |
* interp.c (sim_open): Likewise. |
| 1084 |
* dv-nvram.c (attach_nvram_regs): Likewise. |
| 1085 |
|
| 1086 |
Thu Jul 27 21:27:25 2000 Andrew Cagney <[email protected]> |
| 1087 |
|
| 1088 |
* configure, config.in: Regenerate. |
| 1089 |
|
| 1090 |
2000-06-25 Stephane Carrez <[email protected]> |
| 1091 |
|
| 1092 |
* Makefile.in (SIM_RUN_OBJS): Define to use nrun.c |
| 1093 |
* dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback. |
| 1094 |
(dv_m6811_detach_address_callback): New function to detach a |
| 1095 |
device from an address space. |
| 1096 |
* dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize |
| 1097 |
config register according to --cpu-config option. |
| 1098 |
* sim-main.h (_sim_cpu): Add cpu_config member. |
| 1099 |
* interp.c (sim_open): Delete specific simulator options. |
| 1100 |
* m68hc11_sim.c (cpu_option_handler): New options |
| 1101 |
--emulos and -cpu-config <val> to configure the simulator. |
| 1102 |
(cpu_initialize): Initialize cpu_config member. |
| 1103 |
|
| 1104 |
2000-06-24 Stephane Carrez <[email protected]> |
| 1105 |
|
| 1106 |
* emulos.c: Fix indentation and comments. |
| 1107 |
* gencode.c: Likewise. |
| 1108 |
* dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT. |
| 1109 |
(m68hc11tim_io_write_buffer): Write compare registers and |
| 1110 |
setup compare event. |
| 1111 |
* interp.c: Remove unused global variables. |
| 1112 |
* interrupts.c (idefs): New compare interrupts. |
| 1113 |
Fix indentation and comments. |
| 1114 |
* interrupts.h: Likewise. |
| 1115 |
|
| 1116 |
2000-06-18 Stephane Carrez <[email protected]> |
| 1117 |
|
| 1118 |
* dv-m68hc11sio.c: Fix indentation and comments. |
| 1119 |
Remove INT_PORT. |
| 1120 |
* dv-m68hc11.c: Fix indentation and comments. |
| 1121 |
(m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here. |
| 1122 |
* m68hc11_sim.c (cpu_reset): To here. |
| 1123 |
* dv-m68hc11eepr.c: Fix indentation and comments. |
| 1124 |
|
| 1125 |
2000-06-17 Stephane Carrez <[email protected]> |
| 1126 |
|
| 1127 |
* dv-nvram.c: New file, rename from dv-pram.c. |
| 1128 |
* dv-pram.c: Delete file. |
| 1129 |
* sim-main.h: Incorporate m68hc11_sim.h. |
| 1130 |
* m68hc11_sim.h: Delete file. |
| 1131 |
* configure.in: Rename pram into nvram. |
| 1132 |
* interp.c (sim_open): Likewise in creation of device tree. |
| 1133 |
|
| 1134 |
2000-05-31 Stephane Carrez <[email protected]> |
| 1135 |
|
| 1136 |
* interp.c (sim_open): Create the SPI device. |
| 1137 |
* dv-m68hc11spi.c: New file for SPI device simulation. |
| 1138 |
* configure.in (hw_extra_devices): Add SPI device. |
| 1139 |
|
| 1140 |
2000-05-28 Stephane Carrez <[email protected]> |
| 1141 |
|
| 1142 |
* interrupts.c (interrupts_initialize): Clear XIRQ accounting. |
| 1143 |
(interrupts_process): Separate IRQ and XIRQ accounting. |
| 1144 |
(interrupts_info): Report XIRQ accounting. |
| 1145 |
* interrupts.h (struct interrupts): Added accounting for XIRQ. |
| 1146 |
|
| 1147 |
2000-04-16 Stephane Carrez <[email protected]> |
| 1148 |
|
| 1149 |
* dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode. |
| 1150 |
* m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode. |
| 1151 |
* dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB |
| 1152 |
configuration from the 'mode' device tree property. |
| 1153 |
(m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB |
| 1154 |
configuration. |
| 1155 |
|
| 1156 |
2000-02-24 Stephane Carrez <[email protected]> |
| 1157 |
|
| 1158 |
* sim-main.h: Remove WITH_TARGET_* defines. |
| 1159 |
* Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags. |
| 1160 |
|
| 1161 |
2000-02-08 Stephane Carrez <[email protected]> |
| 1162 |
|
| 1163 |
* dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to |
| 1164 |
1200 baud when cpu is in bootstrap mode. |
| 1165 |
|
| 1166 |
* dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to |
| 1167 |
write in the TCTN timer register. |
| 1168 |
|
| 1169 |
* dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock |
| 1170 |
by 4 to obtain the E clock frequency. |
| 1171 |
(sccr2_desc): Use M6811_TIE for TIE bit. |
| 1172 |
(m68hc11sio_info): Fix baud rate report. |
| 1173 |
|
| 1174 |
* dv-m68hc11tim.c (to_realtime): Likewise. |
| 1175 |
|
| 1176 |
* interp.c (sim_open): When building device tree, only provide |
| 1177 |
devices that do not exist yet. |
| 1178 |
|
| 1179 |
* emulos.c: Fix compilation pb under Windows. |
| 1180 |
|
| 1181 |
* dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency |
| 1182 |
from the 'clock' property. |
| 1183 |
|
| 1184 |
2000-01-02 Stephane Carrez <[email protected]> |
| 1185 |
|
| 1186 |
* m68hc11_sim.h (*_REGNUM): Define. |
| 1187 |
(_sim_cpu): New member cpu_page0_reg table. |
| 1188 |
* interp.c (sim_create_inferior): Fill the cpu_page0_reg table with |
| 1189 |
addresses of soft registers in .page0. |
| 1190 |
(sim_fetch_register, sim_store_register): Use cpu_page0_reg table |
| 1191 |
to get/set soft registers. |
| 1192 |
|
| 1193 |
1999-12-31 Stephane Carrez <[email protected]> |
| 1194 |
|
| 1195 |
* dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid |
| 1196 |
returning random values. |
| 1197 |
|
| 1198 |
1999-12-17 Stephane Carrez <[email protected]> |
| 1199 |
|
| 1200 |
* gencode.c: Fix "subb N,x" that used a instead of b. |
| 1201 |
|
| 1202 |
1999-09-09 Stephane Carrez <[email protected]> |
| 1203 |
|
| 1204 |
* gencode.c: Fixed sbc8 and adc8 when there was a initial carry. |
| 1205 |
|
| 1206 |
1999-09-01 Stephane Carrez <[email protected]> |
| 1207 |
|
| 1208 |
* sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma. |
| 1209 |
|
| 1210 |
1999-08-14 Stephane Carrez <[email protected]> |
| 1211 |
|
| 1212 |
* dv-m68hc11.c (attach_m68hc11_regs): Save the size of the |
| 1213 |
register region in the m68hc11cpu struct. |
| 1214 |
(m68hc11cpu_io_write): When the IO mapping addres changes, |
| 1215 |
detach the register region and re-attach it at the new address. |
| 1216 |
(m68hc11cpu_io_read_buffer): Renamed base_address into |
| 1217 |
attach_address. |
| 1218 |
(m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer |
| 1219 |
to m68hc11cpu_io_write. |
| 1220 |
|
| 1221 |
1999-08-13 Stephane Carrez <[email protected]> |
| 1222 |
|
| 1223 |
* gencode.c: For sbc8, check the carry and increment the source |
| 1224 |
before trying to set the carry for the result. |
| 1225 |
|
| 1226 |
1999-05-24 John S. Kallal <[email protected]> |
| 1227 |
|
| 1228 |
* interp.c (sim_get_info): Don't crash if the command line is 0. |
| 1229 |
Define prototype for sim_get_info() and init_system(). |
| 1230 |
(sim_info): Correct call to sim_get_info(). |
| 1231 |
|
| 1232 |
1999-05-16 Stephane Carrez <[email protected]> |
| 1233 |
|
| 1234 |
* configure.in: Recognize m6811-*-*. |
| 1235 |
* configure: Regenerate. |
| 1236 |
* m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16, |
| 1237 |
cpu_ccr_update_sub8, cpu_ccr_update_sub16): |
| 1238 |
Correct the computation of carry of 8 and 16-bits add and subtract. |
| 1239 |
* gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and |
| 1240 |
overflow set in a different manner than add). |
| 1241 |
|
| 1242 |
1999-05-14 Stephane Carrez <[email protected]> |
| 1243 |
|
| 1244 |
* dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a |
| 1245 |
trace message. |
| 1246 |
* interp.c (sim_open, sim_create_inferior): Initialize the |
| 1247 |
cpu_elf_start from the ELF header. |
| 1248 |
* m68hc11_sim.c (cpu_initialize): Clear the new data members. |
| 1249 |
(cpu_restart): Use cpu_elf_start as the starting address when |
| 1250 |
the flag is set. |
| 1251 |
(cpu_special): When cpu_use_elf_start is set, the WAI instruction |
| 1252 |
exits the simulator (exit status is in D). |
| 1253 |
* m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and |
| 1254 |
cpu_elf_star to start execution at address specified in ELF file. |
| 1255 |
|
| 1256 |
1999-05-02 Stephane Carrez <[email protected]> |
| 1257 |
|
| 1258 |
* Makefile.in, config.in, configure, configure.in: New files. |
| 1259 |
* gencode.c: New file, generation of 68HC11 interpreter. |
| 1260 |
* m68hc11_sim.h, m68hc11_sim.c: New files, specific operations |
| 1261 |
for interpreter. |
| 1262 |
* interrupts.c, interrupts.h: New files, management of interrupts. |
| 1263 |
* interp.c, sim-main.h, |
| 1264 |
* dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, |
| 1265 |
dv-m68hc11tim.c, dv-pram.c: New files representing devices for |
| 1266 |
68HC11 (dv-pram.c is generic and could probably migrate to common). |
| 1267 |
* emulos.c: New file, basic emulation of some os. |