亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rdi100.h

?? ARM公司關于調試接口RDI的最新頭文件
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* RDI 1.0 defintions
   Copyright (C) 2001 Free Software Foundation, Inc.


This file is part of GDB.


GDB is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.


GDB is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.


You should have received a copy of the GNU General Public License
along with GDB; see the file COPYING.  If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.  */


/*
 * RCS $Revision: 1.10 $
 * Checkin $Date: 2000/09/12 10:09:53 $
 * Revising $Author: hbullman $
 */

#ifndef rdi100_h
#define rdi100_h

#if RDI_VERSION == 100
#  define RDI100_OpenProc RDI_OpenProc
#  define RDI100_CloseProc RDI_CloseProc
#  define RDI100_ReadProc RDI_ReadProc
#  define RDI100_WriteProc RDI_WriteProc
#  define RDI100_CPUReadProc RDI_CPUReadProc
#  define RDI100_CPUWriteProc RDI_CPUWriteProc
#  define RDI100_CPReadProc RDI_CPReadProc
#  define RDI100_CPWriteProc RDI_CPWriteProc
#  define RDI100_SetBreakProc RDI_SetBreakProc
#  define RDI100_ClearBreakProc RDI_ClearBreakProc
#  define RDI100_SetWatchProc RDI_SetWatchProc
#  define RDI100_ClearWatchProc RDI_ClearWatchProc
#  define RDI100_ExecuteProc RDI_ExecuteProc
#  define RDI100_StepProc RDI_StepProc
#  define RDI100_InfoProc RDI_InfoProc
#  define RDI100_PointInquiryProc RDI_PointInquiryProc
#  define RDI100_AddConfigProc RDI_AddConfigProc
#  define RDI100_LoadConfigDataProc RDI_LoadConfigDataProc
#  define RDI100_SelectConfigProc RDI_SelectConfigProc
#  define RDI100_NameListProc RDI_NameListProc
#  define RDI100_ErrMessProc RDI_ErrMessProc
#  define RDI100_LoadAgentProc RDI_LoadAgentProc
#  define RDI100_TargetIsDeadProc RDI_TargetIsDeadProc
#  define RDI100_ProcVec RDI_ProcVec
#  define RDI100_ConfigPointer RDI_ConfigPointer
#endif

/*
 * RDI Implementation Prototypes
 */


/*
 * Function:    RDI_OpenProc
 *  Purpose:    This is the Initialization routine and as such is the first
 *              call made to the RDI. It allows the program to set up the
 *              initial debuggee working environment. It will be called
 *              later if the emulator is to be reset. There are hot and
 *              cold calls. On the very first cold call is equivalent to a
 *              constructor when memory should be claimed.
 *              The initialization also provides a console window for
 *              reading and writing text. This can be used now and in the
 *              future for messages. The call provides information on the
 *              settings on the debugger.
 *
 *  Pre-conditions:
 *
 *  Params:
 *      Input:  type
 *                  b0          0   cold start
 *                              1   warm start
 *                  b1          1   reset the comms link
 *                  b2          0/1 little/big endian
 *                  b3          1   return endian
 *
 *              config          structure containing configuration
 *                              information
 *
 *              hostif          used for reading/writing to a console
 *
 *              dbg_state       handle to identify the current Debugger
 *                              state
 *
 *  Returns:                                 b3     b2
 *      Error:  RDIError_SoftInitialiseError X      X   If things go wrong!
 *      Error:  RDIError_WrongByteSex        0      E   bad match
 *      OK:     RDIError_NoError             0      E   match
 *      OK:     RDIError_LittleEndian        1      X
 *      OK:     RDIError_BigEndian           1      X
 */

typedef struct RDI_ConfigBlock *RDI100_ConfigPointer;

typedef int RDI100_OpenProc(
    unsigned type, struct RDI_ConfigBlock const *config,
    struct RDI_HostosInterface const *i, RDI_DbgState *dbg_state);


