Fixed PPC build (still using the older compiler, though).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20384 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -337,23 +337,6 @@ unmap_tmap(vm_translation_map *map, addr_t start, addr_t end)
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
query_tmap_interrupt(vm_translation_map *map, addr_t va, addr_t *_outPhysical)
|
||||
{
|
||||
page_table_entry *entry;
|
||||
|
||||
// default the flags to not present
|
||||
*_outPhysical = 0;
|
||||
|
||||
entry = lookup_page_table_entry(map, va);
|
||||
if (entry == NULL)
|
||||
return B_ERROR;
|
||||
|
||||
*_outPhysical = entry->physical_page_number * B_PAGE_SIZE;
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
query_tmap(vm_translation_map *map, addr_t va, addr_t *_outPhysical, uint32 *_outFlags)
|
||||
{
|
||||
@@ -474,7 +457,7 @@ static vm_translation_map_ops tmap_ops = {
|
||||
map_tmap,
|
||||
unmap_tmap,
|
||||
query_tmap,
|
||||
query_tmap_interrupt,
|
||||
query_tmap,
|
||||
get_mapped_size_tmap,
|
||||
protect_tmap,
|
||||
clear_flags_tmap,
|
||||
|
||||
Reference in New Issue
Block a user