aboutsummaryrefslogtreecommitdiff
path: root/hw/sharpsl.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-02 01:20:15 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-02 01:20:15 +0000
commite33d8cdb556cf20b0452d24cee82562ee5ee9ada (patch)
treeb5d08752d1efaa633250313c0e3210459ec99f1b /hw/sharpsl.h
parent5c49b363dc1094b64fe5d1ea54194fe937deccaf (diff)
Factor out common SharpSL PDA code (Dmitry Baryshkov).
Factor out to sharpsl code to support devices that are present not only in spitz-family PDAs but also in outher Sharp Zaurus PDAs Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4642 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sharpsl.h')
-rw-r--r--hw/sharpsl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/hw/sharpsl.h b/hw/sharpsl.h
new file mode 100644
index 0000000000..c8340404c9
--- /dev/null
+++ b/hw/sharpsl.h
@@ -0,0 +1,15 @@
+#ifndef QEMU_SHARPSL_H
+#define QEMU_SHARPSL_H
+
+/* zaurus.c */
+struct scoop_info_s *scoop_init(struct pxa2xx_state_s *cpu,
+ int instance, target_phys_addr_t target_base);
+void scoop_gpio_set(void *opaque, int line, int level);
+qemu_irq *scoop_gpio_in_get(struct scoop_info_s *s);
+void scoop_gpio_out_set(struct scoop_info_s *s, int line,
+ qemu_irq handler);
+
+#define SL_PXA_PARAM_BASE 0xa0000a00
+void sl_bootparam_write(uint32_t ptr);
+
+#endif