550.40.07

This commit is contained in:
Bernhard Stoeckner
2024-01-24 17:51:53 +01:00
parent bb2dac1f20
commit 91676d6628
1411 changed files with 261367 additions and 145959 deletions

View File

@@ -334,6 +334,14 @@ static void uvm_push_set_flag(uvm_push_t *push, uvm_push_flag_t flag)
__set_bit(flag, push->flags);
}
// Check if a push flag is set
static bool uvm_push_test_flag(uvm_push_t *push, uvm_push_flag_t flag)
{
UVM_ASSERT_MSG(flag < UVM_PUSH_FLAG_COUNT, "flag %u\n", (unsigned)flag);
return test_bit(flag, push->flags);
}
// Get and reset (if set) a push flag
static bool uvm_push_get_and_reset_flag(uvm_push_t *push, uvm_push_flag_t flag)
{