OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [m68hc11/] [ChangeLog] - Blame information for rev 438

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
2006-12-21  Hans-Peter Nilsson  
2
 
3
        * config.in: Regenerate.
4
 
5
2006-06-13  Richard Earnshaw  
6
 
7
        * configure: Regenerated.
8
 
9
2006-06-05  Daniel Jacobowitz  
10
 
11
        * configure: Regenerated.
12
 
13
2006-05-31  Daniel Jacobowitz  
14
 
15
        * configure: Regenerated.
16
 
17
2006-03-29  Hans-Peter Nilsson  
18
 
19
        * configure: Regenerate.
20
 
21
2005-03-23  Mark Kettenis  
22
 
23
        * configure: Regenerate.
24
 
25
2005-01-14  Andrew Cagney  
26
 
27
        * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
28
        explicit call to AC_CONFIG_HEADER.
29
        * configure: Regenerate.
30
 
31
2005-01-11  Andrew Cagney  
32
 
33
        * configure: Regenerated to track ../common/aclocal.m4 changes.
34
 
35
2005-01-07  Andrew Cagney  
36
 
37
        * configure.ac: Rename configure.in, require autoconf 2.59.
38
        * configure: Re-generate.
39
 
40
2004-12-08  Hans-Peter Nilsson  
41
 
42
        * configure: Regenerate for ../common/aclocal.m4 update.
43
 
44
2004-06-15  Alan Modra  
45
 
46
        * interp.c (sim_prepare_for_program): Use bfd_get_section_size
47
        instead of bfd_get_section_size_before_reloc.
48
 
49
2003-08-08  Stephane Carrez  
50
 
51
        * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
52
        control the translation.
53
        (m68hc11tim_print_timer): Update cycle_to_string conversion.
54
        (m68hc11tim_timer_event): Fix handling of output
55
        compare register with its interrupts.
56
        (m68hc11tim_io_write_buffer): Check output compare
57
        after setting M6811_TMSK1.
58
        (m68hc11tim_io_read_buffer): Fix compilation warning.
59
        * dv-m68hc11.c (m68hc11_option_handler): Likewise.
60
        * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
61
        * dv-m68hc11sio.c (m68hc11sio_info): Likewise.
62
        * interrupts.c (interrupts_info): Likewise.
63
        (interrupts_reset): Recognize bootstrap mode.
64
        * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
65
        (_sim_cpu): Add cpu_start_mode.
66
        (cycle_to_string): Add flags member.
67
        * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
68
        (cpu_options): Declare new option bootstrap.
69
        (cpu_option_handler): Handle it.
70
        (cpu_info): Update call to cycle_to_string.
71
 
72
2003-08-08  Stephane Carrez  
73
 
74
        * sim-main.h (phys_to_virt): Use memory bank parameters to translate
75
        the physical address in virtual address.
76
        (struct _sim_cpu): Add memory bank members.
77
        * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
78
        * interp.c (sim_hw_configure): Create memory bank according to memory
79
        bank parameters.
80
        (sim_get_bank_parameters): New function to obtain memory bank config
81
        from the symbol table.
82
        (sim_prepare_for_program): Call it to obtain the memory bank parameters.
83
        (sim_open): Call sim_prepare_for_program.
84
        * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
85
        to check if address is within bank window.
86
        (m68hc11cpu_io_read_buffer): Likewise.
87
        (attach_m68hc11_regs): Map the memory bank according to memory bank
88
        parameters.
89
 
90
2003-08-08  Stephane Carrez  ,
91
 
92
        * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
93
 
94
2003-08-08  Stephane Carrez  ,
95
            Gary Piercey 
96
 
97
        * m68hc11_sim.c (print_io_word): New function to print 16-bit value.
98
        * sim-main.h (print_io_word): Declare.
99
        * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
100
        (tflg1_desc): Likewise for TFLG1.
101
        (m68hc11tim_info): Print input and output compare registers
102
 
103
2003-03-02  Stephane Carrez  
104
 
105
        * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE
106
        to 32 to support memory bank switching; temporarily use 32-bit for
107
        WORD_BITSIZE to avoid a bug in sim-common.
108
 
109
2003-03-01  Stephane Carrez  
110
 
