Build arch_vm.cpp for x86_64. No changes required except for temporarily disabling bios_init call.
This commit is contained in:
@@ -479,63 +479,6 @@ x86_init_user_debug()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
|
||||||
arch_vm_init(kernel_args *args)
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
status_t
|
|
||||||
arch_vm_init_post_area(kernel_args *args)
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
status_t
|
|
||||||
arch_vm_init_end(kernel_args *args)
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
status_t
|
|
||||||
arch_vm_init_post_modules(kernel_args *args)
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool
|
|
||||||
arch_vm_supports_protection(uint32 protection)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
arch_vm_unset_memory_type(struct VMArea *area)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
status_t
|
|
||||||
arch_vm_set_memory_type(struct VMArea *area, phys_addr_t physicalBase,
|
|
||||||
uint32 type)
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
arch_vm_translation_map_create_map(bool kernel, VMTranslationMap** _map)
|
arch_vm_translation_map_create_map(bool kernel, VMTranslationMap** _map)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ if $(TARGET_ARCH) = x86_64 {
|
|||||||
arch_smp.cpp
|
arch_smp.cpp
|
||||||
arch_thread.cpp
|
arch_thread.cpp
|
||||||
arch_timer.cpp
|
arch_timer.cpp
|
||||||
arch_vm.cpp
|
|
||||||
arch_vm_translation_map.cpp
|
arch_vm_translation_map.cpp
|
||||||
arch_system_info.cpp
|
arch_system_info.cpp
|
||||||
arch_user_debugger.cpp
|
arch_user_debugger.cpp
|
||||||
@@ -87,6 +86,7 @@ local archGenericSources =
|
|||||||
arch_cpu.cpp
|
arch_cpu.cpp
|
||||||
arch_debug_console.cpp
|
arch_debug_console.cpp
|
||||||
arch_int.cpp
|
arch_int.cpp
|
||||||
|
arch_vm.cpp
|
||||||
pic.cpp
|
pic.cpp
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
@@ -656,7 +656,12 @@ arch_vm_init_post_area(kernel_args *args)
|
|||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO x86_64
|
||||||
|
#ifndef __x86_64__
|
||||||
return bios_init();
|
return bios_init();
|
||||||
|
#else
|
||||||
|
return B_OK;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user