1/* 2 * iodefs.h 3 * 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 5 * 6 * System-wide channel objects and constants. 7 * 8 * Copyright (C) 2005-2006 Texas Instruments, Inc. 9 * 10 * This package is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License version 2 as 12 * published by the Free Software Foundation. 13 * 14 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 */ 18 19#ifndef IODEFS_ 20#define IODEFS_ 21 22#define IO_MAXIRQ 0xff /* Arbitrarily large number. */ 23 24/* IO Objects: */ 25struct io_mgr; 26 27/* IO manager attributes: */ 28struct io_attrs { 29 u8 birq; /* Channel's I/O IRQ number. */ 30 bool irq_shared; /* TRUE if the IRQ is shareable. */ 31 u32 word_size; /* DSP Word size. */ 32 u32 shm_base; /* Physical base address of shared memory. */ 33 u32 usm_length; /* Size (in bytes) of shared memory. */ 34}; 35 36#endif /* IODEFS_ */ 37