1/* 2 * host_os.h 3 * 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 5 * 6 * Copyright (C) 2008 Texas Instruments, Inc. 7 * 8 * This package is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 * 12 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 13 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 14 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 15 */ 16 17#ifndef _HOST_OS_H_ 18#define _HOST_OS_H_ 19 20#include <linux/atomic.h> 21#include <linux/semaphore.h> 22#include <linux/uaccess.h> 23#include <linux/irq.h> 24#include <linux/io.h> 25#include <linux/syscalls.h> 26#include <linux/kernel.h> 27#include <linux/string.h> 28#include <linux/stddef.h> 29#include <linux/types.h> 30#include <linux/interrupt.h> 31#include <linux/spinlock.h> 32#include <linux/sched.h> 33#include <linux/fs.h> 34#include <linux/file.h> 35#include <linux/slab.h> 36#include <linux/delay.h> 37#include <linux/ctype.h> 38#include <linux/mm.h> 39#include <linux/device.h> 40#include <linux/vmalloc.h> 41#include <linux/ioport.h> 42#include <linux/platform_device.h> 43#include <linux/clk.h> 44#include <linux/omap-mailbox.h> 45#include <linux/pagemap.h> 46#include <asm/cacheflush.h> 47#include <linux/dma-mapping.h> 48 49/* TODO -- Remove, once omap-iommu is used */ 50#define INT_DSP_MMU_IRQ (28 + NR_IRQS) 51 52#define PRCM_VDD1 1 53 54extern struct platform_device *omap_dspbridge_dev; 55extern struct device *bridge; 56 57#endif 58