mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
parent
228d1c27b7
commit
4798ffd055
@ -58,9 +58,12 @@ void Sup::Vm::init(PSUPDRVSESSION psession, Cpu_count cpu_count)
|
|||||||
for (uint32_t i = 0; i < cpu_count.value; ++i) {
|
for (uint32_t i = 0; i < cpu_count.value; ++i) {
|
||||||
VMCPU &cpu = GVM::aCpus[i];
|
VMCPU &cpu = GVM::aCpus[i];
|
||||||
|
|
||||||
|
cpu.idCpu = i;
|
||||||
cpu.pVMR3 = this;
|
cpu.pVMR3 = this;
|
||||||
cpu.idHostCpu = NIL_RTCPUID;
|
cpu.idHostCpu = NIL_RTCPUID;
|
||||||
|
cpu.hNativeThread = NIL_RTNATIVETHREAD;
|
||||||
cpu.hNativeThreadR0 = NIL_RTNATIVETHREAD;
|
cpu.hNativeThreadR0 = NIL_RTNATIVETHREAD;
|
||||||
|
cpu.enmState = VMCPUSTATE_STOPPED;
|
||||||
|
|
||||||
VM::apCpusR3[i] = &cpu;
|
VM::apCpusR3[i] = &cpu;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user