]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/m68hc11/ChangeLog
2000-09-05 Steven Johnson <sbjohnson@ozemail.com.au>
[thirdparty/binutils-gdb.git] / sim / m68hc11 / ChangeLog
CommitLineData
63348d04
SC
12000-08-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2
3 * sim-main.h (m68hc11_map_level): Define level of address mappings.
4 * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
5 whether the eeprom is currently mapped or not.
6 (m68hc11eepr_port_event): Use the flag to see if we must unmap
7 or map the eeprom. Update the flag to reflect the current state.
8 Use M6811_EEPROM_LEVEL when mapping the eeprom.
9 (m68hc11eepr_finish): Remove overlap hack.
10 (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
11 config and control registers.
12 * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
13 (attach_m68hc11_regs): Use M6811_IO_LEVEL.
14 (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
15 * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
16 (attach_m68hc11spi_regs): Likewise.
17 * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
18 (attach_m68hc11tim_regs): Likewise.
19 * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
20 (attach_m68hc11sio_regs): Likewise.
21 * interp.c (sim_open): Likewise.
22 * dv-nvram.c (attach_nvram_regs): Likewise.
23
5d031c16
AC
24Thu Jul 27 21:27:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
25
26 * configure, config.in: Regenerate.
27
e0709f50
AC
282000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
29
30 * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
31 * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
32 (dv_m6811_detach_address_callback): New function to detach a
33 device from an address space.
34 * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
35 config register according to --cpu-config option.
36 * sim-main.h (_sim_cpu): Add cpu_config member.
37 * interp.c (sim_open): Delete specific simulator options.
38 * m68hc11_sim.c (cpu_option_handler): New options
39 --emulos and -cpu-config <val> to configure the simulator.
40 (cpu_initialize): Initialize cpu_config member.
41
422000-06-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
43
44 * emulos.c: Fix indentation and comments.
45 * gencode.c: Likewise.
46 * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
47 (m68hc11tim_io_write_buffer): Write compare registers and
48 setup compare event.
49 * interp.c: Remove unused global variables.
50 * interrupts.c (idefs): New compare interrupts.
51 Fix indentation and comments.
52 * interrupts.h: Likewise.
53
542000-06-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
55
56 * dv-m68hc11sio.c: Fix indentation and comments.
57 Remove INT_PORT.
58 * dv-m68hc11.c: Fix indentation and comments.
59 (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
60 * m68hc11_sim.c (cpu_reset): To here.
61 * dv-m68hc11eepr.c: Fix indentation and comments.
62
632000-06-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
64
65 * dv-nvram.c: New file, rename from dv-pram.c.
66 * dv-pram.c: Delete file.
67 * sim-main.h: Incorporate m68hc11_sim.h.
68 * m68hc11_sim.h: Delete file.
69 * configure.in: Rename pram into nvram.
70 * interp.c (sim_open): Likewise in creation of device tree.
71
722000-05-31 Stephane Carrez <Stephane.Carrez@worldnet.fr>
73
74 * interp.c (sim_open): Create the SPI device.
75 * dv-m68hc11spi.c: New file for SPI device simulation.
76 * configure.in (hw_extra_devices): Add SPI device.
77
782000-05-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
79
80 * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
81 (interrupts_process): Separate IRQ and XIRQ accounting.
82 (interrupts_info): Report XIRQ accounting.
83 * interrupts.h (struct interrupts): Added accounting for XIRQ.
84
852000-04-16 Stephane Carrez <stcarrez@worldnet.fr>
86
87 * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
88 * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
89 * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
90 configuration from the 'mode' device tree property.
91 (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
92 configuration.
93
942000-02-24 Stephane Carrez <stcarrez@worldnet.fr>
95
96 * sim-main.h: Remove WITH_TARGET_* defines.
97 * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
98
992000-02-08 Stephane Carrez <stcarrez@worldnet.fr>
100
101 * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
102 1200 baud when cpu is in bootstrap mode.
103
104 * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
105 write in the TCTN timer register.
106
107 * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
108 by 4 to obtain the E clock frequency.
109 (sccr2_desc): Use M6811_TIE for TIE bit.
110 (m68hc11sio_info): Fix baud rate report.
111
112 * dv-m68hc11tim.c (to_realtime): Likewise.
113
114 * interp.c (sim_open): When building device tree, only provide
115 devices that do not exist yet.
116
117 * emulos.c: Fix compilation pb under Windows.
118
119 * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
120 from the 'clock' property.
121
1222000-01-02 Stephane Carrez <stcarrez@worldnet.fr>
123
124 * m68hc11_sim.h (*_REGNUM): Define.
125 (_sim_cpu): New member cpu_page0_reg table.
126 * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
127 addresses of soft registers in .page0.
128 (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
129 to get/set soft registers.
130
1311999-12-31 Stephane Carrez <stcarrez@worldnet.fr>
132
133 * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
134 returning random values.
135
1361999-12-17 Stephane Carrez <stcarrez@worldnet.fr>
137
138 * gencode.c: Fix "subb N,x" that used a instead of b.
139
1401999-09-09 Stephane Carrez <stcarrez@worldnet.fr>
141
142 * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
143
1441999-09-01 Stephane Carrez <stcarrez@worldnet.fr>
145
146 * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
147
1481999-08-14 Stephane Carrez <stcarrez@worldnet.fr>
149
150 * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
151 register region in the m68hc11cpu struct.
152 (m68hc11cpu_io_write): When the IO mapping addres changes,
153 detach the register region and re-attach it at the new address.
154 (m68hc11cpu_io_read_buffer): Renamed base_address into
155 attach_address.
156 (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
157 to m68hc11cpu_io_write.
158
1591999-08-13 Stephane Carrez <stcarrez@worldnet.fr>
160
161 * gencode.c: For sbc8, check the carry and increment the source
162 before trying to set the carry for the result.
163
1641999-05-24 John S. Kallal <kallal@voicenet.com>
165
166 * interp.c (sim_get_info): Don't crash if the command line is 0.
167 Define prototype for sim_get_info() and init_system().
168 (sim_info): Correct call to sim_get_info().
169
1701999-05-16 Stephane Carrez <stcarrez@worldnet.fr>
171
172 * configure.in: Recognize m6811-*-*.
173 * configure: Regenerate.
174 * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
175 cpu_ccr_update_sub8, cpu_ccr_update_sub16):
176 Correct the computation of carry of 8 and 16-bits add and subtract.
177 * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
178 overflow set in a different manner than add).
179
1801999-05-14 Stephane Carrez <stcarrez@worldnet.fr>
181
182 * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
183 trace message.
184 * interp.c (sim_open, sim_create_inferior): Initialize the
185 cpu_elf_start from the ELF header.
186 * m68hc11_sim.c (cpu_initialize): Clear the new data members.
187 (cpu_restart): Use cpu_elf_start as the starting address when
188 the flag is set.
189 (cpu_special): When cpu_use_elf_start is set, the WAI instruction
190 exits the simulator (exit status is in D).
191 * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
192 cpu_elf_star to start execution at address specified in ELF file.
193
1941999-05-02 Stephane Carrez <stcarrez@worldnet.fr>
195
196 * Makefile.in, config.in, configure, configure.in: New files.
197 * gencode.c: New file, generation of 68HC11 interpreter.
198 * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
199 for interpreter.
200 * interrupts.c, interrupts.h: New files, management of interrupts.
201 * interp.c, sim-main.h,
202 * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
203 dv-m68hc11tim.c, dv-pram.c: New files representing devices for
204 68HC11 (dv-pram.c is generic and could probably migrate to common).
205 * emulos.c: New file, basic emulation of some os.