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