nova: remove obsolete local vcpu case

Seoul was the last user of Vcpu_same_pd
This commit is contained in:
Alexander Boettcher
2020-07-20 14:57:26 +02:00
committed by Christian Helmuth
parent fd682cd470
commit 73e671893b
5 changed files with 7 additions and 87 deletions

View File

@ -154,9 +154,7 @@ void Thread::start()
try {
Nova_native_cpu::Thread_type thread_type;
if (native_thread().vcpu)
thread_type = Nova_native_cpu::Thread_type::VCPU;
else if (global)
if (global)
thread_type = Nova_native_cpu::Thread_type::GLOBAL;
else
thread_type = Nova_native_cpu::Thread_type::LOCAL;
@ -187,12 +185,10 @@ void Thread::start()
using namespace Nova;
if (!native_thread().vcpu) {
/* default: we don't accept any mappings or translations */
Utcb * utcb_obj = reinterpret_cast<Utcb *>(utcb());
utcb_obj->crd_rcv = Obj_crd();
utcb_obj->crd_xlt = Obj_crd();
}
/* default: we don't accept any mappings or translations */
Utcb * utcb_obj = reinterpret_cast<Utcb *>(utcb());
utcb_obj->crd_rcv = Obj_crd();
utcb_obj->crd_xlt = Obj_crd();
if (global)
/* request creation of SC to let thread run*/