base: remove Cancelable_lock

- base/cancelable_lock.h becomes base/lock.h
- all members become private within base/lock.h
- solely Mutex and Blockade are friends to use base/lock.h

Fixes #3819
This commit is contained in:
Alexander Boettcher
2020-07-14 10:15:30 +02:00
committed by Christian Helmuth
parent 0ed7367c97
commit 41380ff769
23 changed files with 108 additions and 209 deletions

View File

@ -18,8 +18,6 @@ using Vmm::Cpu_base;
using Vmm::Cpu;
using Vmm::Gic;
Genode::Lock & Vmm::lock() { static Genode::Lock l {}; return l; }
Cpu_base::System_register::System_register(unsigned op0,
unsigned crn,

View File

@ -26,7 +26,6 @@
namespace Vmm {
class Vm;
class Cpu_base;
Genode::Lock & lock();
}
class Vmm::Cpu_base