8 explicit Vm(Ram_quota *q) : Task(q) {}
9 int resume_vcpu(Context *, Vcpu_state *, bool) = 0;
12 template< typename VM >
15 static Kmem_slab_t<VM> a;
19 Kmem_slab_t<VM> Vm_allocator<VM>::a("Vm");
21 // ------------------------------------------------------------------------
26 Vm::map_max_address() const
27 { return Page_number::create(1UL << (MWORD_BITS - Mem_space::Page_shift)); }
30 template< typename VM >
33 { return &Vm_allocator<VM>::a; }
35 // ------------------------------------------------------------------------
36 IMPLEMENTATION [ia32]:
38 PROTECTED static inline
43 // ------------------------------------------------------------------------
44 IMPLEMENTATION [amd64]:
46 PROTECTED static inline