Message description information transferring method between kernels
A technology for describing information and messages, which is applied in the field of message description message transmission between cores in multi-core processors, and can solve problems such as cache buffer loss, long word error, and bufferpointer loss.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] refer to image 3 , the message description message transfer between kernels in the present invention is carried out by ring, and each core has a ring for and only for this kernel to take message description message and process, but the message description message of each ring can be processed by multiple The kernel provides, specifically, the ring used in the present invention is a circular queue, generally composed of N entries, and returns to 0 after accessing N. Ring's access location and permission are maintained by two pointers write_ptr and read_ptr, write_ptr is the pointer for current writing, and read_ptr is the pointer for current reading.
[0053]refer to Figure 4 , the Ring full state in the present invention is write_ptr=read_ptr-1. The status of Ring empty is write_ptr=read_ptr. As long as the ring is not full, the sender can write a message to the ring enrty pointed to by write_ptr. As long as the ring is not empty, the receiver should read data fro...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 