/*************************************************************************** * Copyright (c) 2003-2010, Broadcom Corporation * All Rights Reserved * Confidential Property of Broadcom Corporation * * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. * * $brcm_Workfile: $ * $brcm_Revision: $ * $brcm_Date: $ * * Module Description: * * Revision History: * * $brcm_Log: $ * * ***************************************************************************/ #if !defined(__GIST_H__) #define __GIST_H__ 1 #include "breg_mem.h" #include "bchp.h" #include "bint.h" #include "btmr.h" #include "bmem.h" #include "bhdm.h" #include "bi2c.h" #include "bkir.h" #if (BCHP_CHIP==7550) #include "brap.h" #endif #include "btnr.h" #include "bvbi.h" #include "bvdc.h" #include "bxpt.h" #include "bxpt_pcr.h" #include "bxpt_rave.h" #include "bxvd.h" #include "bgio.h" struct bhandle_store_t { BREG_Handle hReg; BCHP_Handle hChp; BINT_Handle hInt; BTMR_Handle hTmr; BMEM_ModuleHandle hMem; BMEM_Heap_Handle hHeap; BHDM_Handle hHdm; BI2C_Handle hI2c; BKIR_Handle hKir; BTNR_Handle hTnr; BVBI_Handle hVbi; BVDC_Handle hVdc; BXPT_Handle hXpt; BXPT_PCR_Handle hDPCR; BXVD_Handle hXvd; BXVD_ChannelHandle hXvdCh; BXPT_Rave_Handle hRave; #if (BCHP_CHIP==7550) BRAP_Handle hRap; BRAP_AssociatedChannelHandle hDecodeAssociatedCh; BRAP_AssociatedChannelHandle hCompressedAssociatedCh; #endif BGIO_Handle hGio; }; extern struct bhandle_store_t g_handles; #define GetREG() g_handles.hReg #define GetCHP() g_handles.hChp #define GetINT() g_handles.hInt #define GetTMR() g_handles.hTmr #define GetMEM() g_handles.hMem #define GetHEAP() g_handles.hHeap #define GetHDM() g_handles.hHdm #define GetI2C() g_handles.hI2c #define GetKIR() g_handles.hKir #define GetTNR() g_handles.hTnr #define GetVBI() g_handles.hVbi #define GetVDC() g_handles.hVdc #define GetXPT() g_handles.hXpt #define GetDPCR() g_handles.hDPCR #define GetRAVE() g_handles.hRave #define GetXVD() g_handles.hXvd #define GetXVDCh() g_handles.hXvdCh #if (BCHP_CHIP==7550) #define GetRAP() g_handles.hRap #endif #define GetGIO() g_handles.hGio void gist_init(void); typedef BERR_Code scm_callback_t( uint32_t ); BERR_Code gist_rap_open(uint32_t scm_id, scm_callback_t * scm_cb); /* __GIST_H__ */ #endif