linux/drivers/staging/tidspbridge/pmgr/msgobj.h
<<
>>
Prefs
   1/*
   2 * msgobj.h
   3 *
   4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
   5 *
   6 * Structure subcomponents of channel class library msg_ctrl objects which
   7 * are exposed to DSP API from Bridge driver.
   8 *
   9 * Copyright (C) 2005-2006 Texas Instruments, Inc.
  10 *
  11 * This package is free software; you can redistribute it and/or modify
  12 * it under the terms of the GNU General Public License version 2 as
  13 * published by the Free Software Foundation.
  14 *
  15 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  17 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  18 */
  19
  20#ifndef MSGOBJ_
  21#define MSGOBJ_
  22
  23#include <dspbridge/dspdefs.h>
  24
  25#include <dspbridge/msgdefs.h>
  26
  27/*
  28 *  This struct is the first field in a msg_mgr struct. Other, implementation
  29 *  specific fields follow this structure in memory.
  30 */
  31struct msg_mgr_ {
  32        /* The first field must match that in _msg_sm.h */
  33
  34        /* Function interface to Bridge driver. */
  35        struct bridge_drv_interface *intf_fxns;
  36};
  37
  38#endif /* MSGOBJ_ */
  39