[BACK]Return to tairqcvar.h CVS log [TXT][DIR] Up to [local] / funnyos / arch / testarm / dev

File: [local] / funnyos / arch / testarm / dev / tairqcvar.h (download)

Revision 1.2, Fri Nov 2 11:18:29 2007 UTC (16 years, 6 months ago) by init
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines

typo, ioaddr, not oiaddr

/*
 * $Id: tairqcvar.h,v 1.2 2007/11/02 11:18:29 init Exp $
 */
#ifndef _ARCH_TESTARM_DEV_TAIRQCVAR_H
#define _ARCH_TESTARM_DEV_TAIRQCVAR_H

#include <sys/types.h>
#include <sys/bus.h>

#define TAIRQC_FLAG_DISABLE 	0x01 	/* disables irqc */


struct tairqc_dd {
	struct bus_handle 	*td_bushandlep;

	uint32_t 	td_ioaddr;		/* location on parent */

	uint32_t 	td_irqstatus;	/* interrupt status, one bit per intr source */
	uint32_t 	td_irqmask;		/* interrupt mask, masked (1) or not (0) */
};

#endif /* not _ARCH_TESTARM_DEV_TAIRQCVAR_H */