Get rid of _t suffix
[qemu/kraxel.git] / hw / sharpsl.h
blobde4b3f21cbe3b09777ba646c4103026b3e553cb5
1 /*
2 * Common declarations for the Zaurii.
4 * This file is licensed under the GNU GPL.
5 */
6 #ifndef QEMU_SHARPSL_H
7 #define QEMU_SHARPSL_H
9 #define zaurus_printf(format, ...) \
10 fprintf(stderr, "%s: " format, __FUNCTION__, ##__VA_ARGS__)
12 /* zaurus.c */
13 typedef struct ScoopInfo ScoopInfo;
14 ScoopInfo *scoop_init(PXA2xxState *cpu,
15 int instance, a_target_phys_addr target_base);
16 void scoop_gpio_set(void *opaque, int line, int level);
17 qemu_irq *scoop_gpio_in_get(ScoopInfo *s);
18 void scoop_gpio_out_set(ScoopInfo *s, int line,
19 qemu_irq handler);
21 #define SL_PXA_PARAM_BASE 0xa0000a00
22 void sl_bootparam_write(a_target_phys_addr ptr);
24 #endif