Build arch_vm.cpp for x86_64. No changes required except for temporarily disabling bios_init call.

This commit is contained in:
Alex Smith
2012-07-04 14:55:11 +01:00
parent 428b9e758c
commit 4988ca58a0
3 changed files with 6 additions and 58 deletions
-57
View File
@@ -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
arch_vm_translation_map_create_map(bool kernel, VMTranslationMap** _map)
{
+1 -1
View File
@@ -43,7 +43,6 @@ if $(TARGET_ARCH) = x86_64 {
arch_smp.cpp
arch_thread.cpp
arch_timer.cpp
arch_vm.cpp
arch_vm_translation_map.cpp
arch_system_info.cpp
arch_user_debugger.cpp
@@ -87,6 +86,7 @@ local archGenericSources =
arch_cpu.cpp
arch_debug_console.cpp
arch_int.cpp
arch_vm.cpp
pic.cpp
;
+5
View File
@@ -656,7 +656,12 @@ arch_vm_init_post_area(kernel_args *args)
return B_NO_MEMORY;
}
// TODO x86_64
#ifndef __x86_64__
return bios_init();
#else
return B_OK;
#endif
}