1 /*
2  * _cmm.h
3  *
4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5  *
6  * Private header file defining CMM manager objects and defines needed
7  * by IO manager to register shared memory regions when DSP base image
8  * is loaded(bridge_io_on_loaded).
9  *
10  * Copyright (C) 2005-2006 Texas Instruments, Inc.
11  *
12  * This package is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License version 2 as
14  * published by the Free Software Foundation.
15  *
16  * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19  */
20 
21 #ifndef _CMM_
22 #define _CMM_
23 
24 /*
25  *  These target side symbols define the beginning and ending addresses
26  *  of the section of shared memory used for shared memory manager CMM.
27  *  They are defined in the *cfg.cmd file by cdb code.
28  */
29 #define SHM0_SHARED_BASE_SYM             "_SHM0_BEG"
30 #define SHM0_SHARED_END_SYM              "_SHM0_END"
31 #define SHM0_SHARED_RESERVED_BASE_SYM    "_SHM0_RSVDSTRT"
32 
33 /*
34  *  Shared Memory Region #0(SHMSEG0) is used in the following way:
35  *
36  *  |(_SHM0_BEG)                  | (_SHM0_RSVDSTRT)           | (_SHM0_END)
37  *  V                             V                            V
38  *  ------------------------------------------------------------
39  *  |     DSP-side allocations    |    GPP-side allocations    |
40  *  ------------------------------------------------------------
41  *
42  *
43  */
44 
45 #endif /* _CMM_ */
46