view src/cs/system/bootloader/inc/optboot.h @ 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

/*******************************************************************************
 *
 * OPTBOOT.H
 *
 * This module contains functions which build a confirmation for each option:
 *  - get the chip id,
 *  - get the monitor id,
 *  - get the board_id.
 *
 * (C) Texas Instruments 1999
 *
 ******************************************************************************/

#ifndef __OPTBOOT_H__
#define __OPTBOOT_H__

#include "command.h"


extern void opt_get_monitor_id (t_com_request *request,
                                t_com_confirmation *confirmation);

extern void
opt_load_application (t_com_request *request, t_com_confirmation *confirmation, SYS_UWORD8 device_id);

extern unsigned long
opt_get_running_address (t_com_request *request, t_com_confirmation *confirmation);


#endif /* __OPTBOOT_H__ */