mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 09:15:36 +00:00
@ -70,7 +70,7 @@ static int map_local(Genode::addr_t const pd, Nova::Utcb &utcb,
|
||||
Nova::uint8_t res = Nova::delegate(pd, pd, dst_crd);
|
||||
if (res != Nova::NOVA_OK) {
|
||||
|
||||
typedef Genode::Hex Hex;
|
||||
using Hex = Genode::Hex;
|
||||
error("map_local failed ",
|
||||
Hex(src_crd.addr()), ":", Hex(src_crd.order()), ":", Hex(src_crd.type()), "->",
|
||||
Hex(dst_crd.addr()), ":", Hex(dst_crd.order()), ":", Hex(dst_crd.type()), " - ",
|
||||
|
@ -37,8 +37,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>;
|
||||
|
||||
class Vcpu : public Rpc_object<Vm_session::Native_vcpu, Vcpu>,
|
||||
public Trace::Source::Info_accessor
|
||||
|
@ -229,7 +229,7 @@ Rpc_entrypoint::Rpc_entrypoint(Pd_session *pd_session, size_t stack_size,
|
||||
|
||||
Rpc_entrypoint::~Rpc_entrypoint()
|
||||
{
|
||||
typedef Object_pool<Rpc_object_base> Pool;
|
||||
using Pool = Object_pool<Rpc_object_base>;
|
||||
|
||||
Pool::remove_all([&] (Rpc_object_base *obj) {
|
||||
warning("object pool not empty in ", __func__);
|
||||
|
@ -48,7 +48,7 @@ struct Nova_vcpu : Rpc_client<Vm_session::Native_vcpu>, Noncopyable
|
||||
|
||||
enum { VM_EXIT_STARTUP = 0xfe, VM_EXIT_RECALL = 0xff };
|
||||
|
||||
typedef Id_space<Nova_vcpu> Vcpu_space;
|
||||
using Vcpu_space = Id_space<Nova_vcpu>;
|
||||
|
||||
static Vcpu_space &_vcpu_space()
|
||||
{
|
||||
@ -168,8 +168,8 @@ struct Nova_vcpu : Rpc_client<Vm_session::Native_vcpu>, Noncopyable
|
||||
|
||||
void Nova_vcpu::_read_nova_state(Nova::Utcb &utcb)
|
||||
{
|
||||
typedef Genode::Vcpu_state::Segment Segment;
|
||||
typedef Genode::Vcpu_state::Range Range;
|
||||
using Segment = Genode::Vcpu_state::Segment;
|
||||
using Range = Genode::Vcpu_state::Range;
|
||||
|
||||
_vcpu_state.discharge();
|
||||
_vcpu_state.exit_reason = static_cast<unsigned int>(utcb.exit_reason);
|
||||
|
@ -74,7 +74,7 @@ struct Test::Component : Genode::Rpc_object<Test::Session, Test::Component>
|
||||
Genode::Native_capability cap_cap(Genode::addr_t);
|
||||
};
|
||||
|
||||
namespace Test { typedef Genode::Capability<Test::Session> Capability; }
|
||||
namespace Test { using Capability = Genode::Capability<Test::Session>; }
|
||||
|
||||
/**
|
||||
* Session implementation
|
||||
|
Reference in New Issue
Block a user