⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 renesas_tcpip_connect.s

📁 T-kernel Tcp/ip Protocol Stack Sample
💻 S
字号:
/*""FILE COMMENT""**************************************************************   System Name : RENESAS T-Engine/micro T-Engine series*   File Name   : renesas_tcpip_connect.S *   Version     : 1.00.00*   Contents    : T-Kernel extended SVC interface library*               : created from tcpip_svcdef.h*   Model       : SH7727 T-Engine*   CPU         : SH7727*   Compiler    : GNU*   OS          : T-Kernel*   note        : The Software is being delivered to you "AS IS" *               : and Renesas,whether explicitly or implicitly makes  *               : no warranty as to its Use or performance. *               : RENESAS AND ITS SUPPLIER DO NOT AND CANNOT WARRANT *               : THE PERFORMANCE OR RESULTS YOU MAY OBTAIN  BY USING *               : THE SOFTWARE. AS TO ANY MATTER INCLUDING WITHOUT *               : LIMITATION NONINFRINGEMENT OF THIRD PARTY RIGHTS,*               : MERCHANTABILITY, INTEGRATION, SATISFACTORY QUALITY, *               : OR FITNESS FOR ANY PARTICULAR PURPOSE.**   Copyright (c) 2004 MITSUBISHI ELECTRIC CORP. All Rights Reserved.*   AND RENESAS TECHNOLOGY CORP. All Rights Reserved.*   AND RENESAS SOLUTIONS CORP. All Rights Reserved.**   history     : 2004.10.04 Ver.1.00.00*""FILE COMMENT END""*********************************************************/#include <machine.h>#include <tk/sysdef.h>#include <tcpip_fn.h>	.text	.balign	2	.globl	Csym(renesas_tcpip_connect)	.type	Csym(renesas_tcpip_connect), @functionCsym(renesas_tcpip_connect):	mov.l	r7, @-r15	mov.l	r6, @-r15	mov.l	r5, @-r15	mov.l	r4, @-r15	mov.l	fno, r0	mov	r15, r4	trapa	#TRAP_SVC	cmp/pz	r0	bf	renesas_tcpip_connect_err	rts	add	#4*4, r15renesas_tcpip_connect_err:	mov.l	L_mask, r7	and	r7, r0	mov.l	L_errno, r7	mov.l	r0, @r7	mov.l	L_retno, r0	rts	add	#4*4, r15	.balign	4fno:	.long	TCPIP_RENESAS_TCPIP_CONNECT_FNL_errno:	.long	Csym(renesas_tcpip_errno)L_retno:	.long	0xFFFFFFFFL_mask:		.long	0xFFFF

⌨️ 快捷键说明

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