5
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
7
* Copyright (C) 2008 Texas Instruments, Inc.
9
* This package is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License version 2 as
11
* published by the Free Software Foundation.
13
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20
* ======== windows.h ========
24
*! 08-Mar-2004 sb Added cacheflush.h to support Dynamic Memory Mapping feature
25
*! 16-Feb-2004 sb Added headers required for consistent_alloc
31
#include <generated/autoconf.h>
32
#include <asm/system.h>
33
#include <asm/atomic.h>
34
#include <linux/semaphore.h>
35
#include <linux/uaccess.h>
38
#include <linux/syscalls.h>
39
#include <linux/version.h>
40
#include <linux/kernel.h>
41
#include <linux/string.h>
42
#include <linux/stddef.h>
43
#include <linux/types.h>
44
#include <linux/interrupt.h>
45
#include <linux/spinlock.h>
46
#include <linux/sched.h>
48
#include <linux/file.h>
49
#include <linux/slab.h>
50
#include <linux/delay.h>
51
#include <linux/ctype.h>
53
#include <linux/device.h>
54
#include <linux/vmalloc.h>
55
#include <linux/ioport.h>
56
#include <linux/platform_device.h>
57
#include <linux/clk.h>
58
#include <linux/pagemap.h>
59
#include <asm/cacheflush.h>
60
#include <linux/dma-mapping.h>
62
/* ----------------------------------- Macros */
64
#define SEEK_SET 0 /* Seek from beginning of file. */
65
#define SEEK_CUR 1 /* Seek from current position. */
66
#define SEEK_END 2 /* Seek from end of file. */
68
/* TODO -- Remove, once BP defines them */
69
#define INT_MAIL_MPU_IRQ 26
70
#define INT_DSP_MMU_IRQ 28