/*
 * Function:    RDI_CloseProc
 *  Purpose:    Close down
 *
 *  Params:     
 *
 *  Returns:    RDIError_NoError
 */
typedef int RDI100_CloseProc(void);


/*
 * Function:    RDI_ReadProc
 *  Purpose:    Read memory contents in byte format from the debuggee.
 *              read *nbytes of data from source address and write to dest
 *              in the caller's address space using the processor specified.
 *
 *              Assuming nothing went wrong with the transfer, the debuggee
 *              will normally return RDIError_NoError.  However, if the
 *              debuggee has changed its byte sex, it should return a
 *              notification of this change, i.e. either RDIError_BigEndian
 *              or RDI_ErrorLittleEndian; the caller must then acknowledge
 *              this notification by calling RDI_Info RDIInfo_AckByteSex.
 *              The debuggee will keep returning this notification until an
 *              acknowledgement has been received.
 *
 *  Params:
 *      Input:  source      address
 *
 *      In/Out: *nbytes     In:  number of bytes to read
 *                          Out: number of bytes actually read
 *
 *      Output: *dest       destination buffer
 *
 *  Returns:
 *      OK:     RDIError_NoError
 *              RDIError_BigEndian
 *              RDIError_LittleEndian
 *      Error:  RDIError_DataAbort  (if a memory exception occurs)
 */
typedef int RDI100_ReadProc(ARMword source, void *dest, unsigned *nbytes);


/*
 * Function:    RDI_WriteProc
 *  Purpose:    Write memory contents in byte format to the debuggee.
 *              read *nbytes of data from source address in the caller's
 *              address space, and write to dest using the processor specified.
 *
 *              Assuming nothing went wrong with the transfer, the debuggee
 *              will normally return RDIError_NoError.  However, if the
 *              debuggee has changed its byte sex, it should return a
 *              notification of this change, i.e. either RDIError_BigEndian
 *              or RDI_ErrorLittleEndian; the caller must then acknowledge
 *              this notification by calling RDI_Info RDIInfo_AckByteSex.
 *              The debuggee will keep returning this notification until an
 *              acknowledgement has been received.
 *
 *  Params:
 *      Input:  source      source buffer
 *
 *              dest        destination address
 *
 *      In/Out: *nbytes     In:  number of bytes to write
 *                          Out: number of bytes actually written
 *
 *  Returns:
 *      OK:     RDIError_NoError
 *              RDIError_BigEndian
 *              RDIError_LittleEndian
 *      Error:  RDIError_DataAbort  (if a memory exception occurs)
 */
typedef int RDI100_WriteProc(
    const void *source, ARMword dest, unsigned *nbytes);

/*
 * Function:    RDI_CPUreadProc
 *  Purpose:    Read the register content from the specified processor.
 *              The mask specifies which register(s) are to be transferred
 *              as 32-bit ARMwords.
 *              The mask has been extended to support more than 32 registers
 *  Params:
 *      Input:  mode        mode defines register context
 *                          ARM
 *                              RDIMode_Curr    use the current mode
 *                              Other values match the mode bits of the PSR.
 *                          PICCOLO *** Use of Piccolo is obsolete ***
 *                              RDIModeBankX    Transfer registers
 *                                              from bankX
 *
 *      Input:  mask[]      bits defining which registers are to be
 *                          transferred. These bits can be ORed to read any
 *                          combination of registers.
 *                          ARM
 *                              b0 - b14    r0 - r14
 *                              b15         Reserved.  Targets must ignore b15.
 *                                          Controllers must not set b15
 *                              RDIReg_PC   Just the program counter
 *                              RDIReg_CPSR CPSR register
 *                              RDIReg_SPSR SPSR register
 *
 *      Output: state[]     destination array of ARMwords
 *
 *  Returns:
 *      OK:     RDIError_NoError
 *      Error:  error code
 */
typedef int RDI100_CPUReadProc(unsigned mode, unsigned32 mask, ARMword *state);


