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

DSP dynamic loading method for reserving running memory space

A technology of dynamic loading and memory space, applied in the field of DSP, can solve the problems of uncertain time required and unfixed base address, and achieve the effect of ensuring operating efficiency, convenient debugging and maintenance, and improving code execution efficiency.

Pending Publication Date: 2020-11-10
BEIJING RES INST OF MECHANICAL & ELECTRICAL TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The base address mapped by the traditional dynamic loading method is not fixed. When it is used, it changes from a relative address space to an absolute address space through relocation. Since the relocation process is an iterative process, the time required is uncertain. For strong real-time systems, it cannot meet the requirements

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
  • DSP dynamic loading method for reserving running memory space
  • DSP dynamic loading method for reserving running memory space
  • DSP dynamic loading method for reserving running memory space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Preferred embodiments of the present invention will be specifically described below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the application and are used together with the embodiments of the present invention to explain the principle of the present invention.

[0053] This embodiment discloses a DSP dynamic loading method for reserving running memory space, figure 1 shown, including the following steps:

[0054] Step S101, preprocessing the ELF (Executable and Linking Format) file, parsing and generating an ELF module including a system symbol table;

[0055] Step S102, dynamically loading the ELF module into the reserved running memory space;

[0056] Step S103, exporting the system symbol table according to the position of the reserved running memory space of the ELF module, and locating the position of the symbol in the system symbol table;

[0057] Step S104, calling the initialization function and entry...

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 DSP (Digital Signal Processor) dynamic loading method for reserving a running memory space, which belongs to the technical field of DSPs, solves the problem of DSP dynamic loading, and comprises the following steps of: preprocessing an ELF (Extensible Link Format) file to generate an ELF module comprising a system symbol table; dynamically loading an ELF module into thereserved running memory space; exporting a system symbol table according to the spatial position of the ELF module in the running memory, and repositioning symbols in the system symbol table; and calling an initialization function and an entry function of the ELF module according to the relocated symbol. According to the dynamic loading method, the problem of uncertain code loading positioning time is solved by reserving the running memory space, and the code execution efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of DSP, in particular to a DSP dynamic loading method for reserving running memory space. Background technique [0002] Dynamic loading is a method to separate the application program from the operating system, which enables the operating system to load the application program or dynamic library (or other binary objects) into memory at runtime, retrieve the addresses of functions and variables in the library, and execute These functions or access these variables and can unload the library from memory. [0003] For systems that do not support dynamic loading, applications are bound to the operating system, and the entire operating system and applications must be upgraded every time they are upgraded. As the scale of the program expands, the upgrade time and coupling degree will continue to increase, which is not conducive to the development, debugging and maintenance of the program. [0004] When the loader...

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/445G06F8/53
CPCG06F9/44521G06F8/53Y02D10/00
Inventor 赵伟刘雷田文龙
Owner BEIJING RES INST OF MECHANICAL & ELECTRICAL TECH