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

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

?? rxtx.h

?? 這個是LINUX下的GDB調度工具的源碼
?? H
字號:
/*  * Copyright (C) 1995 Advanced RISC Machines Limited. All rights reserved. *  * This software may be freely used, copied, modified, and distributed * provided that the above copyright notice is preserved in all copies of the * software. *//*-*-C-*- * * $Revision: 1.2 $ *     $Date: 1998/01/08 11:12:29 $ * * *   Project: ANGEL * *     Title:  Definitions required for the rx and tx engines */#ifndef angel_rxtx_h#define angel_rxtx_h/* * we need a definition for bool, which is "system" dependent */#ifdef TARGET# include "angel.h"#else# include "host.h"#endif#include "devclnt.h"/* return status codes for the rx engine */typedef enum re_status {  RS_WAIT_PKT,  RS_IN_PKT,  RS_BAD_PKT,  RS_GOOD_PKT} re_status;/* return status codes for the tx engine */typedef enum te_status {  TS_IDLE,  TS_IN_PKT,  TS_DONE_PKT} te_status;/* * required serial definitions, they should all be <32, refer to the * re_config struct comments for more details */#define serial_STX    (0x1c) /* data packet start */#define serial_ETX    (0x1d) /* packet end */#define serial_ESC    (0x1b) /* standard escape character */#define serial_XON    (0x11) /* software flow control - enable transmission */#define serial_XOFF   (0x13) /* software flow control - disable transmission *//* * All other characters are transmitted clean. If any of the above * characters need to be transmitted as part of the serial data stream * then the character will be preceded by the "serial_ESC" character, * and then the required character transmitted (OR-ed with the * "serial_ESCAPE" value, to ensure that the serial stream never has * any of the exceptional characters generated by data transfers). */#define serial_ESCAPE   (0x40)  /* OR-ed with escaped characters *//* bad packet error codes */typedef enum re_error {  RE_OKAY,  RE_U_STX,  RE_U_ETX,  RE_LEN,  RE_CRC,  RE_NETX,  RE_INTERNAL} re_error;/* a decoded packet */struct data_packet {  unsigned short  buf_len;      /* should be set by caller */  DevChanID       type;         /* valid when status is RS_GOOD_PKT */  unsigned short  len;          /* --"--                            */  unsigned int    crc;          /* crc for the unescaped pkt */  unsigned char   *data;        /* should be set by caller */};/* * Purpose: typedef for flow control function * *  Params: *          Input:  fc_char  the flow control character in question *          In/Out: cb_data  callback data as set in the fc_data *                             field of re_config, typically device id * * This callback would tpyically respond to received XON and XOFF * characters by controlling the transmit side of the device. */typedef void (*fc_cb_func)(char fc_char, void *cb_data);/* * Purpose: typedef for the function to alloc the data buffer  * *  Params: *          In/Out: packet    the data packet: len and type will be set on *                              entry, and buf_len and data should *                              be set by this routine if successful. *                  cb_data   callback data as set in the ba_data *                              field of re_config, typically device id * *         Returns: TRUE      buffer allocated okay *                  FALSE     couldn't allocate buffer of required size *                              for given type * * This callback should attempt to acquire a buffer for the data portion * of the packet which is currently being received, based on the len and  * type fields supplied in packet. * * angel_DD_RxEng_BufferAlloc() is supplied for use as this callback, * and will be sufficient for most devices. */typedef bool (*BufferAlloc_CB_Fn)(struct data_packet *packet, void *cb_data);/* * The static info needed by the engine, may vary per device. * * fc_set and esc_set are bitmaps, e.g. bit 3 == charcode 3 == ASCII ETX. * Thus any of the first 32 charcodes can be set for flow control or to * be escaped. *  * Note that esc_set should include all of fc_set, and should have bits * set for stx, etx and esc, as a minimum. * * If character codes > 31 need to be used then fc_set and esc_set * and their handling can be extended to use arrays and bit manipulation * macros, potentially up to the full 256 possible chars. * * Note too that this could/should be shared with the tx engine. */struct re_config {  unsigned char     stx;                  /* the STX char for this device */  unsigned char     etx;                  /* the ETX --"--                */  unsigned char     esc;                  /* the ESC --"--                */  unsigned int      fc_set;               /* bitmap of flow control chars */  unsigned int      esc_set;              /* bitmap of special chars      */  fc_cb_func        fc_callback;          /* flow control callback func   */  void              *fc_data;             /* data to pass to fc_callback  */  BufferAlloc_CB_Fn ba_callback;          /* buffer alloc callback        */  void              *ba_data;             /* data to pass to ba_calback   */};/* the dynamic info needed by the rx engine */struct re_state {  unsigned char          rx_state; /* 3 bits pkt state, 1 prepro state */  unsigned short         field_c;  /* chars left in current field */  unsigned short         index;    /* index into buffer */  unsigned int           crc;      /* crc accumulator */  re_error               error;    /* valid only if status is RS_BAD_PKT */  const struct re_config *config;  /* pointer to static config */};/* dynamic state info needed by the tx engine */struct te_state {  unsigned short         field_c;  /* position in current field */  unsigned char          tx_state; /* encodes n,e, and f (2+1+2=5 bits) */  unsigned char          encoded;  /* escape-encoded char for transmission */  const struct re_config *config;  /* pointer to static config */  unsigned int           crc;      /* space for CRC (before escaping) */};/* * Function: Angel_RxEngineInit *  Purpose: Initialise state (during device init) for engine. * *   Params: *              Input: config   static config info *             In/Out: state    internal state */void Angel_RxEngineInit(const struct re_config *config,                        struct re_state *state);/* * Function: Angel_RxEngine *  Purpose: Rx Engine for character-based devices * *   Params: *              Input: new_ch       the latest character * *             In/Out: packet       details of packet *                                   packet.buf_len and packet.data must *                                   be set on entry! *                     state        internal state, intially set by *                                   angel_RxEngineInit() * *            Returns: re_status (see above) * */re_status Angel_RxEngine(unsigned char new_ch, struct data_packet *packet,                         struct re_state *state);/* * This can be used as the buffer allocation callback for the rx engine, * and will make use of angel_DD_GetBuffer() [in devdrv.h].  * * Saves duplicating this callback function in every device driver that * uses the rx engine. * * Note that this REQUIRES that the device id is installed as ba_data * in the rx engine config structure for the driver. */bool angel_DD_RxEng_BufferAlloc( struct data_packet *packet, void *cb_data );/* * Function: Angel_TxEngineInit *  Purpose: Set up tx engine at start of new packet, calculate CRC etc. *           (This should perform the actions described under *             "Initialisation" above) * *   Params: *              Input: config   static config info *                     packet   the packet to transmit *             In/Out: state    internal state */void Angel_TxEngineInit(const struct re_config   *config,                        const struct data_packet *packet,                         struct te_state    *state);/* * Function: Angel_TxEngine *  Purpose: Tx Engine for character-based devices * *   Params: *              Input: packet       details of packet *                                   packet.len, packet.data and *                                   packet.type must *                                   be set on entry! *             In/Out: state        internal state, intially set by *                                   angel_TxEngineStart() *             Output: tx_ch        the character to be transmitted  *                                   (NOT SET if return code is TS_IDLE) * *            Returns: te_status (see above) */te_status Angel_TxEngine(const struct data_packet  *packet,                         struct te_state *state,                         unsigned char *tx_ch);#endif /* !defined(angel_rxtx_h) *//*  EOF rxtx.h */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃av一区二区在线观看| 精品嫩草影院久久| 亚洲精品视频一区| 国产欧美日韩视频一区二区| 欧美不卡在线视频| 国产欧美1区2区3区| 国产日韩v精品一区二区| 国产情人综合久久777777| 亚洲国产精品黑人久久久| 国产精品久久久久aaaa樱花| 国产精品国产三级国产普通话蜜臀| 国产精品毛片无遮挡高清| 国产精品国产三级国产专播品爱网| 成人欧美一区二区三区白人 | 亚洲国产成人高清精品| 一区二区在线观看免费| 亚洲妇熟xx妇色黄| 激情综合色综合久久综合| 国产一区二区伦理片| 豆国产96在线|亚洲| 96av麻豆蜜桃一区二区| 在线免费视频一区二区| 欧美精品一二三四| 久久亚洲一级片| 中文字幕一区在线| 日韩福利视频网| 国产麻豆视频一区二区| 91麻豆高清视频| 欧美一三区三区四区免费在线看| 精品国产99国产精品| 国产精品久久久久久一区二区三区 | 不卡av免费在线观看| 欧美体内she精高潮| 精品久久一区二区三区| 国产精品国产自产拍在线| 首页国产欧美久久| 99久久综合99久久综合网站| 在线成人av影院| 国产精品免费久久| 美女视频网站黄色亚洲| 97精品国产露脸对白| 精品少妇一区二区三区 | 亚洲国产精品久久久久秋霞影院| 久久疯狂做爰流白浆xx| 91成人在线观看喷潮| 国产午夜精品一区二区三区视频| 亚洲风情在线资源站| gogogo免费视频观看亚洲一| 91精品国产综合久久国产大片| 国产偷国产偷亚洲高清人白洁| 亚洲超碰精品一区二区| 成人18视频日本| 欧美一级理论片| 亚洲成人中文在线| 色呦呦国产精品| 国产精品麻豆欧美日韩ww| 另类欧美日韩国产在线| 欧美日韩精品系列| 亚洲精品福利视频网站| 99热在这里有精品免费| 欧美激情综合网| 精品一区二区久久久| 欧美精品久久一区| 亚洲大片免费看| 一本到不卡免费一区二区| 国产精品久久久久久久久久久免费看 | www.在线欧美| 国产亚洲精品中文字幕| 国内精品嫩模私拍在线| 日韩欧美成人午夜| 麻豆精品一区二区三区| 67194成人在线观看| 天堂资源在线中文精品| 欧美日韩国产综合一区二区| 亚洲免费av在线| 91国偷自产一区二区三区成为亚洲经典 | 国产亚洲精品bt天堂精选| 精品在线观看视频| 精品免费国产一区二区三区四区| 亚洲成人一区二区在线观看| 欧美天天综合网| 日日摸夜夜添夜夜添精品视频| 欧美日韩精品三区| 奇米色一区二区| 精品免费日韩av| 国产高清不卡一区| 国产精品久久久99| 91香蕉视频mp4| 亚洲一区二区视频在线观看| 678五月天丁香亚洲综合网| 欧美aa在线视频| 欧美精品一区二区三区在线| 国产高清视频一区| 亚洲精品免费在线播放| 欧美高清精品3d| 久久av中文字幕片| 国产精品无码永久免费888| 91亚洲精品久久久蜜桃| 亚洲1区2区3区4区| 欧美精品一区二区三区在线| 国产91丝袜在线播放0| 亚洲人成7777| 91麻豆精品国产自产在线观看一区| 免费视频最近日韩| 国产精品久线观看视频| 色8久久人人97超碰香蕉987| 麻豆91在线观看| 欧美国产欧美亚州国产日韩mv天天看完整 | 欧美性xxxxxxxx| 亚洲男女毛片无遮挡| 欧美视频中文字幕| 久久er99精品| 亚洲美女免费在线| 欧美刺激脚交jootjob| 97久久精品人人做人人爽 | 久久亚洲精精品中文字幕早川悠里| 风间由美一区二区三区在线观看 | 午夜精品久久久久久久久久久 | 国产偷国产偷亚洲高清人白洁 | 日韩av不卡在线观看| 中文字幕欧美区| 欧美精品乱码久久久久久| 成人美女视频在线观看18| 亚洲aaa精品| 18涩涩午夜精品.www| 精品国产sm最大网站| 欧美色图免费看| 成人一级视频在线观看| 日韩av中文在线观看| 成人免费在线视频| 国产日韩精品视频一区| 日韩丝袜情趣美女图片| 欧美视频中文一区二区三区在线观看| 国产麻豆精品久久一二三| 日韩精品欧美精品| 亚洲超碰精品一区二区| 亚洲日本在线观看| 国产精品久久久久影视| 久久久久一区二区三区四区| 欧美一区二区三区成人| 欧美日韩高清一区二区三区| 99re66热这里只有精品3直播 | 麻豆精品视频在线观看免费| 亚洲精品国产无天堂网2021 | 欧美综合一区二区| 色综合一个色综合| 91香蕉视频污在线| 色综合亚洲欧洲| 色综合中文字幕国产| 丰满白嫩尤物一区二区| 国产精品一区一区三区| 国产精品自在在线| 国产主播一区二区三区| 国产一区二区三区在线看麻豆| 男女激情视频一区| 精品一区二区三区视频| 另类专区欧美蜜桃臀第一页| 久久99久国产精品黄毛片色诱| 蜜桃av一区二区在线观看| 久久99九九99精品| 国产精品主播直播| 成人高清视频免费观看| 91猫先生在线| 欧美图区在线视频| 日韩欧美一区中文| 久久综合给合久久狠狠狠97色69| 久久女同性恋中文字幕| 国产精品全国免费观看高清| 亚洲欧美日韩国产另类专区| 一区二区三区久久| 免费人成精品欧美精品| 激情综合网激情| 不卡一区二区在线| 欧美日韩一区中文字幕| 日韩一区二区电影网| 久久久久久**毛片大全| 中文字幕亚洲视频| 亚洲成人av资源| 国产精品69毛片高清亚洲| 97久久人人超碰| 日韩一区二区免费在线电影| 久久精品视频一区二区| 亚洲精品视频在线| 久久精品噜噜噜成人88aⅴ| 成人一区二区视频| 欧美色图一区二区三区| 精品国产免费一区二区三区四区| 国产精品福利一区二区三区| 亚洲成人激情自拍| 国产成人精品综合在线观看 | 日韩精品一区国产麻豆| 国产精品另类一区| 蜜桃视频在线一区| 91亚洲国产成人精品一区二区三| 3d成人h动漫网站入口| 中文字幕五月欧美| 久久国产精品免费| 欧美日韩极品在线观看一区| 国产日产欧美一区| 麻豆91精品91久久久的内涵|