111
        * interp.c (sim_fetch_register): Only store a single byte for
112
        1 byte registers.
113
 
114
2003-02-27  Andrew Cagney  
115
 
116
        * interp.c (sim_prepare_for_program, sim_open)
117
        (sim_create_inferior): Rename _bfd to bfd.
118
 
119
2002-08-13  Stephane Carrez  
120
 
121
        * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
122
 
123
2002-08-13  Marko Kohtala  
124
 
125
        * interp.c (sim_prepare_for_program): Look up the image for the
126
        reset vector and set cpu_use_elf_start to 1 if not found.
127
        (sim_open): Do not set cpu_use_elf_start.
128
 
129
2002-08-13  Marko Kohtala  
130
 
131
        * interp.c (sim_hw_configure): Return 1 for success.
132
        (sim_prepare_for_program): Use the sim_hw_configure exit code to
133
        return SIM_RC_FAIL.
134
 
135
2002-08-13  Stephane Carrez  
136
 
137
        * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
138
        bank window to some virtual address to read from extended memory.
139
        (m68hc11cpu_io_write_buffer): Likewise for writing.
140
        (attach_m68hc11_regs): When use_bank property is defined, attach
141
        to the 68HC12 16K memory bank window.
142
        * interp.c (sim_hw_configure): Create memory region for banked
143
        memory.
144
 
145
2002-08-13  Stephane Carrez  
146
 
147
        * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
148
        * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
