Linux-libre 3.16.85-gnu
[librecmc/linux-libre.git] / drivers / staging / tidspbridge / include / dspbridge / memdefs.h
1 /*
2  * memdefs.h
3  *
4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5  *
6  * Global MEM constants and types, shared between Bridge driver 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 MEMDEFS_
20 #define MEMDEFS_
21
22 /*
23  *  MEM_VIRTUALSEGID is used by Node & Strm to access virtual address space in
24  *  the correct client process context.
25  */
26 #define MEM_SETVIRTUALSEGID     0x10000000
27 #define MEM_GETVIRTUALSEGID     0x20000000
28 #define MEM_MASKVIRTUALSEGID    (MEM_SETVIRTUALSEGID | MEM_GETVIRTUALSEGID)
29
30 #endif /* MEMDEFS_ */