adf_os_mem_free(p);
}
-void __ahdecl
-ath_hal_memzero(void *dst, adf_os_size_t n)
-{
- adf_os_mem_set(dst, 0, n);
-}
-
void * __ahdecl
ath_hal_memcpy(void *dst, const void *src, adf_os_size_t n)
{
extern void* __ahdecl ath_hal_ioremap(a_uint32_t addr, a_uint32_t len);
#define OS_REMAP(_addr, _len) ath_hal_ioremap(_addr, _len)
-#define OS_MEMZERO(_a, _n) ath_hal_memzero((_a), (_n))
-extern void __ahdecl ath_hal_memzero(void *, size_t);
#define OS_MEMCPY(_d, _s, _n) ath_hal_memcpy(_d,_s,_n)
extern void * __ahdecl ath_hal_memcpy(void *, const void *, size_t);
* a null arg because we know it's not needed.
*/
#define A_MS_TICKGET() OS_GETUPTIME(NULL)
-#define A_MEM_ZERO(p,s) OS_MEMZERO(p,s)
#define WLAN_PHY_OFDM IEEE80211_T_OFDM
#define WLAN_PHY_TURBO IEEE80211_T_TURBO