mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 01:08:55 +00:00
@ -62,7 +62,7 @@ class Core::Platform : public Platform_generic
|
||||
/*
|
||||
* Shortcut for the type of allocator instances for physical resources
|
||||
*/
|
||||
typedef Synced_range_allocator<Allocator_avl> Phys_allocator;
|
||||
using Phys_allocator = Synced_range_allocator<Allocator_avl>;
|
||||
|
||||
Platform_pd *_core_pd = nullptr; /* core protection domain object */
|
||||
Phys_allocator _ram_alloc; /* RAM allocator */
|
||||
|
@ -45,7 +45,7 @@ class Core::Platform_thread : Interface
|
||||
|
||||
enum State { DEAD, RUNNING };
|
||||
|
||||
typedef String<32> Name;
|
||||
using Name = String<32>;
|
||||
|
||||
friend class Platform_pd;
|
||||
|
||||
|
@ -35,7 +35,7 @@ namespace Core {
|
||||
|
||||
enum { MAX_VCPU_IDS = (Platform::VCPU_VIRT_EXT_END -
|
||||
Platform::VCPU_VIRT_EXT_START) / L4_PAGESIZE };
|
||||
typedef Bit_allocator<MAX_VCPU_IDS> Vcpu_id_allocator;
|
||||
using Vcpu_id_allocator = Bit_allocator<MAX_VCPU_IDS>;
|
||||
}
|
||||
|
||||
|
||||
@ -78,8 +78,8 @@ class Core::Vm_session_component
|
||||
{
|
||||
private:
|
||||
|
||||
typedef Constrained_ram_allocator Con_ram_allocator;
|
||||
typedef Allocator_avl_tpl<Rm_region> Avl_region;
|
||||
using Con_ram_allocator = Constrained_ram_allocator;
|
||||
using Avl_region = Allocator_avl_tpl<Rm_region>;
|
||||
|
||||
Rpc_entrypoint &_ep;
|
||||
Con_ram_allocator _constrained_md_ram_alloc;
|
||||
|
Reference in New Issue
Block a user