sim: unify hardware settings
[deliverable/binutils-gdb.git] / sim / m68hc11 / ChangeLog
CommitLineData
456ef1c1
MF
12021-06-21 Mike Frysinger <vapier@gentoo.org>
2
3 * aclocal.m4: Regenerate.
4 * configure: Regenerate.
5
be0387ee
MF
62021-06-21 Mike Frysinger <vapier@gentoo.org>
7
8 * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
9 * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
10 * configure: Regenerate.
11
3eda63f2
MF
122021-06-20 Mike Frysinger <vapier@gentoo.org>
13
14 * configure.ac (SIM_AC_COMMON): Delete.
15 * aclocal.m4, configure: Regenerate.
16
3a829bc5
MF
172021-06-20 Mike Frysinger <vapier@gentoo.org>
18
19 * aclocal.m4: Regenerate.
20 * configure: Regenerate.
21
4ca8baee
MF
222021-06-20 Mike Frysinger <vapier@gentoo.org>
23
24 * sim-main.h: Add UNUSED to all STATIC_INLINE functions.
25
d73f39ee
MF
262021-06-20 Mike Frysinger <vapier@gentoo.org>
27
28 * aclocal.m4: Regenerate.
29 * configure: Regenerate.
30
b5689863
MF
312021-06-19 Mike Frysinger <vapier@gentoo.org>
32
33 * aclocal.m4: Regenerate.
34 * configure: Regenerate.
35
07490bf8
MF
362021-06-19 Mike Frysinger <vapier@gentoo.org>
37
38 * configure: Regenerate.
39
47ce766a
MF
402021-06-18 Mike Frysinger <vapier@gentoo.org>
41
42 * aclocal.m4, configure: Regenerate.
43
982c3a65
MF
442021-06-18 Mike Frysinger <vapier@gentoo.org>
45
46 * configure: Regenerate.
47
1fef66b0
MF
482021-06-18 Mike Frysinger <vapier@gentoo.org>
49
50 * dv-m68hc11eepr.c: Include sim-signal.h.
51 * interrupts.c, m68hc11_sim.c: Likewise.
52 * sim-main.h: Delete sim-signal.h include.
53
f9a4d543
MF
542021-06-17 Mike Frysinger <vapier@gentoo.org>
55
56 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
57 * interp.c (sim_open): Set current_target_byte_order.
58 * aclocal.m4, configure: Regenerate.
59
ef5058ae
MF
602021-06-17 Mike Frysinger <vapier@gentoo.org>
61
62 * sim-main.h: Delete sim/callback.h include.
63
a8a3d907
MF
642021-06-16 Mike Frysinger <vapier@gentoo.org>
65
66 * configure: Regenerate.
67
52d37d2c
MF
682021-06-16 Mike Frysinger <vapier@gentoo.org>
69
70 * configure: Regenerate.
71 * config.in: Removed.
72
bcaa61f7
MF
732021-06-15 Mike Frysinger <vapier@gentoo.org>
74
75 * config.in, configure: Regenerate.
76
ba307cdd
MF
772021-06-12 Mike Frysinger <vapier@gentoo.org>
78
79 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
80
dba333c1
MF
812021-06-12 Mike Frysinger <vapier@gentoo.org>
82
83 * aclocal.m4, config.in, configure: Regenerate.
84
b15c5d7a
MF
852021-06-12 Mike Frysinger <vapier@gentoo.org>
86
87 * config.in, configure: Regenerate.
88
f4fdd845
MF
892021-05-17 Mike Frysinger <vapier@gentoo.org>
90
91 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
92
383861bd
MF
932021-05-17 Mike Frysinger <vapier@gentoo.org>
94
95 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
96 (struct sim_state): Delete.
97
6df01ab8
MF
982021-05-16 Mike Frysinger <vapier@gentoo.org>
99
100 * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, dv-m68hc11spi.c,
101 dv-m68hc11tim.c, dv-nvram.c, emulos.c, gencode.c, interp.c,
102 interrupts.c, m68hc11_sim.c: Include defs.h.
103
79633c12
MF
1042021-05-16 Mike Frysinger <vapier@gentoo.org>
105
106 * config.in, configure: Regenerate.
107
df68e12b
MF
1082021-05-14 Mike Frysinger <vapier@gentoo.org>
109
110 * sim-main.h: Update include path.
111
8a16cc4b
MF
1122021-05-07 Mike Frysinger <vapier@gentoo.org>
113
114 * dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes.
115 Merge two sprintf buf calls.
116
8e78e9b9
MF
1172021-05-06 Mike Frysinger <vapier@gentoo.org>
118
119 * interp.c (sim_hw_configure): Change %lx to %x in format strings.
120 * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
121 * configure: Regenerate.
122
8852d028
MF
1232021-05-06 Mike Frysinger <vapier@gentoo.org>
124
125 * emulos.c: Include errno.h & stdio.h.
126 (emul_write): Print a warning when the write fails.
127
bf06b2a2
MF
1282021-05-04 Mike Frysinger <vapier@gentoo.org>
129
130 * dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int.
131 * dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*.
132
aa0fca16
MF
1332021-05-04 Mike Frysinger <vapier@gentoo.org>
134
135 * configure: Regenerate.
136
fe348617
MF
1372021-05-01 Mike Frysinger <vapier@gentoo.org>
138
139 * config.in, configure: Regenerate.
140
9d903352
MF
1412021-04-23 Mike Frysinger <vapier@gentoo.org>
142
143 * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
144 * configure: Regenerate.
145
19f6a43c
TT
1462021-04-22 Tom Tromey <tom@tromey.com>
147
148 * configure, config.in: Rebuild.
149
d6581fcd
TT
1502021-04-22 Tom Tromey <tom@tromey.com>
151
152 * Makefile.in (INCLUDE): Remove.
153
e7d8f1da
TT
1542021-04-22 Tom Tromey <tom@tromey.com>
155
156 * Makefile.in (interp.o): Remove.
157
efd82ac7
TT
1582021-04-22 Tom Tromey <tom@tromey.com>
159
160 * configure: Rebuild.
161
2662c237
MF
1622021-04-21 Mike Frysinger <vapier@gentoo.org>
163
164 * aclocal.m4: Regenerate.
165
1f195bc3
SM
1662021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
167
168 * configure: Regenerate.
169
37e9f182
MF
1702021-04-18 Mike Frysinger <vapier@gentoo.org>
171
172 * configure: Regenerate.
173
d5a71b11
MF
1742021-04-12 Mike Frysinger <vapier@gentoo.org>
175
176 * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
177
c2783492
MF
1782021-04-02 Mike Frysinger <vapier@gentoo.org>
179
180 * aclocal.m4, configure: Regenerate.
181
c6c7769d
MF
1822021-03-13 Mike Frysinger <vapier@gentoo.org>
183
184 * Makefile.in (gencode.o): New rule.
185 (gencode): Call LINK_FOR_BUILD.
186
ebe9564b
MF
1872021-02-28 Mike Frysinger <vapier@gentoo.org>
188
189 * configure: Regenerate.
190
760b3e8b
MF
1912021-02-21 Mike Frysinger <vapier@gentoo.org>
192
193 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
194 * aclocal.m4, configure: Regenerate.
195
136da8cd
MF
1962021-02-13 Mike Frysinger <vapier@gentoo.org>
197
198 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
199 * aclocal.m4, configure: Regenerate.
200
aa09469f
MF
2012021-02-06 Mike Frysinger <vapier@gentoo.org>
202
203 * configure: Regenerate.
204
683b8d96
MF
2052021-01-30 Mike Frysinger <vapier@gentoo.org>
206
207 * dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64.
208
b9e016f5
MF
2092021-01-30 Mike Frysinger <vapier@gentoo.org>
210
211 * m68hc11_sim.c (cpu_set_sp): Add static markings.
212 (cpu_get_reg, cpu_get_src_reg, cpu_set_dst_reg,
213 cpu_get_indexed_operand_addr, cpu_get_indexed_operand8): Likewise.
214
fb8d4e59
MF
2152021-01-30 Mike Frysinger <vapier@gentoo.org>
216
217 * interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse.
218
ee64caae
MF
2192021-01-30 Mike Frysinger <vapier@gentoo.org>
220
221 * dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h.
222
88f68ee2
MF
2232021-01-30 Mike Frysinger <vapier@gentoo.org>
224
225 * configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables.
226 * configure: Regenerate.
227
68ed2854
MF
2282021-01-11 Mike Frysinger <vapier@gentoo.org>
229
230 * config.in, configure: Regenerate.
231
50df264d
MF
2322021-01-09 Mike Frysinger <vapier@gentoo.org>
233
234 * configure: Regenerate.
235
bf470982
MF
2362021-01-09 Mike Frysinger <vapier@gentoo.org>
237
238 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
239 * configure: Regenerate.
240
46f900c0
MF
2412021-01-08 Mike Frysinger <vapier@gentoo.org>
242
243 * configure: Regenerate.
244
dfb856ba
MF
2452021-01-04 Mike Frysinger <vapier@gentoo.org>
246
247 * configure: Regenerate.
248
5c887dd5
JB
2492017-09-06 John Baldwin <jhb@FreeBSD.org>
250
251 * configure: Regenerate.
252
13a590ca
MF
2532017-02-13 Mike Frysinger <vapier@gentoo.org>
254
255 * gencode.c: Include libiberty.h.
256 (TABLE_SIZE): Delete.
257 (find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE.
258 (gen_interpreter): Likewise.
259 * interrupts.c (TableSize): Delete.
260 (interrupts_update_pending): Change TableSize to ARRAY_SIZE.
261
fa0843f5
MF
2622016-08-16 Mike Frysinger <vapier@gentoo.org>
263
264 * sim-main.h (inline): Delete define.
265 (phys_to_virt): Change inline to STATIC_INLINE.
266 (memory_read8, memory_write8, memory_read16, memory_write16,
267 cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16,
268 cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16,
269 cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16,
270 cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8,
271 cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8,
272 cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise.
273
5357150c
MF
2742016-08-15 Mike Frysinger <vapier@gentoo.org>
275
276 * interp.c (sim_get_bank_parameters): Delete abfd arg.
277 Replace all symbol lookup code with calls to trace_sym_value.
278 (sim_prepare_for_program): Update sim_get_bank_parameters call.
279
6f64fd48
MF
2802016-08-13 Mike Frysinger <vapier@gentoo.org>
281
282 * dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style.
283 * dv-m68hc11spi.c (m68hc11spi_port_event): Likewise.
284 * dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise.
285 * emulos.c (emul_bench): Likewise.
286 (emul_write): Likewise. Also rename state to cpu.
287 (emul_os): Rename proc to cpu.
288 * gencode.c: Rename proc to cpu.
289 * interrupts.c (interrupts_initialize): Likewise.
290 * interrupts.h (interrupts): Adjust cpu type.
291 (interrupts_initialize): Likewise.
292 * m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style.
293 (cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg,
294 cpu_get_indexed_operand_addr, cpu_get_indexed_operand8,
295 cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise.
296 (cpu_ccr_update_tst8): Rename proc to cpu.
297 * sim-main.h: Rename PROC and proc to cpu.
298
527aaa4a
MF
2992016-08-13 Mike Frysinger <vapier@gentoo.org>
300
301 * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with
302 return value of hw_malloc.
303 * dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static.
304 (m68hc11sio_tx_poll): Likewise.
305 * dv-m68hc11spi.c (m68hc11spi_clock): Likewise.
306 * dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise.
307 * dv-nvram.c (attach_nvram_regs): Drop cast with
308 return value of hw_malloc.
309 * emulos.c (emul_bench): Mark static.
310 (emul_write): Likewise.
311 (emul_exit): Likewise.
312 * gencode.c: Include stdio.h.
313 (gen_function_entry): Unify two print lines.
314 (cmp_opcode): Mark args const.
315
ce39bd38
MF
3162016-01-10 Mike Frysinger <vapier@gentoo.org>
317
318 * config.in, configure: Regenerate.
319
35656e95
MF
3202016-01-10 Mike Frysinger <vapier@gentoo.org>
321
322 * configure: Regenerate.
323
16f7876d
MF
3242016-01-10 Mike Frysinger <vapier@gentoo.org>
325
326 * configure: Regenerate.
327
e19418e0
MF
3282016-01-10 Mike Frysinger <vapier@gentoo.org>
329
330 * configure: Regenerate.
331
99d8e879
MF
3322016-01-10 Mike Frysinger <vapier@gentoo.org>
333
334 * configure: Regenerate.
335
347fe5bb
MF
3362016-01-10 Mike Frysinger <vapier@gentoo.org>
337
338 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
339 * configure: Regenerate.
340
22be3fbe
MF
3412016-01-10 Mike Frysinger <vapier@gentoo.org>
342
343 * configure: Regenerate.
344
0dc73ef7
MF
3452016-01-10 Mike Frysinger <vapier@gentoo.org>
346
347 * configure: Regenerate.
348
936df756
MF
3492016-01-09 Mike Frysinger <vapier@gentoo.org>
350
351 * config.in, configure: Regenerate.
352
2e3d4f4d
MF
3532016-01-06 Mike Frysinger <vapier@gentoo.org>
354
355 * interp.c (sim_open): Mark argv const.
356 (sim_create_inferior): Mark argv and env const.
357
9bbf6f91
MF
3582016-01-04 Mike Frysinger <vapier@gentoo.org>
359
360 * configure: Regenerate.
361
77cf2ef5
MF
3622016-01-03 Mike Frysinger <vapier@gentoo.org>
363
364 * interp.c (sim_open): Update sim_parse_args comment.
365
61971b86
MF
3662016-01-03 Mike Frysinger <vapier@gentoo.org>
367
368 * sim-main.h (sim_state): Delete devices member.
369
0cb8d851
MF
3702016-01-03 Mike Frysinger <vapier@gentoo.org>
371
372 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
373 * configure: Regenerate.
374
1ac72f06
MF
3752016-01-02 Mike Frysinger <vapier@gentoo.org>
376
377 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
378 * configure: Regenerate.
379
8e26d677
MF
3802015-12-30 Mike Frysinger <vapier@gentoo.org>
381
382 * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN.
383 * configure: Regenerate.
384
eca4255a
MF
3852015-12-30 Mike Frysinger <vapier@gentoo.org>
386
387 * imterp.c (sim_open): Delete current_alignment and
388 current_target_byte_order assignments.
389 * configure.ac: Call SIM_AC_OPTION_ENDIAN.
390 * configure: Regenerate.
391
e1211e55
MF
3922015-12-30 Mike Frysinger <vapier@gentoo.org>
393
394 * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define.
395 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
396 (sim_store_register): Rename to ...
397 (m68hc11_reg_store): ... this. Delete local cpu var.
398 (sim_fetch_register): Rename to ...
399 (m68hc11_reg_fetch): ... this. Delete local cpu var.
400
5e744ef8
MF
4012015-12-27 Mike Frysinger <vapier@gentoo.org>
402
403 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
404
1b393626
MF
4052015-12-26 Mike Frysinger <vapier@gentoo.org>
406
407 * config.in, configure: Regenerate.
408
26936211
MF
4092015-12-24 Mike Frysinger <vapier@gentoo.org>
410
411 * sim-main.h (SIM_HANDLES_LMA): Delete.
412
84e8e361
MF
4132015-12-24 Mike Frysinger <vapier@gentoo.org>
414
415 * sim-main.h (WITH_WATCHPOINTS): Delete.
416
cdf850e9
MF
4172015-11-17 Mike Frysinger <vapier@gentoo.org>
418
419 * sim-main.h (WITH_MODULO_MEMORY): Delete.
420
797eee42
MF
4212015-11-15 Mike Frysinger <vapier@gentoo.org>
422
423 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
424
d2dfd242
MF
4252015-11-14 Mike Frysinger <vapier@gentoo.org>
426
427 * Makefile.in (SIM_OBJS): Delete sim-load.o.
428
6e4f085c
MF
4292015-11-14 Mike Frysinger <vapier@gentoo.org>
430
431 * interp.c (sim_close): Delete.
432
8d0978fb
MF
4332015-06-23 Mike Frysinger <vapier@gentoo.org>
434
435 * configure: Regenerate.
436
a3487082
MF
4372015-06-12 Mike Frysinger <vapier@gentoo.org>
438
439 * configure: Regenerate.
440
306f4178
MF
4412015-06-12 Mike Frysinger <vapier@gentoo.org>
442
443 * configure: Regenerate.
444
09896bd2
MF
4452015-06-11 Mike Frysinger <vapier@gentoo.org>
446
447 * interp.c (interrupt_names): Delete.
448
a84f8df0
MF
4492015-06-11 Mike Frysinger <vapier@gentoo.org>
450
451 * Makefile.in (SIM_OBJS): Add sim-resume.o
452 * interp.c (has_stepped, sim_resume): Delete.
453
5d19c366
MF
4542015-06-11 Mike Frysinger <vapier@gentoo.org>
455
456 * interp.c (INLINE): Delete define.
457
0a13382c
NC
4582015-04-29 Nick Clifton <nickc@redhat.com>
459
460 PR 18273
461 * gencode.c (gen_fetch_operands): Remove unreachable code.
462
20bca71d
MF
4632015-04-18 Mike Frysinger <vapier@gentoo.org>
464
465 * sim-main.h (SIM_CPU): Delete.
466
7e83aa92
MF
4672015-04-18 Mike Frysinger <vapier@gentoo.org>
468
469 * sim-main.h (sim_cia): Delete.
470
034685f9
MF
4712015-04-17 Mike Frysinger <vapier@gentoo.org>
472
473 * sim-main.h (CIA_GET, CIA_SET): Delete.
474
78e9aa70
MF
4752015-04-15 Mike Frysinger <vapier@gentoo.org>
476
477 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
478 * sim-main.h (STATE_CPU): Delete.
479
bf12d44e
MF
4802015-04-13 Mike Frysinger <vapier@gentoo.org>
481
482 * configure: Regenerate.
483
bea3f671
MF
4842015-04-13 Mike Frysinger <vapier@gentoo.org>
485
486 * Makefile.in (SIM_OBJS): Add sim-cpu.o.
487 * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions.
488 (sim_open): Declare new local var i. Call sim_cpu_alloc_all.
489 Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
490 (sim_pc_get): Delete.
491 * sim-main.h (SIM_CPU): Define.
492 (STATE_CPU): Drop &.
493 (struct sim_state): Change cpu to an array of pointers.
494
122bbfb5
MF
4952015-04-06 Mike Frysinger <vapier@gentoo.org>
496
497 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
498
2b6ca062
MF
4992015-03-31 Mike Frysinger <vapier@gentoo.org>
500
501 * m68hc11_sim.c (cpu_get_indexed_operand_addr,
502 cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict
503 variable to restricted.
504 * sim-main.h (cpu_get_indexed_operand_addr): Likewise.
505
05f53ed6
MF
5062015-03-24 Mike Frysinger <vapier@gentoo.org>
507
508 * interp.c (sim_pc_get): New function.
509
523ba8f9
MF
5102015-03-24 Mike Frysinger <vapier@gentoo.org>
511
512 * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks,
513 sim_size, sim_trace): Delete.
514 * sim-main.h (sim_set_profile, sim_set_profile_size): Delete.
515
30452bbe
MF
5162015-03-24 Mike Frysinger <vapier@gentoo.org>
517
518 * configure: Regenerate.
519
64dd13df
MF
5202015-03-23 Mike Frysinger <vapier@gentoo.org>
521
522 * configure: Regenerate.
523
49cd1634
MF
5242015-03-23 Mike Frysinger <vapier@gentoo.org>
525
526 * configure: Regenerate.
527 * configure.ac (m68hc11_extra_objs): Delete.
528 * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS.
529 (SIM_EXTRA_OBJS): Delete.
530
ae7d0cac
MF
5312015-03-16 Mike Frysinger <vapier@gentoo.org>
532
533 * config.in, configure: Regenerate.
534
465fb143
MF
5352015-03-14 Mike Frysinger <vapier@gentoo.org>
536
537 * Makefile.in (SIM_RUN_OBJS): Delete.
538
5cddc23a
MF
5392015-03-14 Mike Frysinger <vapier@gentoo.org>
540
541 * configure.ac (AC_CHECK_HEADERS): Delete.
542 * aclocal.m4, configure: Regenerate.
543
2974be62
AM
5442014-08-19 Alan Modra <amodra@gmail.com>
545
546 * configure: Regenerate.
547
faa743bb
RM
5482014-08-15 Roland McGrath <mcgrathr@google.com>
549
550 * configure: Regenerate.
551 * config.in: Regenerate.
552
1a8a700e
MF
5532014-03-04 Mike Frysinger <vapier@gentoo.org>
554
555 * configure: Regenerate.
556
bf3d9781
AM
5572013-09-23 Alan Modra <amodra@gmail.com>
558
559 * configure: Regenerate.
560
31e6ad7d
MF
5612013-06-03 Mike Frysinger <vapier@gentoo.org>
562
563 * aclocal.m4, configure: Regenerate.
564
d3685d60
TT
5652013-05-10 Freddie Chopin <freddie_chopin@op.pl>
566
567 * configure: Rebuild.
568
1517bd27
MF
5692013-03-26 Mike Frysinger <vapier@gentoo.org>
570
571 * configure: Regenerate.
572
256139f5
JS
5732013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
574
575 * configure.ac: Use $SIM_DV_SOCKSER_O.
576 * configure: Regenerated.
577
5f3ef9d0
JB
5782012-06-15 Joel Brobecker <brobecker@adacore.com>
579
580 * config.in, configure: Regenerate.
581
2232061b
MF
5822012-03-24 Mike Frysinger <vapier@gentoo.org>
583
584 * aclocal.m4, config.in, configure: Regenerate.
585
db2e4d67
MF
5862011-12-03 Mike Frysinger <vapier@gentoo.org>
587
588 * aclocal.m4: New file.
589 * configure: Regenerate.
590
4399a56b
MF
5912011-10-19 Mike Frysinger <vapier@gentoo.org>
592
593 * configure: Regenerate after common/acinclude.m4 update.
594
9c082ca8
MF
5952011-10-17 Mike Frysinger <vapier@gentoo.org>
596
597 * configure.ac: Change include to common/acinclude.m4.
598
6ffe910a
MF
5992011-10-17 Mike Frysinger <vapier@gentoo.org>
600
601 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
602 call. Replace common.m4 include with SIM_AC_COMMON.
603 * configure: Regenerate.
604
2419798b
MF
6052011-07-05 Mike Frysinger <vapier@gentoo.org>
606
607 * interp.c (sim_do_command): Delete.
608
3725885a
RW
6092010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
610
611 * configure: Regenerate.
612
d6416cdc
RW
6132009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
614
81ecdfbb
RW
615 * config.in: Regenerate.
616 * configure: Likewise.
617
d6416cdc
RW
618 * configure: Regenerate.
619
b5bd9624
HPN
6202008-07-11 Hans-Peter Nilsson <hp@axis.com>
621
622 * configure: Regenerate to track ../common/common.m4 changes.
623 * config.in: Ditto.
624
6efef468 6252008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
626 Daniel Jacobowitz <dan@codesourcery.com>
627 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
628
629 * configure: Regenerate.
630
b1bfc053
HPN
6312006-12-21 Hans-Peter Nilsson <hp@axis.com>
632
633 * config.in: Regenerate.
634
e85e3205
RE
6352006-06-13 Richard Earnshaw <rearnsha@arm.com>
636
637 * configure: Regenerated.
638
2f0122dc
DJ
6392006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
640
641 * configure: Regenerated.
642
20e95c23
DJ
6432006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
644
645 * configure: Regenerated.
646
b3a3ffef
HPN
6472006-03-29 Hans-Peter Nilsson <hp@axis.com>
648
649 * configure: Regenerate.
650
2b193c4a
MK
6512005-03-23 Mark Kettenis <kettenis@gnu.org>
652
653 * configure: Regenerate.
654
35695fd6
AC
6552005-01-14 Andrew Cagney <cagney@gnu.org>
656
657 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
658 explicit call to AC_CONFIG_HEADER.
659 * configure: Regenerate.
660
38f48d72
AC
6612005-01-11 Andrew Cagney <cagney@localhost.localdomain>
662
663 * configure: Regenerated to track ../common/aclocal.m4 changes.
664
b7026657
AC
6652005-01-07 Andrew Cagney <cagney@gnu.org>
666
667 * configure.ac: Rename configure.in, require autoconf 2.59.
668 * configure: Re-generate.
669
379832de
HPN
6702004-12-08 Hans-Peter Nilsson <hp@axis.com>
671
672 * configure: Regenerate for ../common/aclocal.m4 update.
673
84b11e2e
AM
6742004-06-15 Alan Modra <amodra@bigpond.net.au>
675
676 * interp.c (sim_prepare_for_program): Use bfd_get_section_size
677 instead of bfd_get_section_size_before_reloc.
678
a685700c
SC
6792003-08-08 Stephane Carrez <stcarrez@nerim.fr>
680
681 * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
682 control the translation.
683 (m68hc11tim_print_timer): Update cycle_to_string conversion.
684 (m68hc11tim_timer_event): Fix handling of output
685 compare register with its interrupts.
686 (m68hc11tim_io_write_buffer): Check output compare
687 after setting M6811_TMSK1.
688 (m68hc11tim_io_read_buffer): Fix compilation warning.
689 * dv-m68hc11.c (m68hc11_option_handler): Likewise.
690 * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
691 * dv-m68hc11sio.c (m68hc11sio_info): Likewise.
692 * interrupts.c (interrupts_info): Likewise.
693 (interrupts_reset): Recognize bootstrap mode.
694 * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
695 (_sim_cpu): Add cpu_start_mode.
696 (cycle_to_string): Add flags member.
697 * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
698 (cpu_options): Declare new option bootstrap.
699 (cpu_option_handler): Handle it.
700 (cpu_info): Update call to cycle_to_string.
701
77342e5e
SC
7022003-08-08 Stephane Carrez <stcarrez@nerim.fr>
703
704 * sim-main.h (phys_to_virt): Use memory bank parameters to translate
705 the physical address in virtual address.
706 (struct _sim_cpu): Add memory bank members.
707 * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
708 * interp.c (sim_hw_configure): Create memory bank according to memory
709 bank parameters.
710 (sim_get_bank_parameters): New function to obtain memory bank config
711 from the symbol table.
712 (sim_prepare_for_program): Call it to obtain the memory bank parameters.
713 (sim_open): Call sim_prepare_for_program.
714 * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
715 to check if address is within bank window.
716 (m68hc11cpu_io_read_buffer): Likewise.
717 (attach_m68hc11_regs): Map the memory bank according to memory bank
718 parameters.
719
53b3cd22
SC
7202003-08-08 Stephane Carrez <stcarrez@nerim.fr>,
721
722 * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
723
962e9d85
SC
7242003-08-08 Stephane Carrez <stcarrez@nerim.fr>,
725 Gary Piercey <gpiercey@northstar-technical.com>
726
727 * m68hc11_sim.c (print_io_word): New function to print 16-bit value.
728 * sim-main.h (print_io_word): Declare.
729 * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
730 (tflg1_desc): Likewise for TFLG1.
731 (m68hc11tim_info): Print input and output compare registers
732
9b9f7b3c
SC
7332003-03-02 Stephane Carrez <stcarrez@nerim.fr>
734
735 * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE
736 to 32 to support memory bank switching; temporarily use 32-bit for
737 WORD_BITSIZE to avoid a bug in sim-common.
738
00416c6e
SC
7392003-03-01 Stephane Carrez <stcarrez@nerim.fr>
740
741 * interp.c (sim_fetch_register): Only store a single byte for
742 1 byte registers.
743
6b4a8935
AC
7442003-02-27 Andrew Cagney <cagney@redhat.com>
745
746 * interp.c (sim_prepare_for_program, sim_open)
747 (sim_create_inferior): Rename _bfd to bfd.
748
099d1b50
SC
7492002-08-13 Stephane Carrez <stcarrez@nerim.fr>
750
751 * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
752
31c7c532
SC
7532002-08-13 Marko Kohtala <marko.kohtala@luukku.com>
754
72f4393d 755 * interp.c (sim_prepare_for_program): Look up the image for the
31c7c532
SC
756 reset vector and set cpu_use_elf_start to 1 if not found.
757 (sim_open): Do not set cpu_use_elf_start.
758
39762100
SC
7592002-08-13 Marko Kohtala <marko.kohtala@luukku.com>
760
761 * interp.c (sim_hw_configure): Return 1 for success.
762 (sim_prepare_for_program): Use the sim_hw_configure exit code to
763 return SIM_RC_FAIL.
764
7230d809
SC
7652002-08-13 Stephane Carrez <stcarrez@nerim.fr>
766
767 * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
768 bank window to some virtual address to read from extended memory.
769 (m68hc11cpu_io_write_buffer): Likewise for writing.
ca156d78 770 (attach_m68hc11_regs): When use_bank property is defined, attach
7230d809 771 to the 68HC12 16K memory bank window.
7230d809
SC
772 * interp.c (sim_hw_configure): Create memory region for banked
773 memory.
774
dcceded2
SC
7752002-08-13 Stephane Carrez <Stephane.Carrez@nerim.fr>
776
777 * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
778 * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
779 (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
780
abea9e28
SC
7812002-08-13 Marko Kohtala <marko.kohtala@luukku.com>
782
783 * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
784 when IO mapping changed, not when internal RAM mapping is changed.
785
63f36def
SC
7862002-08-13 Stephane Carrez <stcarrez@nerim.fr>
787
788 * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
789 * sim-main.h (M6812_CALL_INDIRECT): Add to enum.
790 (m6811_regs): Add page register.
791 (cpu_set_page, cpu_get_page): New macros.
792 (phys_to_virt): New function.
793 (cpu_get_indexed_operand_addr, cpu_return): Declare.
794 * gencode.c: Identify indirect addressing mode for call and fix daa.
72f4393d 795 (gen_function_entry): New param to tell if src8/dst8 locals are
63f36def
SC
796 necessary.
797 (gen_interpreter): Use it to avoid generation of unused variables.
798 * interp.c (sim_fetch_register): Allow to read page register; page
799 register, A, B and CCR are only 1 byte wide.
800 (sim_store_register): Likewise for writing.
801
c8cca39f
AC
8022002-06-16 Andrew Cagney <ac131313@redhat.com>
803
804 * configure: Regenerated to track ../common/aclocal.m4 changes.
805
3c25f8c7
AC
8062002-06-09 Andrew Cagney <cagney@redhat.com>
807
808 * Makefile.in (INCLUDE): Update path to callback.h.
809 * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
810
86596dc8
SC
8112002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
812
813 * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
814 (cpu_move16): Likewise.
815 (sim_memory_error): Use sim_io_printf.
816 (cpu_option_handler): Fix compilation warning.
72f4393d 817 * interp.c (sim_hw_configure): Fix compilation warning;
86596dc8
SC
818 remove m68hc12sio@2 device.
819 (sim_open): Likewise.
72f4393d 820 * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
86596dc8
SC
821 flags when reset.
822 (cycle_to_string): Improve convertion of cpu cycle number.
823 (m68hc11tim_info): Print info about PACNT.
824 (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
825 TCTL1 and TCTL2 registers.
826 * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
827
827ec39a
SC
8282002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
829
72f4393d 830 * interp.c (sim_hw_configure): Save the HW cpu pointer in the
827ec39a
SC
831 cpu struct.
832 (sim_hw_configure): Connect the capture input/output events.
833 * sim-main.h (_sim_cpu): New member hw_cpu.
834 (m68hc11cpu_set_oscillator): Declare.
835 (m68hc11cpu_clear_oscillator): Declare.
836 (m68hc11cpu_set_port): Declare.
837 * dv-m68hc11.c (m68hc11_options): New for oscillator commands.
838 (m68hc11cpu_ports): New input ports and output ports to reflect
839 the HC11 IOs.
840 (m68hc11_delete): Cleanup any running oscillator.
841 (attach_m68hc11_regs): Create the input oscillators.
842 (make_oscillator): New function.
843 (find_oscillator): New function.
844 (oscillator_handler): New function.
845 (reset_oscillators): New function.
846 (m68hc11cpu_port_event): Handle the new input ports.
847 (m68hc11cpu_set_oscillator): New function.
848 (m68hc11cpu_clear_oscillator): New function.
849 (get_frequency): New function.
850 (m68hc11_option_handler): New function.
851 (m68hc11cpu_set_port): New function.
852 (m68hc11cpu_io_write): Post the port output events.
853 * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
854 the output port value.
855 * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
856 by latching the TCNT value in the register.
857
5abb9efa
SC
8582002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
859
860 * sim-main.h (cpu_frame, cpu_frame_list): Remove.
861 (cpu_frame_reg, cpu_print_frame): Remove.
862 (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
863 (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
864 (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
865 (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
866 * m68hc11_sim.c (cpu_find_frame): Remove.
867 (cpu_create_frame_list): Remove.
868 (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
869 (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
870 (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
871 (cpu_update_frame): Likewise.
872 (cpu_return): Likewise.
873 (cpu_reset): Likewise.
72f4393d 874 (cpu_initialize): Likewise.
5abb9efa
SC
875 * interp.c (sim_do_command): Remove call to cpu_print_frame.
876
26128965
SC
8772002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
878
879 * interrupts.c (interrupts_reset): New function, setup interrupt
880 vector address according to cpu mode.
881 (interrupts_initialize): Move reset portion to the above.
882 (interrupt_names): New table to give a name to interrupts.
883 (idefs): Handle pulse accumulator interrupts.
884 (interrupts_info): Print the interrupt history.
885 (interrupt_option_handler): New function.
886 (interrupt_options): New table of options.
887 (interrupts_update_pending): Keep track of when interrupts are
888 raised and implement breakpoint-on-raise-interrupt.
889 (interrupts_process): Keep track of when interrupts are taken
890 and implement breakpoint-on-interrupt.
891 * interrupts.h (struct interrupt_history): Define.
892 (struct interrupt): Keep track of the interrupt history.
893 (interrupts_reset): Declare.
894 (interrupts_initialize): Update prototype.
895 * m68hc11_sim.c (cpu_reset): Reset interrupts.
896 (cpu_initialize): Cleanup.
897
eefde351
SC
8982001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
899
900 * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
901 address.
902 (m68hc11eepr_port_event): Fix detach/attach logic.
903
00d0c012
SC
9042001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
905
906 * Makefile.in (SIM_OBJS): Remove sim-resume.o
907 * interp.c (sim_resume): New function from sim-resume.c, install
908 the stepping event after having processed the pending ticks.
909 (has_stepped): Likewise.
910 (sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
911
b51c7603
AC
9122001-07-10 Andrew Cagney <ac131313@redhat.com>
913
914 * Makefile.in (gencode): Provide explicit path to gencode.c.
915
81e09ed8
SC
9162001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
917
918 * Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
919 (m68hc12int.c): Generate using gencode -m6812.
920 (m68hc11int.c): Likewise with -m6811.
921
922 * gencode.c (m6811_opcode_patterns): New patterns for 68HC12.
923 (m6811_page1_opcodes): Remove duplicate entries.
924 (m6811_page2_opcodes): Likewise.
925 (m6811_page3_opcodes): Likewise.
926 (m6811_page4_opcodes): Likewise.
927 (m6812_page1_opcodes): New table for 68HC12 instructions.
928 (m6812_page2_opcodes): Likewise.
929 (gen_fetch_operands): New modes [] and &[] for 68HC12 operands.
930 (gen_save_result): Likewise.
931 (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes.
932 (cmp_opcode): New function for opcode comparision.
933 (prepare_table): Sort the opcodes.
934 (gen_interpreter): Prepare all the tables and generate either
935 a 68HC11 or a 68HC12 simulator.
936 (main): New options -m6811 and -m6812.
937
938 * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor.
939 (cpu_special): Simulation of some 68HC12 instructions.
940 (cpu_exg): New function.
941 (cpu_dbcc): Likewise.
942 (cpu_fetch_relbranch16): Likewise.
943 (cpu_push_all): Push according to 68HC11 or 68HC12.
944 (cpu_move16): Likewise.
945 (cpu_move8): Likewise.
946 (cpu_get_indexed_operand16): Likewise.
947 (cpu_get_indexed_operand8): Likewise.
948 (cpu_get_indexed_operand_addr): Likewise.
949 (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise.
950 (cpu_reset): Setup INIT register according to architecture.
72f4393d 951
81e09ed8
SC
952 * sim-main.h (M6811_Special): Add 68HC12 specific instructions.
953 (_sim_cpu): Keep track of the cpu being simulated.
954 (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New.
955 (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx.
956 (cpu_m68hc11_pop_uint8): Likewise.
957 (cpu_m68hc12_push_uintxx): New functions for 68HC12.
958 (cpu_m68hc12_pop_uintxx): Likewise.
959 (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise,
960 (cpu_fetch_relbranch16): Likewise.
961 (cpu_interp_m6811): Rename of cpu_interp.
72f4393d 962 (cpu_interp_m6812): New function.
81e09ed8
SC
963 * interp.c (free_state): New function.
964 (dev_list_68hc12): New table.
965 (sim_board_reset): Reset depending on the cpu (HC11 or HC12).
966 (sim_hw_configure): New function.
967 (sim_prepare_for_program): New function.
968 (sim_open): Use above new functions.
969 (sim_close): Call free_state().
970 (sim_info): Print info according to cpu.
971 (sim_create_inferior): Use sim_prepare_for_program.
972 (sim_do_command): Configure the hardware after a change of the
973 architecture.
974
11115521
SC
9752001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
976
977 * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
978 pending interrupts.
979 * interrupts.c (interrupts_process): Keep track of the last number
980 of masked insn cycles.
981 (interrupts_initialize): Clear last number of masked insn cycles.
982 (interrupts_info): Report them.
72f4393d
L
983 (interrupts_update_pending): Compute clear and set masks of
984 interrupts and clear the interrupt bits before setting them
11115521
SC
985 (due to SCI interrupt sharing).
986 * interrupts.h (struct interrupts): New members last_mask_cycles
987 and xirq_last_mask_cycles.
988
b93775f5
SC
9892000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
990
991 * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size
992 instead of a hard-coded value.
993 (m68hc11cpu_io_write_buffer): Likewise.
994 (dv_m68hc11_descriptor): Define a 68hc12 device.
995 * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise.
996 * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise.
997 * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise.
998 * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise.
999
639aa4f7
SC
10002000-11-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1001
1002 * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
1003 (m68hc11cpu_delete): Delete handler to detach the address space.
1004
6e73e7ed
SC
10052000-11-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1006
1007 * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc.
1008 * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc
1009 instead of free and malloc.
1010
5f186447
SC
10112000-09-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1012
1013 * Makefile.in: Was missing from initial patch.
1014
9830501b
SC
10152000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1016
1017 * interp.c (sim_store_register): Remove soft register hack.
1018 (sim_fetch_register): Likewise.
1019 (sim_create_inferior): Likewise.
1020 * sim-main.h: Likewise.
1021
a8afa79a
SC
10222000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1023
1024 * interrupts.c (interrupts_update_pending): Clear the mask of
1025 pending interrupts here.
1026 (interrupts_get_current): Don't clear the mask of pending interrupts.
1027
2990a9f4
SC
10282000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1029
1030 * sim-main.h: Define cycle_to_string.
72f4393d 1031 * dv-m68hc11tim.c (cycle_to_string): New function to translate
2990a9f4
SC
1032 the cpu cycle into some formatted time string.
1033 (m68hc11tim_print_timer): Use it.
1034 * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string.
1035 * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
1036 * interrupts.c (interrupts_info): Likewise.
1037 * m68hc11_sim.c (cpu_info): Likewise.
1038
401493c8
SC
10392000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1040
1041 * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow
1042 interrupt and compare events accurately. Take into account the
1043 pending ticks not processed by the simulator yet (introduced a shift).
1044 (m68hc11_port_event): Reset the timer interrupt delays.
1045 (m68hc11tim_io_read_buffer): Be able to read several bytes.
1046 (m68hc11tim_io_write_buffer): Likewise for write.
1047 (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt.
1048
4d72d17a
SC
10492000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1050
1051 * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts.
1052 (m68hc11spi_io_write_buffer): Likewise and fix the spi frame.
1053 (m68hc11spi_info): Clarify the status report
1054 of the SPI when a byte is being sent.
1055 (m68hc11spi_clock): Fix the spi send frame.
72f4393d 1056
63348d04
SC
10572000-08-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1058
1059 * sim-main.h (m68hc11_map_level): Define level of address mappings.
1060 * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
1061 whether the eeprom is currently mapped or not.
1062 (m68hc11eepr_port_event): Use the flag to see if we must unmap
1063 or map the eeprom. Update the flag to reflect the current state.
1064 Use M6811_EEPROM_LEVEL when mapping the eeprom.
1065 (m68hc11eepr_finish): Remove overlap hack.
1066 (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
1067 config and control registers.
1068 * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
1069 (attach_m68hc11_regs): Use M6811_IO_LEVEL.
1070 (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
1071 * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
1072 (attach_m68hc11spi_regs): Likewise.
1073 * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
1074 (attach_m68hc11tim_regs): Likewise.
1075 * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
1076 (attach_m68hc11sio_regs): Likewise.
1077 * interp.c (sim_open): Likewise.
1078 * dv-nvram.c (attach_nvram_regs): Likewise.
1079
5d031c16
AC
1080Thu Jul 27 21:27:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1081
1082 * configure, config.in: Regenerate.
1083
e0709f50
AC
10842000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1085
1086 * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
1087 * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
1088 (dv_m6811_detach_address_callback): New function to detach a
1089 device from an address space.
1090 * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
1091 config register according to --cpu-config option.
1092 * sim-main.h (_sim_cpu): Add cpu_config member.
1093 * interp.c (sim_open): Delete specific simulator options.
1094 * m68hc11_sim.c (cpu_option_handler): New options
1095 --emulos and -cpu-config <val> to configure the simulator.
1096 (cpu_initialize): Initialize cpu_config member.
1097
10982000-06-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1099
1100 * emulos.c: Fix indentation and comments.
1101 * gencode.c: Likewise.
1102 * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
1103 (m68hc11tim_io_write_buffer): Write compare registers and
1104 setup compare event.
1105 * interp.c: Remove unused global variables.
1106 * interrupts.c (idefs): New compare interrupts.
1107 Fix indentation and comments.
1108 * interrupts.h: Likewise.
1109
11102000-06-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1111
1112 * dv-m68hc11sio.c: Fix indentation and comments.
1113 Remove INT_PORT.
1114 * dv-m68hc11.c: Fix indentation and comments.
1115 (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
1116 * m68hc11_sim.c (cpu_reset): To here.
1117 * dv-m68hc11eepr.c: Fix indentation and comments.
72f4393d 1118
e0709f50
AC
11192000-06-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1120
1121 * dv-nvram.c: New file, rename from dv-pram.c.
1122 * dv-pram.c: Delete file.
1123 * sim-main.h: Incorporate m68hc11_sim.h.
1124 * m68hc11_sim.h: Delete file.
1125 * configure.in: Rename pram into nvram.
1126 * interp.c (sim_open): Likewise in creation of device tree.
72f4393d 1127
e0709f50
AC
11282000-05-31 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1129
1130 * interp.c (sim_open): Create the SPI device.
1131 * dv-m68hc11spi.c: New file for SPI device simulation.
1132 * configure.in (hw_extra_devices): Add SPI device.
1133
11342000-05-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1135
1136 * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
1137 (interrupts_process): Separate IRQ and XIRQ accounting.
1138 (interrupts_info): Report XIRQ accounting.
1139 * interrupts.h (struct interrupts): Added accounting for XIRQ.
1140
11412000-04-16 Stephane Carrez <stcarrez@worldnet.fr>
1142
1143 * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
1144 * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
72f4393d 1145 * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
e0709f50
AC
1146 configuration from the 'mode' device tree property.
1147 (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
1148 configuration.
1149
11502000-02-24 Stephane Carrez <stcarrez@worldnet.fr>
1151
1152 * sim-main.h: Remove WITH_TARGET_* defines.
1153 * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
1154
11552000-02-08 Stephane Carrez <stcarrez@worldnet.fr>
1156
1157 * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
1158 1200 baud when cpu is in bootstrap mode.
1159
1160 * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
1161 write in the TCTN timer register.
1162
1163 * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
1164 by 4 to obtain the E clock frequency.
1165 (sccr2_desc): Use M6811_TIE for TIE bit.
1166 (m68hc11sio_info): Fix baud rate report.
1167
1168 * dv-m68hc11tim.c (to_realtime): Likewise.
1169
1170 * interp.c (sim_open): When building device tree, only provide
1171 devices that do not exist yet.
1172
1173 * emulos.c: Fix compilation pb under Windows.
1174
1175 * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
1176 from the 'clock' property.
1177
11782000-01-02 Stephane Carrez <stcarrez@worldnet.fr>
1179
1180 * m68hc11_sim.h (*_REGNUM): Define.
1181 (_sim_cpu): New member cpu_page0_reg table.
1182 * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
1183 addresses of soft registers in .page0.
72f4393d 1184 (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
e0709f50
AC
1185 to get/set soft registers.
1186
11871999-12-31 Stephane Carrez <stcarrez@worldnet.fr>
1188
1189 * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
1190 returning random values.
1191
11921999-12-17 Stephane Carrez <stcarrez@worldnet.fr>
1193
1194 * gencode.c: Fix "subb N,x" that used a instead of b.
1195
11961999-09-09 Stephane Carrez <stcarrez@worldnet.fr>
1197
1198 * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
1199
12001999-09-01 Stephane Carrez <stcarrez@worldnet.fr>
1201
1202 * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
1203
12041999-08-14 Stephane Carrez <stcarrez@worldnet.fr>
1205
1206 * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
1207 register region in the m68hc11cpu struct.
1208 (m68hc11cpu_io_write): When the IO mapping addres changes,
1209 detach the register region and re-attach it at the new address.
1210 (m68hc11cpu_io_read_buffer): Renamed base_address into
1211 attach_address.
1212 (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
1213 to m68hc11cpu_io_write.
1214
12151999-08-13 Stephane Carrez <stcarrez@worldnet.fr>
1216
1217 * gencode.c: For sbc8, check the carry and increment the source
1218 before trying to set the carry for the result.
1219
12201999-05-24 John S. Kallal <kallal@voicenet.com>
72f4393d 1221
e0709f50
AC
1222 * interp.c (sim_get_info): Don't crash if the command line is 0.
1223 Define prototype for sim_get_info() and init_system().
1224 (sim_info): Correct call to sim_get_info().
72f4393d 1225
e0709f50
AC
12261999-05-16 Stephane Carrez <stcarrez@worldnet.fr>
1227
1228 * configure.in: Recognize m6811-*-*.
1229 * configure: Regenerate.
1230 * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
1231 cpu_ccr_update_sub8, cpu_ccr_update_sub16):
1232 Correct the computation of carry of 8 and 16-bits add and subtract.
1233 * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
1234 overflow set in a different manner than add).
1235
12361999-05-14 Stephane Carrez <stcarrez@worldnet.fr>
1237
1238 * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
1239 trace message.
1240 * interp.c (sim_open, sim_create_inferior): Initialize the
1241 cpu_elf_start from the ELF header.
1242 * m68hc11_sim.c (cpu_initialize): Clear the new data members.
1243 (cpu_restart): Use cpu_elf_start as the starting address when
1244 the flag is set.
1245 (cpu_special): When cpu_use_elf_start is set, the WAI instruction
1246 exits the simulator (exit status is in D).
1247 * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
1248 cpu_elf_star to start execution at address specified in ELF file.
1249
12501999-05-02 Stephane Carrez <stcarrez@worldnet.fr>
1251
1252 * Makefile.in, config.in, configure, configure.in: New files.
1253 * gencode.c: New file, generation of 68HC11 interpreter.
1254 * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
1255 for interpreter.
1256 * interrupts.c, interrupts.h: New files, management of interrupts.
72f4393d 1257 * interp.c, sim-main.h,
e0709f50
AC
1258 * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
1259 dv-m68hc11tim.c, dv-pram.c: New files representing devices for
1260 68HC11 (dv-pram.c is generic and could probably migrate to common).
1261 * emulos.c: New file, basic emulation of some os.
This page took 1.510515 seconds and 4 git commands to generate.