jnand_debug.h

来自「QUALCOMM JNAND DRIVER」· C头文件 代码 · 共 70 行

H
70
字号
#ifndef __JNAND_DEBUG_H__
#define  __JNAND_DEBUG_H__
/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*

          Flash Programming Plug-In for Lauterbach JTAG/ICD TRACE32

GENERAL DESCRIPTION
    This module defines a data structure used for storing debug trace
    frames.  When using the Lauterbach Trce32 FLASH.* commands, you cannot
    set breakpoints in the middle of one of those commands or they think
    that the command has failed and will bail out of the CMM file.  Also,
    even though we have implemented a printf() to the T32 terminal
    emulation window, it cannot be used with the FLASH.* commands as it
    causes both printf() and FLASH.program to hang

  Copyright (c) 2002 by QUALCOMM Incorporated.  All Rights Reserved.
*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/


/*===========================================================================

                        EDIT HISTORY FOR MODULE

  This section contains comments describing changes made to the module.
  Notice that changes are listed in reverse chronological order.

  $Header: //depot/asic/MSMSHARED/tools/jnand/jnand_debug.h#1 $ $DateTime: 2003/02/06 15:47:46 $ $Author: pingguan $

when       who     what, where, why
--------   ---     ----------------------------------------------------------
02/06/03   pg      Moved from ASWP402 server to ASWP401 server.
07/25/02   drh     #ifdef out debug frames except when debugging bootloader
07/12/02   drh     Created.
===========================================================================*/

#include "jnand_comdef.h"



/*===========================================================================

                     STRUCTURE AND TYPE DEFINITIONS FOR MODULE

===========================================================================*/
/* This structure is used to put debug info in */

typedef struct frame
{
  uint32 marker;
  unsigned int ioffset;  /* offset into image */
  unsigned int length;   /* length of span */
  uint32 reserved1;
} dframe;


struct type_debug_info {
  uint32 marker;
  uint32 count;
  uint32 status;
  uint32 reserved1;
#ifdef DEBUG_BOOT
#error code not present
#endif
};

extern struct type_debug_info debug_info;

#endif /*  __JNAND_DEBUG_H__ */

⌨️ 快捷键说明

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