Files
kernel_common_drivers/drivers/mailbox
Yao Jie 796e0dc50d mailbox: add RX buffer in devfs driver [1/1]
PD#SWPL-237104

Problem:
In mailbox devfs driver, the received data packet
is saved in a global buffer, when the next data
packet is received while the previous data packet
in global buffer has not been read yet, the previous
data packet in global buffer may be overwritten

Solution:
Add an RX ring buffer for each process in mailbox
devfs driver, the data packets received will be saved
in this ring buffer orderly, and they will be read
orderly. This method can avoid the data packets in ring
buffer being overwritten by the next packet. The
RX ring buffer length can be configured

Verify:
SC2

Change-Id: I926eeccd6a768aa237208053eab88779047f43aa
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2025-12-12 08:23:42 -08:00
..
2023-08-08 02:57:29 -07:00
2023-08-08 02:57:29 -07:00