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