aboutsummaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-02-16 23:22:25 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-02-16 23:23:18 +0100
commit336201cadf3e3b3c436286ef5a6ecf6370ca46ce (patch)
treea7a680ff1111f0a5035b3f5134d3e873e408145b /device
parent294372afde326b8c277f738f3f8340cdd86f5b92 (diff)
downloadgnumach-336201cadf3e3b3c436286ef5a6ecf6370ca46ce.tar.gz
gnumach-336201cadf3e3b3c436286ef5a6ecf6370ca46ce.tar.bz2
gnumach-336201cadf3e3b3c436286ef5a6ecf6370ca46ce.zip
vm_object: Fix vm_object_page_map map function prototype
The map function is supposed to return physical addresses, thus phys_addr_t.
Diffstat (limited to 'device')
-rw-r--r--device/dev_pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/dev_pager.c b/device/dev_pager.c
index cd41fee4..38f0f8d4 100644
--- a/device/dev_pager.c
+++ b/device/dev_pager.c
@@ -515,7 +515,7 @@ device_pager_change_completed(
* that into something that the pmap module will
* accept later.
*/
-vm_offset_t device_map_page(
+phys_addr_t device_map_page(
void *dsp,
vm_offset_t offset)
{