mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
parent
065b9fdb46
commit
02d68fdb97
@ -6,15 +6,15 @@
|
|||||||
|
|
||||||
# add include paths
|
# add include paths
|
||||||
INC_DIR += $(REP_DIR)/src/core/spec/arndale
|
INC_DIR += $(REP_DIR)/src/core/spec/arndale
|
||||||
INC_DIR += $(REP_DIR)/src/core/spec/arm_v7/virtualization
|
INC_DIR += $(REP_DIR)/src/core/spec/arm/virtualization
|
||||||
|
|
||||||
# add C++ sources
|
# add C++ sources
|
||||||
SRC_CC += kernel/vm_thread_on.cc
|
SRC_CC += kernel/vm_thread_on.cc
|
||||||
SRC_CC += spec/arm/gicv2.cc
|
SRC_CC += spec/arm/gicv2.cc
|
||||||
SRC_CC += spec/arm_v7/virtualization/kernel/vm.cc
|
SRC_CC += spec/arm_v7/virtualization/kernel/vm.cc
|
||||||
SRC_CC += spec/arm_v7/virtualization/platform_services.cc
|
SRC_CC += spec/arm/virtualization/platform_services.cc
|
||||||
SRC_CC += spec/arm_v7/virtualization/vm_session_component.cc
|
SRC_CC += spec/arm/virtualization/vm_session_component.cc
|
||||||
SRC_CC += spec/arm_v7/vm_session_component.cc
|
SRC_CC += spec/arm/vm_session_component.cc
|
||||||
SRC_CC += vm_session_common.cc
|
SRC_CC += vm_session_common.cc
|
||||||
|
|
||||||
# add assembly sources
|
# add assembly sources
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
# add include paths
|
# add include paths
|
||||||
INC_DIR += $(REP_DIR)/src/core/spec/imx7d_sabre
|
INC_DIR += $(REP_DIR)/src/core/spec/imx7d_sabre
|
||||||
INC_DIR += $(REP_DIR)/src/core/spec/arm_v7/virtualization
|
INC_DIR += $(REP_DIR)/src/core/spec/arm/virtualization
|
||||||
|
|
||||||
# add C++ sources
|
# add C++ sources
|
||||||
SRC_CC += kernel/vm_thread_on.cc
|
SRC_CC += kernel/vm_thread_on.cc
|
||||||
SRC_CC += spec/arm/generic_timer.cc
|
SRC_CC += spec/arm/generic_timer.cc
|
||||||
SRC_CC += spec/arm/gicv2.cc
|
SRC_CC += spec/arm/gicv2.cc
|
||||||
SRC_CC += spec/arm_v7/virtualization/kernel/vm.cc
|
SRC_CC += spec/arm_v7/virtualization/kernel/vm.cc
|
||||||
SRC_CC += spec/arm_v7/virtualization/platform_services.cc
|
SRC_CC += spec/arm/virtualization/platform_services.cc
|
||||||
SRC_CC += spec/arm_v7/virtualization/vm_session_component.cc
|
SRC_CC += spec/arm/virtualization/vm_session_component.cc
|
||||||
SRC_CC += spec/arm_v7/vm_session_component.cc
|
SRC_CC += spec/arm/vm_session_component.cc
|
||||||
SRC_CC += vm_session_common.cc
|
SRC_CC += vm_session_common.cc
|
||||||
|
|
||||||
# add assembly sources
|
# add assembly sources
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
/* core includes */
|
/* core includes */
|
||||||
#include <kernel/core_interface.h>
|
#include <kernel/core_interface.h>
|
||||||
#include <vm_session_component.h>
|
#include <spec/arm/virtualization/vm_session_component.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <core_env.h>
|
#include <core_env.h>
|
||||||
|
|
@ -27,6 +27,7 @@
|
|||||||
#include <region_map_component.h>
|
#include <region_map_component.h>
|
||||||
#include <translation_table.h>
|
#include <translation_table.h>
|
||||||
#include <kernel/vm.h>
|
#include <kernel/vm.h>
|
||||||
|
#include <cpu/vm_state_virtualization.h>
|
||||||
|
|
||||||
#include <trace/source_registry.h>
|
#include <trace/source_registry.h>
|
||||||
|
|
||||||
@ -60,13 +61,13 @@ class Genode::Vm_session_component
|
|||||||
Avl_region _map { &_sliced_heap };
|
Avl_region _map { &_sliced_heap };
|
||||||
Region_map &_region_map;
|
Region_map &_region_map;
|
||||||
Ram_dataspace_capability _ds_cap { };
|
Ram_dataspace_capability _ds_cap { };
|
||||||
Region_map::Local_addr _ds_addr { 0 };
|
Region_map::Local_addr _ds_addr { nullptr };
|
||||||
Table &_table;
|
Table &_table;
|
||||||
Array &_table_array;
|
Array &_table_array;
|
||||||
Kernel_object<Kernel::Vm> _kobj {};
|
Kernel_object<Kernel::Vm> _kobj {};
|
||||||
|
|
||||||
static size_t _ds_size() {
|
static size_t _ds_size() {
|
||||||
return align_addr(sizeof(Cpu_state_modes),
|
return align_addr(sizeof(Vm_state),
|
||||||
get_page_size_log2()); }
|
get_page_size_log2()); }
|
||||||
|
|
||||||
addr_t _alloc_ds();
|
addr_t _alloc_ds();
|
Loading…
Reference in New Issue
Block a user