segment_init.h

来自「IAPBootLoader源程序是单片机ARM的例题」· C头文件 代码 · 共 41 行

H
41
字号
/**************************************************
 *
 * Declarations for segment initialization.
 *
 * Copyright 1999-2005 IAR Systems. All rights reserved.
 *
 * $Revision: 1.3 $
 *
 **************************************************/

#ifndef __SEGMENT_INIT_H_INCLUDED
#define __SEGMENT_INIT_H_INCLUDED


#ifdef __cplusplus
extern "C" {
#endif

#pragma language=extended

__interwork void __segment_init(void);



/* Structure of an element in the segment initialization table
 * in segment INITTAB. Used for both zero-initialization and copying. */
typedef struct
{
  long   Size;                  /* Number of bytes to initialize */
  char*  Dst;                   /* Destination. If Dst==Src, then init to 0 */
  char*  Src;                   /* Source address. Usually in ROM. */
} InitBlock_Type;

#ifdef __cplusplus
}
#endif



#endif /* __SEGMENT_INIT_H_INCLUDED */

⌨️ 快捷键说明

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