msgclr

Message Clear

msgclr RB

Clears a pending doorbell interrupt (Inter-processor comms).

Details

The msgclru instruction clears a message previously accepted by the thread executing the msgclru. If the message type is 0x05, it also clears any Directed Ultravisor Doorbell exception for that thread.

Pseudocode Operation

t ← hypervisor thread number of executing thread
if (msgtype = 0x05) then
clear any Directed Ultravisor Doorbell exception for thread t

Programming Note

Use msgclr to clear messages accepted by the current thread. If clearing a message of type 0x05, it also clears any associated Directed Ultravisor Doorbell exception. This instruction is typically used in hypervisor environments where message handling and doorbell management are required.

Example

msgclr r5

Encoding

Binary Layout
31
0
/
6
/
11
RB
16
118
21
/
31
 
Format X-form
Opcode 0x7C0000EC
Extension Privileged

Operands

  • RB
    Message Type