1 /* 2 * Copyright 2001-2008 Texas Instruments - http://www.ti.com/ 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 18 /* 19 * ======== _dbpriv.h ======== 20 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 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