aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/include/dspbridge/mgrpriv.h
blob: 3a4e337c040da9e4008d5b893cd162996ada1f4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * mgrpriv.h
 *
 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
 *
 * Global MGR constants and types, shared by PROC, MGR, and DSP API.
 *
 * Copyright (C) 2008 Texas Instruments, Inc.
 *
 * This package is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#ifndef MGRPRIV_
#define MGRPRIV_

/*
 * OMAP1510 specific
 */
#define MGR_MAXTLBENTRIES  32

/* RM MGR Object */
struct mgr_object;

struct mgr_tlbentry {
	u32 dsp_virt;	/* DSP virtual address */
	u32 gpp_phys;	/* GPP physical address */
};

/*
 *  The DSP_PROCESSOREXTINFO structure describes additional extended
 *  capabilities of a DSP processor not exposed to user.
 */
struct mgr_processorextinfo {
	struct dsp_processorinfo ty_basic;	/* user processor info */
	/* private dsp mmu entries */
	struct mgr_tlbentry ty_tlb[MGR_MAXTLBENTRIES];
};

#endif /* MGRPRIV_ */