Fix m68k build, still unimplemented.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32102 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
af9475fd3d
commit
98977abc9b
@ -32,6 +32,8 @@ struct m68k_vm_ops {
|
||||
void (*m68k_unmap_address_range)(addr_t virtualAddress, size_t size);
|
||||
status_t (*m68k_remap_address_range)(addr_t *_virtualAddress, size_t size, bool unmap);
|
||||
#endif
|
||||
bool (*arch_vm_translation_map_is_kernel_page_accessible)(addr_t virtualAddress, uint32 protection);
|
||||
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -45,4 +45,5 @@ struct m68k_vm_ops m68030_vm_ops = {
|
||||
m68k_unmap_address_range,
|
||||
m68k_remap_address_range
|
||||
#endif
|
||||
m68k_vm_translation_map_is_kernel_page_accessible
|
||||
};
|
||||
|
@ -43,4 +43,5 @@ struct m68k_vm_ops m68040_vm_ops = {
|
||||
m68k_unmap_address_range,
|
||||
m68k_remap_address_range
|
||||
#endif
|
||||
m68k_vm_translation_map_is_kernel_page_accessible
|
||||
};
|
||||
|
@ -159,3 +159,13 @@ m68k_remap_address_range(addr_t *_virtualAddress, size_t size, bool unmap)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool
|
||||
arch_vm_translation_map_is_kernel_page_accessible(addr_t virtualAddress,
|
||||
uint32 protection)
|
||||
{
|
||||
return get_vm_ops()-arch_vm_translation_map_is_kernel_page_accessible(virtualAddress,
|
||||
protection);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1512,8 +1512,8 @@ m68k_vm_translation_map_early_map(kernel_args *args, addr_t va, addr_t pa,
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
arch_vm_translation_map_is_kernel_page_accessible(addr_t virtualAddress,
|
||||
static bool
|
||||
m68k_vm_translation_map_is_kernel_page_accessible(addr_t virtualAddress,
|
||||
uint32 protection)
|
||||
{
|
||||
// TODO: Implement!
|
||||
|
Loading…
Reference in New Issue
Block a user