Supercharge Your Innovation With Domain-Expert AI Agents!

Method for realizing Windows system call simulation mechanism in Linux kernel

A kernel and mechanism technology, applied in the field of imitating Windows system call mechanism

Inactive Publication Date: 2011-05-25
INSIGMA TECHNOLOGY CO LTD
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the basic operating capabilities provided by different operating systems are quite similar in general, the system calls and their collections provided by each operating system kernel are unique and cannot be mixed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing Windows system call simulation mechanism in Linux kernel
  • Method for realizing Windows system call simulation mechanism in Linux kernel
  • Method for realizing Windows system call simulation mechanism in Linux kernel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Below in conjunction with accompanying drawing and embodiment the present invention will be further described:

[0026] attached figure 1 It is a schematic diagram of the structure of the Linux operating system. The Linux application (software) in the figure runs on the Linux kernel. Whenever a Linux system call needs to be called, it enters the kernel through the "int 0x80" instruction, and the specific system call number and parameters are passed through the stack. There is a system call mechanism in the kernel, which handles some operations and activities that are not related to specific system calls and are common to all system calls, and then calls specific kernel functions according to the system call number. After returning from the kernel function used to realize the specific system call, some code assistants in the system call mechanism (via the iret instruction) prepare to return to the user state.

[0027] attached figure 2 It is a schematic diagram of th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for realizing a Windows system call simulation mechanism in a Linux kernel. The method comprises the following steps of: 1) modifying the code of the Linux kernel and keeping interrupt vectors within a range from 0x20 to 0x2f so that the Linux kernel cannot distribute the interrupt vector 0x2e for external interruption; and 2) transplanting the code of the Windows system call simulation mechanism realized in ReactorOS into the Linux kernel, and performing necessary modification as required. The method has the advantages that: the Windows system call simulation mechanism based on an int0x2e instruction is realized in the Linux kernel, and the primary requirement that the Linux kernel supports the Windows application is met.

Description

technical field [0001] The invention relates to the field of computer operating systems, in particular to a method for realizing a Windows imitation system call mechanism in a Linux kernel. Background technique [0002] The operating system is equivalent to the soul of the computer. Any computer is inseparable from the operating system, and is also limited by the operating system. All application software is based on a specific operating system and can only run on this specific operating system. If it runs on other operating systems, it cannot run. The core of the operating system is called the "kernel". The kernel provides the application software with a specific operating environment and basic operating capabilities. The calls of the application software to these basic operating capabilities are called "system calls." Although the basic operating capabilities provided by different operating systems are generally quite similar, the system calls and their collections provid...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/45
Inventor 周立炜费海林毛德操
Owner INSIGMA TECHNOLOGY CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More