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

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

?? readme

?? 基于psos操作系統的dec21140驅動
??
字號:
This example serves two purposes:  1) It demonstrates connection of an ethernet network driver     to the pSOS Networking Architecture (pNA),  2) It demonstrates how to write a serial communication driver     for serial host communication (the TCS "-host serial").pNA Network Driver------------------	Source files dec21140.h/dec21140.c contain an ethernet driver for a	DIGITAL 21140 Ethernet LAN controller. This driver currently works	in little endian mode only, and has to be enabled using the following	modifications in the pSOS application configuration file:		target/sys_conf.h:		/***********************************************************************/		/*                                                                     */		/*              L A N   C O N F I G U R A T I O N                      */		/*                                                                     */		/*                                                                     */		/***********************************************************************/		#define SD_LAN1               YES		#define SD_LAN1_IP            0x828c21b4  /* 130.140.33.180 */		#define SD_LAN1_SUBNET_MASK   0xffffff00						/*=====================================================================*/		/*                                                                     */		/*                    L A N   I N T E R F A C E S                      */		/*                                                                     */		/*   * BSP_LAN1            - YES if LAN is supported                   */		/*   * BSP_LAN1_MTU        - Maximum transmission unit (bytes)         */		/*   * BSP_LAN1_HWALEN     - Length of hardware address in bytes       */		/*   * BSP_LAN1_FLAGS      - Interface flags (per pNA manual)          */		/*        IFF_POLL             0x8000   interface is a polling type    */		/*        IFF_BROADCAST        0x0001   NI supports broadcasts         */		/*        IFF_RAWMEM           0x2000   driver uses "mblk" interface   */		/*   * BSP_LAN1_PKB        - Total number of packet buffers            */		/*                                                                     */		/*=====================================================================*/				#define BSP_LAN1               YES		#define BSP_LAN1_MTU           1500		#define BSP_LAN1_HWALEN        6		#define BSP_LAN1_FLAGS         0x2001		#define BSP_LAN1_PKB           40						/***********************************************************************/		/*                                                                     */		/*         M I S C E L L A N E O U S   N E T W O R K I N G             */		/*                       P A R A M E T E R S                           */		/*                                                                     */		/***********************************************************************/		#define SD_DEF_GTWY_IP        0x828c21fb  /* 130.140.33.251 */					Note that the IP address- and subnet mask values are examples here only, 	and are dependent on the user's own network.		The dec21140 driver itself contains the following configuration parameters:		target/dec21140.h:			/*---------------------------------------------------------------------*/		/* PCI address of the chip's Control and Status Registers              */		/*---------------------------------------------------------------------*/		#define LAN_PCI_IO_BASE     0x02000000		target/dec21140.c:		/*---------------------------------------------------------------------*/		/* Ethernet hardware addr, and selection of whether to use 10BaseT     */		/* or AUI interface for the LAN.  Both of these variables are hardcoded*/		/* here, but when the same binary should run on a variety of machines  */		/* (each with e.g. their own hardware address), then their values      */		/* should be read from e.g a flash file at startup, in function        */		/* 'lanInit'.                                                          */		/*---------------------------------------------------------------------*/		static UCHAR EtherHwAddr[6] = {0x00, 0x40, 0x05, 0xA4, 0x6D, 0xF8 };		#define Lan10BaseT    1				Finally, the standard pSOS makefile should enable pNA by		target/Makefile:		#-------------------------------------------		# (Sub)component enabling/disabling switches:		#				PNA = pna		Serial Host Communications Driver---------------------------------	This examples also demonstrates a serial driver that 	completes the generic serial host library that can be	used for dispatching I/O via a serial form	of communication to a corresponding rpc server.	The TM-part of the example, plus driver, is found        in the 'target' directory (driver in target/SerialRPC.c),        and the host part of the example in the 'host' directory        (host part of driver in host/SerialRPC.c).	 	This particular serial driver communicates	with the serial TM-1 application via tcp/ip,  	using a socket as serial connection. 	During initialization, this target part of the driver         waits until the serving host connects to a server port.	This port is currently hardcoded in the driver, but this         is easy to change.	 	The target part of the communication driver is implemented on top	of the pSOS Network Architecture component (pNA),	and hence can *only* be used for psos-based applications	that have network access. Network access for this        example is provided by the dec21140 ethernet driver.		Apart from this user visible aspect, using pNA	introduces the following complications, which make	the target driver somewhat more complex than its host	counterpart:	 	1) I/O initialization, which is normally performed	   at startup of the Trimedia runtime support, has to 	   be postponed until pNA is fully active. That is,	   in the root task.	   This postponing is achieved by disabling the standard	   I/O support in function SerialRPC_init, and doing	   the actual initialization in a new function SerialRPC_start.	   SerialRPC_start is to be explicitly called from the root	   task when it wants to do I/O, as in			  		     void root()		     {		       SerialRPC_start();		       ...	 	2) In pSOS/pNA, a socket can only be used by the task	   that created it. For other tasks, synonyms have to 	   be created by means of function shr_socket.	   For this reason, a reader- and a writer task is	   created to do the actual socket communication.	   Application tasks that want to do I/O communicate	   with these tasks using message queues.	  	Some implementation notes:	 	1) The initialization routine creates both queues first,	   and then both tasks. The initialization routine awaits	   until the reader task starts serving; this reader task	   will await the writer task, and then create both sockets	   before it releases the initialization routine. This 	   synchronization will prevent race conditions during startup.	 	2) Written data (to the host) is accumulated into packets	   of a specific size, when possible. This avoids the sending	   overhead of small data buffers. Buffering is done in a	   buffer 'mtu_buffer'. The packet size assumes ethernet here.	   Buffering output data also keeps the initial endian probe	   message to the host (which is sent during RTS initialization) 	   until pNA is up and running.	The example program itself--------------------------        The program does not have to do anything for enabling pNA,        since this is all steered by the modifications to sys_conf.h        and the Makefile. However, it has to perform the postponed         initialization of the serial host communication (NOTE: this         is only necessary in this particular serial driver, because         it is implemented on top of pSOS itself; in general the serial         driver is transparently started during system startup).        	target/root.c:            void root()            {                          SerialRPC_start();              ...        After this initialization, the program performs a file I/O test.How to run the example----------------------	Starting a TM-1 application and its serial server	is to be performed using the following steps:	  	1) start the TM-1 application.	 	2) start the serial server on a PC or Unix machine	   that can reach the TM-1 application via tcp/ip.           The serial server will connect with the TM-1           application; Stdin, stdout/stderr of the TM-1 application 	   will be mapped to the stdin, stdout/stderr of the	   server process (on PC or Unix), and file I/O will	   be effectively performed by this same server process.	

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
最新国产成人在线观看| 精品久久久影院| 国产**成人网毛片九色| 狠狠久久亚洲欧美| 国内欧美视频一区二区| 美腿丝袜一区二区三区| 韩日精品视频一区| 国产69精品久久久久毛片| 国产成人午夜精品5599| 风流少妇一区二区| 91香蕉国产在线观看软件| 色哟哟一区二区三区| 91年精品国产| 欧美日韩一区小说| 日韩精品中文字幕在线不卡尤物 | 国产精品成人在线观看| 国产欧美日韩在线看| 欧美mv日韩mv国产| 7777精品伊人久久久大香线蕉| 91精品在线免费观看| 久久久午夜电影| 一区二区三区中文字幕| 天堂成人免费av电影一区| 国产在线观看一区二区| 99国产一区二区三精品乱码| 欧美三级视频在线播放| 久久精品亚洲麻豆av一区二区| 国产精品久久久久桃色tv| 亚洲高清视频中文字幕| 韩国精品一区二区| 91福利社在线观看| 精品国产百合女同互慰| 亚洲蜜桃精久久久久久久| 日本v片在线高清不卡在线观看| 国产成人精品影视| 精品视频在线视频| 中文字幕av在线一区二区三区| 夜夜嗨av一区二区三区 | 久久精品亚洲一区二区三区浴池| 亚洲同性同志一二三专区| 蜜臀精品一区二区三区在线观看 | 久久日韩粉嫩一区二区三区| 依依成人精品视频| 国产91精品欧美| 欧美一区二区三区四区视频| 亚洲色图丝袜美腿| 国产a久久麻豆| 欧美一区二区三区视频| 亚洲人成精品久久久久久 | 国产精品嫩草99a| 日韩中文字幕1| 色国产精品一区在线观看| 久久综合色婷婷| 日本午夜精品一区二区三区电影| 色婷婷综合久久久久中文一区二区| 日韩久久久久久| 三级在线观看一区二区| 91精品福利视频| 国产精品青草综合久久久久99| 极品美女销魂一区二区三区| 91精品国产乱| 午夜欧美2019年伦理| 在线精品视频一区二区三四| 国产精品久久久久影院色老大| 国产一区二区三区四| 日韩欧美激情四射| 蜜臀久久99精品久久久画质超高清 | 免费人成黄页网站在线一区二区 | 午夜精品久久久久久久久久久| 欧美视频第二页| 中文字幕第一区| 国产成人夜色高潮福利影视| 精品国产欧美一区二区| 久久精品国产亚洲a| 日韩一区二区影院| 美腿丝袜亚洲综合| 日韩欧美成人一区二区| 蜜臀91精品一区二区三区| 在线不卡一区二区| 日本亚洲电影天堂| 精品国产乱码久久久久久免费| 麻豆精品一区二区三区| 日韩欧美在线123| 国产一区福利在线| 久久嫩草精品久久久精品| 国产精品综合二区| 国产精品福利一区| 91激情五月电影| 午夜精品久久一牛影视| 4438成人网| 麻豆精品视频在线| 久久久久99精品国产片| 成人美女视频在线观看18| 国产精品毛片久久久久久久| 不卡的av网站| 亚洲成a人在线观看| 91精品国产综合久久精品麻豆| 看片网站欧美日韩| 国产精品污www在线观看| 91精品91久久久中77777| 日韩高清中文字幕一区| 久久在线观看免费| 色久综合一二码| 九色综合国产一区二区三区| 欧美经典三级视频一区二区三区| 97久久超碰国产精品| 天天影视涩香欲综合网| 久久精品亚洲麻豆av一区二区| 日本国产一区二区| 国产精品伊人色| 亚洲国产乱码最新视频| 精品成人免费观看| 一本色道久久加勒比精品| 美女久久久精品| 亚洲男人的天堂av| 精品国产1区二区| 91久久精品国产91性色tv| 韩国成人福利片在线播放| 一区二区三区日韩欧美| 久久亚洲综合av| 欧美日韩大陆在线| 91免费国产在线| 极品少妇xxxx精品少妇| 午夜精品久久久久久久99樱桃| 久久九九久精品国产免费直播| 欧美亚州韩日在线看免费版国语版| 黄色精品一二区| 亚洲18色成人| 亚洲精品视频在线观看网站| 久久色在线视频| 日韩欧美一级在线播放| 欧美色图12p| 99re成人精品视频| 成人午夜激情片| 国产美女精品人人做人人爽| 日韩高清国产一区在线| 五月婷婷另类国产| 亚洲一卡二卡三卡四卡| 亚洲人123区| 国产精品国产三级国产aⅴ原创| 久久久国产综合精品女国产盗摄| 在线成人高清不卡| 欧美三级日韩三级| 欧美日韩中文国产| 欧美日韩一区二区三区在线看| 一本色道久久综合狠狠躁的推荐 | 亚洲国产成人午夜在线一区| 日韩免费看网站| 精品国产一区二区三区av性色| 欧美一区日韩一区| 欧美一级国产精品| 日韩欧美电影一二三| 欧美tickle裸体挠脚心vk| 精品福利在线导航| 久久久99精品免费观看不卡| 久久蜜桃av一区精品变态类天堂| 久久久久国产一区二区三区四区| 欧美精品一区二区三区视频| 久久综合狠狠综合久久综合88| 久久久亚洲精华液精华液精华液| 久久欧美中文字幕| 国产精品久久久久久久久图文区| 国产精品乱码一区二三区小蝌蚪| 成人免费在线播放视频| 一区二区三区成人在线视频| 亚洲一区在线免费观看| 欧美bbbbb| 福利一区福利二区| 在线观看一区二区视频| 欧美高清dvd| 久久新电视剧免费观看| 亚洲丝袜另类动漫二区| 一级精品视频在线观看宜春院| 日韩av在线发布| 国产99精品在线观看| 91精彩视频在线| 日韩精品中文字幕一区二区三区| 欧美经典一区二区| 亚洲午夜精品17c| 337p粉嫩大胆色噜噜噜噜亚洲| 国产日产欧美精品一区二区三区| 欧美电视剧免费全集观看| 久久久久久久国产精品影院| 国产精品久久久久久户外露出| 亚洲激情综合网| 久久丁香综合五月国产三级网站| 成人看片黄a免费看在线| 欧美制服丝袜第一页| 精品福利在线导航| 亚洲激情图片qvod| 激情综合网天天干| 欧美视频一区二区在线观看| 精品久久五月天| 亚洲免费在线观看视频| 美腿丝袜在线亚洲一区| 在线观看视频一区二区欧美日韩| 精品免费视频.| 日日欢夜夜爽一区| 91老师国产黑色丝袜在线| 精品国产一区二区亚洲人成毛片|