mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-11 05:23:58 +00:00
c227f0995e
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
25 lines
673 B
C
25 lines
673 B
C
/*
|
|
* Common declarations for the Zaurii.
|
|
*
|
|
* This file is licensed under the GNU GPL.
|
|
*/
|
|
#ifndef QEMU_SHARPSL_H
|
|
#define QEMU_SHARPSL_H
|
|
|
|
#define zaurus_printf(format, ...) \
|
|
fprintf(stderr, "%s: " format, __FUNCTION__, ##__VA_ARGS__)
|
|
|
|
/* zaurus.c */
|
|
typedef struct ScoopInfo ScoopInfo;
|
|
ScoopInfo *scoop_init(PXA2xxState *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(ScoopInfo *s);
|
|
void scoop_gpio_out_set(ScoopInfo *s, int line,
|
|
qemu_irq handler);
|
|
|
|
#define SL_PXA_PARAM_BASE 0xa0000a00
|
|
void sl_bootparam_write(target_phys_addr_t ptr);
|
|
|
|
#endif
|