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

📄 syscall.s

📁 klibc精简化的c程序库
💻 S
字号:
/* * arch/x86-64/syscall.S * * Common tail-handling code for system calls. * * The arguments are in the standard argument registers; the system * call number in %eax. */	.text	.align	4	.globl	__syscall_common	.type	__syscall_common,@function__syscall_common:	movq	%rcx,%r10		# The kernel uses %r10 istf %rcx	syscall	cmpq	$-4095,%rax	jnb	1f	ret	# Error return, must set errno1:	negl	%eax	movl	%eax,errno(%rip)	# errno is type int, so 32 bits	orq	$-1,%rax		# orq $-1 smaller than movq $-1	ret	.size	__syscall_common,.-__syscall_common

⌨️ 快捷键说明

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