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

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

Revision 1.1, Mon Oct 29 20:12:18 2007 UTC (16 years, 6 months ago) by init
Branch: MAIN
CVS Tags: HEAD

add tairqc, driver for testarm Interrupt Controller Unit;
this irqc contains only three registers: intr status, mask and unmask.
on testarm we will be invoked from low-level when CPU Ext. IRQ is asserted.

devconfig machinery will support vectors-table allowing us to switch
control flow based on this table into devices' interrupt handlers

he-he, still more work on the road, but i need to commit it to work on it.

/*
 * $Id: tairqcreg.h,v 1.1 2007/10/29 20:12:18 init Exp $
 */
#ifndef _ARCH_TESTARM_DEV_TAIRQCREG_H
#define _ARCH_TESTARM_DEV_TAIRQCREG_H

#define TAIRQC_REG_BASE 		0x16000000
#define  TAIRQC_OFF_IRQSTATUS 	0x00
#define  TAIRQC_OFF_IRQMASK		0x04
#define  TAIRQC_OFF_IRQUNMASK 	0x08

#endif /* not _ARCH_TESTARM_DEV_TAIRQCREG_H */