|
1 2009-03-13 Paul Brook <paul@codesourcery.com> |
|
2 |
|
3 * python-plugin.c (qemu_python_init): Avoid quoting issues on |
|
4 windows. |
|
5 |
|
6 2009-03-11 Paul Brook <paul@codesourcery.com> |
|
7 |
|
8 * vl.c (restore_snapshot): New. |
|
9 (qemu_snapshot_request_restore): New function. |
|
10 (qemu_snapshot_request): Clear restore_snapshot. |
|
11 (main_loop): Handle restoring snapshots. |
|
12 * sysemu.h (qemu_snapshot_request_restore): Add prototype. |
|
13 * hw/syborg_snapshot.c (syborg_snapshot_trigger): Implement snapshot |
|
14 restore. |
|
15 (syborg_snapshot_write): Pass value to syborg_snapshot_trigger. |
|
16 |
|
17 2009-03-04 Paul Brook <paul@codesourcery.com> |
|
18 |
|
19 * vl.c (find_bios_dir): Avoid "../" on windows. |
|
20 |
|
21 2009-03-04 Paul Brook <paul@codesourcery.com> |
|
22 |
|
23 * Makefile.target: Add python-plugin.o. Remove obsolete syborg |
|
24 machines and devices. |
|
25 * python-plugin.c: New file. |
|
26 * vl.c (bios_dir): Initialize to NULL. |
|
27 (find_bios_dir): New function. |
|
28 (main): Call find_bios_dir and qemu_python_init. |
|
29 * devtree.c (QEMUDeviceProperty): Add opaque. |
|
30 (QEMUDevice): Add irq and mem_opaque. |
|
31 (qdev_add_class_opaque, qdev_get_class_opaque): New functions. |
|
32 (qdev_create): Allocate dev->irq. |
|
33 (qdev_set_region_opaque, qdev_set_irq_level): New functions. |
|
34 (create_from_node): Use d->mem_opaque. |
|
35 (fixup_irqs): Set dev->irq. |
|
36 * configure: Add Python support. |
|
37 * devtree.h (qdev_add_class_opaque, qdev_set_irq_level, |
|
38 qdev_get_class_opaque, qdev_set_region_opaque): Add prototypes. |
|
39 * sysemu.h (qemu_python_init): Add prototype. |
|
40 * target-arm/machine.c (register_machines): Remove syborg_machine and |
|
41 oldsyborg_machine. |
|
42 * plugins/syborg_fb.py: New file. |
|
43 * plugins/syborg_rtc.py: New file. |
|
44 * plugins/syborg_interrupt.py: New file. |
|
45 * plugins/syborg_serial.py: New file. |
|
46 * plugins/syborg_keyboard.py: New file. |
|
47 * plugins/syborg_pointer.py: New file. |
|
48 * plugins/syborg_timer.py: New file. |
|
49 * plugins/qemu_arm_plugins.py: New file. |
|
50 * syborg.c: Remove. |
|
51 * syborg_timer_old.c: Remove. |
|
52 * syborg_keyboard_old.c: Remove. |
|
53 * syborg_serial_old.c: Remove. |
|
54 * syborg_interrupt_old.c: Remove. |
|
55 * syborg_mouse.c: Remove. |
|
56 * syborg_interrupt.c: Remove. |
|
57 * syborg_timer.c: Remove. |
|
58 * syborg_rtc.c: Remove. |
|
59 * syborg_serial.c: Remove. |
|
60 * syborg_keyboard.c: Remove. |
|
61 * syborg_pointer.c: Remove. |
|
62 * syborg_fb.c: Remove. |
|
63 |
|
64 2009-02-27 Daniel Gutson <dgutson@codesourcery.com> |
|
65 |
|
66 * Makefile.target (LIBS): Add expat. |
|
67 * configure: Add expat probe. |
|
68 * gui.c (gui_load): Fixed to use new parser implementation. |
|
69 * gui_parser.c: Re-written to use expat as the implementation. |
|
70 * gui_parser.h (parse_result_t): Aded OUT_OF_MEMORY error code. |
|
71 * sdl.c (kbd_fsm_state_t): Removed as part of the code cleanup. |
|
72 (kbd_fsm_stimuli_t): Likewise. |
|
73 (kbd_fsm_state): Likewise. |
|
74 (process_kbd_fsm_stimuli): Likewise. |
|
75 (process_kbd_fsm_key): Likewise. |
|
76 (sdl_gui_turn_cursor_on): Added missing case. |
|
77 |
|
78 2009-02-19 Paul Brook <paul@codesourcery.com> |
|
79 |
|
80 * hw/syborg_fb.c: Add debug code. |
|
81 * hw/syborg_keyboard.c: Ditto. |
|
82 * hw/syborg_timer.c: Ditto. |
|
83 |
|
84 2009-02-19 Paul Brook <paul@codesourcery.com> |
|
85 |
|
86 * hw/syborg_fb.c (syborg_fb_save): Save s->enabled. |
|
87 (syborg_fb_load): Load s->enabled. Force update. |
|
88 (syborg_fb_register): Bump savevm version. |
|
89 * target-arm/machine.c (cpu_save): Save cp15.c2_control and |
|
90 cp15.c2_base_mask. |
|
91 (cpu_load): Restore cp15.c2_control and cp15.c2_base_mask. |
|
92 Avoid clobbering banked registers by spurious mode change. |
|
93 |
|
94 2009-02-10 Paul Brook <paul@codesourcery.com> |
|
95 |
|
96 * boards/syborg.dts (hostfs@0): Add path and drive number. |
|
97 * hw/syborg_hostfs.c (hostfs_file_open): Add O_CREAT for EFileReplace. |
|
98 (syborg_hostfs_create): Add separator conversion for prefix path. |
|
99 * hw/syborg_platform.c (PLATFORM_TREE_OFFSET): Define. |
|
100 (syborg_platform_readl, syborg_platform_readw, syborg_platform_readb): |
|
101 Use it. Correct device tree offsets. |
|
102 |
|
103 2009-02-05 Paul Brook <paul@codesourcery.com> |
|
104 |
|
105 * hw/syborg_hostfs.c (hostfs_dir): Add path. |
|
106 (HOSTFS_ATTR_READONLY, HOSTFS_ATTR_HIDDEN, HOSTFS_ATTR_DIRECTORY): |
|
107 Define. |
|
108 (hostfs_map_file_att): Use new defines. |
|
109 (hostfs_dir_read): Return file attributes. |
|
110 |
|
111 2009-01-21 Daniel Gutson <dgutson@codesourcery.com> |
|
112 |
|
113 * gui.c (gui_button_sendkey_dn): Removed warnings. |
|
114 (gui_button_sendkey_up): Likewise. |
|
115 (load_gui_image): Likewise. |
|
116 (load_gui_button): Likewise. |
|
117 (gui_loaded_is_graphic_console): Function removed. |
|
118 * gui_png.c (gui_load_image_png): Removed warnigs and dead code. |
|
119 * display_state.h: New file. |
|
120 * gui_host.h: Moved declarations from here to display_state.h. |
|
121 * hw/gui.h: Likewise. |
|
122 |
|
123 2009-01-20 Paul Brook <paul@codesourcery.com> |
|
124 |
|
125 * hw/nand.c (nand_init): Initialize s->ioaddr. |
|
126 |
|
127 2009-01-20 Daniel Gutson <dgutson@codesourcery.com> |
|
128 |
|
129 * gui.c: Fixed copyright year in heading. |
|
130 * gui_host.h: Likewise. |
|
131 * gui_png.c: Likewise. |
|
132 * gui_png.h: Likewise. |
|
133 * gui_parser.c: Likewise. |
|
134 * gui_parser.h: Likewise. |
|
135 * gui_common.h: Likewise. |
|
136 * hw/gui.h: Likewise. |
|
137 |
|
138 2009-01-20 Paul Brook <paul@codesourcery.com> |
|
139 |
|
140 * configure: Add extra flags to libpng test so that -lz works. |
|
141 |
|
142 2009-01-19 Paul Brook <paul@codesourcery.com> |
|
143 |
|
144 * hw/virtio-audio.c (virtio_audio_handle_cmd, virtio_audio_load): Fix |
|
145 net/audio typo in audio stream names. |
|
146 |
|
147 2009-01-19 Daniel Gutson <dgutson@codesourcery.com> |
|
148 |
|
149 * gui.c: Add heading. |
|
150 * gui_host.h: Likewise. |
|
151 * gui_png.c: Likewise. |
|
152 * gui_png.h: Likewise. |
|
153 * gui_parser.c: Likewise. |
|
154 * gui_parser.h: Likewise. |
|
155 * gui_common.h: Likewise. |
|
156 * hw/gui.h: Likewise. |
|
157 |
|
158 2009-01-19 Paul Brook <paul@codesourcery.com> |
|
159 |
|
160 * vl.c (print_machines): New function. |
|
161 (main): Use it. Error if no machine is specified. |
|
162 |
|
163 2009-01-19 Daniel Gutson <dgutson@codesourcery.com> |
|
164 |
|
165 * gui.c (gui_register_mouse_event_handler): Fixed non-GUI mode. |
|
166 |
|
167 2009-01-19 Paul Brook <paul@codesourcery.com> |
|
168 |
|
169 * hw/syborg_hostfs.c (HOSTFS_PATH_MAX, HOST_CHAR): Move up in file. |
|
170 (hostfs_dir): Define for !_WIN32. |
|
171 (hostfs_dir_open, hostfs_dir_read): Implement pattern matching. |
|
172 (hostfs_dir_close): Free handle data. |
|
173 (syborg_hostfs_reset): Dirro. |
|
174 |
|
175 2009-01-19 Paul Brook <paul@codesourcery.com> |
|
176 |
|
177 * Makefile.target (OBJS): Add virtio-audio.o |
|
178 * boards/syborg.dts: Add audio device. |
|
179 * hw/syborg_virtio (syborg_virtio_audio_create): New function. |
|
180 (syborg_virtio_register): Register audio device. |
|
181 * hw/virtio-audio.c: New file. |
|
182 * hw/virtio-audio.h: New file. |
|
183 |
|
184 2009-01-19 Paul Brook <paul@codesourcery.com> |
|
185 |
|
186 * gui.c (gui_update_timer, gui_notify_update_tick, gui_update_timer): |
|
187 Use 64-bit tick count. |
|
188 * gui_host.h (gui_notify_update_tick): Update prototype. |
|
189 |
|
190 2009-01-19 Daniel Gutson <dgutson@codesourcery.com> |
|
191 |
|
192 GUI added |
|
193 |
|
194 * Makefile (OBJS): Add gui files. |
|
195 * configure: Add libpng use and detection. |
|
196 * console.c: Updated to interact with the GUI. |
|
197 * console.h: Likewise. |
|
198 * monitor.c: Likewise. |
|
199 * qemu-char.c: Likewise. |
|
200 * sdl.c: Likewise. |
|
201 * vl.c: Likewise. |
|
202 * hw/blizzard.c: Likewise. |
|
203 * hw/musicpal.c: Likewise. |
|
204 * hw/nseries.c: Likewise. |
|
205 * hw/omap_lcdc.c: Likewise. |
|
206 * hw/omap_sx1.c: Likewise. |
|
207 * hw/palm.c: Likewise. |
|
208 * hw/pl110.c: Likewise. |
|
209 * hw/ps2.c: Likewise. |
|
210 * hw/pxa2xx_keypad.c: Likewise. |
|
211 * hw/pxa2xx_lcd.c: Likewise. |
|
212 * hw/spitz.c: Likewise. |
|
213 * hw/ssd0303.c: Likewise. |
|
214 * hw/ssd0323.c: Likewise. |
|
215 * hw/stellaris_input.c: Likewise. |
|
216 * hw/tc6393xb.c: Likewise. |
|
217 * hw/usb-hid.c: Likewise. |
|
218 * hw/vga.c: Likewise. |
|
219 * hw/vga_int.h: Likewise. |
|
220 * hw/fb_render_engine.c: Data types fixed, and updated to interact |
|
221 with the GUI. |
|
222 * hw/fb_render_engine.h: Data types fixed. |
|
223 * hw/syborg_fb.c: Updated to interact with the GUI. |
|
224 * hw/syborg_keyboard.c: Likewise. |
|
225 * hw/syborg_keyboard_old.c: Likewise. |
|
226 * hw/syborg_pointer.c: Likewise. |
|
227 * hw/gui.c: New file. |
|
228 * hw/gui.h: New file. |
|
229 * hw/gui_common.h: New file. |
|
230 * hw/gui_parser.c: New file. |
|
231 * hw/gui_parser.h: New file. |
|
232 * hw/gui_png.c: New file. |
|
233 * hw/gui_png.h: New file. |
|
234 * curses.c: Add temporary changes to compile with the GUI. |
|
235 * vnc.c: Likewise. |
|
236 * qemu-common.h (QEMUConsole): Removed. |
|
237 |
|
238 2009-01-18 Paul Brook <paul@codesourcery.com> |
|
239 |
|
240 * Makefile.target (DEVICES): Add syborg_nand. |
|
241 * boards/syborg.dts: Add NAND Flash device. |
|
242 * hw/syborg_nand.c: New file. |
|
243 * hw/syborg.h (SYBORG_ID_NAND): Define. |
|
244 |
|
245 2009-01-18 Paul Brook <paul@codesourcery.com> |
|
246 |
|
247 * hw/syborg_serial.c: Whitespace formatting fixes. |
|
248 |
|
249 2009-01-18 Paul Brook <paul@codesourcery.com> |
|
250 |
|
251 * Makefile.target (OBJS): Add virtio-pci. |
|
252 (DEVICES): Add syborg_virtio. |
|
253 * hw/virtio-balloon.c (virtio_balloon_init): Use binding function. |
|
254 * hw/virtio-balloon.h (virtio_balloon_init): Update prototype. |
|
255 * hw/virtio-net.c (virtio_net_init): Use binding function. |
|
256 * hw/virtio-net.h: Don't include pci.h. |
|
257 * virtio-blk.c (virtio_blk_init): Use binding function. |
|
258 * virtio-blk.h (virtio_blk_init): Update prototype. |
|
259 * hw/virtio-pci.c: New file. |
|
260 * hw/virtio-pci.h: New file. |
|
261 * hw/pci.c: Include virtio-pci.h |
|
262 (pci_nic_init): Use virtio_net_init_pci. |
|
263 * hw/syborg_virtio.c: New file. |
|
264 (virtio_net_init): Update prototuype. |
|
265 * hw/virtio.c: Move PCI bus bindings to virtio-pci.c. |
|
266 (VirtQueue): Use physical address, not pfn. |
|
267 (virtio_config_readb, virtio_config_readw, virtio_config_readl, |
|
268 virtio_config_writeb, virtio_config_writew, virtio_config_writel): |
|
269 Remove PCI specific code. Export. |
|
270 (virtio_set_vring_addr, virtio_get_vring_pa, virtio_get_vring_num, |
|
271 virtio_kick): New functions. |
|
272 (virtio_save, virtio_load): Replace PCI code with binding callbacks. |
|
273 (virtio_init_common): New function. |
|
274 * hw/virtio.h: Don't include pci.h. Add new prototypes. |
|
275 (virtio_update_irq): New function. |
|
276 (VirtIODevice): Add bus binding callbacks. |
|
277 * hw/pc.c: Include virtio-pci.h. |
|
278 (pc_init1): Use virtio_blk_init_pci and virtio_balloon_init_pic. |
|
279 * hw/ppc440_bamboo.c: Include virtio-pci.h. |
|
280 (bamboo_init): Use virtio_blk_init_pci. |
|
281 * boards/syborg.dts: Add net device. |
|
282 * hw/syborg.h: Add SYBORG_ID_VIRTIO. |
|
283 * hw/syborg_virtio.c: New file. |
|
284 |
|
285 2009-01-17 Paul Brook <paul@codesourcery.com> |
|
286 |
|
287 * savevm.c (do_savevm_file, do_loadvm_file): New functions. |
|
288 (do_savevm): Use do_savevm_file. |
|
289 (do_loadvm): Use do_loadvm_file. |
|
290 * Makefile.target (DEVICES): Add syborg_shapshot. |
|
291 * vl.c (snapshot_requested): New. |
|
292 (qemu_snapshot_request, qemu_snapshot_requested): New functions. |
|
293 (main_loop): Check is a snapshot has been requested. |
|
294 * boards/syborg.dts: Add snapshot device. |
|
295 * sysemu.h (qemu_snapshot_request, qemu_snapshot_requested): Add |
|
296 Prototypes. |
|
297 * hw/syborg_svpsnap.c: Remove. |
|
298 * hw/syborg.h (SYBORG_ID_SNAPSHOT): New. |
|
299 * hw/syborg_snapshot.c: New file. |
|
300 |
|
301 2009-01-16 Paul Brook <paul@codesourcery.com> |
|
302 |
|
303 * devtree.c (QEMUDeviceClass): Add save_state, load_state and |
|
304 savevm_version. |
|
305 (qdev_add_savevm): New function. |
|
306 (create_from_node): Call register_savevm. |
|
307 * devtree.h (qdev_add_savevm): Add prototype. |
|
308 * hw/syborg_serial.c (syborg_serial_save, syborg_serial_load): New. |
|
309 (syborg_serial_register): Add savevm. |
|
310 * hw/syborg_pointer.c (syborg_pointer_save, syborg_pointer_load): New. |
|
311 (syborg_pointer_register): Add savevm. |
|
312 * hw/syborg_rtc.c (syborg_rtc_save, syborg_rtc_load): New. |
|
313 (syborg_rtc_register): Add savevm. |
|
314 * hw/syborg_keyboard.c (syborg_keyboard_save, syborg_keyboard_save): |
|
315 New. |
|
316 (syborg_keyboard_load): Add savevm. |
|
317 * hw/syborg_timer.c (syborg_timer_save, syborg_timer_load): New. |
|
318 (syborg_timer_register): Add savevm. |
|
319 * hw/syborg_fb.c (syborg_fb_save, syborg_fb_load): New. |
|
320 (syborg_fb_register): Add savevm. |
|
321 * hw/fb_render_engine.c (qemu_put_render_data, qemu_get_render_data): |
|
322 New. |
|
323 * hw/fb_render_engine.h (qemu_put_render_data, qemu_get_render_data): |
|
324 Add prototypes. |
|
325 * hw/syborg_interrupt.c (syborg_int_save, syborg_int_load): New. |
|
326 (syborg_interrupt_register): Add savevm. |
|
327 * hw/syborg_hostfs.c (hostfs_handle_cache): Add is_fd. |
|
328 (add_file_cache_entry, add_dir_cache_entry): Set is_fd. |
|
329 (get_file_cache_entry, get_dir_cache_entry): Check is_fd. |
|
330 (syborg_hostfs_reset, syborg_hostfs_save, syborg_hostfs_load): New. |
|
331 (syborg_hostfs_create): Add savevm. |
|
332 * hw/syborg_platform.c (syborg_platform_create): Add comment. |
|
333 * target-arm/machine.c (cpu_save): Save cp15.c0_cssel, teecr and |
|
334 teehbr. |
|
335 (cpu_load): Load cp15.c0_cssel, teecr and teehbr. |
|
336 |
|
337 2009-01-15 Paul Brook <paul@codesourcery.com> |
|
338 |
|
339 * hw/syborg_hostfs.c (decode_error): Fix preprocessor warnings. |
|
340 (hostfs_file_open): Fix linux build. |
|
341 |
|
342 2009-01-15 Paul Brook <paul@codesourcery.com> |
|
343 |
|
344 * Makefile.target (DEVICES): Add syborg_hostfs. |
|
345 * boards/syborg.dts: Fix base address of 4th serial port. |
|
346 Add hostfs device. |
|
347 * devtree.c (qdev_get_property_string): New function. |
|
348 * devtree.h (qdev_get_property_string): Add prototype. |
|
349 * hw/syborg.h (SYBORG_ID_HOSTFS): Define. |
|
350 * hw/syborg_svphostfs.c: Remove. |
|
351 * hw/syborg_hostfs.c: New file. |
|
352 |
|
353 2009-01-14 Paul Brook <paul@codesourcery.com> |
|
354 |
|
355 * Makefile.target (DEVICE_OBJS): Set. Add special CPPFLAGS. |
|
356 * devtree.c (qdev_create): Make static. |
|
357 * devtree.h (DEVICE_NAME_register): Add prototype. |
|
358 * hw/syborg_serial.c (syborg_serial_create): Make static. |
|
359 * hw/syborg_fb.c (syborg_fb_create): Make static. |
|
360 * hw/syborg_platform.c (syborg_platform_create): Make static. |
|
361 |
|
362 2008-12-31 Paul Brook <paul@codesourcery.com> |
|
363 |
|
364 * hw/fb_render_engine.c (calc_dest_row_address): Make row signed so |
|
365 that offset caculation is extended correctly. |
|
366 |
|
367 2008-12-30 Paul Brook <paul@codesourcery.com> |
|
368 |
|
369 * hw/arm_pic.c (arm_cpu_reset_dev): Add parentheses. |
|
370 |
|
371 2008-12-15 Paul Brook <paul@codesourcery.com> |
|
372 |
|
373 * hw/syborg.txt: Remove (superseded by svp-docs). |
|
374 |
|
375 2008-12-15 Paul Brook <paul@codesourcery.com> |
|
376 |
|
377 * hw/syborg.txt: Fix typos. |
|
378 |
|
379 2008-12-12 Daniel Gutson <dgutson@codesourcery.com> |
|
380 |
|
381 * hw/syborg_fb.c (syborg_fb_apply_resize): Deleted. |
|
382 (syborg_fb_write): Changed to call console_render. |
|
383 * hw/fb_render_engine.c (console_render): New. |
|
384 * hw/fb_render_engine.h (get_screen_width): Declaration deleted. |
|
385 (get_screen_height): Likewise. |
|
386 (console_render): New declaration. |
|
387 |
|
388 2008-12-11 Daniel Gutson <dgutson@codesourcery.com> |
|
389 |
|
390 * hw/fb_render_template.h (fb_draw_line15_*): Fixed bit handling. |
|
391 (fb_draw_line16_*): Pixel swapping removed. |
|
392 * hw/fb_render_engine.c (update_complete_palette): Fixed palette lengths. |
|
393 Update palette 0 too. |
|
394 (update_rotation_data): Fixed the dest_start_offset calculus. |
|
395 |
|
396 2008-12-10 Paul Brook <paul@codesourcery.com> |
|
397 |
|
398 * hw/arm_pic.c (arm_cpu_reset_dev): New function. |
|
399 (arm_cpu_create): Initialize loop counter. Use cpu_arm_init. |
|
400 (cpu_device_register): Add cp15 cache id properties. |
|
401 * cpu-defs.h (CPU_COMMON): Add qdev; |
|
402 * target-arm/helper.c (cpu_reset_model_id): Set cache ID registers. |
|
403 (cpu_reset): Call arm_cpu_reset_dev. |
|
404 (cpu_arm_init): Add dev argument. |
|
405 (set_cp15): Implement cssel register. |
|
406 (get_cp15): Implement armv7 cache ID registers properly. |
|
407 * target-arm/cpu.h (CPUARMState): Add cp15.c0_ccsid, cp15.c0_clid and |
|
408 cp15.c0_cssel. |
|
409 (cpu_arm_init): Update prototype. |
|
410 (arm_cpu_reset_dev): Add prototype. |
|
411 (cpu_init): Add additional NULL arguent. |
|
412 |
|
413 2008-12-09 Paul Brook <paul@codesourcery.com> |
|
414 |
|
415 * hw/syborg_serial.c (FIFO_SIZE): Remove. Use s->fifo_size instead. |
|
416 (SERIAL_FIFO_SIZE): Define. |
|
417 (syborg_serial_state): Add fifo_size. Make read_fifo a pointer. |
|
418 (syborg_serial_read): Handle SERIAL_FIFO_SIZE. |
|
419 (syborg_serial_create): Allocate FIFO. |
|
420 (syborg_serial_init): Ditto. |
|
421 (syborg_serial_register): Add fifo-size property. |
|
422 * hw/syborg_pointer.c (FIFO_SIZE): Remove. Use s->fifo_size instead. |
|
423 (POINTER_FIFO_SIZE): Define. |
|
424 (syborg_pointer_state): Add fifo_size. Make event_fifo a pointer. |
|
425 (syborg_pointer_read): Handle POINTER_FIFO_SIZE. |
|
426 (syborg_pointer_create): Allocate FIFO. |
|
427 (syborg_pointer_init): Ditto. |
|
428 (syborg_pointer_register): Add fifo-size property. |
|
429 * hw/syborg_keyboard.c (FIFO_SIZE): Remove. Use s->fifo_size instead. |
|
430 (KBD_FIFO_SIZE): Define. |
|
431 (syborg_keyboard_state): Add fifo_size. Make key_fifo a pointer. |
|
432 (syborg_keyboard_read): Handle KBD_FIFO_SIZE. |
|
433 (syborg_keyboard_create): Allocate FIFO. |
|
434 (syborg_keyboard_init): Ditto. |
|
435 (syborg_keyboard_register): Add fifo-size property. |
|
436 * syborg.txt: Document new fifo-size properties and registers. |
|
437 |
|
438 2008-12-04 Paul Brook <paul@codesourcery.com> |
|
439 |
|
440 * libfdt/libfdt_env.h: Use bswap.h and WORDS_BIGENDIAN. |
|
441 * libfdt/patch.libfdt: New file. |
|
442 * Makefile: Fix out of tree builds. Append -Ilibfdt to CPPFLAGS. |
|
443 |
|
444 2008-12-02 Paul Brook <paul@codesourcery.com> |
|
445 |
|
446 * devtree.c (devtree_ram_map, devtree_ram_map_size): New. |
|
447 (check_cells): New function. |
|
448 (create_from_node): Use it. |
|
449 (create_ram): Use check_cells. Build ram map. |
|
450 (check_interrupt_cells): New function. |
|
451 (find_interrupt_parent): Use check_cells and check_interrupt_cells. |
|
452 (devtree_get_config_int): New fuction. |
|
453 (devtree_machine_init): Update cpu_bootstrap call. |
|
454 * devtree.h (devtree_ram_region): New. |
|
455 (devtree_ram_map, devtree_ram_map_size): Declare. |
|
456 (devtree_get_config_int): New prototype. |
|
457 (cpu_bootstrap): Update prototype. |
|
458 * hw/arm_boot.c (cpu_bootstrap): Get parameters from device tree. |
|
459 |
|
460 2008-12-02 Paul Brook <paul@codesourcery.com> |
|
461 |
|
462 * vl.c (ram_load_v1, ram_save_block, ram_load_dead, ram_load): Use |
|
463 host ram access helpers. |
|
464 (main): Only allocate RAM when kqemu_allowed. |
|
465 * sysemu.h ((kqemu_allowed): Move ... |
|
466 * qemu-common.h (kqemu_allowed): ... to here. |
|
467 * exec.c (phys_ram_base): Remove. |
|
468 (cpu_physical_memory_reset_dirty, tlb_update_dirty, |
|
469 tlb_set_page_exec): Use host ram access helpers. |
|
470 (get_ram_offset_phys, host_ram_addr, ram_offset_from_host): New |
|
471 functions. |
|
472 (kqemu_phys_ram_base): New. |
|
473 (qemu_ram_alloc): Allocate ram on the fly. |
|
474 (io_mem_init): Only allocate RAM when kqemu_allowed. |
|
475 (notdirty_mem_writeb, notdirty_mem_writew, notdirty_mem_writel, |
|
476 cpu_physical_memory_rw, cpu_physical_memory_rw, |
|
477 cpu_physical_memory_write_rom, ldl_phys, ldq_phys, stq_phys_notdirty, |
|
478 stl_phys): Use host ram access helpers. |
|
479 * devtree.c (create_ram): Use qemu_ram_alloc. |
|
480 * hw/syborg.c (syborg_init): Use qemu_ram_alloc. |
|
481 * exec-all.h (get_phys_addr_code): Use host ram access helpers. |
|
482 * hw/nseries.c (n8x0_init): Ditto. |
|
483 * hw/armv7m.c (armv7m_init): Ditto. |
|
484 * hw/soc_dma.h (soc_dma_port_add_mem_ram): Ditto. |
|
485 * hw/pl110.c (pl110_update_display): Ditto. |
|
486 * hw/palm.c (palmte_init): Ditto. |
|
487 * hw/pflash_cfi01.c (pflash_cfi01_register): Ditto. |
|
488 * hw/arm_boot.c (arm_load_kernel): Ditto. |
|
489 * hw/omap_lcdc.c (omap_update_displaym, omap_lcd_update): Ditto. |
|
490 * hw/pflash_cfi02.c (pflash_cfi02_register): Ditto. |
|
491 * hw/zaurus.c (sl_bootparam_write): Ditto. |
|
492 * hw/onenand.c (onenand_init): Ditto. |
|
493 * hw/pc.c (pc_init1): Ditto. |
|
494 * hw/pxa2xx_lcd.c (pxa2xx_descriptor_load, |
|
495 pxa2xx_lcdc_dma0_redraw_horiz, pxa2xx_lcdc_dma0_redraw_vert, |
|
496 pxa2xx_update_display): Ditto. |
|
497 * hw/musicpal.c (target2host_addr, host2target_addr): Ditto. |
|
498 * cpu-all.h (host_ram_addr, ram_offset_from_host, |
|
499 get_ram_offset_phys): Add prototypes. |
|
500 (phys_ram_base): Remove. |
|
501 (kqemu_phys_ram_base): Declare. |
|
502 * kqemu.c (kqemu_init): Use kqemu_phys_ram_base. |
|
503 * hw/fb_render_engine.c (calc_src_row_address): Map physial address to |
|
504 ram offset. |
|
505 (render): Use host ram access helpers. |
|
506 |
|
507 2008-12-02 Paul Brook <paul@codesourcery.com> |
|
508 |
|
509 * Makefile.target (DEVICES): Set. |
|
510 (OBJS): Use DEVICES. Add devices.o and devtree.o. |
|
511 (devices.c): New rule. |
|
512 * libfdt/: Import libfdt. |
|
513 * gen_devices.sh: New file. |
|
514 * console.h (global_display_state): Declare. |
|
515 * vl.c (global_display_state): Define. |
|
516 (find_machine): Try a device tree file. |
|
517 * boards/syborg.dts: New. |
|
518 * Makefile: Add libfdt. |
|
519 * devtree.c: New file. |
|
520 * devtree.h: New file. |
|
521 * hw/syborg_serial.c (syborg_serial_create, syborg_serial_register): |
|
522 New fuctions. |
|
523 * hw/arm_boot.c (cpu_bootstrap): New function. |
|
524 * hw/syborg_pointer.c (syborg_pointer_create, |
|
525 syborg_pointer_register): New functions. |
|
526 * hw/syborg_rtc.c (syborg_rtc_create, syborg_rtc_register): New |
|
527 functions. |
|
528 * hw/syborg_keyboard.c (syborg_keyboard_create, |
|
529 syborg_keyboard_register): New functions. |
|
530 * hw/syborg_timer.c (syborg_timer_create, syborg_timer_register): New |
|
531 functions. |
|
532 * hw/arm_pic.c (arm_cpu_create, cpu_device_register): New functions. |
|
533 * hw/syborg_fb.c (syborg_fb_create, syborg_fb_register): New |
|
534 functions. |
|
535 * hw/syborg_interrupt.c (syborg_int_create, |
|
536 syborg_interrupt_register): New functions. |
|
537 * hw/syborg.txt: Document platform device and device tree properties. |
|
538 * hw/syborg.h (SYBORG_ID_PLATFORM): Define. |
|
539 * hw/boards.h (devtree_machine): Declare. |
|
540 * hw/syborg_platform.c: New file. |
|
541 |
|
542 2008-11-28 Paul Brook <paul@codesourcery.com> |
|
543 |
|
544 * hw/syborg_fb2.c: Rename... |
|
545 * hw/syborg_fb.c: ... to this. Replace old implementation. |
|
546 * Makefile.target (OBJS): Update to match. |
|
547 |
|
548 2008-11-26 Paul Brook <paul@codesourcery.com> |
|
549 |
|
550 * hw/syborg_serial.c: Add debug code. |
|
551 |
|
552 2008-11-18 Paul Brook <paul@codesourcery.com> |
|
553 Daniel Gutson <dgutson@codesourcery.com> |
|
554 |
|
555 * hw/fb_render_decl.h: New file. |
|
556 * hw/fb_render_def.h: New file. |
|
557 * hw/fb_render_template.h: Move code to new headers. Implement |
|
558 arbitrary stride for rotation. Implment 15bpp and 24bpp. |
|
559 * hw/syborg_fb2.c: Remove OLD_ROM hacks. Enable device when FB_BASE |
|
560 set in compatibility mode. Rename FB_ROTATION to FB_ORIENTATION. |
|
561 * hw/syborg.txt: Update framebuffer documentation. |
|
562 * hw/syborg.c (syborg_init): Create old framebuffers. |
|
563 * hw/syborg.h (syborg_fb_init): Update prototype. |
|
564 * hw/fb_render_engine.c: Use new headers. Rename rotation to |
|
565 orientation. |
|
566 (get_screen_width): New function. |
|
567 (get_screen_height): New function. |
|
568 (calc_bytes_per_src_row): Handle 15bpp and 24bpp. |
|
569 (get_draw_fn): Use new table. |
|
570 (calc_dest_row_direction): Remove. |
|
571 (update_palette1): Remove. Merge code... |
|
572 (update_complete_palette): ... to here. |
|
573 (using_palette): Remove. |
|
574 (rotations): New. |
|
575 (update_rotation_data): New function. |
|
576 (update_render_data): Use update_rotation_data. |
|
577 (set_palette_value): Trigger full update. |
|
578 (render_blank_screen): New function. |
|
579 (render): Handle rotation. |
|
580 * hw/fb_render_engine.h (fb_rotation): Add flipped values. |
|
581 (get_screen_width): Add prototype. |
|
582 (get_screen_height): Add prototype. |
|
583 |
|
584 2008-11-13 Daniel Gutson <daniel@codesourcery.com> |
|
585 |
|
586 * hw/pl110_template.h (pl110_draw_line32_*): Byteswapping fixed. |
|
587 |
|
588 2008-11-13 Daniel Gutson <daniel@codesourcery.com> |
|
589 |
|
590 * hw/fb_render_template.h (fb_draw_line32_*): Byteswapping fixed. |
|
591 |
|
592 2008-11-13 Paul Brook <paul@codesourcery.com> |
|
593 |
|
594 * hw/syborg_keyboard.c (syborg_keyboard_read): Fix empty FIFO test. |
|
595 (syborg_keyboard_event): Push correct value to FIFO. |
|
596 |
|
597 2008-11-12 Daniel Gutson <dgutson@codesourcery.com> |
|
598 |
|
599 * hw/syborg_fb2 (syborg_fb_update): Use qemu_int_raise/lower instead |
|
600 of qemu_set_irq to fix irq level bug). |
|
601 (syborg_fb_init): Framebuffer device starts disabled. |
|
602 |
|
603 2008-11-10 Paul Brook <paul@codesourcery.com> |
|
604 |
|
605 * hw/syborg_fb2.c (syborg_fb_init): Remove bogus base set. |
|
606 |
|
607 2008-11-10 Paul Brook <paul@codesourcery.com> |
|
608 |
|
609 * hw/syborg_fb2.c (OLD_ROM): Don't define. |
|
610 (syborg_fb_read, syborg_fb_write): Isolate guest from implementation |
|
611 details. |
|
612 |
|
613 2008-11-10 Paul Brook <paul@codesourcery.com> |
|
614 |
|
615 * hw/fb_render_engine.c: Fix host/target address confusion. |
|
616 |
|
617 2008-11-10 Paul Brook <paul@codesourcery.com> |
|
618 |
|
619 * syborg.txt: Document that IRQ0 is unused. |
|
620 |
|
621 2008-11-10 Daniel Gutson <dgutson@codesourcery.com> |
|
622 |
|
623 * Makefile.target (OBJS): Add syborg_fb2.o, fb_render_engine.o |
|
624 * hw/syborg.txt: Document framebuffer device. |
|
625 * hw/syborg_fb2: New file. |
|
626 * hw/fb_render_engine.c: New file. |
|
627 * hw/fb_render_engine.h: New file. |
|
628 * hw/fb_render_template.h: New file. |
|
629 * hw/syborg.h: Add framebuffer device ID. |
|
630 |
|
631 2008-11-10 Paul Brook <paul@codesourcery.com> |
|
632 |
|
633 * hw/syborg.txt: Spelling fixes. |
|
634 |
|
635 2008-11-10 Paul Brook <paul@codesourcery.com> |
|
636 |
|
637 * hw/syborg.txt: Document serial port DMA. |
|
638 * hw/syborg_serial.c (SERIAL_DMA_TX_ADDR, SERIAL_DMA_TX_COUNT, |
|
639 SERIAL_DMA_RX_ADDR, SERIAL_DMA_RX_COUNT, SERIAL_INT_FIFO, |
|
640 SERIAL_INT_DMA_TX, SERIAL_INT_DMA_RX): Define. |
|
641 (syborg_serial_state): Add dma_tx_ptr, dma_rx_ptr and dma_rx_size. |
|
642 (syborg_serial_update): Add DMA interrupts. |
|
643 (fifo_pop): New function. |
|
644 (fifo_push): New function. |
|
645 (do_dma_tx): New function. |
|
646 (dma_rx_start): New function. |
|
647 (syborg_serial_read): Use fifo_pop. Implement DMA registers. |
|
648 (syborg_serial_write): Implement DMA registers. |
|
649 (syborg_serial_can_receive): Handle DMA. |
|
650 (syborg_serial_receive): Ditto. |
|
651 |
|
652 2008-11-08 Paul Brook <paul@codesourcery.com> |
|
653 |
|
654 * hw/syborg.txt: Tweak keyboard and serial controller docs. |
|
655 |
|
656 2008-11-07 Paul Brook <paul@codesourcery.com> |
|
657 |
|
658 * Makefile.target (OBJS): Add syborg_pointer.o. |
|
659 * hw/syborg.txt: Add base board description and pointer device. |
|
660 * hw/syborg.c (syborg_init): Use new touchscreen. |
|
661 * hw/syborg.h (syborg_touchscreen_init): Add prototype. |
|
662 (syborg_mouse_init): Add prototype. |
|
663 (SYBORG_ID_MOUSE, SYBORG_ID_TOUCHSCREEN): Define. |
|
664 * hw/syborg_mouse.c: Mark as obsolete. |
|
665 |
|
666 2008-11-07 Paul Brook <paul@codesourcery.com> |
|
667 |
|
668 * target-arm/helper.c (get_cp15): Report sane cache size. |
|
669 |
|
670 2008-11-07 Paul Brook <paul@codesourcery.com> |
|
671 |
|
672 * Makefile.target: Add old syborg devices. |
|
673 * hw/syborg.txt: Suport both old and new device models. |
|
674 * hw/syborg.h: Add old devices and new device IDs. |
|
675 * hw/syborg.txt: New file. |
|
676 * hw/syborg_rtc.c: New file. |
|
677 * hw/syborg_keyboard.c: Rewrite. |
|
678 * hw/syborg_timer.c: Ditto. |
|
679 * hw/syborg_serial.c: Ditto. |
|
680 * hw/syborg_interrupt.c: Ditto. |
|
681 * hw/syborg_keyboard_old.c: Move old device here. |
|
682 * hw/syborg_timer_old.c: Ditto. |
|
683 * hw/syborg_serial_old.c: Ditto. |
|
684 * hw/syborg_interrupt_old.c: Ditto. |
|
685 * hw/boards.h: Add oldsyborg_machine. |
|
686 * target-arm/machine.c: Ditto. |
|
687 |
|
688 2008-11-05 Paul Brook <paul@codesourcery.com> |
|
689 |
|
690 * hw/syborg.c (syborg_state_s, syborg_cp14_read, syborg_cp14_write): |
|
691 Remove. |
|
692 (syborg_init): Remove cp14 hacks. |
|
693 * target-arm/helper.c (cpu_reset_model_id): Set ARM_FEATURE_THUMB2EE. |
|
694 (set_teecr): New helper. |
|
695 * target-arm/helpers.h: Add set_teecr. |
|
696 * target-arm/cpu.h (CPUARMState): Add teecr and teehbr. |
|
697 (arm_features): Add ARM_FEATURE_THUMB2EE. |
|
698 * target-arm/translate.c (disas_cp14_read): New function. |
|
699 (disas_cp14_write): New function. |
|
700 (disas_coproc_insn): Handle cp14 instructions. |
|
701 |
|
702 2008-11-05 Paul Brook <paul@codesourcery.com> |
|
703 |
|
704 * target-arm/translate.c (disas_vfp_insn): Fix translation of VFP |
|
705 fixed point conversion routines. |
|
706 * target-arm/helper.c (VFP_CONV_FIX): Negate shift count. |
|
707 |
|
708 2008-11-05 Paul Brook <paul@codesourcery.com> |
|
709 |
|
710 * fpu/softfloat.c (float32_scalbn, float64_scalbn, float128_scalbn): |
|
711 Correctly normalize values and handle zero inputs. |
|
712 |
|
713 2008-11-03 Paul Brook <paul@codesourcery.com> |
|
714 |
|
715 * fpu/softfloat.c (roundAndPackFloat32, roundAndPackFloat64, |
|
716 roundAndPackFloatx80, roundAndPackFloat128, addFloat32Sigs, |
|
717 addFloat64Sigs, addFloat128Sigs): Add flush to zero for denormal |
|
718 results. |
|
719 * fpu/softfloat.h (float_status): Add flush_to_zero and |
|
720 default_nan_mode. |
|
721 (set_flush_to_zero): New function. |
|
722 (set_default_nan_mode): New function. |
|
723 * fpu/softfloat-specialize.h (float32_default_nan, |
|
724 float64_default_nan): Use correct value for ARM. |
|
725 (propagateFloat32NaN, propagateFloat64NaN, propagateFloatx80NaN, |
|
726 propagateFloat64NaN): Implement default NaN mode. |
|
727 * target-arm/helper.c (vfp_set_fpscr): Implement FZ and DN bits. |
|
728 |
|
729 2008-11-03 Paul Brook <paul@codesourcery.com> |
|
730 |
|
731 * target-arm/translate.c (disas_vfp_insn): Fix order of operations for |
|
732 fnmsc. |
|
733 |
|
734 2008-11-03 Paul Brook <paul@codesourcery.com> |
|
735 |
|
736 * cpu-exec.c (cpu_resume_from_signal): Reset env->exception_index. |
|
737 |
|
738 2008-11-03 Paul Brook <paul@codesourcery.com> |
|
739 |
|
740 * target-arm/helper.c (check_ap): Implement ARMv7 AP check. |
|
741 (get_phys_addr_v6): Implement ARMv7 simplified AP model. |
|
742 |
|
743 2008-11-03 Paul Brook <paul@codesourcery.com> |
|
744 |
|
745 * target-arm/translate.c (gen_vfp_st): Fix typo. |
|
746 |
|
747 2008-10-31 Paul Brook <paul@codesourcery.com> |
|
748 |
|
749 * configure: Add --sdl-config. |
|
750 |
|
751 2008-10-31 Paul Brook <paul@codesourcery.com> |
|
752 |
|
753 * target-arm/op_helper.c (ALIGNED_ONLY): Define. |
|
754 (do_restore_state): New function. |
|
755 (do_unaligned_access): New function. |
|
756 (tlb_fill): Use do_restore_state. |
|
757 * target-arm/translate.c (gen_vfp_ld): Split doubleword VFP loads. |
|
758 (gen_vfp_st): Split doubleword VFP stores. |
|
759 |
|
760 2009-01-15 Paul Brook <paul@codesourcery.com> |
|
761 |
|
762 * gdbstub.c (gdbserver_start): Fix merge breakage. |
|
763 |
|
764 2009-01-15 Paul Brook <paul@codesourcery.com> |
|
765 |
|
766 * qemu-char.c (qemu_chr_open): Remove stray code from stdio changes. |
|
767 |
|
768 2008-12-30 Paul Brook <paul@codesourcery.com> |
|
769 |
|
770 * target-arm/neon_helper.c (rshl): Fix typo. |
|
771 |
|
772 2008-12-30 Paul Brook <paul@codesourcery.com> |
|
773 |
|
774 * qemu-char.c: Restore stdio handling lost in merge. |
|
775 |
|
776 2008-12-28 Paul Brook <paul@codesourcery.com> |
|
777 |
|
778 * configure: Use stub host USB on mingw32. |
|
779 * qemu-sockets.c (gai_strerror): Provide definition for old mingw32. |
|
780 |
|
781 2008-12-03 Nathan Froyd <froydnj@codesourcery.com> |
|
782 |
|
783 * hw/dummy_ppc.c (dummy_ppc_machine): Use C99-style initializers. |
|
784 Initialize max_cpus. |
|
785 |
|
786 2008-12-02 Daniel Jacobowitz <dan@codesourcery.com> |
|
787 |
|
788 * linux-user/syscall.c (do_syscall): Check gdb_wrapper for ptrace |
|
789 emulation. |
|
790 * linux-user/main.c (gdb_wrapper): New variable. |
|
791 (usage): Display -wrapper. |
|
792 (main): Handle -wrapper. |
|
793 * gdbstub.c (gdb_queuesig): Always queue signals for -wrapper. |
|
794 (gdb_handlesig): Start the server at the first signal for -wrapper. |
|
795 * linux-user/qemu.h (gdb_wrapper): Declare. |
|
796 |
|
797 2008-12-02 Daniel Jacobowitz <dan@codesourcery.com> |
|
798 |
|
799 Issue #4298 |
|
800 * release-notes-csl.xml: Document fork and signal fixes. |
|
801 |
|
802 * linux-user/syscall.c (do_fork): Call fork_end for non-NPTL also. |
|
803 * linux-user/signal.c (signal_init): Register handler for all fatal |
|
804 signals. |
|
805 (force_sig): Report fatal signals to GDB. |
|
806 (queue_signal): Use gdb_queuesig. |
|
807 (host_signal_handler): Only report kernel-generated SIGSEGV / SIGBUS |
|
808 as exceptions. |
|
809 (do_sigaction): Do not restore SIG_DFL for fatal signals. |
|
810 (process_pending_signals): Handle cancelled signals. |
|
811 * linux-user/main.c (fork_end): Call gdbserver_fork for non-NPTL also. |
|
812 * gdbstub.c (SIGTRAP, SIGINT): Remove definitions. |
|
813 (GDB_SIGNAL_0, GDB_SIGNAL_INT, GDB_SIGNAL_TRAP, GDB_SIGNAL_UNKNOWN): New |
|
814 constants. |
|
815 (gdb_signal_table, target_signal_to_gdb, gdb_signal_to_target): New. |
|
816 (gdb_handle_packet): Use GDB_SIGNAL_TRAP and gdb_signal_to_target. |
|
817 Clear the saved signal on a 'c' packet. |
|
818 (gdb_vm_stopped): Use GDB_SIGNAL_TRAP and GDB_SIGNAL_INT. |
|
819 (gdb_signalled, gdb_queuesig): New. |
|
820 (gdb_handlesig): Use target_signal_to_gdb. |
|
821 * gdbstub.h (gdb_signalled, gdb_queuesig): Declare. |
|
822 |
|
823 2008-11-12 Sandra Loosemore <sandra@codesourcery.com> |
|
824 |
|
825 * linux-user/syscall.c (do_syscall): Make #ifdef on |
|
826 TARGET_NR_inotify_init, TARGET_NR_inotify_add_watch, and |
|
827 TARGET_NR_inotify_rm_watch cases match that used previously |
|
828 in the file, to avoid references to undefined symbols. |
|
829 |
|
830 2008-10-29 Paul Brook <paul@codesourcery.com> |
|
831 |
|
832 * configure: Use CFLAGS and LDFLAGS in link tests. |
|
833 |
|
834 2008-10-29 Paul Brook <paul@codesourcery.com> |
|
835 |
|
836 Backport from upstream. |
|
837 * qemu-tool.c (qemu_get_clock): Use qemu_gettimeofday. |
|
838 |
|
839 2008-10-29 Paul Brook <paul@codesourcery.com> |
|
840 |
|
841 Backport from upstream. |
|
842 * vl.c (qemu_announce_self): Remove bogus TAP check. |
|
843 * configure: Use proper windows paths. |
|
844 * migration-tcp.c: Use proper socket functions. |
|
845 |
|
846 2008-10-29 Paul Brook <paul@codesourcery.com> |
|
847 |
|
848 * target-arm/helper.c (cpu_reset_model_id): Use proper v7 CacheType |
|
849 value. |
|
850 |
|
851 2008-10-28 Paul Brook <paul@codesourcery.com> |
|
852 |
|
853 * target-arm/helper.c (check_ap): Add hack to make VMSAv7 attributes |
|
854 work. |
|
855 |
|
856 2008-10-28 Paul Brook <paul@codesourcery.com> |
|
857 |
|
858 * Makefile.target (OBJS): Add syborg files. |
|
859 * hw/boards.h (syborg_machine): Declare. |
|
860 * target-arm/machine.c (register_machines): Add syborg_machine. |
|
861 * hw/syborg.c: New file |
|
862 * hw/syborg_dummy.c: New file |
|
863 * hw/syborg_fb.c: New file |
|
864 * hw/syborg.h: New file |
|
865 * hw/syborg_interrupt.c: New file |
|
866 * hw/syborg_keyboard.c: New file |
|
867 * hw/syborg_mouse.c: New file |
|
868 * hw/syborg_serial.c: New file |
|
869 * hw/syborg_svphostfs.c: New file |
|
870 * hw/syborg_svpsnap.c: New file |
|
871 * hw/syborg_timer.c: New file |
|
872 |
|
873 2008-10-28 Paul Brook <paul@codesourcery.com> |
|
874 |
|
875 * target-arm/helper.c (cpu_reset_model_id): Add A8 cache info hacks. |
|
876 (get_cp15): Ditto. |
|
877 |
|
878 2008-10-28 Paul Brook <paul@codesourcery.com> |
|
879 |
|
880 Backport from upstream. |
|
881 * usb-linux.c (usb_linux_update_endp_table): Use usb_ctrltransfer. |
|
882 |
|
883 2008-10-28 Paul Brook <paul@codesourcery.com> |
|
884 |
|
885 * target-arm/helper.c (set_cp15): Remove stray debugging printf. |
|
886 |
|
887 2008-10-24 Paul Brook <paul@codesourcery.com> |
|
888 |
|
889 * target-arm/helper.c (do_interrupt): Use VBAR. |
|
890 (set_cp15): Implement cp15 c12 (vector base address register). |
|
891 (get_cp15): Ditto. |
|
892 * target-arm/cpu.h (CPUARMState): Add cp15.c12_vbar. |
|
893 |
|
894 2008-10-20 Daniel Jacobowitz <dan@codesourcery.com> |
|
895 |
|
896 Issue #3871 |
|
897 * release-notes-csl.xml: Document. |
|
898 |
|
899 * target-ppc/translate.c (gen_bcond): Do not update NIP to the |
|
900 fallthrough address when single stepping. |
|
901 |
|
902 2008-10-20 Daniel Jacobowitz <dan@codesourcery.com> |
|
903 |
|
904 Issue #4075 |
|
905 * release-notes-csl.xml: Document. |
|
906 |
|
907 * i386.ld, x86_64.ld: Add .reserved2. |
|
908 * linux-user/main.c (RESERVED_SEGMENT_START, RESERVED_SEGMENT_SIZE): |
|
909 Adjust for PPC target. |
|
910 (RESERVED2_SEGMENT_START, RESERVED2_SEGMENT_SIZE): New. Use to |
|
911 create .reserved2. |
|
912 (main): Unmap both reserved segments. |
|
913 |
|
914 2008-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
|
915 |
|
916 * release-notes-csl.xml: Correct typos in AltiVec note. |
|
917 Remove AltiVec from Linux-specific note. |
|
918 |
|
919 2008-10-06 Andrew Stubbs <ams@codesourcery.com> |
|
920 |
|
921 Issue #3871 |
|
922 |
|
923 * linux-user/main.c (cpu_loop): Handle EXCP_DEBUG signal. |
|
924 |
|
925 2008-10-03 Nathan Froyd <froydnj@codesourcery.com> |
|
926 |
|
927 * release-notes-csl.xml (AltiVec instruction support): New note. |
|
928 * target-ppc/cpu.h (union ppc_avr_t): Add s8, s16, s32, s64, and |
|
929 f fields. |
|
930 (VSCR_NJ, VSCR_SAT, vscr_nj, vcsr_sat): Define. |
|
931 * target-ppc/op_mem.h: Fix lvx and stvx implementations. |
|
932 Add element-wise Altivec load and store instructions. Unify |
|
933 definitions for 32-bit and 64-bit targets. |
|
934 * target-ppc/op.c: Add ops for Altivec instructions. |
|
935 * target-ppc/translate.c (SIMM5, UIMM5, VSH): Define. |
|
936 Add translators for Altivec instructions. |
|
937 * target-ppc/op_helper.h: Add prototypes for Altivec instruction |
|
938 helpers. |
|
939 * target-ppc/op_helper.c: Add helpers for Altivec instructions. |
|
940 |
|
941 2008-10-02 Nathan Froyd <froydnj@codesourcery.com> |
|
942 |
|
943 * release-notes-csl.xml (Additional CPU emulations for QEMU): Tweak |
|
944 to mention e500 --cpu options. |
|
945 * target-ppc/translate.c (mbar): Correct opc3 field. |
|
946 * target-ppc/translate_init.c (spr_read_spefscr, spr_write_spefscr): |
|
947 New functions. |
|
948 (init_proc_e200): Use them. Add read/write access in user mode too. |
|
949 (init_proc_e500): Likewise. |
|
950 * target-ppc/op.c (op_load_spefscr, op_store_spefscr): New functions. |
|
951 |
|
952 2008-09-30 Catherine Moore <clm@codesourcery.com> |
|
953 |
|
954 Merge: |
|
955 r219891 (orig r5139): ths | 2008-09-02 10:39:45 -0700 |
|
956 * target-mips/translate_init.c (no_mmu_init): Only if |
|
957 not CONFIG_USER_ONLY. |
|
958 (cpu_mips_register): Initialize mmu if not CONFIG_USER_ONLY. |
|
959 |
|
960 2008-09-29 Nathan Froyd <froydnj@codesourcery.com> |
|
961 |
|
962 * target-ppc/translate.c (rlwimi): Remove bogus case. |
|
963 * target-ppc/op_helper.c (do_addmeo, do_addmeo_64): Don't set |
|
964 xer_ca when T0 == 0 |
|
965 (do_subfmeo): Likewise, for T0 == UINT32_MAX. |
|
966 (do_subfemo_64): Likewise, for T0 == UINT64_MAX. |
|
967 (do_sraw, do_srad): Correctly set xer_ca. |
|
968 (do_mullwo): Cast T0 and T1 to int32_t first. |
|
969 * target-ppc/op.c (op_add_me): Don't set xer_ca when T0 == 0 |
|
970 (op_add_me_64): Likewise. |
|
971 (op_subfme): Don't set xer_ca when T0 == UINT32_MAX. |
|
972 (op_subfme_64): Likewise, for UINT64_MAX. |
|
973 (op_addmeo): Set T1 to xer_ca. |
|
974 |
|
975 2008-09-26 Julian Brown <julian@codesourcery.com> |
|
976 |
|
977 * release-notes-csl.xml (Improvements to NEON support in QEMU): Add |
|
978 note. |
|
979 |
|
980 2008-09-25 Nathan Froyd <froydnj@codesourcery.com> |
|
981 |
|
982 * release-notes-csl.xml (-cpu now enables CPU-specific instructions): |
|
983 New note. |
|
984 * target-ppc/helper.c (cpu_ppc_reset): Turn on CPU instruction |
|
985 capability bits. |
|
986 |
|
987 2008-09-24 Paul Brook <paul@codesourcery.com> |
|
988 |
|
989 * fpu/softfloat.c (float32_to_float16): Fix rounding of very small |
|
990 values. |
|
991 |
|
992 2008-09-22 Julian Brown <julian@codesourcery.com> |
|
993 |
|
994 * target-arm/neon_helper.c (shl_u8, shl_u16, shl_u32): Fix |
|
995 greater-than-element-size boundary condition. |
|
996 (shl_s8, shl_s16, shl_s32): Likewise. |
|
997 (rshl_s8, rshl_s16, rshl_s32, rshl_u8, rshl_u16, rshl_u32) |
|
998 (qshl_s8, qshl_s16, qshl_s32, qshl_u8, qshl_u16, qshl_u32): Add |
|
999 casts to uses of -sizeof(), fix boundary conditions. |
|
1000 |
|
1001 2008-09-22 Paul Brook <paul@codesourcery.com> |
|
1002 |
|
1003 * exec-all.h (MAX_OP_PER_INSTR): Increase to 200. |
|
1004 |
|
1005 2008-09-22 Paul Brook <paul@codesourcery.com> |
|
1006 |
|
1007 * target-arm/translate.c (disas_neon_ls_insn): Remove redundant mask |
|
1008 operations in vld1 code. |
|
1009 |
|
1010 2008-09-22 Paul Brook <paul@codesourcery.com> |
|
1011 |
|
1012 * linux-user/main.c (fork_end): Call gdbserver_fork. |
|
1013 * gdbstub.c (gdbserver_fork): New function. |
|
1014 * gdbstub.h (gdbserver_fork): Add prototype. |
|
1015 |
|
1016 2008-09-21 Paul Brook <paul@codesourcery.com> |
|
1017 |
|
1018 Backport from upstream. |
|
1019 * target-arm/op_helper.c (neon_tbl): Fix shift count. |
|
1020 * target-arm/translate.c (target-arm/translate.c): Fix incorrect |
|
1021 register writeback for VDUP, VLD1(duplicate) and VTBL instructions. |
|
1022 |
|
1023 2008-09-21 Paul Brook <paul@codesourcery.com> |
|
1024 |
|
1025 * fpu/softfloat.c (packFloat16, float16_to_float32, |
|
1026 float32_to_float16): New functions. |
|
1027 * fpu/softfloat.h (float16_to_float32, float32_to_float16): Add |
|
1028 prototypes. |
|
1029 * target-arm/helper.c (cpu_reset_model_id): Add FP16 to "any" cpu. |
|
1030 (vfp_fcvt_f16_to_f32, vfp_fcvt_f32_to_f16): New helpers. |
|
1031 * target-arm/helpers.h (vfp_fcvt_f16_to_f32, vfp_fcvt_f32_to_f16): |
|
1032 New helpers. |
|
1033 * target-arm/cpu.h (arm_features): Add ARM_FEATURE_FP16. |
|
1034 * target-arm/translate.c (disas_vfp_insn): Add vcvth and vcvtb. |
|
1035 (disas_neon_data_insn): Add vcvt.f16.f32 and vcvt.f32.f16. |
|
1036 |
|
1037 2008-09-19 Nathan Froyd <froydnj@codesourcery.com> |
|
1038 |
|
1039 * target-ppc/op_template.h (op_load_crfr_T0_crf): New function. |
|
1040 * target-ppc/op_helper.c (do_fcmpu): Correctly set CR register |
|
1041 for comparisons against NaN. |
|
1042 (do_fcmpo): Likewise. |
|
1043 * target-ppc/translate.c (gen_op_load_crfr_T0): New table. |
|
1044 (fcmpo): Pass along the condition register being set. |
|
1045 (fcmpu): Likewise. |
|
1046 |
|
1047 2008-09-11 Sandra Loosemore <sandra@codesourcery.com> |
|
1048 |
|
1049 Issue #2978 |
|
1050 |
|
1051 * release-notes-csl.xml (Kernel version reported by QEMU): New note. |
|
1052 |
|
1053 2008-09-11 Paul Brook <paul@codesourcery.com> |
|
1054 |
|
1055 Backport from upstream: |
|
1056 * i386-dis.c (oappend): Fix bogus pstrcpy. |
|
1057 |
|
1058 2008-09-05 Nathan Sidwell <nathan@codesourcery.com> |
|
1059 |
|
1060 Issue #2978 |
|
1061 * linux-user/main.c (usage): Add -r option. |
|
1062 * qemu-doc.texi (Linux User space emulator): Document -r option. |
|
1063 |
|
1064 2008-09-05 Paul Brook <paul@codesourcery.com> |
|
1065 |
|
1066 * target-m68k/translate.c (mvzs): Fix sign extension logic. |
|
1067 |
|
1068 2008-09-04 Nathan Froyd <froydnj@codesourcery.com> |
|
1069 |
|
1070 * ppc-semi.c (HOSTED_ISATTY): Redefine. |
|
1071 (ppc_isatty_cb): New function. |
|
1072 (do_ppc_semihosting): Follow system call conventions in result. |
|
1073 |
|
1074 2008-09-01 Mark Mitchell <mark@codesourcery.com> |
|
1075 |
|
1076 * qemu-common.h (uninterrupted_open): Declare. |
|
1077 (uninterrupted_close): Likewise. |
|
1078 (uninterrupted_read): Likewise. |
|
1079 (uninterrupted_write): Likewise. |
|
1080 * cutils.c (uninterrupted_open): Define. |
|
1081 (uninterrupted_close): Likewise. |
|
1082 (uninterrupted_read): Likewise. |
|
1083 (uninterrupted_write): Likewise. |
|
1084 * arm-semi.c (do_arm_semihosting): Use them. |
|
1085 * ppc-semi.c (do_ppc_semihosting): Likewise. |
|
1086 * m68k-semi.c (do_m68k_semihosting): Likewise. |
|
1087 |
|
1088 2008-08-31 Mark Mitchell <mark@codesourcery.com> |
|
1089 |
|
1090 * arm-semi.c (do_arm_semihosting): Check for EINTR on calls to |
|
1091 open, read, write, and close. |
|
1092 * ppc-semi.c (do_ppc_semihosting): Likewise. |
|
1093 * m68k-semi.c (do_m68k_semihosting): Likewise. |
|
1094 |
|
1095 2008-08-27 Paul Brook <paul@codesourcery.com> |
|
1096 |
|
1097 * configure: Allow unknown configure options (again). |
|
1098 |
|
1099 2008-05-27 Paul Brook <paul@codesourcery.com> |
|
1100 |
|
1101 Backport from upstream. |
|
1102 * linux-user/syscall.c: Include linux_loop.h. |
|
1103 * linux-user/linux_loop.h: New file, avoid problems with old kernel |
|
1104 headers. |
|
1105 |
|
1106 2008-05-23 Paul Brook <paul@codesourcery.com> |
|
1107 |
|
1108 * linux-user/elfload.c (load_elf_binary): Set info->e_flags. |
|
1109 * linux-user/qemu.h (image_info): Add elf_flags. |
|
1110 * linux-user/main.c (cpu_loop): Byteswap instructions. |
|
1111 (main): Enable code byteswapping for BE8 binaries. |
|
1112 * disas.c (target_disas): Add flags for byteswapping. |
|
1113 * target-arm/cpu.h (CPUARMState): Add bswap_code. |
|
1114 * target-arm/translate.c (disas_arm_insn, disas_thumb2_insn, |
|
1115 disas_thumb_insn): Byteswap instructions. |
|
1116 (gen_intermediate_code_internal): Pass bswap flag to target_disas. |
|
1117 |
|
1118 2008-05-23 Paul Brook <paul@codesourcery.com> |
|
1119 |
|
1120 * linux-user/main.c (do_kernel_trap): Use proper guest memory access |
|
1121 routines. |
|
1122 |
|
1123 2008-04-06 Nathan Froyd <froydnj@codesourcery.com> |
|
1124 |
|
1125 * ppc-semi.c (HOSTED_UNLINK, HOSTED_STAT, HOSTED_LSTAT, HOSTED_FSTAT, |
|
1126 HOSTED_ISATTY, HOSTED_SYSTEM, HOSTED_RENAME): Define. |
|
1127 (translate_stat): Remove and replace with... |
|
1128 (translate_to_netbsd_stat): ..this. New function. |
|
1129 (ppc_stat_cb): New function. |
|
1130 (do_ppc_semihosting): Add HOSTED_UNLINK, HOSTED_STAT, HOSTED_LSTAT, |
|
1131 HOSTED_FSTAT, HOSTED_RENAME, HOSTED_ISATTY, and HOSTED_SYSTEM cases. |
|
1132 Fix HOSTED_LSTAT. Use ppc_stat_cb for HOSTED_STAT and HOSTED_FSTAT. |
|
1133 |
|
1134 2008-03-27 Sandra Loosemore <sandra@codesourcery.com> |
|
1135 |
|
1136 * target-m68k/helper.c (m68k_cpu_list): New. |
|
1137 * target-m68i/cpu.h (m68k_cpu_list): Declare. |
|
1138 (cpu_list): Define to use new function. |
|
1139 |
|
1140 2008-03-26 Paul Brook <paul@codesourcery.com> |
|
1141 |
|
1142 Backport from upstream. |
|
1143 * linux-user/elfload.c (create_elf_tables): Add AT_CLKTCK. |
|
1144 |
|
1145 2008-03-26 Paul Brook <paul@codesourcery.com> |
|
1146 |
|
1147 Backport from upstream. |
|
1148 * vl.c (main): Convert fixed length commandline buffers to pointers. |
|
1149 |
|
1150 2008-03-26 Paul Brook <paul@codesourcery.com> |
|
1151 |
|
1152 * linux-user/main.c (print_version): New function. |
|
1153 (usage): Use it. Add retcode and QEMU_BUGURL. |
|
1154 (main): Handle --help and --version. |
|
1155 * vl.c (version): Update Copyright. |
|
1156 |
|
1157 2008-03-26 Paul Brook <paul@codesourcery.com> |
|
1158 |
|
1159 * target-m68k/op.c (set_T0_s32): Fix typo. |
|
1160 |
|
1161 2008-03-25 Paul Brook <paul@codesourcery.com> |
|
1162 |
|
1163 * linux-user/elfload.c (x86_stack_size): Remove declaration. |
|
1164 (setup_arg_pages): Set info->stack_base. |
|
1165 * linux-user/syscall.c (TARGET_PROT_GROWSDOWN): Define. |
|
1166 (do_syscall): Add PROT_GROWSDOWN exec-stack hack. |
|
1167 * linux-user/qemu.h (image_info): Add stack_base. |
|
1168 (x86_stack_size): Add declaration. |
|
1169 |
|
1170 2008-03-25 Paul Brook <paul@codesourcery.com> |
|
1171 |
|
1172 * target-cris/cpu.h: Define MMAP_SHIFT. |
|
1173 * linux-user/syscall.c (do_syscall): Default MMAP_SHIFT=12. |
|
1174 * linux-user/main.c (cpu_loop): Fix m68k 6-arg syscall. |
|
1175 |
|
1176 2008-03-21 Paul Brook <paul@codesourcery.com> |
|
1177 |
|
1178 Backport from upstream. |
|
1179 * linux-user/signal.c (setup_return): Handle mode change on signal |
|
1180 entry. |
|
1181 (restore_sigcontext): Mask privileged bits. |
|
1182 |
|
1183 2008-03-14 Paul Brook <paul@codesourcery.com> |
|
1184 |
|
1185 * exec-all.h (MAX_OP_PER_INSTR): Increase to 64. |
|
1186 |
|
1187 2008-03-13 Paul Brook <paul@codesourcery.com> |
|
1188 |
|
1189 * vl.c (win_chr_stdio_poll): Correct buffer size. |
|
1190 |
|
1191 2008-03-07 Sandra Loosemore <sandra@codesourcery.com> |
|
1192 |
|
1193 * release-notes-csl.xml: Add new note for Linux user-mode emulator. |
|
1194 Further split up and tweak the notes for the QEMU CPU simulator |
|
1195 since we need to say slightly different things about how previous |
|
1196 behavior has changed on all of arm, power, and m68k. |
|
1197 |
|
1198 2008-03-06 Paul Brook <paul@codesourcery.com> |
|
1199 |
|
1200 * vl.c (host_alarm_handler): Handle NULL next_cpu. |
|
1201 |
|
1202 2008-03-06 Paul Brook <paul@codesourcery.com> |
|
1203 |
|
1204 * linux-user/main.c (main): Accept --foo as an alias for -foo. |
|
1205 |
|
1206 2008-02-29 Sandra Loosemore <sandra@codesourcery.com> |
|
1207 |
|
1208 * release-notes-csl.xml: Give previous note added a unique UUID. |
|
1209 |
|
1210 2008-02-28 Carlos O'Donell <carlos@codesourcery.com> |
|
1211 |
|
1212 * release-notes-csl.xml: Document QEMU support. |
|
1213 |
|
1214 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
|
1215 |
|
1216 Backport from trunk: |
|
1217 * vl.c (next_cpu, event_pending): New. |
|
1218 (cur_cpu): Move higher. |
|
1219 (host_alarm_handler, main_loop): Avoid missed interrupts. |
|
1220 |
|
1221 2008-02-26 Nathan Froyd <froydnj@codesourcery.com> |
|
1222 |
|
1223 * gdbstub.c (ldtul_p): Swap the 64-bit and 32-bit cases. |
|
1224 |
|
1225 2008-02-26 Paul Brook <paul@codesourcery.com> |
|
1226 |
|
1227 * vl.c (register_machines): Register dummy_ppc_machine first. |
|
1228 * gdbstub.c (cpu_gdb_read_register): Return correct FP register size. |
|
1229 |
|
1230 2008-02-21 Paul Brook <paul@codesourcery.com> |
|
1231 |
|
1232 * gdbstub.c (gdb_chr_can_receive): Accept blocks of data. |
|
1233 |
|
1234 2008-02-21 Paul Brook <paul@codesourcery.com> |
|
1235 |
|
1236 * vl.c (qemu_chr_open_stdio): Ignore SIGINT. |
|
1237 (qemu_chr_open_win_stdio): Ignore ^C. |
|
1238 |
|
1239 2008-01-22 Paul Brook <paul@codesourcery.com> |
|
1240 |
|
1241 * gdbstub.c (cpu_gdb_write_register): Fix comment typo. |
|
1242 |
|
1243 2008-01-09 Paul Brook <paul@codesourcery.com> |
|
1244 |
|
1245 * target-arm/op.c: Split env->NZF into NF and ZF. |
|
1246 * target-arm/helper.c: Ditto. |
|
1247 * target-arm/cpu.h: Ditto. |
|
1248 |
|
1249 2008-01-06 Paul Brook <paul@codesourcery.com> |
|
1250 |
|
1251 * configure: Re-add NPTL define. |
|
1252 |
|
1253 2007-12-10 Paul Brook <paul@codesourcery.com> |
|
1254 |
|
1255 * softmmu-semi.c (softmmu_target_strlen): New function. |
|
1256 (target_strlen): Ditto. |
|
1257 * Makefile.target (VL_OBJS): Add dummy_ppc.o and ppc-semi.o. |
|
1258 * ppc-semi.c: New file. |
|
1259 * vl.c (qemu_options): Enable semihosting for PPC. |
|
1260 (register_machines): Add dummy_ppc_machine. |
|
1261 * target-ppc/helper.h (powerpc_excp): Intercept semihosting syscalls. |
|
1262 * taret-ppc/cpu.h (do_ppc_semihosting): Add prototype. |
|
1263 * hw/boards.h (dummy_ppc_machine): Add declaration. |
|
1264 * hw/dummy_ppc.c: New file. |
|
1265 |
|
1266 2007-12-05 Paul Brook <paul@codesourcery.com> |
|
1267 |
|
1268 * x86_64.ld: Leave space for system emulation program headers. |
|
1269 * i386.ld: Ditto. |
|
1270 |
|
1271 2007-12-04 Paul Brook <paul@codesourcery.com> |
|
1272 |
|
1273 * x86_64.ld: Tweak .reserved section placement. |
|
1274 * i386.ld: Ditto. |
|
1275 * linux-user/main.c: Ditto. |
|
1276 |
|
1277 2007-11-27 Paul Brook <paul@codesourcery.com> |
|
1278 |
|
1279 * i386.ld: Add sysroot suffix to library search paths. |
|
1280 |
|
1281 2007-11-27 Paul Brook <paul@codesourcery.com> |
|
1282 |
|
1283 * osdep.c (localtime_r, gmtime_r): New functions. |
|
1284 * osdep.h (localtime_r, gmtime_r): Add prototypes. |
|
1285 * configure: Allow unknown configure options. |
|
1286 |
|
1287 2007-11-20 Paul Brook <paul@codesourcery.com> |
|
1288 |
|
1289 * target-ppc/translate_init.c (init_ppc_proc): Allow linux userspace |
|
1290 PVR read. |
|
1291 |
|
1292 2007-11-10 Paul Brook <paul@codesourcery.com> |
|
1293 |
|
1294 * hw/stellaris.c (GPTM_SCALE): Remove. |
|
1295 (stellaris_clock_scale): New variable. |
|
1296 (gptm_reload): Use it. |
|
1297 (pllcfg_sandstorm, pllcfg_fury): New variables. |
|
1298 (ssys_read): Implement PLLCFG. Set reference clock speed. |
|
1299 |
|
1300 2007-11-10 Paul Brook <paul@codesourcery.com> |
|
1301 |
|
1302 * hw/mpcore.c (mpcore_priv_read): Fix printf format mismatch. |
|
1303 (mpcore_priv_write): Ditto. |
|
1304 * hw/arm_gic.c (gic_dist_readb, gic_dist_writeb, gic_cpu_read, |
|
1305 gic_cpu_write): Ditto. |
|
1306 |
|
1307 2007-11-06 Paul Brook <paul@codesourcery.com> |
|
1308 |
|
1309 * Makefile.target: Add pl061.o |
|
1310 * vl.h (pl061_init): Add prototype. |
|
1311 * hw/stellaris.c (stellaris_init): Create GPIO. |
|
1312 * hw/pl061.c: New file. |
|
1313 |
|
1314 2007-11-06 Paul Brook <paul@codesourcery.com> |
|
1315 |
|
1316 * hw/ssd0323.c (ssd0323_xfer_ssi): Fix typo. |
|
1317 (ssd0323_cd): Add debug output. |
|
1318 |
|
1319 2007-11-05 Paul Brook <paul@codesourcery.com> |
|
1320 |
|
1321 * Makefile.target: Add ssd0303.o, pl022.o and ssd0323.o. |
|
1322 * vl.c (register_machines): Add lm3s6965evb_machine. |
|
1323 * vl.h (armv7m_init): Add. |
|
1324 (lm3s6965evb_machine): Declare. |
|
1325 (pl022_init): New prototype. |
|
1326 (ssd0323_xfer_ssi, ssd0323_init): New prototype. |
|
1327 * hw/ssd0323.c: New file. |
|
1328 * hw/armv7m.c (armv7m_init): Remove board init code. |
|
1329 (lm3s811evb_machine): Remove. |
|
1330 * hw/osram_oled.c: Rename... |
|
1331 * hw/ssd0303.c: ... to this. |
|
1332 * hw/pl022.c: New file. |
|
1333 * hw/stellaris.c: Define and use stellaris_boards. |
|
1334 (lm3s811evb_machine, lm3s6965evb_machine): New. |
|
1335 |
|
1336 2007-11-04 Paul Brook <paul@codesourcery.com> |
|
1337 |
|
1338 * Makefile.target: Set BASE_LDFLAGS unconditionally. Remove -shared |
|
1339 hacks. |
|
1340 * linux-user/main.c: Add .reserved section contents. |
|
1341 (main): Unmap reserved memory area. |
|
1342 * x86_64.ld: Add .reserved. Avoid SIZEOF_HEADERS. |
|
1343 * ia64.ld: Ditto. |
|
1344 * ppc.ld: Ditto. |
|
1345 * sparc.ld: Ditto. |
|
1346 * sparc64.ld: Ditto. |
|
1347 * s390.ld: Ditto. |
|
1348 * arm.ld: Ditto. |
|
1349 * m68k.ld: Ditto. |
|
1350 * i386.ld: Ditto. |
|
1351 |
|
1352 2007-10-18 Paul Brook <paul@codesourcery.com> |
|
1353 |
|
1354 * target-arm/translate.c (gen_intermediate_code_internal): Add |
|
1355 set_condexec calls. |
|
1356 |
|
1357 2007-10-18 Paul Brook <paul@codesourcery.com> |
|
1358 |
|
1359 * target-arm/translate.c (DISAS_JUMP_NEXT): Remove. |
|
1360 (DISAS_WFI, DISAS_SWI): Define. |
|
1361 (disas_cp15_insn): Use DISAS_WFI. |
|
1362 (gen_nop_hint): Ditto. |
|
1363 (disas_arm_insn): Call gen_set_condexec before raising an exception. |
|
1364 Use DISAS_SWI. |
|
1365 (disas_thumb_insn): Ditto. |
|
1366 (gen_intermediate_code_internal): Call gen_set_condexec before hitting |
|
1367 breakpoint. Avoid translating breakpointed instruction. |
|
1368 Handle DISAS_SWI and DISAS_WFI. |
|
1369 |
|
1370 2007-10-16 Paul Brook <paul@codesourcery.com> |
|
1371 |
|
1372 * linux-user/main.c (show_missing_syscalls): New variable. |
|
1373 (main): Set show_missing_syscalls. |
|
1374 * linux-user/qemu.h (linux-user/qemu.h): Add prototype. |
|
1375 * linux-user/syscall.c (do_syscall): Use show_missing_syscalls. |
|
1376 |
|
1377 2007-10-16 Paul Brook <paul@codesourcery.com> |
|
1378 |
|
1379 * target-arm/op_neon.h (unzip_u8, zip_u8): Fix bogus masks. |
|
1380 |
|
1381 2007-10-16 Paul Brook <paul@codesourcery.com> |
|
1382 |
|
1383 * linux-user/syscall.c (do_fork): Disable clone(CLONE_VM) with NPTL. |
|
1384 |
|
1385 2007-09-22 Paul Brook <paul@codesourcery.com> |
|
1386 |
|
1387 * m68k-semi.c (do_m68k_semihosting): Call gdb_exit. |
|
1388 |
|
1389 2007-09-14 Paul Brook <paul@codesourcery.com> |
|
1390 |
|
1391 * target-m68k/op.c (get_op, set_op, get_opf64, set_opf64): Move... |
|
1392 * target-m68k/op_helper.c (helper_get_op, helper_set_op, |
|
1393 helper_get_opf64, helper_set_opf64): ... To here. |
|
1394 |
|
1395 2007-09-14 Paul Brook <paul@codesourcery.com> |
|
1396 |
|
1397 * linux-user/main.c (usage): Use QEMU_PKGVERSION. |
|
1398 * vl.c (version): New function. |
|
1399 (help): Use it. |
|
1400 (QEMU_OPTION_version): Define. |
|
1401 (qemu_options): Add version. |
|
1402 (main): Handle QEMU_OPTION_version. |
|
1403 * monitor.c (do_info_version): Use QEMU_PKGVERSION. |
|
1404 * configure: Add --with-pkgversion and --with-bugurl. |
|
1405 |
|
1406 2007-08-29 Paul Brook <paul@codesourcery.com> |
|
1407 |
|
1408 * target-arm/op.c (op_movl_T0_cpsr): Mask out execution state bits. |
|
1409 * target-arm/helper.c (do_interrupt): Clear env->condexec_bits, not |
|
1410 unused uncached_cpsr bits. |
|
1411 * target-arm/cpu.h (CACHED_CPSR_BITS): Add CPSR_IT. |
|
1412 (CPSR_GE, CPSR_RESERVED, CPSR_USER, CPSR_EXEC): Define. |
|
1413 (cpsr_read): Use env->GE. |
|
1414 (cpsr_write): Set env->GE. |
|
1415 * target-arm/translate.c (msr_mask): Fix reserved masks for V6/V7. |
|
1416 (disas_arm_insn): Pass env to msr_mask. |
|
1417 |
|
1418 2007-08-24 Paul Brook <paul@codesourcery.com> |
|
1419 |
|
1420 * gdbstub.c (cpu_gdb_write_register): Avoid setting low bit of PC. |
|
1421 |
|
1422 2007-08-24 Paul Brook <paul@codesourcery.com> |
|
1423 |
|
1424 * target-arm/cpu.h (do_arm_semihosting): Add prototype. |
|
1425 * target-arm/helper.c (do_interrupt): Implement Thumb BKPT semihosting. |
|
1426 |
|
1427 2007-07-30 Paul Brook <paul@codesourcery.com> |
|
1428 |
|
1429 Merge from //csl/qemu/branches/armv7. |
|
1430 |
|
1431 2007-06-19 Paul Brook <paul@codesourcery.com> |
|
1432 |
|
1433 * vl.h (dpy_update, dpy_resize): Check for NULL callbacks. |
|
1434 |
|
1435 2007-06-18 Paul Brook <paul@codesourcery.com> |
|
1436 |
|
1437 * vl.c (start_rtc_timer): Disable timer warning. |
|
1438 |
|
1439 2007-06-18 Paul Brook <paul@codesourcery.com> |
|
1440 |
|
1441 * Makefile.target (VL_OBJS): Add dummy_m68k.o. |
|
1442 * vl.c (register_machines): Add dummy_m68k_machine. |
|
1443 * vl.h (dummy_m68k_machine): Add declaration. |
|
1444 * hw/dummy_m68k.c: New file. |
|
1445 |
|
1446 2007-04-29 Vladimir Prus <vladimir@codesourcery.com> |
|
1447 |
|
1448 * gdbstub.h (gdb_exit): Declare unconditionally. |
|
1449 * arm-semi.c (syscall_err): New. |
|
1450 (arm_semi_cb): For system mode, assign to syscall_err. |
|
1451 (arm_semi_flen_cb): New. |
|
1452 (do_arm_semihosting): Use string length including zero |
|
1453 character for all calls that use strings. Implement |
|
1454 SYS_FLEN in terms of fstat call. On exit, call gdb_exit. |
|
1455 * gdbstub.c (gdbserver_state): Define unconditionally. |
|
1456 (gdb_exit): Likewise. |
|
1457 (gdbserver_start): Don't malloc gdb state, use |
|
1458 gdbserver_state. |
|
1459 |
|
1460 2007-04-16 Paul Brook <paul@codesourcery.com> |
|
1461 |
|
1462 * gdbstub.c (gdb_handle_packet): Allow non-core regs in g/G packets. |
|
1463 |
|
1464 2007-04-16 Paul Brook <paul@codesourcery.com> |
|
1465 |
|
1466 * gdbstub.h (gdb_reg_cb): New typedef. |
|
1467 (gdb_register_coprocessor): New function. |
|
1468 * feature_to_c.sh: New file. |
|
1469 * Makefile.target (OBJS, VL_OBJS): Add gdbstub-xml.o |
|
1470 (gdbstub-xml.c): New rule. |
|
1471 * configure: Set gdb_xml_files. Define TARGET_XML_FILES. |
|
1472 * target-m68k/translate.c: Include gdbstub.h. |
|
1473 (fpu_gdb_get_reg, fpu_gdb_set_reg): New functions. |
|
1474 (cpu_m68k_register): Register FPU with gdb stub. |
|
1475 (cpu_dump_state): Fix FP register dumps. |
|
1476 * gdbstub/arm-core.xml: New file. |
|
1477 * gdbstub/arm-vfp.xml: New file. |
|
1478 * gdbstub/arm-vfp3.xml: New file. |
|
1479 * gdbstub/arm-neon.xml: New file. |
|
1480 * gdbstub/cf-fp.xml: New file. |
|
1481 * gdbstub/cf-core.xml: New file. |
|
1482 * target-arm/helper.c: Include gdbstub.h. |
|
1483 (vfp_gdb_get_reg, vfp_gdb_set_reg): New functions. |
|
1484 (cpu_arm_set_model): Register VFP with gdb stub. |
|
1485 * target-arm/cpu.h (arm_features): Add VFP3 and NEON. |
|
1486 * gdbstub.c (GDBRegisterState): Define. |
|
1487 (all_regs, gdb_has_xml, num_g_regs): New variables. |
|
1488 (put_packet_binary): New function. |
|
1489 (put_packet): Use it. |
|
1490 (NUM_CORE_REGS, GDB_CORE_XML): Define. |
|
1491 (cpu_gdb_read_registers, cpu_gdb_write_registers): Rename ... |
|
1492 (cpu_gdb_read_register, cpu_gdb_write_register): ... to this. |
|
1493 (memtox, get_feature_xml, gdb_read_register, gdb_write_register, |
|
1494 gdb_register_coprocessor): New functions. |
|
1495 (gdb_handle_packet): Use gdb_read_register and gdb_write_register. |
|
1496 Handle 'p', 'P', 'qSupported' and 'qXfer:features:read:' packets. |
|
1497 |
|
1498 2007-04-11 Vladimir Prus <vladimir@codesourcery.com> |
|
1499 |
|
1500 * vl.c (win_chr_stdio_poll): Use exit, |
|
1501 not do_quit, as the latter is not in public |
|
1502 interface of monitor.c. |
|
1503 |
|
1504 2007-04-11 Vladimir Prus <vladimir@codesourcery.com> |
|
1505 |
|
1506 * vl.c (struct WinCharState): New field quit_on_eof. |
|
1507 (win_chr_stdio_poll): New function. |
|
1508 (win_stdio_chr_close): New function. |
|
1509 (qemu_chr_open_win_stdio): New function. |
|
1510 (qemu_chr_open): Handle 'stdio' device on windows. |
|
1511 |
|
1512 ^L |
|
1513 Local Variables: |
|
1514 mode: change-log |
|
1515 change-log-default-name: "ChangeLog.csl" |
|
1516 End: |