Home | History | Annotate | Download | only in inc
      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  *  ======== rmstypes.h ========
     19  *  DSP-BIOS Bridge driver support functions for TI OMAP processors.
     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