]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/m68hc11/ChangeLog
2000-08-11 Kazu Hirata <kazu@hxi.com>
[thirdparty/binutils-gdb.git] / sim / m68hc11 / ChangeLog
CommitLineData
5d031c16
AC
1Thu Jul 27 21:27:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * configure, config.in: Regenerate.
4
e0709f50
AC
52000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6
7 * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
8 * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
9 (dv_m6811_detach_address_callback): New function to detach a
10 device from an address space.
11 * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
12 config register according to --cpu-config option.
13 * sim-main.h (_sim_cpu): Add cpu_config member.
14 * interp.c (sim_open): Delete specific simulator options.
15 * m68hc11_sim.c (cpu_option_handler): New options
16 --emulos and -cpu-config <val> to configure the simulator.
17 (cpu_initialize): Initialize cpu_config member.
18
192000-06-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
20
21 * emulos.c: Fix indentation and comments.
22 * gencode.c: Likewise.
23 * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
24 (m68hc11tim_io_write_buffer): Write compare registers and
25 setup compare event.
26 * interp.c: Remove unused global variables.
27 * interrupts.c (idefs): New compare interrupts.
28 Fix indentation and comments.
29 * interrupts.h: Likewise.
30
312000-06-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
32
33 * dv-m68hc11sio.c: Fix indentation and comments.
34 Remove INT_PORT.
35 * dv-m68hc11.c: Fix indentation and comments.
36 (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
37 * m68hc11_sim.c (cpu_reset): To here.
38 * dv-m68hc11eepr.c: Fix indentation and comments.
39
402000-06-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
41
42 * dv-nvram.c: New file, rename from dv-pram.c.
43 * dv-pram.c: Delete file.
44 * sim-main.h: Incorporate m68hc11_sim.h.
45 * m68hc11_sim.h: Delete file.
46 * configure.in: Rename pram into nvram.
47 * interp.c (sim_open): Likewise in creation of device tree.
48
492000-05-31 Stephane Carrez <Stephane.Carrez@worldnet.fr>
50
51 * interp.c (sim_open): Create the SPI device.
52 * dv-m68hc11spi.c: New file for SPI device simulation.
53 * configure.in (hw_extra_devices): Add SPI device.
54
552000-05-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
56
57 * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
58 (interrupts_process): Separate IRQ and XIRQ accounting.
59 (interrupts_info): Report XIRQ accounting.
60 * interrupts.h (struct interrupts): Added accounting for XIRQ.
61
622000-04-16 Stephane Carrez <stcarrez@worldnet.fr>
63
64 * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
65 * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
66 * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
67 configuration from the 'mode' device tree property.
68 (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
69 configuration.
70
712000-02-24 Stephane Carrez <stcarrez@worldnet.fr>
72
73 * sim-main.h: Remove WITH_TARGET_* defines.
74 * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
75
762000-02-08 Stephane Carrez <stcarrez@worldnet.fr>
77
78 * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
79 1200 baud when cpu is in bootstrap mode.
80
81 * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
82 write in the TCTN timer register.
83
84 * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
85 by 4 to obtain the E clock frequency.
86 (sccr2_desc): Use M6811_TIE for TIE bit.
87 (m68hc11sio_info): Fix baud rate report.
88
89 * dv-m68hc11tim.c (to_realtime): Likewise.
90
91 * interp.c (sim_open): When building device tree, only provide
92 devices that do not exist yet.
93
94 * emulos.c: Fix compilation pb under Windows.
95
96 * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
97 from the 'clock' property.
98
992000-01-02 Stephane Carrez <stcarrez@worldnet.fr>
100
101 * m68hc11_sim.h (*_REGNUM): Define.
102 (_sim_cpu): New member cpu_page0_reg table.
103 * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
104 addresses of soft registers in .page0.
105 (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
106 to get/set soft registers.
107
1081999-12-31 Stephane Carrez <stcarrez@worldnet.fr>
109
110 * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
111 returning random values.
112
1131999-12-17 Stephane Carrez <stcarrez@worldnet.fr>
114
115 * gencode.c: Fix "subb N,x" that used a instead of b.
116
1171999-09-09 Stephane Carrez <stcarrez@worldnet.fr>
118
119 * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
120
1211999-09-01 Stephane Carrez <stcarrez@worldnet.fr>
122
123 * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
124
1251999-08-14 Stephane Carrez <stcarrez@worldnet.fr>
126
127 * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
128 register region in the m68hc11cpu struct.
129 (m68hc11cpu_io_write): When the IO mapping addres changes,
130 detach the register region and re-attach it at the new address.
131 (m68hc11cpu_io_read_buffer): Renamed base_address into
132 attach_address.
133 (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
134 to m68hc11cpu_io_write.
135
1361999-08-13 Stephane Carrez <stcarrez@worldnet.fr>
137
138 * gencode.c: For sbc8, check the carry and increment the source
139 before trying to set the carry for the result.
140
1411999-05-24 John S. Kallal <kallal@voicenet.com>
142
143 * interp.c (sim_get_info): Don't crash if the command line is 0.
144 Define prototype for sim_get_info() and init_system().
145 (sim_info): Correct call to sim_get_info().
146
1471999-05-16 Stephane Carrez <stcarrez@worldnet.fr>
148
149 * configure.in: Recognize m6811-*-*.
150 * configure: Regenerate.
151 * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
152 cpu_ccr_update_sub8, cpu_ccr_update_sub16):
153 Correct the computation of carry of 8 and 16-bits add and subtract.
154 * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
155 overflow set in a different manner than add).
156
1571999-05-14 Stephane Carrez <stcarrez@worldnet.fr>
158
159 * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
160 trace message.
161 * interp.c (sim_open, sim_create_inferior): Initialize the
162 cpu_elf_start from the ELF header.
163 * m68hc11_sim.c (cpu_initialize): Clear the new data members.
164 (cpu_restart): Use cpu_elf_start as the starting address when
165 the flag is set.
166 (cpu_special): When cpu_use_elf_start is set, the WAI instruction
167 exits the simulator (exit status is in D).
168 * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
169 cpu_elf_star to start execution at address specified in ELF file.
170
1711999-05-02 Stephane Carrez <stcarrez@worldnet.fr>
172
173 * Makefile.in, config.in, configure, configure.in: New files.
174 * gencode.c: New file, generation of 68HC11 interpreter.
175 * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
176 for interpreter.
177 * interrupts.c, interrupts.h: New files, management of interrupts.
178 * interp.c, sim-main.h,
179 * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
180 dv-m68hc11tim.c, dv-pram.c: New files representing devices for
181 68HC11 (dv-pram.c is generic and could probably migrate to common).
182 * emulos.c: New file, basic emulation of some os.