Home
last modified time | relevance | path

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

/system/ulib/zx/include/lib/zx/
A Dvcpu.h15 class vcpu : public object<vcpu> {
19 constexpr vcpu() = default;
21 explicit vcpu(zx_handle_t value) : object(value) {} in vcpu() function
23 explicit vcpu(handle&& h) : object(h.release()) {} in vcpu() function
25 vcpu(vcpu&& other) : object(other.release()) {} in vcpu() function
27 vcpu& operator=(vcpu&& other) {
33 zx_gpaddr_t entry, vcpu* result);
52 using unowned_vcpu = unowned<vcpu>;
A Dinterrupt.h54 zx_status_t bind_vcpu(const zx::vcpu& vcpu, uint32_t options) const { in bind_vcpu() argument
55 return zx_interrupt_bind_vcpu(get(), vcpu.get(), options); in bind_vcpu()
/system/ulib/zx/
A Dvcpu.cpp11 zx_status_t vcpu::create(const guest& guest, uint32_t options, in create()
12 zx_gpaddr_t entry, vcpu* vcpu) { in create() argument
16 vcpu->reset_and_get_address()); in create()
A Drules.mk32 $(LOCAL_DIR)/vcpu.cpp \
/system/utest/core/interrupt/
A Dinterrupt-test.cpp178 zx::vcpu vcpu1; in interrupt_bind_vcpu_test()
179 zx::vcpu vcpu2; in interrupt_bind_vcpu_test()
189 ASSERT_EQ(zx::vcpu::create(guest, 0, 0, &vcpu1), ZX_OK); in interrupt_bind_vcpu_test()
190 ASSERT_EQ(zx::vcpu::create(guest, 0, 0, &vcpu2), ZX_OK); in interrupt_bind_vcpu_test()
207 zx::vcpu vcpu; in interrupt_bind_vcpu_not_supported_test() local
218 ASSERT_EQ(zx::vcpu::create(guest, 0, 0, &vcpu), ZX_OK); in interrupt_bind_vcpu_not_supported_test()
235 zx::vcpu vcpu; in interrupt_bind_vcpu_already_bound_test() local
246 ASSERT_EQ(zx::vcpu::create(guest, 0, 0, &vcpu), ZX_OK); in interrupt_bind_vcpu_already_bound_test()
264 zx::vcpu vcpu1; in interrupt_bind_vcpu_multiple_guests_test()
265 zx::vcpu vcpu2; in interrupt_bind_vcpu_multiple_guests_test()
[all …]
/system/utest/hypervisor/
A Dguest.cpp86 zx::vcpu vcpu; member
154 status = zx::vcpu::create(test->guest, 0, entry, &test->vcpu); in setup()
185 const zx::vcpu& vcpu) { in exception_thrown() argument
216 ASSERT_EQ(test->vcpu.resume(&packet), ZX_OK); in resume_and_clean_exit()
321 ASSERT_EQ(test.vcpu.interrupt(kNmiVector), ZX_OK); in vcpu_nmi()
349 ASSERT_EQ(test.vcpu.interrupt(kNmiVector), ZX_OK); in vcpu_nmi_priority()
474 ASSERT_EQ(test.vcpu.resume(&packet), ZX_OK); in vcpu_wfi_aarch32()
514 ASSERT_EQ(test.vcpu.resume(&packet), ZX_OK); in vcpu_fp_aarch32()
748 ASSERT_EQ(test.vcpu.resume(&packet), ZX_OK); in guest_set_trap_with_mem()
776 ASSERT_EQ(test.vcpu.resume(&packet), ZX_OK); in guest_set_trap_with_bell()
[all …]
/system/public/zircon/
A Dsyscalls.abigen873 #! vcpu must be of type ZX_OBJ_TYPE_VCPU and have ZX_RIGHT_WRITE.
875 (handle: zx_handle_t, vcpu: zx_handle_t, options: uint32_t)

Completed in 13 milliseconds