~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to hw/sharpsl.h

  • Committer: ths
  • Date: 2007-10-08 12:45:38 UTC
  • Revision ID: git-v1:450d4ff553af32fc9d83fef20d7106b0151526b8
CRIS disassembler, originally from binutils, by Edgar E. Iglesias.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3356 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Common declarations for the Zaurii.
3
 
 *
4
 
 * This file is licensed under the GNU GPL.
5
 
 */
6
 
#ifndef QEMU_SHARPSL_H
7
 
#define QEMU_SHARPSL_H
8
 
 
9
 
#define zaurus_printf(format, ...)      \
10
 
    fprintf(stderr, "%s: " format, __FUNCTION__, ##__VA_ARGS__)
11
 
 
12
 
/* zaurus.c */
13
 
struct scoop_info_s *scoop_init(struct pxa2xx_state_s *cpu,
14
 
                int instance, target_phys_addr_t target_base);
15
 
void scoop_gpio_set(void *opaque, int line, int level);
16
 
qemu_irq *scoop_gpio_in_get(struct scoop_info_s *s);
17
 
void scoop_gpio_out_set(struct scoop_info_s *s, int line,
18
 
                qemu_irq handler);
19
 
 
20
 
#define SL_PXA_PARAM_BASE       0xa0000a00
21
 
void sl_bootparam_write(uint32_t ptr);
22
 
 
23
 
#endif