Searched refs:vcpu (Results 1 - 11 of 11) sorted by relevance

/fuchsia/zircon/system/ulib/zx/
H A Dvcpu.cpp5 #include <lib/zx/vcpu.h>
11 zx_status_t vcpu::create(const guest& guest, uint32_t options, argument
12 zx_gpaddr_t entry, vcpu* vcpu) {
13 // Assume |guest| and |vcpu| must refer to different containers, due to
16 vcpu->reset_and_get_address());
H A Drules.mk29 $(LOCAL_DIR)/vcpu.cpp \
/fuchsia/zircon/system/ulib/zx/include/lib/zx/
H A Dvcpu.h14 class vcpu : public object<vcpu> { class in namespace:zx
18 constexpr vcpu() = default;
20 explicit vcpu(zx_handle_t value) : object(value) {} function in class:zx::vcpu
22 explicit vcpu(handle&& h) : object(h.release()) {} function in class:zx::vcpu
24 vcpu(vcpu&& other) : object(other.release()) {} function in class:zx::vcpu
26 vcpu& operator=(vcpu&& other) {
32 zx_gpaddr_t entry, vcpu* resul
[all...]
/fuchsia/zircon/kernel/object/
H A Dvcpu_dispatcher.cpp21 fbl::unique_ptr<Vcpu> vcpu; local
22 zx_status_t status = Vcpu::Create(guest, entry, &vcpu);
27 auto disp = new (&ac) VcpuDispatcher(guest_dispatcher, fbl::move(vcpu));
36 VcpuDispatcher::VcpuDispatcher(fbl::RefPtr<GuestDispatcher> guest, fbl::unique_ptr<Vcpu> vcpu) argument
37 : guest_(guest), vcpu_(fbl::move(vcpu)) {}
/fuchsia/zircon/kernel/syscalls/
H A Dhypervisor.cpp85 fbl::RefPtr<VcpuDispatcher> vcpu; local
86 zx_status_t status = up->GetDispatcherWithRights(vcpu_handle, ZX_RIGHT_EXECUTE, &vcpu);
91 status = vcpu->Resume(&packet);
105 fbl::RefPtr<VcpuDispatcher> vcpu; local
106 zx_status_t status = up->GetDispatcherWithRights(vcpu_handle, ZX_RIGHT_SIGNAL, &vcpu);
110 return vcpu->Interrupt(vector);
117 fbl::RefPtr<VcpuDispatcher> vcpu; local
118 zx_status_t status = up->GetDispatcherWithRights(vcpu_handle, ZX_RIGHT_READ, &vcpu);
125 status = vcpu->ReadState(kind, buffer, len);
138 fbl::RefPtr<VcpuDispatcher> vcpu; local
[all...]
/fuchsia/zircon/kernel/arch/arm64/hypervisor/
H A Dvcpu.cpp145 fbl::unique_ptr<Vcpu> vcpu(new (&ac) Vcpu(guest, vpid, thread));
151 timer_init(&vcpu->gich_state_.timer);
152 status = vcpu->gich_state_.interrupt_tracker.Init();
157 status = vcpu->el2_state_.Alloc();
163 vcpu->gich_state_.active_interrupts.Reset(kNumInterrupts);
164 vcpu->gich_state_.num_lrs = gic_get_num_lrs();
165 vcpu->gich_state_.vmcr = gic_default_gich_vmcr();
166 vcpu->gich_state_.elrsr = gic_read_gich_elrsr();
167 vcpu->gich_state_.apr = 0;
168 vcpu
[all...]
H A Drules.mk15 $(LOCAL_DIR)/vcpu.cpp \
/fuchsia/zircon/system/utest/hypervisor/
H A Dguest.cpp13 #include <lib/zx/vcpu.h>
80 zx::vcpu vcpu; member in struct:test
140 status = zx::vcpu::create(test->guest, 0, entry, &test->vcpu);
163 return test->vcpu.interrupt(32) == ZX_OK ? thrd_success : thrd_error;
172 const zx::vcpu& vcpu) {
185 if (vcpu.read_state(ZX_VCPU_STATE, &vcpu_state, sizeof(vcpu_state)) != ZX_OK) {
202 ASSERT_EQ(test->vcpu
171 exception_thrown(const zx_packet_guest_mem_t& guest_mem, const zx::vcpu& vcpu) argument
[all...]
/fuchsia/zircon/kernel/arch/x86/hypervisor/
H A Drules.mk13 $(LOCAL_DIR)/vcpu.cpp \
H A Dvcpu.cpp648 fbl::unique_ptr<Vcpu> vcpu(new (&ac) Vcpu(guest, vpid, thread));
652 timer_init(&vcpu->local_apic_state_.timer);
653 status = vcpu->local_apic_state_.interrupt_tracker.Init();
657 vcpu->pvclock_state_.is_stable =
661 status = vcpu->host_msr_page_.Alloc(vmx_info, 0);
665 status = vcpu->guest_msr_page_.Alloc(vmx_info, 0);
669 status = vcpu->vmcs_page_.Alloc(vmx_info, 0);
674 VmxRegion* region = vcpu->vmcs_page_.VirtualAddress<VmxRegion>();
677 status = vmcs_init(vcpu->vmcs_page_.PhysicalAddress(), vpid, entry, guest->MsrBitmapsAddress(),
678 table, &vcpu
[all...]
/fuchsia/zircon/kernel/object/include/object/
H A Dvcpu_dispatcher.h35 explicit VcpuDispatcher(fbl::RefPtr<GuestDispatcher> guest, fbl::unique_ptr<Vcpu> vcpu);

Completed in 40 milliseconds