~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/tidspbridge/include/dspbridge/rms_sh.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <dspbridge/rmstypes.h>
24
24
 
25
 
/* Node Types: */
26
 
#define RMS_TASK                1       /* Task node */
27
 
#define RMS_DAIS                2       /* xDAIS socket node */
28
 
#define RMS_MSG                 3       /* Message node */
29
 
 
30
25
/* Memory Types: */
31
26
#define RMS_CODE                0       /* Program space */
32
27
#define RMS_DATA                1       /* Data space */
33
 
#define RMS_IO                  2       /* I/O space */
34
28
 
35
29
/* RM Server Command and Response Buffer Sizes: */
36
30
#define RMS_COMMANDBUFSIZE     256      /* Size of command buffer */
37
 
#define RMS_RESPONSEBUFSIZE    16       /* Size of response buffer */
38
31
 
39
32
/* Pre-Defined Command/Response Codes: */
40
33
#define RMS_EXIT                0x80000000      /* GPP->Node: shutdown */
41
34
#define RMS_EXITACK             0x40000000      /* Node->GPP: ack shutdown */
42
35
#define RMS_BUFDESC             0x20000000      /* Arg1 SM buf, Arg2 SM size */
43
36
#define RMS_KILLTASK            0x10000000      /* GPP->Node: Kill Task */
44
 
#define RMS_USER                0x0     /* Start of user-defined msg codes */
45
 
#define RMS_MAXUSERCODES        0xfff   /* Maximum user defined C/R Codes */
46
37
 
47
38
/* RM Server RPC Command Structure: */
48
39
struct rms_command {