cpy_tbl.h

来自「TI TMS320C54X C语言编译及汇编开发包」· C头文件 代码 · 共 43 行

H
43
字号
/*****************************************************************************/
/* cpy_tbl.h  v4.00                                                          */
/* Copyright (c) 2003 Texas Instruments Incorporated                         */
/*                                                                           */
/* Specification of copy table data structures which can be automatically    */
/* generated by the linker (using the table() operator in the LCF).          */
/*                                                                           */
/*****************************************************************************/

/*****************************************************************************/
/* Copy Record Data Structure                                                */
/*****************************************************************************/
typedef struct copy_record
{
   unsigned long  load_loc;
   unsigned long  run_loc;
   unsigned long  size;
} COPY_RECORD;

/*****************************************************************************/
/* Copy Table Data Structure                                                 */
/*****************************************************************************/
typedef struct copy_table 
{
   unsigned short rec_size;
   unsigned short num_recs;
   COPY_RECORD  recs[1];
} COPY_TABLE;

/*****************************************************************************/
/* Prototype for general purpose copy routine.                               */
/*****************************************************************************/
extern void copy_in(COPY_TABLE *tp);

/*****************************************************************************/
/* Prototypes for utilities used by copy_in() to move code/data between      */
/* program and data memory (see cpy_utils.asm for source).                   */
/*****************************************************************************/
extern void ddcopy(unsigned short src, unsigned short dst);
extern void dpcopy(unsigned short src, unsigned long  dst);
extern void pdcopy(unsigned long  src, unsigned short dst);
extern void ppcopy(unsigned long  src, unsigned long  dst);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?