Home | History | Annotate | Download | only in inc
      1 /*
      2  *  Copyright 2001-2008 Texas Instruments - http://www.ti.com/
      3  *
      4  *  Licensed under the Apache License, Version 2.0 (the "License");
      5  *  you may not use this file except in compliance with the License.
      6  *  You may obtain a copy of the License at
      7  *
      8  *     http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  *  Unless required by applicable law or agreed to in writing, software
     11  *  distributed under the License is distributed on an "AS IS" BASIS,
     12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  *  See the License for the specific language governing permissions and
     14  *  limitations under the License.
     15  */
     16 
     17 /*
     18  *  ======== mgrpriv.h ========
     19  *  DSP-BIOS Bridge driver support functions for TI OMAP processors.
     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