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