Searched refs:newcpu (Results 1 - 5 of 5) sorted by relevance
/freebsd-10-stable/usr.sbin/bhyve/ |
H A D | spinup_ap.c | 46 spinup_ap_realmode(struct vmctx *ctx, int newcpu, uint64_t *rip) argument 60 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_RIP, *rip); 63 error = vm_get_desc(ctx, newcpu, VM_REG_GUEST_CS, &desc_base, 68 error = vm_set_desc(ctx, newcpu, VM_REG_GUEST_CS, 73 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_CS, cs); 78 spinup_ap(struct vmctx *ctx, int vcpu, int newcpu, uint64_t rip) argument 82 assert(newcpu != 0); 83 assert(newcpu < guest_ncpus); 85 error = vcpu_reset(ctx, newcpu); 88 fbsdrun_set_capabilities(ctx, newcpu); [all...] |
H A D | spinup_ap.h | 32 int spinup_ap(struct vmctx *ctx, int vcpu, int newcpu, uint64_t rip);
|
H A D | bhyverun.h | 43 void fbsdrun_addcpu(struct vmctx *ctx, int fromcpu, int newcpu, uint64_t rip);
|
H A D | bhyverun.c | 251 fbsdrun_addcpu(struct vmctx *ctx, int fromcpu, int newcpu, uint64_t rip) argument 258 * The 'newcpu' must be activated in the context of 'fromcpu'. If 259 * vm_activate_cpu() is delayed until newcpu's pthread starts running 263 error = vm_activate_cpu(ctx, newcpu); 265 err(EX_OSERR, "could not activate CPU %d", newcpu); 267 CPU_SET_ATOMIC(newcpu, &cpumask); 273 vmexit[newcpu].rip = rip; 274 vmexit[newcpu].inst_length = 0; 276 mt_vmm_info[newcpu].mt_ctx = ctx; 277 mt_vmm_info[newcpu] [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | sched_4bsd.c | 574 unsigned int newcpu; local 581 newcpu = td->td_estcpu; 583 while (newcpu && --ts->ts_slptime) 584 newcpu = decay_cpu(loadfac, newcpu); 585 td->td_estcpu = newcpu;
|
Completed in 183 milliseconds