📄 mailbox.h
字号:
/* * dspapps/dsp/tokliBIOS/mailbox.h * * DSPbridge mailbox command definitions * * Copyright (C) 2002,2003 Nokia Corporation * * Written by Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * $Id: mailbox.h * $Revision: 2.0 * $Date: 2003/11/11 * */#define MBPROT_REVISION 0x0011#define MBCMD_WDSND 0x10#define MBCMD_WDREQ 0x11#define MBCMD_BKSND 0x20#define MBCMD_BKREQ 0x21#define MBCMD_BKYLD 0x23#define MBCMD_BKSNDP 0x24#define MBCMD_BKREQP 0x25#define MBCMD_TCTL 0x30#define MBCMD_WDT 0xd0#define MBCMD_TCFG 0xe0#define MBCMD_TADD 0xe2#define MBCMD_TDEL 0xe3#define MBCMD_TSTOP 0xe5#define MBCMD_DSPCFG 0xf0#define MBCMD_REGRW 0xf2#define MBCMD_GETVAR 0xf4#define MBCMD_SETVAR 0xf5#define MBCMD_ERR 0xf8#define MBCMD_DBG 0xf9#define MBCMD_TCTL_TINIT 0x0000#define MBCMD_TCTL_TEN 0x0001#define MBCMD_TCTL_TDIS 0x0002#define MBCMD_DSPCFG_REQ 0x00#define MBCMD_DSPCFG_SYSADRH 0x28#define MBCMD_DSPCFG_SYSADRL 0x29#define MBCMD_DSPCFG_PROTREV 0x70#define MBCMD_DSPCFG_LAST 0x80#define MBCMD_REGRW_MEMR 0x00#define MBCMD_REGRW_MEMW 0x01#define MBCMD_REGRW_IOR 0x02#define MBCMD_REGRW_IOW 0x03#define MBCMD_REGRW_DATA 0x04#define MBCMD_VARID_ICRMASK 0x00#define MBCMD_TTYP_AREQ 0x0001#define MBCMD_TTYP_ASND 0x0002#define MBCMD_TTYP_BKMD 0x0004#define MBCMD_TTYP_BKDM 0x0008#define MBCMD_TTYP_PVMD 0x0010#define MBCMD_TTYP_PVDM 0x0020#define MBCMD_EID_NOERR 0x00#define MBCMD_EID_BADTID 0x10#define MBCMD_EID_BADTCN 0x11#define MBCMD_EID_BADBID 0x20#define MBCMD_EID_BADCNT 0x21#define MBCMD_EID_NOTLOCKED 0x22#define MBCMD_EID_STVBUF 0x23#define MBCMD_EID_BADADR 0x24#define MBCMD_EID_BADTCTL 0x30#define MBCMD_EID_NOMEM 0xc0#define MBCMD_EID_NORES 0xc1#define MBCMD_EID_IPBFULL 0xc2#define MBCMD_EID_TASKNOTRDY 0xe0#define MBCMD_EID_TASKBSY 0xe1#define MBCMD_EID_TASKERR 0xef#define MBCMD_EID_BADCFGTYP 0xf0#define MBCMD_EID_DEBUG 0xf8#define MBCMD_EID_BADCMD 0xff#define MBCMD_TNM_LEN 16#define MBCMD_TID_FREE 0xff#define MBCMD_TID_ANON 0xfe#define MBCMD_BID_NULL 0xffff#define MBCMD_BID_PVT 0xfffe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -