primecell.h 461 字节
Newer Older
P
pbrook 已提交
1 2 3 4 5 6 7 8 9 10 11
#ifndef PRIMECELL_H
#define PRIMECELL_H

/* Declarations for ARM PrimeCell based periperals.  */
/* Also includes some devices that are currently only used by the
   ARM boards.  */

/* pl080.c */
void *pl080_init(uint32_t base, qemu_irq irq, int nchannels);

/* arm_sysctl.c */
P
Paul Brook 已提交
12
void arm_sysctl_init(uint32_t base, uint32_t sys_id, uint32_t proc_id);
P
pbrook 已提交
13

14 15 16 17
/* arm_sysctl GPIO lines */
#define ARM_SYSCTL_GPIO_MMC_WPROT 0
#define ARM_SYSCTL_GPIO_MMC_CARDIN 1

P
pbrook 已提交
18
#endif