2 * dspbridge/mpu_api/inc/rmstypes.h
4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
6 * Copyright (C) 2007 Texas Instruments, Inc.
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.
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.
19 * ======== rmstypes.h ========
21 * DSP/BIOS Bridge Resource Manager Server shared data type definitions.
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.
36 * GPP-side type definitions.
38 typedef DWORD RMS_WORD;
39 typedef DWORD RMS_CHAR;
40 typedef DWORD RMS_STATUS;
42 #else /* default to DSP-side */
44 * DSP-side definitions.
47 typedef LgUns RMS_WORD;
48 typedef Char RMS_CHAR;
49 typedef LgUns RMS_STATUS;
50 typedef LgUns(*LgFxn) (); /* generic LgUns function type */
54 /* GPP<->DSP Message Structure: */
56 RMS_WORD cmd; /* Message code */
57 RMS_WORD arg1; /* First message argument */
58 RMS_WORD arg2; /* Second message argument */
61 #endif /* RMSTYPES_ */