view src/cs/services/buzm/buzm_env.h @ 304:58c7961bd0b0 default tip

TCH tap: extend DL sniffing feature to support CSD modes Our debug feature for TCH DL sniffing reads the content of the DSP's a_dd_0 buffer (or a_dd_1 for TCH/H subchannel 1) at appropriate times and forwards captured bits to the host. This feature was originally implemented for TCH/FS, TCH/EFS and TCH/HS - now extend it to cover TCH/F data modes too.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Nov 2024 23:33:27 +0000
parents 8dfdf88d632f
children
line wrap: on
line source

/*
 * RiViera environment boilerplate header for BUZM SWE
 */

#ifndef __BUZM_ENV_H__
#define __BUZM_ENV_H__

#include "rvm/rvm_gen.h"
#include "buzm/buzm_struct_i.h"
#include "buzm/buzm_pool_size.h"

#define	BUZM_MAILBOX		RVF_TASK_MBOX_0
#define	BUZM_TIMER		RVF_TIMER_0

/* memory bank size and watermark */
#define BUZM_MB_PRIM_SIZE            BUZM_MB1_SIZE
#define BUZM_MB_PRIM_WATERMARK 	    (BUZM_MB_PRIM_SIZE)

#define BUZM_MB_PRIM_INC_SIZE        0
#define BUZM_MB_PRIM_INC_WATERMARK   0

extern struct buzm_env *buzm_env;

/* Prototypes */

T_RVM_RETURN buzm_get_info (T_RVM_INFO_SWE  *infoSWE);

T_RVM_RETURN buzm_set_info(T_RVF_ADDR_ID  addr_id,
                           T_RV_RETURN    return_path[],
                           T_RVF_MB_ID    mbId[],
                           T_RVM_RETURN   (*callBackFct) (T_RVM_NAME SWEntName,
                           T_RVM_RETURN errorCause,
                           T_RVM_ERROR_TYPE errorType,
                           T_RVM_STRING errorMsg));

T_RVM_RETURN buzm_init (void);
T_RVM_RETURN buzm_core (void);
T_RVM_RETURN buzm_stop (void);
T_RVM_RETURN buzm_kill (void);

#endif	/* include guard */