1 /* 2 * mgrpriv.h 3 * 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 5 * 6 * Global MGR constants and types, shared by PROC, MGR, and DSP API. 7 * 8 * Copyright (C) 2008 Texas Instruments, Inc. 9 * 10 * This package is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License version 2 as 12 * published by the Free Software Foundation. 13 * 14 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 */ 18 19 #ifndef MGRPRIV_ 20 #define MGRPRIV_ 21 22 /* 23 * OMAP1510 specific 24 */ 25 #define MGR_MAXTLBENTRIES 32 26 27 /* RM MGR Object */ 28 struct mgr_object; 29 30 struct mgr_tlbentry { 31 u32 dsp_virt; /* DSP virtual address */ 32 u32 gpp_phys; /* GPP physical address */ 33 }; 34 35 /* 36 * The DSP_PROCESSOREXTINFO structure describes additional extended 37 * capabilities of a DSP processor not exposed to user. 38 */ 39 struct mgr_processorextinfo { 40 struct dsp_processorinfo ty_basic; /* user processor info */ 41 /* private dsp mmu entries */ 42 struct mgr_tlbentry ty_tlb[MGR_MAXTLBENTRIES]; 43 }; 44 45 #endif /* MGRPRIV_ */ 46