FreeCalypso > hg > fc-tourmaline
view src/cs/layer1/tpu_drivers/tpu_drivers.def @ 283:d9e3f3e293ac
etm_audio.c: fix off-by-one error in auw of FIR coefficients
The implementation of auw operation for UL or DL FIR upload
had this bug: the number of 16-bit shortwords copied into the
RVF-allocated temporary buffer was one too many, causing memory
corruption errors. The present change fixes this bug.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 08 Nov 2021 02:54:04 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
######################################## # LIBRARIES / MODULES definition # ######################################## # to avoid multiple drivers.def (import + include) ifndef TPU_DRIVERS_DEF TPU_DRIVERS_DEF = 1 TPU_DRIVERS_LIB_DIR = $(OUT_LIB_DIR) TPU_DRIVERS_LIB = $(TPU_DRIVERS_LIB_DIR)/tpudrv_$(CUST)_$(RF_FAM)_$(CHIPSET)_$(ANLG_FAM)_$(DSP)_$(BOARD)_$(LONG_JUMP)_$(TESTMODE).lib TI_LIBS += $(TPU_DRIVERS_LIB) MODULES += $(TPU_DRIVERS_DIR) TI_BSS_LIBS += $(TPU_DRIVERS_LIB) (.bss) TI_CONST_LIBS += $(TPU_DRIVERS_LIB) (.const, .text) export TPU_DRIVERS_LIB endif