/*
 * Function:    RDI_CPUwriteProc
 *  Purpose:    Write the register content to the specified processor.
 *              The mask specifies which register(s) are to be transferred
 *              as 32-bit ARMwords. The mask has been extended to support
 *              more than 32 registers in RDI2.
 *
 *  Params:
 *      Input:  mode        mode defines register context
 *                          ARM
 *                              RDIMode_Curr    use the current mode
 *                              Other values match the mode bits of the PSR.
 *      Input:  mask[]      bits defining which registers are to be
 *                          transferred. These bits can be ORed to read any
 *                          combination of registers.
 *                          ARM
 *                              b0 - b14    r0 - r14
 *                              b15         Reserved.  Targets must ignore b15.
 *                                          Controllers must not set b15
 *                              RDIReg_PC   Just the program counter
 *                              RDIReg_CPSR CPSR register
 *                              RDIReg_SPSR SPSR register
 *      Input:  state[]     source array of ARMwords
 *      InOut:  none
 *      Output: none
 *
 *  Returns:
 *         OK:  RDIError_NoError
 *     Not OK:  RDIError_ReadOnly - if writing is not allowed at this time
 *      Error:  error code
 */
typedef int RDI100_CPUWriteProc(
    unsigned mode, unsigned32 mask, ARMword const *state);


/*
 * Function:    RDI_CPreadProc
 *  Purpose:    Read the register content from the specified coprocessor.
 *              The mask specifies which register(s) are to be transferred
 *              as 32-bit ARMwords.
 *
 *              Each coprocessor will have its own register set defined in
 *              another header file. The actual registers transferred, and
 *              their size is dependent on the coprocessor specified.
 *
 *  Params:
 *      Input:  CPnum       coprocessor number for this processor
 *      Input   mask[]      bits define which registers are to be transferred
 *      InOut:  none
 *      Output: state[]     destination array for register values
 *
 *  Returns:
 *      OK:     RDIError_NoError
 *      Error:  error code
 */
typedef int RDI100_CPReadProc(unsigned CPnum, unsigned32 mask, ARMword *state);

/*
 * Function:    RDI_CPwriteProc
 *  Purpose:    Write the register content to the specified coprocessor.
 *              The mask specifies which register(s) are to be transferred
 *              as 32-bit ARMwords.
 *
 *              Each coprocessor will have its own register set defined in
 *              another header file. The actual registers transferred, and
 *              their size is dependent on the coprocessor specified.
 *
 *  Params:
 *      Input:  CPnum       coprocessor number for this processor
 *      Input   mask[]      bits define which registers are to be transferred
 *      Input:  state[]     source array of register values
 *      InOut:  none
 *      Output: none
 *
 *  Returns:
 *      OK:     RDIError_NoError
 *      Error:  error code
 */
typedef int RDI100_CPWriteProc(
    unsigned CPnum, unsigned32 mask, ARMword const *state);


/*
 * Function:    RDI_SetBreakProc
 *  Purpose:    Set a breakpoint in the debuggee.
 *
 *  Params:
 *      Input:  address     address of breakpoint
 *      Input:  type        one of RDIPoint_ types
 *
 *   RDIPoint_EQ          equal to address
 *   RDIPoint_GT          greater than address
 *   RDIPoint_GE          greater than or equal to address
 *   RDIPoint_LT          less than address
 *   RDIPoint_LE          less than or equal to address
 *   RDIPoint_IN          in the range from address to bound, inclusive
 *   RDIPoint_OUT         not in the range from address to bound, inclusive
 *   RDIPoint_MASK        halt execution if (pc & bound) = address
 *   RDIPoint_16Bit       if set breakpoint is on 16-bit (Thumb) instruction
 *   RDIPoint_Conditional if set breakpoint only occurs when the
 *                        instructions condition is true.
 *
 *      Input:  bound       upper address range
 *      InOut:  none
 *      Output: *handle     A handle to identify the breakpoint
 *
 *  Returns:
 *      OK:     RDIError_NoError
 *      OK:     RDIError_NoMorePoints - successful,
 *                                      but no more points available
 *      Error:  RDIError_CantSetPoint
 */
