Searched refs:vpid (Results 1 - 11 of 11) sorted by relevance
/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/ |
H A D | cpu.h | 21 cpu_num_t cpu_of(uint16_t vpid); 25 thread_t* pin_thread(uint16_t vpid); 28 bool check_pinned_cpu_invariant(uint16_t vpid, const thread_t* thread);
|
/fuchsia/zircon/kernel/lib/hypervisor/ |
H A D | cpu.cpp | 43 cpu_num_t cpu_of(uint16_t vpid) { argument 44 return (vpid - 1) % arch_max_num_cpus(); 47 thread_t* pin_thread(uint16_t vpid) { argument 49 thread_set_cpu_affinity(thread, cpu_num_to_mask(cpu_of(vpid))); 53 bool check_pinned_cpu_invariant(uint16_t vpid, const thread_t* thread) { argument 54 cpu_num_t cpu = cpu_of(vpid);
|
/fuchsia/zircon/kernel/arch/arm64/hypervisor/ |
H A D | el2_cpu_state_priv.h | 54 zx_status_t alloc_vpid(uint8_t* vpid); 55 zx_status_t free_vpid(uint8_t vpid);
|
H A D | guest.cpp | 105 zx_status_t Guest::AllocVpid(uint8_t* vpid) { argument 107 return vpid_allocator_.AllocId(vpid); 110 zx_status_t Guest::FreeVpid(uint8_t vpid) { argument 112 return vpid_allocator_.FreeId(vpid);
|
H A D | vcpu.cpp | 35 static uint64_t vmpidr_of(uint8_t vpid, uint64_t mpidr) { argument 36 return (vpid - 1) | (mpidr & 0xffffff00fe000000); 134 uint8_t vpid; local 135 zx_status_t status = guest->AllocVpid(&vpid); 139 auto auto_call = fbl::MakeAutoCall([guest, vpid]() { guest->FreeVpid(vpid); }); 142 thread_t* thread = hypervisor::pin_thread(vpid); 145 fbl::unique_ptr<Vcpu> vcpu(new (&ac) Vcpu(guest, vpid, thread)); 171 vcpu->el2_state_->guest_state.system_state.vmpidr_el2 = vmpidr_of(vpid, mpidr); 180 Vcpu::Vcpu(Guest* guest, uint8_t vpid, cons argument [all...] |
H A D | vmexit.cpp | 227 auto vpid = BITS(guest_state->system_state.vmpidr_el2, 8, 0); local 228 packet->guest_vcpu.interrupt.mask = ~(static_cast<uint64_t>(1) << vpid);
|
/fuchsia/zircon/kernel/arch/x86/include/arch/ |
H A D | hypervisor.h | 48 zx_status_t AllocVpid(uint16_t* vpid); 49 zx_status_t FreeVpid(uint16_t vpid); 109 Vcpu(Guest* guest, uint16_t vpid, const thread_t* thread);
|
/fuchsia/zircon/kernel/arch/x86/hypervisor/ |
H A D | guest.cpp | 134 zx_status_t Guest::AllocVpid(uint16_t* vpid) { argument 136 return vpid_allocator_.AllocId(vpid); 139 zx_status_t Guest::FreeVpid(uint16_t vpid) { argument 141 return vpid_allocator_.FreeId(vpid);
|
H A D | vcpu.cpp | 230 AutoPin::AutoPin(uint16_t vpid) argument 231 : prev_cpu_mask_(get_current_thread()->cpu_affinity), thread_(hypervisor::pin_thread(vpid)) {} 273 static zx_status_t vmcs_init(paddr_t vmcs_address, uint16_t vpid, uintptr_t entry, argument 377 if (vpid == kBaseProcessorVpid) { 425 vmcs.Write(VmcsField16::VPID, vpid); 499 if (vpid != kBaseProcessorVpid) { 513 if (vpid == kBaseProcessorVpid) { 530 if (vpid != kBaseProcessorVpid) { 539 if (vpid == kBaseProcessorVpid) { 557 if (vpid 686 Vcpu(Guest* guest, uint16_t vpid, const thread_t* thread) argument [all...] |
H A D | vcpu_priv.h | 241 AutoPin(uint16_t vpid);
|
/fuchsia/zircon/kernel/arch/arm64/include/arch/ |
H A D | hypervisor.h | 44 zx_status_t AllocVpid(uint8_t* vpid); 45 zx_status_t FreeVpid(uint8_t vpid); 123 Vcpu(Guest* guest, uint8_t vpid, const thread_t* thread);
|
Completed in 96 milliseconds