Home | History | Annotate | Download | only in inc
      1 /*
      2  * dspbridge/mpu_api/inc/mgrpriv.h
      3  *
      4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
      5  *
      6  * Copyright (C) 2007 Texas Instruments, Inc.
      7  *
      8  * This program is free software; you can redistribute it and/or modify it
      9  * under the terms of the GNU Lesser General Public License as published
     10  * by the Free Software Foundation version 2.1 of the License.
     11  *
     12  * This program is distributed .as is. WITHOUT ANY WARRANTY of any kind,
     13  * whether express or implied; without even the implied warranty of
     14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  * Lesser General Public License for more details.
     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 #ifdef __cplusplus
     33 extern "C" {
     34 #endif
     35 
     36 /*
     37  * OMAP1510 specific
     38  */
     39 #define MGR_MAXTLBENTRIES  32
     40 
     41 /* RM MGR Object */
     42 	struct MGR_OBJECT;
     43 	/*typedef struct MGR_OBJECT *MGR_HOBJECT;*/
     44 
     45 	struct MGR_TLBENTRY {
     46 		ULONG ulDspVirt;	/* DSP virtual address */
     47 		ULONG ulGppPhys;	/* GPP physical address */
     48 	} ;
     49 
     50 /*
     51  *  The DSP_PROCESSOREXTINFO structure describes additional extended
     52  *  capabilities of a DSP processor not exposed to user.
     53  */
     54 	struct MGR_PROCESSOREXTINFO {
     55 		struct DSP_PROCESSORINFO tyBasic;	/* user processor info */
     56 		/* private dsp mmu entries */
     57 		struct MGR_TLBENTRY tyTlb[MGR_MAXTLBENTRIES];
     58 	} ;
     59 	/*MGR_PROCESSOREXTINFO, *MGR_HPROCESSOREXTINFO;*/
     60 
     61 #ifdef __cplusplus
     62 }
     63 #endif
     64 #endif				/* MGRPRIV_ */
     65