A method for loading multiple operating systems with a single elf file
A technology of multiple operating systems and operating systems, applied in the field of loading multiple operating systems with a single ELF file, can solve the problems of large code size and inability to load operating systems, and achieve the effect of reducing the size and the probability of failing to load any system.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0018] In order to minimize the code volume of the loading program itself, the present invention provides a method for loading multiple operating systems with a single ELF file, and the technical scheme adopted is as follows:
[0019] First, design a tool program to convert the ELF files of each operating system, convert the binary content in each segment (such as TEXT segment, DATE segment, RODATE segment) with data content into a C language byte array, and then convert the ELF The core information about these segments in the file (such as loading address, segment size, etc.) is extracted together with the C byte array to generate a C structure, which is used to represent the information and content of a segment in an operating system; and then the same o...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


