aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/core/_cmm.h
blob: 7660bef6ebb34cb7b8e8660e922a6c58cff669c9 (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
/*
 * _cmm.h
 *
 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
 *
 * Private header file defining CMM manager objects and defines needed
 * by IO manager to register shared memory regions when DSP base image
 * is loaded(bridge_io_on_loaded).
 *
 * Copyright (C) 2005-2006 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 _CMM_
#define _CMM_

/*
 *  These target side symbols define the beginning and ending addresses
 *  of the section of shared memory used for shared memory manager CMM.
 *  They are defined in the *cfg.cmd file by cdb code.
 */
#define SHM0_SHARED_BASE_SYM             "_SHM0_BEG"
#define SHM0_SHARED_END_SYM              "_SHM0_END"
#define SHM0_SHARED_RESERVED_BASE_SYM    "_SHM0_RSVDSTRT"

/*
 *  Shared Memory Region #0(SHMSEG0) is used in the following way:
 *
 *  |(_SHM0_BEG)                  | (_SHM0_RSVDSTRT)           | (_SHM0_END)
 *  V                             V                            V
 *  ------------------------------------------------------------
 *  |     DSP-side allocations    |    GPP-side allocations    |
 *  ------------------------------------------------------------
 *
 *
 */

#endif /* _CMM_ */