Home
last modified time | relevance | path

Searched refs:kTrapKey (Results 1 – 1 of 1) sorted by relevance

/system/utest/hypervisor/
A Dguest.cpp33 static constexpr uint64_t kTrapKey = 0x1234; variable
744 ASSERT_EQ(test.guest.set_trap(ZX_GUEST_TRAP_MEM, TRAP_ADDR, PAGE_SIZE, zx::port(), kTrapKey), in guest_set_trap_with_mem()
749 EXPECT_EQ(packet.key, kTrapKey); in guest_set_trap_with_mem()
772 ASSERT_EQ(test.guest.set_trap(ZX_GUEST_TRAP_BELL, TRAP_ADDR, PAGE_SIZE, port, kTrapKey), in guest_set_trap_with_bell()
781 EXPECT_EQ(packet.key, kTrapKey); in guest_set_trap_with_bell()
801 ASSERT_EQ(test.guest.set_trap(ZX_GUEST_TRAP_IO, TRAP_PORT, 1, zx::port(), kTrapKey), in guest_set_trap_with_io()
806 EXPECT_EQ(packet.key, kTrapKey); in guest_set_trap_with_io()

Completed in 4 milliseconds