Skip to content
Snippets Groups Projects
Commit b2f26a9a authored by Marek Behun's avatar Marek Behun
Browse files

Disable IRQ when sending mbox message


If AP did not read previous message yet, we must wait til it does.
The opreation of reading this state and sending the message has
to be atomic, since mbox_send can also be called from
mbox_irq_handler. Thus we disable IRQ handlers when reading this state
and writing mbox registers.

Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
parent 99c42910
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment