Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Transparent loading method of multi-type object code under many-core heterogeneous architecture

An object code, multi-type technology, applied in the direction of climate sustainability, energy-saving computing, bootloader, etc., to achieve the effect of improving usability

Active Publication Date: 2022-07-12
JIANGNAN INST OF COMPUTING TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Compilation process

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
  • Transparent loading method of multi-type object code under many-core heterogeneous architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] like figure 1 As shown in the figure, a transparent loading method for multi-type target codes under a many-core heterogeneous architecture includes the following steps:

[0047] S1. The user executes the execve class system call to enter the operating system kernel.

[0048] S2. The operating system kernel opens the target code file, and reads the header information of the target code file, the target code file is in the ELF file format, and the corresponding processing function is the load_elf_binary function.

[0049] S3. The operating system kernel checks the correctness of the header information of the target code file in the ELF file format, and if the header information of the target code file is correct, the next step is performed; otherwise, the system call exits the kernel. The check is done by comparing the magic number in the header information of the ELF file. If the magic number in the elf header information is equal to the magic number stored in the oper...

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 transparent loading method for multiple types of target codes under a many-core heterogeneous architecture. A user executes an execve system call to enter a kernel to open a target code file, reads the header of the target file, and searches for a processing function in a standard code format; Correctness of code ELF header information and Machine field information; parse environment variables; fill in the necessary information of program parameters and environment variables to the user stack; load the program header table of the object code; according to the data segment table information, copy the program segment and data segment to In the physical space; initialize, assign values ​​to the elements in the data structure; configure the configuration registers in the computing core according to the configuration information; start the computing core; check the program type; load the resident service program in the operating system, and modify the execution entry of the program It is the entry of the service program; it enters the new program entry and executes. The invention realizes a set of "heterogeneous" program loading flow, unifies the "heterogeneous" program execution flow, and improves the usability of users.

Description

technical field [0001] The invention relates to a transparent loading method for multi-type target codes under a many-core heterogeneous architecture, and belongs to the technical field of operating systems. Background technique [0002] In the Linux operating system, the execution of the user program object code is the responsibility of the operating system kernel. The existing many-core processor platform adopts a heterogeneous architecture, and the applications running on it are inevitably "heterogeneous", which are divided into "pure master core" object code, "pure slave core" object code, "pure slave core" object code, There are three types of "Master-Slave Mixed" object codes. In addition, the "pure main core" object code is divided into static link object code, dynamic link object code and dynamic library from the perspective of compilation and linking. The operating system kernel needs to distinguish and process the above-mentioned various object code programs separ...

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 Patents(China)
IPC IPC(8): G06F9/4401
CPCG06F9/4406Y02D10/00
Inventor 黄高阳王星焱林海南郑岩刘松邹通
Owner JIANGNAN INST OF COMPUTING TECH
Features
  • Generate Ideas
  • 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