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

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

?? tm-vx29k.h

?? lwip在ucos上的移植
?? H
字號:
/* Target machine description for VxWorks on the 29k, for GDB, the GNU debugger.   Copyright 1994, 1999 Free Software Foundation, Inc.   Contributed by Cygnus Support.   This file is part of GDB.   This program 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 of the License, or   (at your option) any later version.   This program 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 this program; if not, write to the Free Software   Foundation, Inc., 59 Temple Place - Suite 330,   Boston, MA 02111-1307, USA.  */#include "a29k/tm-a29k.h"#include "tm-vxworks.h"/* Number of registers in a ptrace_getregs call. */#define VX_NUM_REGS (NUM_REGS)/* Number of registers in a ptrace_getfpregs call. *//* #define VX_SIZE_FPREGS *//* This is almost certainly the wrong place for this: */#define LR2_REGNUM 34/* Vxworks has its own CALL_DUMMY since it manages breakpoints in the kernel */#undef CALL_DUMMY/* Replace the breakpoint instruction in the CALL_DUMMY with a nop.   For Vxworks, the breakpoint is set and deleted by calls to   CALL_DUMMY_BREAK_SET and CALL_DUMMY_BREAK_DELETE.  */#if TARGET_BYTE_ORDER == HOST_BYTE_ORDER#define CALL_DUMMY {0x0400870f,\		0x36008200|(MSP_HW_REGNUM), \		0x15000040|(MSP_HW_REGNUM<<8)|(MSP_HW_REGNUM<<16), \		0x03ff80ff, 0x02ff80ff, 0xc8008080, 0x70400101, 0x70400101}#else /* Byte order differs.  */#define CALL_DUMMY {0x0f870004,\		0x00820036|(MSP_HW_REGNUM << 24), \		0x40000015|(MSP_HW_REGNUM<<8)|(MSP_HW_REGNUM<<16), \		0xff80ff03, 0xff80ff02, 0x808000c8, 0x01014070, 0x01014070}#endif /* Byte order differs.  *//* For the basic CALL_DUMMY definitions, see "tm-29k.h."  We use the   same CALL_DUMMY code, but define FIX_CALL_DUMMY (and related macros)   locally to handle remote debugging of VxWorks targets.  The difference   is in the setting and clearing of the breakpoint at the end of the   CALL_DUMMY code fragment; under VxWorks, we can't simply insert a   breakpoint instruction into the code, since that would interfere with   the breakpoint management mechanism on the target.   Note that CALL_DUMMY is a piece of code that is used to call any C function   thru VxGDB *//* The offset of the instruction within the CALL_DUMMY code where we   want the inferior to stop after the function call has completed.   call_function_by_hand () sets a breakpoint here (via CALL_DUMMY_BREAK_SET),   which POP_FRAME later deletes (via CALL_DUMMY_BREAK_DELETE).  */#define CALL_DUMMY_STOP_OFFSET (7 * 4)/* The offset of the first instruction of the CALL_DUMMY code fragment   relative to the frame pointer for a dummy frame.  This is equal to   the size of the CALL_DUMMY plus the arg_slop area size (see the diagram   in "tm-29k.h").  *//* PAD : the arg_slop area size doesn't appear to me to be useful since, the   call dummy code no longer modify the msp. See below. This must be checked. */#define CALL_DUMMY_OFFSET_IN_FRAME (CALL_DUMMY_LENGTH + 16 * 4)/* Insert the specified number of args and function address   into a CALL_DUMMY sequence stored at DUMMYNAME, replace the third   instruction (add msp, msp, 16*4) with a nop, and leave the final nop.   We can't keep using a CALL_DUMMY that modify the msp since, for VxWorks,   CALL_DUMMY is stored in the Memory Stack. Adding 16 words to the msp   would then make possible for the inferior to overwrite the CALL_DUMMY code,   thus creating a lot of trouble when exiting the inferior to come back in   a CALL_DUMMY code that no longer exists... Furthermore, ESF are also stored   from the msp in the memory stack. If msp is set higher than the dummy code,   an ESF may clobber this code. */#if TARGET_BYTE_ORDER == BIG_ENDIAN#define NOP_INSTR  0x70400101#else /* Target is little endian */#define NOP_INSTR  0x01014070#endif#undef FIX_CALL_DUMMY#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p)  \  {                                                                   \    *(int *)((char *)dummyname + 8) = NOP_INSTR;                      \    STUFF_I16((char *)dummyname + CONST_INSN, fun);                   \    STUFF_I16((char *)dummyname + CONST_INSN + 4, fun >> 16);         \  }/* For VxWorks, CALL_DUMMY must be stored in the stack of the task that is   being debugged and executed "in the context of" this task */#undef CALL_DUMMY_LOCATION#define CALL_DUMMY_LOCATION     ON_STACK/* Set or delete a breakpoint at the location within a CALL_DUMMY code   fragment where we want the target program to stop after the function   call is complete.  CALL_DUMMY_ADDR is the address of the first   instruction in the CALL_DUMMY.  DUMMY_FRAME_ADDR is the value of the   frame pointer in the dummy frame.   NOTE: in the both of the following definitions, we take advantage of   knowledge of the implementation of the target breakpoint operation,   in that we pass a null pointer as the second argument.  It seems   reasonable to assume that any target requiring the use of    CALL_DUMMY_BREAK_{SET,DELETE} will not store the breakpoint   shadow contents in GDB; in any case, this assumption is vaild   for all VxWorks-related targets.  */#define CALL_DUMMY_BREAK_SET(call_dummy_addr) \  target_insert_breakpoint ((call_dummy_addr) + CALL_DUMMY_STOP_OFFSET, \			    (char *) 0)#define CALL_DUMMY_BREAK_DELETE(dummy_frame_addr) \  target_remove_breakpoint ((dummy_frame_addr) - (CALL_DUMMY_OFFSET_IN_FRAME \				                  - CALL_DUMMY_STOP_OFFSET), \			    (char *) 0)/* Return nonzero if the pc is executing within a CALL_DUMMY frame.  */#define PC_IN_CALL_DUMMY(pc, sp, frame_address) \  ((pc) >= (sp) \    && (pc) <= (sp) + CALL_DUMMY_OFFSET_IN_FRAME + CALL_DUMMY_LENGTH)/* Defining this prevents us from trying to pass a structure-valued argument   to a function called via the CALL_DUMMY mechanism.  This is not handled   properly in call_function_by_hand (), and the fix might require re-writing   the CALL_DUMMY handling for all targets (at least, a clean solution   would probably require this).  Arguably, this should go in "tm-29k.h"   rather than here.  */#define STRUCT_VAL_ARGS_UNSUPPORTED#define BKPT_OFFSET	(7 * 4)#define BKPT_INSTR	0x72500101#undef FIX_CALL_DUMMY#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p)   \  {\    STUFF_I16((char *)dummyname + CONST_INSN, fun);\    STUFF_I16((char *)dummyname + CONST_INSN + 4, fun >> 16);\    *(int *)((char *)dummyname + BKPT_OFFSET) = BKPT_INSTR;\  }/* Offsets into jmp_buf.  They are derived from VxWorks' REG_SET struct   (see VxWorks' setjmp.h). Note that Sun2, Sun3 and SunOS4 and VxWorks have   different REG_SET structs, hence different layouts for the jmp_buf struct.   Only JB_PC is needed for getting the saved PC value.  */#define JB_ELEMENT_SIZE 4	/* size of each element in jmp_buf */#define JB_PC		3	/* offset of pc (pc1) in jmp_buf *//* Figure out where the longjmp will land.  We expect that we have just entered   longjmp and haven't yet setup the stack frame, so the args are still in the   output regs.  lr2 (LR2_REGNUM) points at the jmp_buf structure from which we   extract the pc (JB_PC) that we will land at.  The pc is copied into ADDR.   This routine returns true on success */#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)extern int get_longjmp_target PARAMS ((CORE_ADDR *));/* VxWorks adjusts the PC after a breakpoint has been hit.  */#undef DECR_PC_AFTER_BREAK#define DECR_PC_AFTER_BREAK 0/* Do whatever promotions are appropriate on a value being returned   from a function.  VAL is the user-supplied value, and FUNC_TYPE   is the return type of the function if known, else 0.   For the Am29k, as far as I understand, if the function return type is known,   cast the value to that type; otherwise, ensure that integer return values   fill all of gr96.   This definition really belongs in "tm-29k.h", since it applies   to most Am29K-based systems; but once moved into that file, it might   need to be redefined for all Am29K-based targets that also redefine   STORE_RETURN_VALUE.  For now, to be safe, we define it here.  */#define PROMOTE_RETURN_VALUE(val, func_type) \  do {                                                                  \      if (func_type)                                                    \        val = value_cast (func_type, val);                              \      if ((TYPE_CODE (VALUE_TYPE (val)) == TYPE_CODE_INT                \           || TYPE_CODE (VALUE_TYPE (val)) == TYPE_CODE_ENUM)           \          && TYPE_LENGTH (VALUE_TYPE (val)) < REGISTER_RAW_SIZE (0))    \        val = value_cast (builtin_type_int, val);                       \  } while (0)extern int vx29k_frame_chain_valid PARAMS ((CORE_ADDR, struct frame_info *));#define FRAME_CHAIN_VALID(chain, thisframe) vx29k_frame_chain_valid (chain, thisframe)extern CORE_ADDR frame_saved_call_site ();#undef PREPARE_TO_INIT_FRAME_INFO#define PREPARE_TO_INIT_FRAME_INFO(fci)	do {				      \  long current_msp = read_register (MSP_REGNUM);			      \  if (PC_IN_CALL_DUMMY (fci->pc, current_msp, 0))			      \    {									      \      fci->rsize = DUMMY_FRAME_RSIZE;					      \      fci->msize = 0;							      \      fci->saved_msp =	 						      \	read_register_stack_integer (fci->frame + DUMMY_FRAME_RSIZE - 4, 4);  \      fci->flags |= (TRANSPARENT|MFP_USED);				      \      return;								      \    }									      \  } while (0)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产综合色视频| 日本免费在线视频不卡一不卡二| 7777女厕盗摄久久久| 色婷婷一区二区三区四区| 国产成人精品影视| 成人一级黄色片| av在线一区二区| 欧美日韩一级视频| 欧美另类变人与禽xxxxx| 欧美日本一道本在线视频| 欧美一区二区视频在线观看 | 精品日韩成人av| 精品免费日韩av| 中文天堂在线一区| 亚洲综合网站在线观看| 日韩精品免费专区| 经典三级视频一区| 丁香婷婷综合五月| 欧美影视一区在线| 精品国精品国产尤物美女| 欧美激情在线观看视频免费| 亚洲视频一二区| 日韩av中文字幕一区二区三区| 久久国产夜色精品鲁鲁99| 丁香啪啪综合成人亚洲小说 | 色丁香久综合在线久综合在线观看| 91免费版在线| 日韩精品中文字幕一区二区三区| 久久久精品国产免大香伊| 综合欧美亚洲日本| 日本不卡1234视频| 97国产精品videossex| 欧美日韩精品福利| 国产精品视频在线看| 亚洲午夜精品网| 大桥未久av一区二区三区中文| 欧美亚洲一区三区| 国产日产精品一区| 亚洲成人免费在线| 国产福利一区二区三区视频在线| 欧美制服丝袜第一页| 国产校园另类小说区| 午夜日韩在线观看| 色综合天天综合色综合av| 欧美va亚洲va在线观看蝴蝶网| 亚洲免费观看高清完整版在线观看熊| 久久精品国产第一区二区三区| 日本国产一区二区| 欧美激情在线看| 久久综合综合久久综合| 91国偷自产一区二区三区成为亚洲经典 | 一区二区三区四区蜜桃| 国产在线精品一区二区夜色| 欧美日韩一区二区三区四区五区| 国产精品久久久99| 国产盗摄女厕一区二区三区| 91精品免费在线观看| 一个色妞综合视频在线观看| 成人理论电影网| 国产无人区一区二区三区| 蜜臀久久久久久久| 欧美色图一区二区三区| 亚洲欧美二区三区| 99精品热视频| 国产精品久久国产精麻豆99网站| 国产一区二区视频在线| 精品毛片乱码1区2区3区| 蜜桃一区二区三区四区| 91精品麻豆日日躁夜夜躁| 日韩中文字幕区一区有砖一区| 欧美在线观看禁18| 亚洲福利一区二区| 51精品秘密在线观看| 偷拍与自拍一区| 日韩一卡二卡三卡国产欧美| 青草国产精品久久久久久| 欧美一级xxx| 精品亚洲成av人在线观看| 精品国产伦一区二区三区免费| 免费观看一级特黄欧美大片| 欧美刺激午夜性久久久久久久| 日韩精品久久久久久| 538在线一区二区精品国产| 午夜精品久久久久久久99水蜜桃| 欧美日韩精品欧美日韩精品一综合| 亚洲五码中文字幕| 日韩丝袜情趣美女图片| 国产一区二区福利视频| 欧美激情一区在线观看| 色综合天天综合色综合av | 国产清纯白嫩初高生在线观看91 | 一区二区三区蜜桃| 欧美日本在线看| 蓝色福利精品导航| 欧美高清在线一区二区| av一本久道久久综合久久鬼色| 中文字幕一区二区三区蜜月| 在线视频欧美精品| 免费看欧美美女黄的网站| 国产欧美精品国产国产专区| caoporen国产精品视频| 亚洲成人福利片| 精品国产免费一区二区三区四区| 成人免费毛片片v| 亚洲国产另类av| 久久免费视频一区| 欧美亚洲动漫制服丝袜| 日本不卡中文字幕| 亚洲欧洲日韩一区二区三区| 欧美日韩国产经典色站一区二区三区| 精品一区二区三区av| 中文字幕一区二区5566日韩| 欧美久久高跟鞋激| 不卡的av电影| 久久99热这里只有精品| 一二三四社区欧美黄| 国产女人水真多18毛片18精品视频| 色欧美日韩亚洲| 国产在线一区观看| 亚洲影院在线观看| 国产精品国产三级国产| 日韩一区二区在线观看视频| 3d动漫精品啪啪1区2区免费| 成人免费视频一区二区| 精久久久久久久久久久| 五月激情六月综合| 一区二区三区不卡视频| 国产欧美一区二区精品婷婷| 4438x成人网最大色成网站| 色诱视频网站一区| 成人三级在线视频| 国产乱码精品一区二区三区忘忧草 | 国产精品成人一区二区三区夜夜夜| 欧美日韩成人综合在线一区二区| 成人午夜在线视频| 国产精品一区二区免费不卡 | 中文字幕中文在线不卡住| 精品国产一区二区国模嫣然| 欧美精品一级二级| 欧洲生活片亚洲生活在线观看| eeuss鲁片一区二区三区在线看| 国产一区二区伦理| 国产一区二区在线看| 麻豆精品在线观看| 日本不卡一区二区| 日韩专区欧美专区| 天天色综合成人网| 亚洲bt欧美bt精品| 日韩av一级片| 男男视频亚洲欧美| 蜜臀av一区二区在线观看| 秋霞电影一区二区| 日韩av在线发布| 久久精品国产秦先生| 久久成人免费电影| 国产麻豆精品95视频| 国产v日产∨综合v精品视频| 国产综合色产在线精品| 国产精品一区专区| 99热国产精品| 在线视频一区二区三| 欧美日韩一区二区欧美激情| 欧美日韩不卡一区二区| 欧美精品xxxxbbbb| 精品成人佐山爱一区二区| 国产午夜一区二区三区| ...xxx性欧美| 亚洲高清不卡在线| 美女精品一区二区| 国产精品亚洲成人| 99精品视频一区| 在线不卡中文字幕播放| 日韩精品一区二区三区四区| 国产视频在线观看一区二区三区| 国产精品女上位| 亚洲地区一二三色| 麻豆极品一区二区三区| 国产·精品毛片| 在线观看欧美日本| 26uuu亚洲综合色| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 亚洲三级免费电影| 久久超碰97人人做人人爱| 99re在线精品| 日韩一区二区在线观看| 亚洲视频一区在线观看| 蜜桃视频一区二区| 97se亚洲国产综合自在线| 884aa四虎影成人精品一区| 久久精品欧美日韩精品 | 欧美日韩国产一区| 久久久99久久| 午夜精品久久久久| 国产成都精品91一区二区三| 欧洲av一区二区嗯嗯嗯啊| 久久―日本道色综合久久| 亚洲一区视频在线| 成人在线视频首页| 欧美电影免费提供在线观看| 亚洲成人免费视|