149
        (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
150
 
151
2002-08-13  Marko Kohtala  
152
 
153
        * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
154
        when IO mapping changed, not when internal RAM mapping is changed.
155
 
156
2002-08-13  Stephane Carrez  
157
 
158
        * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
159
        * sim-main.h (M6812_CALL_INDIRECT): Add to enum.
160
        (m6811_regs): Add page register.
161
        (cpu_set_page, cpu_get_page): New macros.
162
        (phys_to_virt): New function.
163
        (cpu_get_indexed_operand_addr, cpu_return): Declare.
164
        * gencode.c: Identify indirect addressing mode for call and fix daa.
165
        (gen_function_entry): New param to tell if src8/dst8 locals are
166
        necessary.
167
        (gen_interpreter): Use it to avoid generation of unused variables.
168
        * interp.c (sim_fetch_register): Allow to read page register; page
169
        register, A, B and CCR are only 1 byte wide.
170
        (sim_store_register): Likewise for writing.
171
 
172
2002-06-16  Andrew Cagney  
173
 
174
        * configure: Regenerated to track ../common/aclocal.m4 changes.
175
 
176
2002-06-09  Andrew Cagney  
177
 
178
        * Makefile.in (INCLUDE): Update path to callback.h.
179
        * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
180
 
181
2002-03-07  Stephane Carrez  
182
 
183
        * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
184
        (cpu_move16): Likewise.
185
        (sim_memory_error): Use sim_io_printf.
186
        (cpu_option_handler): Fix compilation warning.
187
        * interp.c (sim_hw_configure): Fix compilation warning;
188
        remove m68hc12sio@2 device.
189
        (sim_open): Likewise.
190
        * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
191
        flags when reset.
192
        (cycle_to_string): Improve convertion of cpu cycle number.
193
        (m68hc11tim_info): Print info about PACNT.
194
        (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
195
        TCTL1 and TCTL2 registers.
196
        * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
197
 
198
2002-03-07  Stephane Carrez  
199
 
200
        * interp.c (sim_hw_configure): Save the HW cpu pointer in the
201
        cpu struct.
202
        (sim_hw_configure): Connect the capture input/output events.
203
        * sim-main.h (_sim_cpu): New member hw_cpu.
204
        (m68hc11cpu_set_oscillator): Declare.
205
        (m68hc11cpu_clear_oscillator): Declare.
206
        (m68hc11cpu_set_port): Declare.
207
        * dv-m68hc11.c (m68hc11_options): New for oscillator commands.
208
        (m68hc11cpu_ports): New input ports and output ports to reflect
209
        the HC11 IOs.
210
        (m68hc11_delete): Cleanup any running oscillator.
211
        (attach_m68hc11_regs): Create the input oscillators.
212
        (make_oscillator): New function.
213
        (find_oscillator): New function.
214
        (oscillator_handler): New function.
215
        (reset_oscillators): New function.
216
        (m68hc11cpu_port_event): Handle the new input ports.
217
        (m68hc11cpu_set_oscillator): New function.
218
        (m68hc11cpu_clear_oscillator): New function.
219
        (get_frequency): New function.
220
        (m68hc11_option_handler): New function.
221
        (m68hc11cpu_set_port): New function.
222
        (m68hc11cpu_io_write): Post the port output events.
223
        * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
224
        the output port value.
225
        * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
226
        by latching the TCNT value in the register.
227
 
228
2002-03-07  Stephane Carrez  
229
 
230
        * sim-main.h (cpu_frame, cpu_frame_list): Remove.
231
        (cpu_frame_reg, cpu_print_frame): Remove.
232
        (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
233
        (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
234
        (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
235
        (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
236
        * m68hc11_sim.c (cpu_find_frame): Remove.
237
        (cpu_create_frame_list): Remove.
238
        (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
239
        (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
240
        (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
241
        (cpu_update_frame): Likewise.
242
        (cpu_return): Likewise.
243
        (cpu_reset): Likewise.
244
        (cpu_initialize): Likewise.
245
        * interp.c (sim_do_command): Remove call to cpu_print_frame.
246
 
247
2002-03-07  Stephane Carrez  
248
 
249
        * interrupts.c (interrupts_reset): New function, setup interrupt
250
        vector address according to cpu mode.
251
        (interrupts_initialize): Move reset portion to the above.
252
        (interrupt_names): New table to give a name to interrupts.
253
        (idefs): Handle pulse accumulator interrupts.
254
        (interrupts_info): Print the interrupt history.
255
        (interrupt_option_handler): New function.
256
        (interrupt_options): New table of options.
257
        (interrupts_update_pending): Keep track of when interrupts are
258
        raised and implement breakpoint-on-raise-interrupt.
259
        (interrupts_process): Keep track of when interrupts are taken
260
        and implement breakpoint-on-interrupt.
261
        * interrupts.h (struct interrupt_history): Define.
262
        (struct interrupt): Keep track of the interrupt history.
263
        (interrupts_reset): Declare.
264
        (interrupts_initialize): Update prototype.
265
        * m68hc11_sim.c (cpu_reset): Reset interrupts.
266
        (cpu_initialize): Cleanup.
267
 
268
2001-07-28  Stephane Carrez  
269
 
270
        * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
271
        address.
272
        (m68hc11eepr_port_event): Fix detach/attach logic.
273
 
274
2001-07-22  Stephane Carrez  
275
 
276
        * Makefile.in (SIM_OBJS): Remove sim-resume.o
277
        * interp.c (sim_resume): New function from sim-resume.c, install
278
        the stepping event after having processed the pending ticks.
279
        (has_stepped): Likewise.
280
        (sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
281
 
282
2001-07-10  Andrew Cagney  
283
 
284
        * Makefile.in (gencode): Provide explicit path to gencode.c.
285
 
286
2001-05-20  Stephane Carrez  
287
 
288
        * Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
289
        (m68hc12int.c): Generate using gencode -m6812.
290
        (m68hc11int.c): Likewise with -m6811.
291
 
292
        * gencode.c (m6811_opcode_patterns): New patterns for 68HC12.
293
        (m6811_page1_opcodes): Remove duplicate entries.
294
        (m6811_page2_opcodes): Likewise.
295
        (m6811_page3_opcodes): Likewise.
296
        (m6811_page4_opcodes): Likewise.
297
        (m6812_page1_opcodes): New table for 68HC12 instructions.
298
        (m6812_page2_opcodes): Likewise.
299
        (gen_fetch_operands): New modes [] and &[] for 68HC12 operands.
300
        (gen_save_result): Likewise.
301
        (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes.
302
        (cmp_opcode): New function for opcode comparision.
303
        (prepare_table): Sort the opcodes.
304
        (gen_interpreter): Prepare all the tables and generate either
305
        a 68HC11 or a 68HC12 simulator.
306
        (main): New options -m6811 and -m6812.
307
 
308
        * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor.
309
        (cpu_special): Simulation of some 68HC12 instructions.
310
        (cpu_exg): New function.
311
        (cpu_dbcc): Likewise.
312
        (cpu_fetch_relbranch16): Likewise.
313
        (cpu_push_all): Push according to 68HC11 or 68HC12.
314
        (cpu_move16): Likewise.
315
        (cpu_move8): Likewise.
316
        (cpu_get_indexed_operand16): Likewise.
317
        (cpu_get_indexed_operand8): Likewise.
318
        (cpu_get_indexed_operand_addr): Likewise.
319
        (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise.
320
        (cpu_reset): Setup INIT register according to architecture.
321
 
322
        * sim-main.h (M6811_Special): Add 68HC12 specific instructions.
323
        (_sim_cpu): Keep track of the cpu being simulated.
324
        (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New.
325
        (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx.
326
        (cpu_m68hc11_pop_uint8): Likewise.
327
        (cpu_m68hc12_push_uintxx): New functions for 68HC12.
328
        (cpu_m68hc12_pop_uintxx): Likewise.
329
        (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise,
330
        (cpu_fetch_relbranch16): Likewise.
331
        (cpu_interp_m6811): Rename of cpu_interp.
332
        (cpu_interp_m6812): New function.
333
        * interp.c (free_state): New function.
334
        (dev_list_68hc12): New table.
335
        (sim_board_reset): Reset depending on the cpu (HC11 or HC12).
336
        (sim_hw_configure): New function.
337
        (sim_prepare_for_program): New function.
338
        (sim_open): Use above new functions.
339
        (sim_close): Call free_state().
340
        (sim_info): Print info according to cpu.
341
        (sim_create_inferior): Use sim_prepare_for_program.
342
        (sim_do_command): Configure the hardware after a change of the
343
        architecture.
344
 
345
2001-05-20  Stephane Carrez  
346
 
347
        * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
348
        pending interrupts.
349
        * interrupts.c (interrupts_process): Keep track of the last number
350
        of masked insn cycles.
351
        (interrupts_initialize): Clear last number of masked insn cycles.
352
        (interrupts_info): Report them.
353
        (interrupts_update_pending): Compute clear and set masks of
354
        interrupts and clear the interrupt bits before setting them
355
        (due to SCI interrupt sharing).
356
        * interrupts.h (struct interrupts): New members last_mask_cycles
357
        and xirq_last_mask_cycles.
358
 
359
2000-11-26  Stephane Carrez  
360
 
361
        * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size
362
        instead of a hard-coded value.
363
        (m68hc11cpu_io_write_buffer): Likewise.
364
        (dv_m68hc11_descriptor): Define a 68hc12 device.
365
        * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise.
366
        * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise.
367
        * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise.
368
        * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise.
369
 
370
2000-11-22  Stephane Carrez  
371
 
372
        * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
373
        (m68hc11cpu_delete): Delete handler to detach the address space.
374
 
375
2000-11-24  Stephane Carrez  
376
 
377
        * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc.
378
        * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc
379
        instead of free and malloc.
380
 
381
2000-09-11  Stephane Carrez  
382
 
383
        * Makefile.in: Was missing from initial patch.
384
 
385
2000-09-10  Stephane Carrez  
386
 
387
        * interp.c (sim_store_register): Remove soft register hack.
388
        (sim_fetch_register): Likewise.
389
        (sim_create_inferior): Likewise.
390
        * sim-main.h: Likewise.
391
 
392
2000-09-10  Stephane Carrez  
393
 
394
        * interrupts.c (interrupts_update_pending): Clear the mask of
395
        pending interrupts here.
396
        (interrupts_get_current): Don't clear the mask of pending interrupts.
397
 
398
2000-09-10  Stephane Carrez  
399
 
400
        * sim-main.h: Define cycle_to_string.
401
        * dv-m68hc11tim.c (cycle_to_string): New function to translate
402
        the cpu cycle into some formatted time string.
403
        (m68hc11tim_print_timer): Use it.
404
        * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string.
405
        * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
406
        * interrupts.c (interrupts_info): Likewise.
407
        * m68hc11_sim.c (cpu_info): Likewise.
408
 
409
2000-09-06  Stephane Carrez  
410
 
411
        * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow
412
        interrupt and compare events accurately.  Take into account the
413
        pending ticks not processed by the simulator yet (introduced a shift).
414
        (m68hc11_port_event): Reset the timer interrupt delays.
415
        (m68hc11tim_io_read_buffer): Be able to read several bytes.
416
        (m68hc11tim_io_write_buffer): Likewise for write.
417
        (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt.
418
 
419
2000-09-06  Stephane Carrez  
420
 
421
        * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts.
422
        (m68hc11spi_io_write_buffer): Likewise and fix the spi frame.
423
        (m68hc11spi_info): Clarify the status report
424
        of the SPI when a byte is being sent.
425
        (m68hc11spi_clock): Fix the spi send frame.
426
 
427
2000-08-11  Stephane Carrez  
428
 
429
        * sim-main.h (m68hc11_map_level): Define level of address mappings.
430
        * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
431
        whether the eeprom is currently mapped or not.
432
        (m68hc11eepr_port_event): Use the flag to see if we must unmap
433
        or map the eeprom.  Update the flag to reflect the current state.
434
        Use M6811_EEPROM_LEVEL when mapping the eeprom.
435
        (m68hc11eepr_finish): Remove overlap hack.
436
        (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
437
        config and control registers.
438
        * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
439
        (attach_m68hc11_regs): Use M6811_IO_LEVEL.
440
        (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
441
        * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
442
        (attach_m68hc11spi_regs): Likewise.
443
        * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
444
        (attach_m68hc11tim_regs): Likewise.
445
        * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
446
        (attach_m68hc11sio_regs): Likewise.
447
        * interp.c (sim_open): Likewise.
448
        * dv-nvram.c (attach_nvram_regs): Likewise.
449
 
450
Thu Jul 27 21:27:25 2000  Andrew Cagney  
451
 
452
        * configure, config.in: Regenerate.
453
 
454
2000-06-25  Stephane Carrez  
455
 
456
        * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
457
        * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
458
        (dv_m6811_detach_address_callback): New function to detach a
459
        device from an address space.
460
        * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
461
        config register according to --cpu-config option.
462
        * sim-main.h (_sim_cpu): Add cpu_config member.
463
        * interp.c (sim_open): Delete specific simulator options.
464
        * m68hc11_sim.c (cpu_option_handler): New options
465
        --emulos and -cpu-config  to configure the simulator.
466
        (cpu_initialize): Initialize cpu_config member.
467
 
468
2000-06-24  Stephane Carrez  
469
 
470
        * emulos.c: Fix indentation and comments.
471
        * gencode.c: Likewise.
472
        * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
473
        (m68hc11tim_io_write_buffer): Write compare registers and
474
        setup compare event.
475
        * interp.c: Remove unused global variables.
476
        * interrupts.c (idefs): New compare interrupts.
477
        Fix indentation and comments.
478
        * interrupts.h: Likewise.
479
 
480
2000-06-18  Stephane Carrez  
481
 
482
        * dv-m68hc11sio.c: Fix indentation and comments.
483
        Remove INT_PORT.
484
        * dv-m68hc11.c: Fix indentation and comments.
485
        (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
486
        * m68hc11_sim.c (cpu_reset): To here.
487
        * dv-m68hc11eepr.c: Fix indentation and comments.
488
 
489
2000-06-17  Stephane Carrez  
490
 
491
        * dv-nvram.c: New file, rename from dv-pram.c.
492
        * dv-pram.c: Delete file.
493
        * sim-main.h: Incorporate m68hc11_sim.h.
494
        * m68hc11_sim.h: Delete file.
495
        * configure.in: Rename pram into nvram.
496
        * interp.c (sim_open): Likewise in creation of device tree.
497
 
498
2000-05-31  Stephane Carrez  
499
 
500
        * interp.c (sim_open): Create the SPI device.
501
        * dv-m68hc11spi.c: New file for SPI device simulation.
502
        * configure.in (hw_extra_devices): Add SPI device.
503
 
504
2000-05-28  Stephane Carrez  
505
 
506
        * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
507
        (interrupts_process): Separate IRQ and XIRQ accounting.
508
        (interrupts_info): Report XIRQ accounting.
509
        * interrupts.h (struct interrupts): Added accounting for XIRQ.
510
 
511
2000-04-16  Stephane Carrez  
512
 
513
        * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
514
        * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
515
        * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
516
        configuration from the 'mode' device tree property.
517
        (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
518
        configuration.
519
 
520
2000-02-24  Stephane Carrez  
521
 
522
        * sim-main.h: Remove WITH_TARGET_* defines.
523
        * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
524
 
525
2000-02-08  Stephane Carrez  
526
 
527
        * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
528
        1200 baud when cpu is in bootstrap mode.
529
 
530
        * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
531
        write in the TCTN timer register.
532
 
533
        * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
534
        by 4 to obtain the E clock frequency.
535
        (sccr2_desc): Use M6811_TIE for TIE bit.
536
        (m68hc11sio_info): Fix baud rate report.
537
 
538
        * dv-m68hc11tim.c (to_realtime): Likewise.
539
 
540
        * interp.c (sim_open): When building device tree, only provide
541
        devices that do not exist yet.
542
 
543
        * emulos.c: Fix compilation pb under Windows.
544
 
545
        * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
546
        from the 'clock' property.
547
 
548
2000-01-02  Stephane Carrez  
549
 
550
        * m68hc11_sim.h (*_REGNUM): Define.
551
        (_sim_cpu): New member cpu_page0_reg table.
552
        * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
553
        addresses of soft registers in .page0.
554
        (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
555
        to get/set soft registers.
556
 
557
1999-12-31  Stephane Carrez  
558
 
559
        * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
560
        returning random values.
561
 
562
1999-12-17  Stephane Carrez  
563
 
564
        * gencode.c: Fix "subb N,x" that used a instead of b.
565
 
566
1999-09-09  Stephane Carrez  
567
 
568
        * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
569
 
570
1999-09-01  Stephane Carrez  
571
 
572
        * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
573
 
574
1999-08-14  Stephane Carrez  
575
 
576
        * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
577
        register region in the m68hc11cpu struct.
578
        (m68hc11cpu_io_write): When the IO mapping addres changes,
579
        detach the register region and re-attach it at the new address.
580
        (m68hc11cpu_io_read_buffer): Renamed base_address into
581
        attach_address.
582
        (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
583
        to m68hc11cpu_io_write.
584
 
585
1999-08-13  Stephane Carrez  
586
 
587
        * gencode.c: For sbc8, check the carry and increment the source
588
        before trying to set the carry for the result.
589
 
590
1999-05-24  John S. Kallal 
591
 
592
        * interp.c (sim_get_info): Don't crash if the command line is 0.
593
        Define prototype for sim_get_info() and init_system().
594
        (sim_info): Correct call to sim_get_info().
595
 
596
1999-05-16  Stephane Carrez  
597
 
598
        * configure.in: Recognize m6811-*-*.
599
        * configure: Regenerate.
600
        * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
601
        cpu_ccr_update_sub8, cpu_ccr_update_sub16):
602
        Correct the computation of carry of 8 and 16-bits add and subtract.
603
        * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
604
        overflow set in a different manner than add).
605
 
606
1999-05-14  Stephane Carrez  
607
 
608
        * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
609
        trace message.
610
        * interp.c (sim_open, sim_create_inferior): Initialize the
611
        cpu_elf_start from the ELF header.
612
        * m68hc11_sim.c (cpu_initialize): Clear the new data members.
613
        (cpu_restart): Use cpu_elf_start as the starting address when
614
        the flag is set.
615
        (cpu_special): When cpu_use_elf_start is set, the WAI instruction
616
        exits the simulator (exit status is in D).
617
        * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
618
        cpu_elf_star to start execution at address specified in ELF file.
619
 
620
1999-05-02  Stephane Carrez  
621
 
622
        * Makefile.in, config.in, configure, configure.in: New files.
623
        * gencode.c: New file, generation of 68HC11 interpreter.
624
        * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
625
        for interpreter.
626
        * interrupts.c, interrupts.h: New files, management of interrupts.
627
        * interp.c, sim-main.h,
628
        * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
629
        dv-m68hc11tim.c, dv-pram.c: New files representing devices for
630
        68HC11 (dv-pram.c is generic and could probably migrate to common).
631
        * emulos.c: New file, basic emulation of some os.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.