- 1
- 0
- 约5.13万字
- 约 32页
- 2019-01-10 发布于天津
- 举报
漫谈兼容内核之一Talkingaboutonecompatiblewiththe
漫谈兼容内核之一 : Talking about one compatible with the kernel:
ReactOS 怎样实现系统调用ReactOS how to implement system calls
毛德操 Maud operation
?????? 有网友在论坛上发贴,要求我谈谈 ReactOS 是怎样实现系统调用的。 Some Internet users posting at the forum, asked me to talk about how to achieve ReactOS system calls. 另一方面,我上次已经谈到兼容内核应该如何实现 Windows 系统调用的问题,接着谈谈 ReactOS 怎样实现系统调用倒也顺理成章,所以这一次就来谈谈这个话题。 On the other hand, last time I had talked about how Windows should be compatible with the kernel system call problem, then talk about how to achieve the ReactOS system call is pretty logical, so this time to talk about this topic. 不过这显然不属于“漫谈 Wine ”的范畴,也确实没有必要再来个“漫谈 ReactOS ”,因此决定把除 Wine 以外的话题都纳入“漫谈兼容内核”。 But this is clearly not a Talking about Wine category, and indeed no need to come back a Talk ReactOS, so decided to addition to other topics are included in Wine Talk compatible kernel.
?????? ReactOS 这个项目的目标是要开发出一个开源的 Windows 。 ReactOS objective of this project is to develop an open source Windows. 不言而喻,它要实现的系统调用就是 Windows 的那一套系统调用,也就是要忠实地实现 Windows 系统调用界面。 It goes without saying, it is to achieve the system calls that a system is called Windows, that is, to faithfully implement Windows system call interface. 本文要说的不是 Windows 系统调用界面本身,而是 ReactOS 怎样实现这个界面,主要是说说用户空间的应用程序怎样进入 / 退出内核、即系统空间,怎样调用定义于这个界面的函数。 This is not a Windows system call to say the interface itself, but how to implement this interface ReactOS is mainly talk about how user-space applications to enter / exit the kernel, that is, system space, how to call a function defined in this interface. 实际上, ReactOS 正是通过“ int 0x2e ”指令进入内核、实现系统调用的。 In fact, ReactOS is through the int 0x2e instruction into the core for system calls. 虽然 ReactOS 并不是 Windows ,它的作者们也未必看到过 Windows 的源代码;但是我相信, ReactOS 的代码、至少是这方面的代码,与“正本” Windows 的代码应该非常接近,要有也只是细节上的差别。 While the ReactOS is not Windows, its authors may not have seen Windows source code; However, I believe, ReactOS code, at least in this area code, and original Windows of the code should be very close, to have only detai
原创力文档

文档评论(0)