检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安电子科技大学机电工程学院 [2]山西西山煤电股份有限公司,山西太原030053
出 处:《现代电子技术》2005年第10期39-41,共3页Modern Electronics Technique
基 金:电子测试技术重点实验室基金项目
摘 要:系统调用是操作系统与用户程序的主要接口。L inux是一个源代码开放且免费的操作系统。分析了L inux系统调用的实现过程,给出了系统调用的结构。对涉及的4个系统文件的主要内容进行了详细地描述。由于L inux在系统调用过程中通过寄存器来传递参数,参数传递的数量不能多于6个,不能适应多数据的传递。在对L inux分析的基础上,提出了实现多参数传递的方法,分析了实现多参数传递涉及的内核函数。最后,通过增加一个新的系统调用函数,实现多参数传递,并给出了具体的实现过程。拓宽了L inux的使用范围。Systemcall is the interface between OS and user′s program. Linux is a freecost and opencode OS.In this paper, the realization process for Linux systemcall is analyzed, the framework for systemcall is presented. Because arguments are transmitted through registers in the process of systemcall, thus available arguments are less than 7 and the multiargument transmission can not be used. On the basis of Linux′s analysis, the method for multiargument transmission is presented, and relative kernel functions are analyzed. Finally, the multiargument transmission is implemented by means of a new systemcall, and the realization process is presented. Applicative range is extended.
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7