mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
4c492a3be7
commit
8f28f884ee
@ -14,7 +14,7 @@
|
||||
#ifndef _CORE__KERNEL__VM_H_
|
||||
#define _CORE__KERNEL__VM_H_
|
||||
|
||||
#include <cpu/vm_state.h>
|
||||
namespace Genode { class Vm_state; }
|
||||
|
||||
/* core includes */
|
||||
#include <kernel/cpu_context.h>
|
||||
|
@ -24,8 +24,7 @@ void Kernel::Thread::_call_new_vm()
|
||||
return;
|
||||
}
|
||||
|
||||
_call_new<Vm>((Genode::Cpu_state_modes*)user_arg_2(), context,
|
||||
(void*)user_arg_3());
|
||||
_call_new<Vm>((void*)user_arg_2(), context, (void*)user_arg_3());
|
||||
}
|
||||
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
/* core includes */
|
||||
#include <kernel/cpu.h>
|
||||
#include <kernel/vm.h>
|
||||
#include <cpu/vm_state_trustzone.h>
|
||||
|
||||
using namespace Kernel;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
#include <base/log.h>
|
||||
#include <hw/assert.h>
|
||||
#include <cpu/vm_state_virtualization.h>
|
||||
|
||||
#include <platform_pd.h>
|
||||
#include <kernel/cpu.h>
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <platform_pd.h>
|
||||
#include <kernel/cpu.h>
|
||||
#include <kernel/vm.h>
|
||||
#include <cpu/cpu_state.h>
|
||||
#include <kernel/vm_state.h>
|
||||
#include <pic.h>
|
||||
|
||||
Kernel::Vm::Vm(void * const state, Kernel::Signal_context * const context,
|
||||
|
@ -16,8 +16,7 @@
|
||||
|
||||
namespace Genode
|
||||
{
|
||||
using Cpu_state_modes = Cpu_state;
|
||||
using Vm_state = Cpu_state;
|
||||
struct Vm_state : Cpu_state {};
|
||||
}
|
||||
|
||||
#endif /* _CORE__SPEC__X86_64__MUEN__VM_STATE_H_ */
|
@ -24,6 +24,7 @@
|
||||
#include <dataspace_component.h>
|
||||
#include <object.h>
|
||||
#include <kernel/vm.h>
|
||||
#include <kernel/vm_state.h>
|
||||
|
||||
namespace Genode {
|
||||
class Vm_session_component;
|
||||
|
@ -15,7 +15,7 @@
|
||||
#define _SRC__SERVER__VMM__INCLUDE__MMU_H_
|
||||
|
||||
/* base includes */
|
||||
#include <cpu/vm_state.h>
|
||||
#include <cpu/vm_state_trustzone.h>
|
||||
|
||||
/* local includes */
|
||||
#include <ram.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <rom_session/connection.h>
|
||||
#include <vm_session/connection.h>
|
||||
#include <util/noncopyable.h>
|
||||
#include <cpu/vm_state.h>
|
||||
#include <cpu/vm_state_trustzone.h>
|
||||
|
||||
/* local includes */
|
||||
#include <ram.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <util/mmio.h>
|
||||
#include <vm_session/connection.h>
|
||||
|
||||
#include <cpu/vm_state.h>
|
||||
#include <cpu/vm_state_virtualization.h>
|
||||
#include <board.h>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user