aboutsummaryrefslogtreecommitdiff
path: root/hw/devices.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-05 20:24:35 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-05 20:24:35 +0000
commitffd39257018269ee9cf1e39c531a6c546daaa408 (patch)
tree449c13bfc0909d92e7d59db85ce15556d7058512 /hw/devices.h
parent5985eceeaa45d35c4a447c164627a1aa5e23319a (diff)
downloadqemu-ffd39257018269ee9cf1e39c531a6c546daaa408.zip
qemu-ffd39257018269ee9cf1e39c531a6c546daaa408.tar.gz
qemu-ffd39257018269ee9cf1e39c531a6c546daaa408.tar.bz2
SM501 emulation for R2D-SH4
This patch adds minimum emulation of SM501 multifunction device, whose main feature is 2D graphics. It is one of the peripheral of R2D, the SH4 evaluation board. We can see TUX printed on the QEMU console. Signed-off-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5632 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/devices.h')
-rw-r--r--hw/devices.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/devices.h b/hw/devices.h
index 9572a63..4f87261 100644
--- a/hw/devices.h
+++ b/hw/devices.h
@@ -73,4 +73,7 @@ void tc6393xb_gpio_out_set(struct tc6393xb_s *s, int line,
qemu_irq *tc6393xb_gpio_in_get(struct tc6393xb_s *s);
qemu_irq tc6393xb_l3v_get(struct tc6393xb_s *s);
+/* sm501.c */
+void sm501_init(DisplayState *ds, uint32_t base, unsigned long local_mem_base,
+ uint32_t local_mem_bytes, CharDriverState *chr);
#endif