Re: [PATCH 1/4] target/riscv: Add functions for common matching conditions of trigger

2024-02-21 Thread Daniel Henrique Barboza
On 2/19/24 00:25, Alvin Chang wrote: According to RISC-V Debug specification, there are several common matching conditions before firing a trigger, including the enabled privilege levels of the trigger. This commit adds trigger_common_match() to prepare the common matching conditions for the

[PATCH 1/4] target/riscv: Add functions for common matching conditions of trigger

2024-02-18 Thread Alvin Chang via
According to RISC-V Debug specification, there are several common matching conditions before firing a trigger, including the enabled privilege levels of the trigger. This commit adds trigger_common_match() to prepare the common matching conditions for the type 2/3/6 triggers. For now, we just impl