@@ -23,10 +23,6 @@
#include <dspbridge/devdefs.h>
#include <dspbridge/sync.h>
-/* CHNL Object validation signatures: */
-#define CHNL_MGRSIGNATURE 0x52474D43 /* "CMGR" (in reverse). */
-#define CHNL_SIGNATURE 0x4C4E4843 /* "CHNL" (in reverse). */
-
/* Channel manager limits: */
#define CHNL_MAXCHANNELS 32 /* Max channels available per transport */
@@ -30,8 +30,6 @@
#define IO_SERVICE 2
#define IO_MAXSERVICE IO_SERVICE
-#define IO_MGRSIGNATURE 0x494f4D43 /* "IOGR" */
-
#define DSP_FIELD_ADDR(type, field, base, wordsize) \
((((s32)&(((type *)0)->field)) / wordsize) + (u32)base)
@@ -19,8 +19,6 @@
#ifndef MSGDEFS_
#define MSGDEFS_
-#define MSGMGR_SIGNATURE 0x4d47534d /* "MGSM" */
-
/* msg_ctrl Objects: */
struct msg_mgr;
struct msg_queue;
@@ -52,11 +52,6 @@
#include <dspbridge/cmm.h>
/* ----------------------------------- Defines, Data Structures, Typedefs */
-/* Object signatures */
-#define CMMSIGNATURE 0x004d4d43 /* "CMM" (in reverse) */
-#define SMEMSIGNATURE 0x4D454D53 /* "SMEM" SM space */
-#define CMMXLATESIGNATURE 0x584d4d43 /* "CMMX" CMM Xlator */
-
#define NEXT_PA(pnode) (pnode->dw_pa + pnode->ul_size)
/* Other bus/platform translations */
@@ -36,9 +36,6 @@
#include <dspbridge/dbll.h>
#include <dspbridge/rmm.h>
-#define DBLL_TARGSIGNATURE 0x544c4c44 /* "TLLD" */
-#define DBLL_LIBSIGNATURE 0x4c4c4c44 /* "LLLD" */
-
/* Number of buckets for symbol hash table */
#define MAXBUCKETS 211
@@ -55,7 +55,6 @@
/* ----------------------------------- Defines, Data Structures, Typedefs */
-#define SIGNATURE 0x5f564544 /* "DEV_" (in reverse) */
#define MAKEVERSION(major, minor) (major * 10 + minor)
#define WCDVERSION MAKEVERSION(WCD_MAJOR_VERSION, WCD_MINOR_VERSION)
@@ -43,9 +43,6 @@
#include <dspbridge/dmm.h>
/* ----------------------------------- Defines, Data Structures, Typedefs */
-/* Object signatures */
-#define DMMSIGNATURE 0x004d4d44 /* "DMM" (in reverse) */
-
#define DMM_ADDR_VIRTUAL(a) \
(((struct map_page *)(a) - virtual_mapping_table) * PG_SIZE4K +\
dyn_mem_map_beg)
@@ -46,8 +46,6 @@
#include <dspbridge/dbdcd.h>
/* ----------------------------------- Global defines. */
-#define SIGNATURE 0x5f444344 /* "DCD_" (in reverse). */
-
#define MAX_INT2CHAR_LENGTH 16 /* Max int2char len of 32 bit int */
/* Name of section containing dependent libraries */
@@ -46,8 +46,6 @@
/* ----------------------------------- This */
#include <dspbridge/disp.h>
-#define DISP_SIGNATURE 0x50534944 /* "PSID" */
-
/* Size of a reply from RMS */
#define REPLYSIZE (3 * sizeof(rms_word))
@@ -44,8 +44,6 @@
#include <dspbridge/resourcecleanup.h>
/* ----------------------------------- Defines, Data Structures, Typedefs */
-#define SIGNATURE 0x5f52474d /* "DRV_" (in reverse) */
-
struct drv_object {
struct lst_list *dev_list;
struct lst_list *dev_node_string;
@@ -40,7 +40,6 @@
/* ----------------------------------- Defines, Data Structures, Typedefs */
#define ZLDLLNAME ""
-#define SIGNATURE 0x5f52474d /* "MGR_" (in reverse) */
struct mgr_object {
struct dcd_manager *hdcd_mgr; /* Proc/Node data manager */
@@ -36,9 +36,6 @@
#include <dspbridge/nldr.h>
-#define NLDR_SIGNATURE 0x52444c4e /* "RDLN" */
-#define NLDR_NODESIGNATURE 0x4e444c4e /* "NDLN" */
-
/* Name of section containing dynamic load mem */
#define DYNMEMSECT ".dspbridge_mem"
@@ -67,9 +67,6 @@
#include <dspbridge/drvdefs.h>
#include <dspbridge/resourcecleanup.h>
-#define NODE_SIGNATURE 0x45444f4e /* "EDON" */
-#define NODEMGR_SIGNATURE 0x52474d4e /* "RGMN" */
-
#define HOSTPREFIX "/host"
#define PIPEPREFIX "/dbpipe"
@@ -60,7 +60,6 @@
#include <dspbridge/resourcecleanup.h>
/* ----------------------------------- Defines, Data Structures, Typedefs */
-#define PROC_SIGNATURE 0x434F5250 /* "PROC" (in reverse). */
#define MAXCMDLINELEN 255
#define PROC_ENVPROCID "PROC_ID=%d"
#define MAXPROCIDLEN (8 + 5)
@@ -51,8 +51,6 @@
/* ----------------------------------- This */
#include <dspbridge/rmm.h>
-#define RMM_TARGSIGNATURE 0x544d4d52 /* "TMMR" */
-
/*
* ======== rmm_header ========
* This header is used to maintain a list of free memory blocks.
@@ -46,9 +46,6 @@
#include <dspbridge/resourcecleanup.h>
/* ----------------------------------- Defines, Data Structures, Typedefs */
-#define STRM_SIGNATURE 0x4d525453 /* "MRTS" */
-#define STRMMGR_SIGNATURE 0x5254534d /* "RTSM" */
-
#define DEFAULTTIMEOUT 10000
#define DEFAULTNUMBUFS 2
@@ -22,8 +22,6 @@
#include <dspbridge/ntfy.h>
#include <dspbridge/wmd.h>
-#define SIGNATURE 0x5f484544 /* "DEH_" backwards */
-
/* DEH Manager: only one created per board: */
struct deh_mgr {
struct wmd_dev_context *hwmd_context; /* WMD device context. */
@@ -38,9 +38,6 @@
#include <_msg_sm.h>
#include <dspbridge/wmdmsg.h>
-/* ----------------------------------- Defines, Data Structures, Typedefs */
-#define MSGQ_SIGNATURE 0x5147534d /* "QGSM" */
-
/* ----------------------------------- Function Prototypes */
static dsp_status add_new_msg(struct lst_list *msgList);
static void delete_msg_mgr(struct msg_mgr *hmsg_mgr);