Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
host_os.h
Go to the documentation of this file.
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 <plat/clock.h>
44 #include <linux/clk.h>
45 #include <plat/mailbox.h>
46 #include <linux/pagemap.h>
47 #include <asm/cacheflush.h>
48 #include <linux/dma-mapping.h>
49 
50 /* TODO -- Remove, once omap-iommu is used */
51 #define INT_DSP_MMU_IRQ (28 + NR_IRQS)
52 
53 #define PRCM_VDD1 1
54 
55 extern struct platform_device *omap_dspbridge_dev;
56 extern struct device *bridge;
57 
58 #endif