📄 readme
字号:
The Linux Unified Kernel Project --Windows Process CreatingCopyright:========== (c) 2006 Insigma Co., LtdThis is an opensource project; you can redistribute and/ormodify the programs under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.The Project:============Linux Unified Kernel is a project (linux.insigma.com.cn) in the Insigma Research Institute, which is a subdivision of Insigma Co., Ltd (www.insigma.com.cn). Sponsored by:============= Insigma Co., Ltd (www.insigma.com.cn).The Package:============o This package implements the Windows Process/Thread creating, including Windows system calls like NtCreateProcess() and NtCreateThread(). With this version of Linux Unified Kernel, certain specific Windows applications can run directly on Linux.To Build and Run:=================1. To get the unified kernel support, first cd to the top-level directory of the kernel source code(linux-2.6.13). Then run the following command to patch the kernel: patch -p1 < path/patch-file where "path" is the path of the patch file and "patch-file" is the patch file name (In this package, it is unifiedkernel-0.2.0-k2.6.13.diff in the directory "kernel"). After patching, configure the kernel like: make menuconfig * Say Y to the "Unified kernel support" option in "General setup". * Say N to the "Use register arguments" option in "Processor type and features". * Say N to the "Module versioning support" option in "Loadable module support". Then save, exit and compile the kernel. Run the following command to compile the kernel and reboot: make make modules_install make install reboot2. To get the Wine support, first cd to the top-level directory of the Wine source code(wine-0.9.11). Then run the following command to patch it: patch -p1 < path/patch-file where "path" is the path of the patch file and "patch-file" is the patch file name (In this package, it is unifiedkernel-0.2.0-w0.9.11.diff in the directory "wine"). Then install Wine like what its README says: ./configure make depend make make install3. To build the unifiedkernel module, cd to the "module" directory, then run the command: make After building the module, you can run the following command to install it: insmod unifiedkernel.ko Now, you can run the test program to demonstrate.4. To build and run the test programs: All the test programs listed in the file "test-program" can be run directly. You can also build the createprocess-test.exe on Microsoft VC with the provided souce code files and run it on the Linux Unified Kernel.Note:=====1. If you have patched the last release of Unifiedkernel, you need to unpatch the kernel first. To unpatch the kernel, cd to the top-level directory of the patched kernel, run the following command: patch -Rp1 < path/patch-file where "path" is the path of the patch file and "patch-file" is the patch file name. Then compile the kernel and reboot. 2. This package provides some Windows native applications, you can also copy them from the Windows operating environment.3. The kernel configuration is very important for compiling the kernel and running applications, so make sure that this work is done correctly as what is said above. 4. If you want to use Wine after installing this release of Linux Unified Kernel, please unpatch Wine and rebuild it. To Do in Future:================o Various system call functions on the Windows syscall interface.o The Windows process/thread management.o The Windows object management.o The Windows APC mechanism.o The WDM device driver framework.o The Windows DPC mechanism.o Exported kernel functions defined by Windows DDK.o The Windows Registry mechanism.o Others.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -