An internal memory management method
A memory management and memory block technology, which is applied in data exchange through path configuration, digital transmission system, electrical components, etc., can solve the problems of memory loss and low transmission efficiency, reduce memory loss and leakage, reduce the number of copies, cost reduction effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] The memory management method of the present invention is illustrated below in conjunction with the accompanying drawings and through specific embodiments: first introduce the memory block structure of the present invention, the size of the memory block can be set according to actual conditions in specific use, such as figure 1 As shown, each block of memory occupies 1536 bytes as an example. Each memory block is composed of memory block information, free area and message area. The 64 bytes of the free area are used to store header information, and the 1456 bytes of the message area are used to store messages. .
[0016] The processing steps of the method of the present invention are respectively as follows:
[0017] 1. If figure 2 As shown, the memory block initialization processing steps are:
[0018] Step 1: Apply for memory to form a memory pool, and adjust the starting address of the memory pool to a multiple of 256.
[0019] Step 2: Fill in the relevant informa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 