mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 16:39:39 +00:00
@ -87,7 +87,7 @@ class Core::Account
|
||||
|
||||
public:
|
||||
|
||||
typedef typename Quota_guard<UNIT>::Limit_exceeded Limit_exceeded;
|
||||
using Limit_exceeded = typename Quota_guard<UNIT>::Limit_exceeded;
|
||||
|
||||
class Unrelated_account : Exception { };
|
||||
|
||||
|
@ -34,8 +34,8 @@ namespace Core {
|
||||
* We take the knowledge about the used backing-store allocator (sliced
|
||||
* heap) into account to make sure that slab blocks fill whole pages.
|
||||
*/
|
||||
typedef Tslab<Cpu_thread_component, get_page_size() - Sliced_heap::meta_data_size(), 2>
|
||||
Cpu_thread_allocator;
|
||||
using Cpu_thread_allocator =
|
||||
Tslab<Cpu_thread_component, get_page_size() - Sliced_heap::meta_data_size(), 2>;
|
||||
}
|
||||
|
||||
#endif /* _CORE__INCLUDE__CPU_THREAD_ALLOCATOR_H_ */
|
||||
|
@ -40,7 +40,7 @@ class Core::Cpu_thread_component : public Rpc_object<Cpu_thread>,
|
||||
{
|
||||
public:
|
||||
|
||||
typedef Trace::Thread_name Thread_name;
|
||||
using Thread_name = Trace::Thread_name;
|
||||
|
||||
using Pd_threads = Pd_session_component::Threads;
|
||||
|
||||
|
@ -19,6 +19,6 @@
|
||||
/* core includes */
|
||||
#include <types.h>
|
||||
|
||||
namespace Core { typedef Thread_state Pager_object_exception_state; }
|
||||
namespace Core { using Pager_object_exception_state = Thread_state; }
|
||||
|
||||
#endif /* _CORE__INCLUDE__PAGER_OBJECT_EXCEPTION_STATE_H_ */
|
||||
|
@ -122,8 +122,8 @@ class Core::Pd_session_component : public Session_object<Pd_session>
|
||||
|
||||
public:
|
||||
|
||||
typedef Ram_dataspace_factory::Phys_range Phys_range;
|
||||
typedef Ram_dataspace_factory::Virt_range Virt_range;
|
||||
using Phys_range = Ram_dataspace_factory::Phys_range;
|
||||
using Virt_range = Ram_dataspace_factory::Virt_range;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -32,7 +32,7 @@ class Core::Ram_dataspace_factory : public Ram_allocator,
|
||||
{
|
||||
public:
|
||||
|
||||
typedef Range_allocator::Range Phys_range;
|
||||
using Phys_range = Range_allocator::Range;
|
||||
|
||||
static Phys_range any_phys_range() { return { 0UL, ~0UL }; }
|
||||
|
||||
|
@ -392,8 +392,7 @@ class Core::Region_map_component : private Weak_object<Region_map_component>,
|
||||
* Dimension slab allocator for regions such that backing store is
|
||||
* allocated at the granularity of pages.
|
||||
*/
|
||||
typedef Tslab<Rm_region_ref, get_page_size() - Sliced_heap::meta_data_size()>
|
||||
Ref_slab;
|
||||
using Ref_slab = Tslab<Rm_region_ref, get_page_size() - Sliced_heap::meta_data_size()>;
|
||||
|
||||
Allocator_avl_tpl<Rm_region> _map; /* region map for attach,
|
||||
detach, pagefaults */
|
||||
|
@ -29,7 +29,7 @@ namespace Core {
|
||||
class Signal_context_component;
|
||||
class Signal_source_component;
|
||||
|
||||
typedef Fifo<Signal_context_component> Signal_queue;
|
||||
using Signal_queue = Fifo<Signal_context_component>;
|
||||
|
||||
struct Signal_context_slab;
|
||||
}
|
||||
|
@ -306,7 +306,7 @@ class Core::Trace::Subject_registry
|
||||
{
|
||||
private:
|
||||
|
||||
typedef List<Subject> Subjects;
|
||||
using Subjects = List<Subject>;
|
||||
|
||||
Allocator &_md_alloc;
|
||||
Source_registry &_sources;
|
||||
|
@ -49,7 +49,7 @@ void Signal_receiver::_platform_finish_dissolve(Signal_context &) { }
|
||||
void Signal_receiver::unblock_signal_waiter(Rpc_entrypoint &) { ASSERT_NEVER_CALLED; }
|
||||
|
||||
|
||||
typedef Signal_context_capability Sigh_cap;
|
||||
using Sigh_cap = Signal_context_capability;
|
||||
|
||||
|
||||
Sigh_cap Signal_receiver::manage(Signal_context &) { ASSERT_NEVER_CALLED; }
|
||||
|
Reference in New Issue
Block a user