#ifndef _APE_DRV_COMMON_H_
#define _APE_DRV_COMMON_H_

#include "ucp_param.h"
#include "typedef.h"
#include "ucp_js_subcrg.h"
#include "ucp_cpri.h"
#include "ucp_utility.h"


#define DM_GLADDR_TO_DMAADDR(addr)	(addr-0x100000)// (addr-0x200000) //

//#define GET_STC_CNT()  (LOAD_EX_V_W((UINT32*)(&LTBG_TIME_BASE)))
#define GET_STC_CNT()  (do_read_volatile((uint32_t*)(&LTBG_TIME_BASE)))

#define PALLADIUM_TEST
#define DDR_MONITOR

//#define NO_OSP_TEST
//#define OSP_PRINT

void delay_us(uint32_t num);

void SET_CLK_CFG_EMU(void);

#endif

