1 /* 2 * dspbridge/mpu_api/inc/rmstypes.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 * ======== rmstypes.h ======== 20 * 21 * DSP/BIOS Bridge Resource Manager Server shared data type definitions. 22 * 23 *! Revision History 24 *! ================ 25 *! 06-Oct-2000 sg Added LgFxn type. 26 *! 05-Oct-2000 sg Changed RMS_STATUS to LgUns. 27 *! 31-Aug-2000 sg Added RMS_DSPMSG. 28 *! 25-Aug-2000 sg Initial. 29 */ 30 31 #ifndef RMSTYPES_ 32 #define RMSTYPES_ 33 34 #ifdef _GPP_ 35 /* 36 * GPP-side type definitions. 37 */ 38 typedef DWORD RMS_WORD; 39 typedef DWORD RMS_CHAR; 40 typedef DWORD RMS_STATUS; 41 42 #else /* default to DSP-side */ 43 /* 44 * DSP-side definitions. 45 */ 46 #include <std.h> 47 typedef LgUns RMS_WORD; 48 typedef Char RMS_CHAR; 49 typedef LgUns RMS_STATUS; 50 typedef LgUns(*LgFxn) (); /* generic LgUns function type */ 51 52 #endif 53 54 /* GPP<->DSP Message Structure: */ 55 struct RMS_DSPMSG { 56 RMS_WORD cmd; /* Message code */ 57 RMS_WORD arg1; /* First message argument */ 58 RMS_WORD arg2; /* Second message argument */ 59 }; 60 61 #endif /* RMSTYPES_ */ 62