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