typedef int RDI100_SetBreakProc(
    ARMword address, unsigned type, ARMword bound, RDI_PointHandle *handle);


/*
 * Function:    RDI_ClearBreakProc
 *  Purpose:    Clear a breakpoint in the debuggee.
 *
 *  Params:
 *      Input:  handle      identifies breakpoint
 *      InOut:  none
 *      Output: none
 *
 *  Returns:
 *      OK:     RDIError_NoError
 *      Error:  RDIError_NoSuchPoint
 */
typedef int RDI100_ClearBreakProc(RDI_PointHandle handle);


/*
 * Function:    RDI_SetWatchProc
 *  Purpose:    Set a watchpoint in the debuggee.
 *
 *  Params:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆成人免费电影| 精品亚洲国内自在自线福利| 7777女厕盗摄久久久| 麻豆精品在线视频| 亚洲日本中文字幕区| 欧美综合天天夜夜久久| 毛片不卡一区二区| 成人免费在线观看入口| 日韩无一区二区| 91色九色蝌蚪| 国产高清亚洲一区| 午夜精品福利在线| 亚洲欧美色图小说| 久久久精品蜜桃| 欧美精品一区二区三区四区| 日本丰满少妇一区二区三区| 国产成人亚洲精品狼色在线| 国产在线播放一区| 日韩av在线发布| 午夜伦欧美伦电影理论片| 亚洲三级在线播放| 亚洲国产欧美日韩另类综合| 国产精品久久久99| 中文字幕中文字幕在线一区| 中文字幕av在线一区二区三区| 中文字幕国产一区| 最新欧美精品一区二区三区| 亚洲欧美中日韩| 亚洲网友自拍偷拍| 亚洲成人黄色影院| 天天亚洲美女在线视频| 天涯成人国产亚洲精品一区av| 亚洲一区日韩精品中文字幕| 亚洲午夜久久久久久久久电影院| 亚洲女子a中天字幕| 五月天丁香久久| 国产一区激情在线| 99视频精品在线| 欧美伊人久久大香线蕉综合69| 欧美色窝79yyyycom| 日韩欧美aaaaaa| 一区二区成人在线观看| 久久爱另类一区二区小说| 成人综合婷婷国产精品久久蜜臀| av成人免费在线| 欧美videos中文字幕| 亚洲欧美日韩中文播放| 国产在线精品免费av| 欧美日韩黄色一区二区| 国产精品久久看| 国产一区三区三区| 欧美日韩国产经典色站一区二区三区 | 日韩国产欧美一区二区三区| 国产成人在线色| 精品国产一区二区三区忘忧草 | 91在线看国产| 国产亚洲人成网站| 激情综合网天天干| 欧美日韩一级大片网址| 亚洲三级电影网站| 成人一区在线观看| 久久欧美一区二区| 美女在线一区二区| 欧美一区国产二区| 日韩精品五月天| 欧美性猛片aaaaaaa做受| 亚洲人成7777| 91久久精品一区二区三| 中文字幕在线观看不卡| 福利一区福利二区| 国产精品情趣视频| 91蝌蚪porny| 亚洲人成网站色在线观看| 99久久精品免费精品国产| 中文字幕一区在线观看视频| 成人免费视频视频| 亚洲精品国产无套在线观| 色老汉av一区二区三区| 亚洲福利一区二区| 精品日韩99亚洲| 7777精品伊人久久久大香线蕉完整版| 首页综合国产亚洲丝袜| 精品一区二区日韩| 欧美激情综合五月色丁香| 94-欧美-setu| 亚洲 欧美综合在线网络| 日韩精品一区二区三区四区视频| 国内精品国产三级国产a久久| 国产欧美一区二区精品婷婷| 色综合久久综合网欧美综合网| 五月天中文字幕一区二区| 国产亚洲精品福利| 日韩一区二区电影在线| 国产999精品久久| 麻豆精品精品国产自在97香蕉| 久久午夜国产精品| 99国内精品久久| 91在线国产福利| 亚洲高清免费一级二级三级| 久久久青草青青国产亚洲免观| 色婷婷综合久色| 粉嫩蜜臀av国产精品网站| 亚洲图片欧美综合| 亚洲男女毛片无遮挡| 国产精品视频第一区| 欧美成人精品福利| 911精品国产一区二区在线| 欧美亚洲国产一区在线观看网站| 成人深夜视频在线观看| 激情深爱一区二区| 蓝色福利精品导航| 日韩福利视频网| 亚洲中国最大av网站| 一区二区三区四区蜜桃| 亚洲男帅同性gay1069| 亚洲欧美自拍偷拍| 亚洲国产va精品久久久不卡综合| 亚洲国产精品精华液网站| 亚洲乱码日产精品bd| 亚洲综合图片区| 日本中文字幕一区二区有限公司| 午夜不卡av免费| 久久se这里有精品| 成人av在线资源网站| 91视频国产资源| 日韩精品一区二区三区老鸭窝| 久久青草国产手机看片福利盒子| 国产精品久久久久久久午夜片| 国产乱码精品一区二区三区五月婷 | 久久午夜老司机| 亚洲欧美日韩国产综合在线| 亚洲国产精品久久艾草纯爱| 蜜臀久久99精品久久久久宅男 | 九色综合狠狠综合久久| 国产传媒欧美日韩成人| 欧美日韩精品一区二区天天拍小说| 国产女同互慰高潮91漫画| 精品一区二区三区欧美| 色婷婷av久久久久久久| 中文字幕精品在线不卡| 久久99精品久久久久久动态图| 国产suv一区二区三区88区| 色天使久久综合网天天| 亚洲色图在线播放| 99久久婷婷国产综合精品| bt7086福利一区国产| 欧美日韩高清一区| 日韩激情av在线| 99re8在线精品视频免费播放| 日韩国产欧美在线播放| 99精品视频中文字幕| 亚洲va韩国va欧美va精品 | youjizz国产精品| 亚洲欧美激情在线| 欧美理论在线播放| 免费在线观看一区| 久久久精品日韩欧美| 国产91精品久久久久久久网曝门 | 亚洲精品国产一区二区精华液| 亚洲免费观看高清完整版在线 | 亚洲黄色小视频| 在线中文字幕不卡| 亚洲一区二区三区四区五区黄| 在线亚洲高清视频| 久久国产尿小便嘘嘘| 国产亚洲美州欧州综合国| 豆国产96在线|亚洲| 国产精品盗摄一区二区三区| 色菇凉天天综合网| 精品亚洲免费视频| 日本成人超碰在线观看| 日韩欧美中文字幕公布| 欧美日韩另类一区| 国产成人精品在线看| 老司机精品视频一区二区三区| 亚洲激情网站免费观看| 成人欧美一区二区三区1314| 日韩午夜精品视频| 大美女一区二区三区| 亚洲一卡二卡三卡四卡 | 午夜视频一区二区三区| 久久久www成人免费毛片麻豆 | 国产精品久久免费看| 日韩亚洲欧美中文三级| 99久久综合国产精品| 麻豆中文一区二区| 亚洲va欧美va天堂v国产综合| 91麻豆精品国产91久久久 | 蜜桃久久久久久| 亚洲 欧美综合在线网络| 成人免费一区二区三区在线观看| 精品卡一卡二卡三卡四在线| 欧美日韩一区不卡| 欧美性色欧美a在线播放| 94色蜜桃网一区二区三区| 成人免费黄色在线| 波多野结衣一区二区三区| 成人精品鲁一区一区二区| 粉嫩13p一区二区三区| 99视频精品在线|