1 /* 2 * dspbridge/mpu_api/inc/_dbpriv.h 3 * 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 5 * 6 * Copyright (C) 2007 Texas Instruments, Inc. 7 * 8 * This program is free software; you can redistribute it and/or modify it 9 * under the terms of the GNU Lesser General Public License as published 10 * by the Free Software Foundation version 2.1 of the License. 11 * 12 * This program is distributed .as is. WITHOUT ANY WARRANTY of any kind, 13 * whether express or implied; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 */ 17 18 19 /* 20 * ======== _dbpriv.h ======== 21 * Description: 22 * Private header file for the 'Bridge API. Include global defines 23 * and macros. 24 * 25 * Public Functions: 26 * 27 *! Revision History: 28 *! ================ 29 *! 29-Nov-2000 rr: Name changed to _ddsppriv.h. Old types removed. 30 *! New Macros for checking BadRead/WritePtr. 31 *! 12-Apr-2000 ww: Created based on DirectDSP API specification, Version 0.6. 32 */ 33 34 #ifndef _DBPRIV_ 35 #define _DBPRIV_ 36 37 #ifdef __cplusplus 38 extern "C" { 39 #endif 40 41 #define DSP_ValidWritePtr(x , y) ((x)==NULL) 42 #define DSP_ValidReadPtr(x, y) ((x)==NULL) 43 #define DSP_MAX_PROCESSOR 3 44 45 #ifdef __cplusplus 46 } 47 #endif 48 #endif /* _DBPRIV_ */ 49