4a34086e6cc7472805dda652ea36d2055f211f11
[h-e-n] / arch / arm / plat-omap / include / dspbridge / mgrpriv.h
1 /*
2  * mgrpriv.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
18 /*
19  *  ======== mgrpriv.h ========
20  *  Description:
21  *      Global MGR constants and types, shared by PROC, MGR, and WCD.
22  *
23  *! Revision History:
24  *! ================
25  *! 29-July-2001 ag: added MGR_PROCESSOREXTINFO.
26  *! 05-July-2000 rr: Created
27  */
28
29 #ifndef MGRPRIV_
30 #define MGRPRIV_
31
32 /*
33  * OMAP1510 specific
34  */
35 #define MGR_MAXTLBENTRIES  32
36
37 /* RM MGR Object */
38         struct MGR_OBJECT;
39
40         struct MGR_TLBENTRY {
41                 u32 ulDspVirt;  /* DSP virtual address */
42                 u32 ulGppPhys;  /* GPP physical address */
43         } ;
44
45 /*
46  *  The DSP_PROCESSOREXTINFO structure describes additional extended
47  *  capabilities of a DSP processor not exposed to user.
48  */
49         struct MGR_PROCESSOREXTINFO {
50                 struct DSP_PROCESSORINFO tyBasic;    /* user processor info */
51                 /* private dsp mmu entries */
52                 struct MGR_TLBENTRY tyTlb[MGR_MAXTLBENTRIES];
53         } ;
54
55 #endif                          /* MGRPRIV_ */