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