diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-05 20:24:35 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-05 20:24:35 +0000 |
commit | ffd39257018269ee9cf1e39c531a6c546daaa408 (patch) | |
tree | 449c13bfc0909d92e7d59db85ce15556d7058512 /hw/devices.h | |
parent | 5985eceeaa45d35c4a447c164627a1aa5e23319a (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/devices.h b/hw/devices.h index 9572a63337..4f872611ac 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 |