Unlock instant, AI-driven research and patent intelligence for your innovation.

Kernel function call method, device and operation system

A kernel function and function technology, applied in the field of computer operating systems, can solve the problem of inability to view kernel debugging information, and achieve the effect of strong versatility

Active Publication Date: 2015-12-30
湖州丰源农业装备制造有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, if the file export has not been previously coded, the corresponding kernel debugging information cannot be viewed

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
  • Kernel function call method, device and operation system
  • Kernel function call method, device and operation system
  • Kernel function call method, device and operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The technical solutions of the present invention will be further described in more detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0015] see figure 1 , which is a kernel function calling method provided by an embodiment of the present invention. In this embodiment, the method for invoking a kernel function is applied to a Linux operating system. The method comprises the steps of:

[0016] Step S101, acquiring the kernel function name and parameters input by the user. In this embodiment, the function name or parameter input by the user follows at least one of the following grammatical formats:

[0017] 1) f...

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 discloses a kernel function call method, comprising the steps of acquiring a name and a parameter of a kernel function, which is input by a user; analyzing the name and the parameter of the kernel function in a user space, acquiring an address and a type of the function and the parameter, and establishing a parameter list; taking the parameter list as a kernel module parameter, and adding a kernel module in a system by using a loaded module instruction; analyzing the parameter list in a kernel space so as to acquire the corresponding function address and parameter value; calling the function according to the function address and parameter value. The invention further discloses a kernel function call device and an operation system thereof.

Description

technical field [0001] The invention relates to computer operating systems, in particular to a kernel function calling method, device and operating system. Background technique [0002] In embedded products using the Linux operating system, two spaces are required when the program is running: user space and kernel space. The two spaces are independent of each other. The kernel runs in kernel space, while applications, such as user interfaces, run in user space. When the application needs to use the services provided by the kernel, it is done through system calls. [0003] In addition, the kernel usually exports debugging information to user space in some way, such as files (log, message, coredump, proc files, sysfs files, etc.), so that debugging can be performed when there is a problem with the kernel. To export in the form of a file, it needs to be coded and implemented in the kernel according to a specific file specification, and then it can be exported to the user spa...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
Inventor 钟捷群
Owner 湖州丰源农业装备制造有限公司