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